auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
protected void setUp ( ) throws java.lang.Exception { cs = tests.api.java.nio.charset.GBCharsetEncoderTest.CS ; super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { cs = tests.api.java.nio.charset.GBCharsetEncoderTest.CS ; specifiedReplacement = new byte [ ] { 26 } ; super . setUp ( ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , short [ ] data ) { validateIsInt16 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , short [ ] data ) { validateIsInt16 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_16 , data.length ) ; }
Source:
private java.io.File getTestDir ( @ com.android.annotations.NonNull java.lang.String testFolder ) { java.io.File rootDir = getRootDir ( ) ; return new java.io.File ( new java.io.File ( rootDir , "tests" ) , testFolder ) ; }

Target:
private java.io.File getTestDir ( @ com.android.annotations.NonNull java.lang.String testFolder ) { java.io.File rootDir = getRootDir ( ) ; return new java.io.File ( new java.io.File ( rootDir , "integration-test" ) , testFolder ) ; }
Source:
public void testDefaultDisconnectedState ( ) { org.junit.Assert.assertEquals ( BluetoothProfile.STATE_DISCONNECTED , mHeadsetStateMachine.getConnectionState ( null ) ) ; org.junit.Assert.assertThat ( mHeadsetStateMachine.getCurrentState ( ) , org.hamcrest.core.IsInstanceOf.instanceOf ( HeadsetStateMachine.Disconnected.class ) ) ; }

Target:
public void testSetupConnectedState ( ) { setUpConnectedState ( ) ; org.junit.Assert.assertEquals ( BluetoothProfile.STATE_CONNECTED , mHeadsetStateMachine.getConnectionState ( ) ) ; org.junit.Assert.assertThat ( mHeadsetStateMachine.getCurrentState ( ) , org.hamcrest.core.IsInstanceOf.instanceOf ( HeadsetStateMachine.Connected.class ) ) ; }
Source:
public void uninstall ( java.lang.String packageName ) { new vogar.commands.Command ( log , "adb" , "uninstall" , packageName ) . execute ( ) ; }

Target:
public void uninstall ( java.lang.String packageName ) { new vogar.commands.Command.Builder ( log ) . args ( "adb" , "uninstall" , packageName ) . permitNonZeroExitStatus ( true ) . execute ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { android.os.SystemProperties.set ( "ro.monkey" , "true" ) ; int resultCode = new com.android.commands.monkey.Monkey ( ) . run ( args ) ; java.lang.System.exit ( resultCode ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { android.os.SystemProperties.set ( "ro.monkey" , "true" ) ; java.lang.Process.setArgV0 ( "com.android.commands.monkey" ) ; int resultCode = new com.android.commands.monkey.Monkey ( ) . run ( args ) ; java.lang.System.exit ( resultCode ) ; }
Source:
public void run ( ) { addJavascriptInterface ( obj , interfaceName ) ; }

Target:
public void run ( ) { removeJavascriptInterface ( interfaceName ) ; }
Source:
public com.android.layoutlib.api.SceneResult render ( ) { return render ( SceneParams.DEFAULT_TIMEOUT ) ; }

Target:
public com.android.ide.common.rendering.api.Result render ( ) { return render ( Params.DEFAULT_TIMEOUT ) ; }
Source:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; }

Target:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; mUids = null ; mEstablishingVpnAppUid = android.net.NetworkCapabilities.INVALID_UID ; }
Source:
public static long AndLongInt ( ) { long lhs = 10 ; int rhs = 3 ; return lhs & rhs ; }

Target:
public static long AndLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs & rhs ; }
Source:
public java.net.InetAddress getLocalAddress ( ) { return channelImpl.getLocalAddress ( ) ; }

Target:
public java.net.InetAddress getLocalAddress ( ) { try { return libcore.io.IoBridge.getSocketLocalAddress ( channelImpl.fd ) ; } catch ( java.net.SocketException ex ) { return null ; } }
Source:
public static boolean isInitializer ( java.lang.String internalMethodName ) { return ( internalMethodName.equals ( ClassConstants.INTERNAL_METHOD_NAME_CLINIT ) ) || ( internalMethodName.equals ( ClassConstants.INTERNAL_METHOD_NAME_INIT ) ) ; }

Target:
public static boolean isInitializer ( java.lang.String internalMethodName ) { return ( internalMethodName.equals ( ClassConstants.METHOD_NAME_CLINIT ) ) || ( internalMethodName.equals ( ClassConstants.METHOD_NAME_INIT ) ) ; }
Source:
public void testReset_getActivityResultForIntent ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW , android.net.Uri.parse ( "http://www.android.com" ) ) ; android.app.Instrumentation.ActivityResult result = new android.app.Instrumentation.ActivityResult ( 10 , intent ) ; resettingStubber.setActivityResultForIntent ( org.hamcrest.CoreMatchers.any ( android.content.Intent.class ) , result ) ; assertEquals ( resettingStubber.getActivityResultForIntent ( intent ) , result ) ; resettingStubber.reset ( ) ; resettingStubber.initialize ( ) ; assertEquals ( null , resettingStubber.getActivityResultForIntent ( intent ) ) ; }

Target:
public void reset_getActivityResultForIntent ( ) { android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW , android.net.Uri.parse ( "http://www.android.com" ) ) ; android.app.Instrumentation.ActivityResult result = new android.app.Instrumentation.ActivityResult ( 10 , intent ) ; resettingStubber.setActivityResultForIntent ( org.hamcrest.CoreMatchers.any ( android.content.Intent.class ) , result ) ; org.junit.Assert.assertEquals ( resettingStubber.getActivityResultForIntent ( intent ) , result ) ; resettingStubber.reset ( ) ; resettingStubber.initialize ( ) ; org.junit.Assert.assertEquals ( null , resettingStubber.getActivityResultForIntent ( intent ) ) ; }
Source:
public static int OIRToPresentation ( int oir ) { switch ( oir ) { case com.android.ims.ImsCallProfile.OIR_PRESENTATION_RESTRICTED : return com.android.internal.telephony.PhoneConstants.PRESENTATION_RESTRICTED ; case com.android.ims.ImsCallProfile.OIR_PRESENTATION_NOT_RESTRICTED : return com.android.internal.telephony.PhoneConstants.PRESENTATION_ALLOWED ; case com.android.ims.ImsCallProfile.OIR_PRESENTATION_PAYPHONE : return com.android.internal.telephony.PhoneConstants.PRESENTATION_PAYPHONE ; case com.android.ims.ImsCallProfile.OIR_PRESENTATION_UNKNOWN : return com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN ; default : return com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN ; } }

Target:
public static int OIRToPresentation ( int oir ) { switch ( oir ) { case android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_RESTRICTED : return com.android.internal.telephony.PhoneConstants.PRESENTATION_RESTRICTED ; case android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_NOT_RESTRICTED : return com.android.internal.telephony.PhoneConstants.PRESENTATION_ALLOWED ; case android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_PAYPHONE : return com.android.internal.telephony.PhoneConstants.PRESENTATION_PAYPHONE ; case android.telephony.ims.ImsCallProfile.OIR_PRESENTATION_UNKNOWN : return com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN ; default : return com.android.internal.telephony.PhoneConstants.PRESENTATION_UNKNOWN ; } }
Source:
void removeLogger ( java.lang.String name ) { namedLoggers.remove ( name ) ; }

Target:
synchronized void removeLoggerRef ( java.lang.String name , java.util.logging.LogManager.LoggerWeakRef ref ) { namedLoggers.remove ( name , ref ) ; }
Source:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . setFeatureValue ( feature , network , value , listener ) ; }
Source:
public void report ( java.util.List < java.lang.String > dexPaths ) ;

Target:
void report ( java.util.List < dalvik.system.BaseDexClassLoader > classLoadersChain , java.util.List < java.lang.String > classPaths ) ;
Source:
static long $opt$IntToLong ( int a ) { return ( ( long ) ( a ) ) ; }

Target:
static char $opt$ShortToChar ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public static int SubNeg1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) - arg2 ; }

Target:
public static int $noinline$SubNeg1 ( int arg1 , int arg2 ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( - arg1 ) - arg2 ; }
Source:
public long getTotalStats ( int type ) { android.util.Slog.w ( com.android.server.net.NetworkStatsService.TAG , "calling native method from Stats Service" ) ; return com.android.server.net.NetworkStatsService.nativeGetTotalStat ( type ) ; }

Target:
private boolean checkBpfStatsEnable ( ) { return new java.io.File ( "/sys/fs/bpf/traffic_uid_stats_map" ) . exists ( ) ; }
Source:
public void testWriting ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "" + ( ( ( ( ( ( ( "<manifest" + " xmlns:x=\"http://schemas.android.com/apk/res/android\"" ) + " xmlns:y=\"http://schemas.android.com/apk/res/android/tools\"" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application x:label=\"@string/lib_name\" y:node=\"replace\"/>\n" ) + "\n" ) + "</manifest>\n" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testWriting()" ) , input ) ; java.io.ByteArrayOutputStream byteArrayOutputStream = new java.io.ByteArrayOutputStream ( ) ; xmlDocument.write ( byteArrayOutputStream ) ; assertEquals ( input , byteArrayOutputStream.toString ( ) ) ; }

Target:
public void testWriting ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String input = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( "<manifest xmlns:x=\"http://schemas.android.com/apk/res/android\"\n" + " xmlns:y=\"http://schemas.android.com/apk/res/android/tools\"\n" ) + " package=\"com.example.lib3\" >\n" ) + "\n" ) + " <application\n" ) + " x:label=\"@string/lib_name\"\n" ) + " y:node=\"replace\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testWriting()" ) , input ) ; assertEquals ( input , xmlDocument.prettyPrint ( ) ) ; }
Source:
public void callSessionStartFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionInitiatedFailed ( imsReasonInfo ) ; }

Target:
public void callSessionMayHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mNewListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }
Source:
public com.android.sdklib.internal.repository.DownloadCache getDownloadCache ( ) { if ( ( mMockDownloadCache ) == null ) { mMockDownloadCache = new com.android.sdklib.internal.repository.DownloadCache ( DownloadCache.Strategy.DIRECT ) { @ java.lang.Override protected java.io.File initCacheRoot ( ) { return null ; } } ; } return mMockDownloadCache ; }

Target:
public com.android.sdklib.internal.repository.sources.SdkSources getSources ( ) { return mMockSdkSources ; }
Source:
private static void sendMessage ( java.nio.channels.DatagramChannel sendingChannel , java.lang.String msg , java.net.InetSocketAddress targetAddress ) throws java.io.IOException { java.nio.ByteBuffer sendBuffer = java.nio.ByteBuffer.wrap ( msg.getBytes ( ) ) ; sendingChannel.send ( sendBuffer , targetAddress ) ; }

Target:
public void sendMulticastMessage ( java.lang.String msg , java.net.InetSocketAddress targetGroupSocketAddress ) throws java.io.IOException { java.nio.ByteBuffer sendBuffer = java.nio.ByteBuffer.wrap ( msg.getBytes ( ) ) ; datagramChannel.send ( sendBuffer , targetGroupSocketAddress ) ; }
Source:
public android.net.wifi.IClientInterface setupDriverForClientMode ( android.net.wifi.IWificond wificond ) { return mWificondControl.setupDriverForClientMode ( wificond ) ; }

Target:
public boolean getRoamingCapabilities ( com.android.server.wifi.WifiNative.RoamingCapabilities capabilities ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "getRoamingCapabilities " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.getRoamingCapabilities ( capabilities ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }
Source:
public void run ( ) { java.util.List l = new java.util.ArrayList ( ) ; for ( int i = 0 ; i < 500 ; i ++ ) { l.add ( new java.util.ArrayList ( i ) ) ; } }

Target:
public void run ( ) { java.util.List l = new java.util.ArrayList ( ) ; for ( int i = 0 ; i < 400 ; i ++ ) { l.add ( new java.util.ArrayList ( i ) ) ; } }
Source:
protected void onNewIntent ( android.content.Intent intent ) { super . onNewIntent ( intent ) ; com.android.internal.telephony.gsm.stk.StkLog.d ( this , "onNewIntent" ) ; initFromIntent ( intent ) ; mAcceptUsersInput = true ; }

Target:
protected void onNewIntent ( android.content.Intent intent ) { super . onNewIntent ( intent ) ; com.android.internal.telephony.cat.CatLog.d ( this , "onNewIntent" ) ; initFromIntent ( intent ) ; mAcceptUsersInput = true ; }
Source:
public android.telephony.SignalStrength telephonyGetSignalStrength ( ) { return telephonyGetSignalStrengthForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public java.lang.String telephonyGetCallState ( ) { return telephonyGetCallStateForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
void notifyIconFailed ( long bssid ) ;

Target:
void onIconResponse ( long bssid , java.lang.String filename , byte [ ] data ) ;
Source:
public final void testContainsPoint_Null ( ) { com.android.ide.common.api.Rect r = new com.android.ide.common.api.Rect ( 3 , 4 , ( - 20 ) , ( - 30 ) ) ; assertFalse ( r.contains ( null ) ) ; }

Target:
public final void testContainsPoint_Null ( ) { com.android.ide.common.api.Rect r = new com.android.ide.common.api.Rect ( 3 , 4 , ( - 20 ) , ( - 30 ) ) ; assertFalse ( r.contains ( ( ( com.android.ide.common.api.Point ) ( null ) ) ) ) ; }
Source:
public static java.lang.String getProperty ( java.lang.String prop , java.lang.String defaultValue ) { if ( prop.isEmpty ( ) ) { throw new java.lang.IllegalArgumentException ( ) ; } return java.lang.System.getProperties ( ) . getProperty ( prop , defaultValue ) ; }

Target:
public static java.lang.String getProperty ( java.lang.String name , java.lang.String defaultValue ) { java.lang.System.checkPropertyName ( name ) ; return java.lang.System.getProperties ( ) . getProperty ( name , defaultValue ) ; }
Source:
public abstract void installPackages ( @ com.android.annotations.NonNull java.util.List < java.io.File > apkFiles , int timeout , com.android.utils.ILogger logger ) throws com.android.builder.testing.api.DeviceException ;

Target:
public abstract void installPackages ( @ com.android.annotations.NonNull java.util.List < java.io.File > apkFiles , int timeoutInMs , com.android.utils.ILogger logger ) throws com.android.builder.testing.api.DeviceException ;
Source:
private static java.net.InetAddress [ ] getAllByName0 ( java.lang.String host , java.net.InetAddress reqAddr , boolean check ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByName0 ( host , reqAddr , java.net.InetAddress.NETID_UNSET , check ) ; }

Target:
public static java.net.InetAddress [ ] getAllByName ( java.lang.String host ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , java.net.InetAddress.NETID_UNSET ) ; }
Source:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return annotations.getAnnotationTypes ( ) ; }

Target:
public java.util.Collection < com.android.jack.ir.ast.JAnnotation > getAnnotations ( ) { loader.ensureAnnotations ( this ) ; return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( annotations ) ; }
Source:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { scrollable.scrollIntoView ( new android.support.test.uiautomator.UiSelector ( ) . text ( "Parental controls" ) ) ; return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . text ( "Parental controls" ) ) . exists ( ) ; }

Target:
public boolean isTrue ( ) throws android.support.test.uiautomator.UiObjectNotFoundException { scrollable.scrollIntoView ( parentalControlsButton ) ; return parentalControlsButton.exists ( ) ; }
Source:
boolean isAudioOn ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return mStateMachine.isAudioOn ( ) ; }

Target:
boolean isAudioOn ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return ( mStateMachine.getAudioState ( ) ) != ( android.bluetooth.BluetoothHeadset.STATE_AUDIO_DISCONNECTED ) ; }
Source:
protected java.util.List < org.w3c.dom.Attr > findNamespaceAttributes ( ) { org.w3c.dom.Document document = getDomDocument ( ) ; if ( document != null ) { org.w3c.dom.Element root = document.getDocumentElement ( ) ; return findNamespaceAttributes ( root ) ; } return java.util.Collections.emptyList ( ) ; }

Target:
protected java.util.List < org.w3c.dom.Attr > findNamespaceAttributes ( ) { org.w3c.dom.Document document = getDomDocument ( ) ; return com.android.ide.eclipse.adt.internal.editors.layout.refactoring.VisualRefactoring.findNamespaceAttributes ( document ) ; }
Source:
private static native boolean hasStaticInitializer ( java.lang.Class < ? > cl ) ;

Target:
private static native boolean hasStaticInitializer ( java.lang.Class < ? > cl , boolean checkSuperclass ) ;
Source:
public android.icu.util.LocaleMatcher.LanguageMatcherData freeze ( ) { return this ; }

Target:
public android.icu.util.LocaleMatcher.LanguageMatcherData freeze ( ) { languageScores.freeze ( ) ; regionScores.freeze ( ) ; scriptScores.freeze ( ) ; matchingLanguages = languageScores.getMatchingLanguages ( ) ; frozen = true ; return this ; }
Source:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( mSlotId , mSupportedFeature , uiTtyMode , onComplete ) ; } }

Target:
public void turnOnIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOnIms ( mSlotId , mSupportedFeature ) ; } }
Source:
public static void printVersion ( ) { java.lang.String version = com.android.jack.Jack.getVersionString ( ) ; java.lang.System.out.println ( "Jack compiler." ) ; java.lang.System.out.println ( ( ( "Version: " + version ) + '.' ) ) ; }

Target:
public static void printVersion ( ) { java.lang.String version = com.android.jack.Jack.getVersion ( ) . getVerboseVersion ( ) ; java.lang.System.out.println ( "Jack compiler." ) ; java.lang.System.out.println ( ( ( "Version: " + version ) + '.' ) ) ; }
Source:
public void testTlvItInvalidSizeT1Lm2 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.nan.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.nan.TlvBufferUtils.TlvIterable ( 1 , ( - 2 ) , dummy ) ; }

Target:
public void testTlvItInvalidSizeT1Lm2 ( ) { final byte [ ] dummy = new byte [ ] { 0 , 1 , 2 } ; final int dummyLength = 3 ; android.net.wifi.aware.TlvBufferUtils.TlvIterable tlvIt10 = new android.net.wifi.aware.TlvBufferUtils.TlvIterable ( 1 , ( - 2 ) , dummy ) ; }
Source:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder e ) throws java.io.IOException { }

Target:
public void decode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Decoder d ) throws java.io.IOException { assert d.string ( ) . equals ( dummy ) ; }
Source:
com.android.ide.common.api.IValidator getResourceValidator ( ) ;

Target:
com.android.ide.common.api.IValidator getResourceValidator ( @ com.android.annotations.NonNull java.lang.String resourceTypeName , boolean uniqueInProject , boolean uniqueInLayout , boolean exists , java.lang.String ... allowed ) ;
Source:
public java.lang.String getTypeDescription ( ) { return "unvalidated android data in the format " + ( com.google.devtools.build.android.UnvalidatedAndroidData.expectedFormat ( ) ) ; }

Target:
public java.lang.String getTypeDescription ( ) { return "unvalidated android data in the format " + ( UnvalidatedAndroidData.EXPECTED_FORMAT ) ; }
Source:
private boolean isLegacyVoicemailUser ( ) { return ( preferences.getInt ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) == ( com.android.dialer.app.voicemail.error.VoicemailTosMessageCreator.LEGACY_VOICEMAIL_FEATURE_VERSION ) ; }

Target:
private boolean isLegacyVoicemailUser ( ) { return ( preferences.getInt ( VoicemailVersionConstants.PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY , 0 ) ) == ( com.android.voicemail.VoicemailVersionConstants.LEGACY_VOICEMAIL_FEATURE_VERSION ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > anything ( ) { return org.hamcrest.core.IsAnything.anything ( ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > sameInstance ( T target ) { return org.hamcrest.core.IsSame.sameInstance ( target ) ; }
Source:
private long getAssetsChecksum ( ) { android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; return sp.getLong ( com.android.providers.telephony.CarrierIdProvider.ASSETS_FILE_CHECKSUM_PREF_KEY , ( - 1 ) ) ; }

Target:
private int getAppliedVersion ( ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; return sp.getInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_PREF_KEY , ( - 1 ) ) ; }
Source:
public abstract com.google.common.base.Optional < android.telecom.PhoneAccountHandle > getPhoneAccountHandle ( ) ;

Target:
public abstract com.google.common.base.Optional < android.telecom.PhoneAccountHandle > getSelectedPhoneAccountHandle ( ) ;
Source:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( com.android.manifmerger.TestUtils.NULL_RESOLVER , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input ) ; }

Target:
static com.android.manifmerger.XmlDocument xmlDocumentFromString ( com.android.manifmerger.XmlLoader.SourceLocation location , java.lang.String input ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return com.android.manifmerger.XmlLoader.load ( com.android.manifmerger.TestUtils.NULL_RESOLVER , com.android.manifmerger.TestUtils.NO_PROPERTY_RESOLVER , location , input , XmlDocument.Type.MAIN ) ; }
Source:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.junit.runner.Description description ) { return leakageDetectorRule.apply ( base , description ) ; }

Target:
public org.junit.runners.model.Statement apply ( org.junit.runners.model.Statement base , org.junit.runner.Description description ) { if ( ( description.getAnnotation ( libcore.junit.util.ResourceLeakageDetector.DisableResourceLeakageDetection.class ) ) != null ) { return base ; } else { return leakageDetectorRule.apply ( base , description ) ; } }
Source:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; mDut = new android.net.wifi.nan.WifiNanManager ( mockContext , mockNanService ) ; com.android.server.wifi.nan.HEAD mMockLooper = new android.os.test.TestLooper ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; mDut = new android.net.wifi.nan.WifiNanManager ( mockContext , mockNanService ) ; mMockLooper = new android.os.test.TestLooper ( ) ; mMockLooperHandler = new android.os.Handler ( mMockLooper.getLooper ( ) ) ; }
Source:
public static native long EC_KEY_get0_group ( org.conscrypt.NativeRef.EVP_PKEY pkeyRef ) ;

Target:
public static native long EC_KEY_get1_group ( org.conscrypt.NativeRef.EVP_PKEY pkeyRef ) ;
Source:
public void autoConnectToNetwork ( int networkId , java.lang.String bssid ) { synchronized ( mWifiReqCountLock ) { if ( hasConnectionRequests ( ) ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_AUTO_CONNECT , networkId , 0 , bssid ) ; } } }

Target:
public void startRoamToNetwork ( int networkId , android.net.wifi.ScanResult scanResult ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_START_ROAM , networkId , 0 , scanResult ) ; }
Source:
static double $opt$LongToDouble ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }

Target:
static double $opt$noinline$LongToDouble ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public void testConnectsToEmergencyNumberLongNumber_BR ( ) { assertFalse ( shortInfo.connectsToEmergencyNumber ( "9111" , RegionCode.BR ) ) ; assertFalse ( shortInfo.connectsToEmergencyNumber ( "1900" , RegionCode.BR ) ) ; assertFalse ( shortInfo.connectsToEmergencyNumber ( "9996" , RegionCode.BR ) ) ; }

Target:
public void testConnectsToEmergencyNumber_BR ( ) { assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "911" , RegionCode.BR ) ) ; assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "190" , RegionCode.BR ) ) ; assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "999" , RegionCode.BR ) ) ; }
Source:
protected java.lang.String createMessage ( @ javax.annotation.Nonnull java.lang.String description ) { return ( ( ( ( "'" + ( vfs.getDescription ( ) ) ) + "' VFS format in " ) + description ) + " is wrong: " ) + ( getCause ( ) . getMessage ( ) ) ; }

Target:
protected java.lang.String createMessage ( @ javax.annotation.Nonnull java.lang.String description ) { return ( ( ( ( "'" + ( vfs.getDescription ( ) ) ) + "' VFS in " ) + description ) + " has a bad format: " ) + ( getCause ( ) . getMessage ( ) ) ; }
Source:
java.lang.Class < ? > [ ] argumentTypes ( ) default { } ;

Target:
java.lang.Class < ? > [ ] parameterTypes ( ) default { } ;
Source:
private static void flushInstallPolicy ( ) { com.android.server.pm.SELinuxMMAC.sSigSeinfo.clear ( ) ; com.android.server.pm.SELinuxMMAC.sPackageSeinfo.clear ( ) ; }

Target:
private static void flushInstallPolicy ( ) { com.android.server.pm.SELinuxMMAC.sSigSeinfo.clear ( ) ; com.android.server.pm.SELinuxMMAC.sDefaultSeinfo = null ; }
Source:
native int rsnScriptKernelIDCreate ( int con , int sid , int slot , int sig ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val ) ;
Source:
private static com.android.timezone.distro.TimeZoneDistro createValidTimeZoneDistro ( java.lang.String rulesVersion , int revision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBuilder ( rulesVersion , revision ) . build ( ) ; }

Target:
private static byte [ ] createValidTimeZoneDistroBytes ( java.lang.String rulesVersion , int revision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneDistroInstallerTest.createValidTimeZoneDistroBuilder ( rulesVersion , revision ) . buildBytes ( ) ; }
Source:
public void addSource ( java.io.File file ) throws com.android.builder.resources.DuplicateResourceException { if ( file.isDirectory ( ) ) { readFolder ( file ) ; } else if ( file.isFile ( ) ) { } }

Target:
public void loadFromFiles ( ) throws com.android.builder.resources.DuplicateResourceException , java.io.IOException { for ( java.io.File file : mSourceFiles ) { if ( file.isDirectory ( ) ) { readSourceFolder ( file ) ; } else if ( file.isFile ( ) ) { } } checkItems ( ) ; }
Source:
public android.net.wifi.WifiConfiguration syncGetMatchingWifiConfig ( android.net.wifi.ScanResult scanResult , com.android.internal.util.AsyncChannel channel ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( com.android.server.wifi.WifiStateMachine.CMD_GET_MATCHING_CONFIG , scanResult ) ; return ( ( android.net.wifi.WifiConfiguration ) ( resultMsg.obj ) ) ; }

Target:
public android.net.wifi.WifiConfiguration syncGetMatchingWifiConfig ( android.net.wifi.ScanResult scanResult , com.android.internal.util.AsyncChannel channel ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( com.android.server.wifi.WifiStateMachine.CMD_GET_MATCHING_CONFIG , scanResult ) ; android.net.wifi.WifiConfiguration config = ( ( android.net.wifi.WifiConfiguration ) ( resultMsg.obj ) ) ; resultMsg.recycle ( ) ; return config ; }
Source:
public void onPause ( ) { mTracker.sendHideSidePanel ( this , mSidePanelDurationTimer.reset ( ) ) ; super . onPause ( ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; mTracker.sendShowSidePanel ( this ) ; mTracker.sendScreenView ( this . getTrackerLabel ( ) ) ; mSidePanelDurationTimer.start ( ) ; }
Source:
void deviceDisconnected ( java.lang.String bdaddr ) { android.util.Log.e ( com.android.bluetooth.avrcp.AvrcpVolumeManager.TAG , ( "deviceDisconnected: bdaddr=" + bdaddr ) ) ; mDeviceMap.remove ( bdaddr ) ; }

Target:
void deviceDisconnected ( java.lang.String bdaddr ) { if ( com.android.bluetooth.avrcp.AvrcpVolumeManager.DEBUG ) { android.util.Log.d ( com.android.bluetooth.avrcp.AvrcpVolumeManager.TAG , ( "deviceDisconnected: bdaddr=" + bdaddr ) ) ; } mDeviceMap.remove ( bdaddr ) ; }
Source:
private static void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.tagClasses ( v ) ; Main.A a = Main.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; Main.doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; Main.doFollowReferencesTestImpl ( a.foo2 , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "3@1001" ) ; tmpStorage.clear ( ) ; }

Target:
private void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.TestConfig.tagClasses ( v ) ; Main.A a = Main.TestConfig.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; doFollowReferencesTestImpl ( a.foo2 , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "3@1001" ) ; tmpStorage.clear ( ) ; }
Source:
public android.bluetooth.BluetoothCodecConfig getCodecConfig ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.a2dp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; if ( com.android.bluetooth.a2dp.A2dpService.DBG ) android.util.Log.d ( com.android.bluetooth.a2dp.A2dpService.TAG , "getCodecConfig()" ) ; return mStateMachine.getCodecConfig ( ) ; }

Target:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.a2dp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; if ( com.android.bluetooth.a2dp.A2dpService.DBG ) android.util.Log.d ( com.android.bluetooth.a2dp.A2dpService.TAG , "getCodecStatus()" ) ; return mStateMachine.getCodecStatus ( ) ; }
Source:
protected void removeFile ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file ) { file.dispose ( ) ; mFiles.remove ( file ) ; }

Target:
protected void removeFile ( com.android.ide.common.resources.ResourceFile file ) { file.dispose ( ) ; mFiles.remove ( file ) ; }
Source:
private static void checkNumberOfRequests ( ) { com.android.internal.util.Preconditions.checkArgument ( ( ( android.net.ConnectivityManager.sCallbacks.size ( ) ) < ( android.net.ConnectivityManager.MAX_NETWORK_REQUESTS_PER_UID ) ) , "Too many NetworkRequests." ) ; }

Target:
public void startCaptivePortalApp ( android.net.Network network ) { try { mService.startCaptivePortalApp ( network ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
private native java.lang.reflect.Method getDeclaredMethodInternal ( java.lang.String name , java.lang.Class < ? > [ ] args ) ;

Target:
private native java.lang.reflect.Constructor < T > getDeclaredConstructorInternal ( java.lang.Class < ? > [ ] args ) ;
Source:
protected com.google.mockwebserver.MockResponse self ( ) { return this ; }

Target:
public com.google.mockwebserver.MockResponse setSocketPolicy ( com.google.mockwebserver.SocketPolicy socketPolicy ) { this . socketPolicy = socketPolicy ; return this ; }
Source:
static float $opt$ByteToFloat ( byte a ) { return ( ( float ) ( a ) ) ; }

Target:
static float $opt$ByteToFloat ( byte a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
private static boolean isMApp ( android.content.Context context , java.lang.String pkgName ) { try { return ( context.getPackageManager ( ) . getApplicationInfo ( pkgName , 0 ) . targetSdkVersion ) >= ( Build.VERSION_CODES.M ) ; } catch ( android.content.pm.PackageManager e ) { } return true ; }

Target:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { return true ; }
Source:
public static void tearDown ( ) { com.android.jack.optimizations.ExpressionSimplifierTest.hooks.runHooks ( ) ; }

Target:
public static void tearDown ( ) { com.android.jack.optimizations.ExpressionSimplifierTest.hooks.runHooks ( ) ; com.android.sched.util.config.ThreadConfig.unsetConfig ( ) ; }
Source:
public void run ( @ org.jetbrains.annotations.NotNull final com.intellij.util.indexing.ProgressIndicator indicator ) { indicator.setIndeterminate ( true ) ; rebuildRunnable.run ( ) ; }

Target:
public void run ( @ org.jetbrains.annotations.NotNull final com.intellij.openapi.progress.ProgressIndicator indicator ) { indicator.setIndeterminate ( true ) ; rebuildRunnable.run ( ) ; }
Source:
public void testVFE3 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.goto_32.d.T_goto_32_4" ) ; } catch ( java.lang.Throwable t ) { fail ( ( "not expected" + t ) ) ; } }

Target:
public void testVFE2 ( ) { load ( "dot.junit.opcodes.goto_32.d.T_goto_32_3" , java.lang.VerifyError.class ) ; }
Source:
public void run ( ) { findAllAsync ( searchString ) ; }

Target:
public void run ( ) { notifyFindDialogDismissed ( ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { com.android.server.telecom.Log.startSession ( "PCR.oR" ) ; synchronized ( getTelecomSystem ( ) . getLock ( ) ) { getTelecomSystem ( ) . getCallIntentProcessor ( ) . processIntent ( intent ) ; } com.android.server.telecom.Log.endSession ( ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { android.telecom.Log.startSession ( "PCR.oR" ) ; synchronized ( getTelecomSystem ( ) . getLock ( ) ) { getTelecomSystem ( ) . getCallIntentProcessor ( ) . processIntent ( intent ) ; } android.telecom.Log.endSession ( ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod t ) throws java.lang.Exception { com.android.jack.shrob.obfuscation.annotation.LocalVariableNameRemover.Visitor visitor = new com.android.jack.shrob.obfuscation.annotation.LocalVariableNameRemover.Visitor ( ) ; visitor.accept ( t ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod t ) throws java.lang.Exception { com.android.jack.shrob.obfuscation.annotation.LocalVariableAndThisNameRemover.Visitor visitor = new com.android.jack.shrob.obfuscation.annotation.LocalVariableAndThisNameRemover.Visitor ( ) ; visitor.accept ( t ) ; }
Source:
public com.android.jack.ir.ast.JDefinedAnnotation getAnnotation ( @ javax.annotation.Nonnull java.lang.String signature ) throws com.android.jack.ir.ast.JTypeLookupException { return ( ( com.android.jack.ir.ast.JDefinedAnnotation ) ( getType ( signature ) ) ) ; }

Target:
public com.android.jack.ir.ast.JDefinedAnnotation getAnnotation ( @ javax.annotation.Nonnull java.lang.String typeName ) throws com.android.jack.ir.ast.JTypeLookupException { com.android.jack.ir.ast.JType type = getType ( typeName ) ; if ( type instanceof com.android.jack.ir.ast.JDefinedAnnotation ) { return ( ( com.android.jack.ir.ast.JDefinedAnnotation ) ( type ) ) ; } else { throw new com.android.jack.ir.ast.IncompatibleJTypeLookupException ( type , com.android.jack.ir.ast.JDefinedAnnotation.class ) ; } }
Source:
static com.android.apksig.internal.apk.v2.SignatureAlgorithm findById ( int id ) { for ( com.android.apksig.internal.apk.v2.SignatureAlgorithm alg : com.android.apksig.internal.apk.v2.SignatureAlgorithm.values ( ) ) { if ( ( alg.getId ( ) ) == id ) { return alg ; } } return null ; }

Target:
public static com.android.apksig.internal.apk.SignatureAlgorithm findById ( int id ) { for ( com.android.apksig.internal.apk.SignatureAlgorithm alg : com.android.apksig.internal.apk.SignatureAlgorithm.values ( ) ) { if ( ( alg.getId ( ) ) == id ) { return alg ; } } return null ; }
Source:
public static java.lang.String getOsAbsoluteZipAlign ( ) { return ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( com.android.ide.eclipse.adt.AdtPlugin.getOsRelativeZipAlign ( ) ) ; }

Target:
public static java.lang.String getOsAbsoluteHprofConv ( ) { return ( ( com.android.ide.eclipse.adt.AdtPlugin.getOsSdkFolder ( ) ) + ( com.android.SdkConstants.OS_SDK_PLATFORM_TOOLS_FOLDER ) ) + ( AdtConstants.FN_HPROF_CONV ) ; }
Source:
public void onRestoreInstanceState ( android.os.Bundle savedInstanceState ) { this . savedInstanceState = savedInstanceState ; android.app.stubs.TestDialog.onRestoreInstanceStateObserver.onObserved ( ) ; super . onRestoreInstanceState ( savedInstanceState ) ; }

Target:
public void onRestoreInstanceState ( android.os.Bundle savedInstanceState ) { android.app.stubs.TestDialog.isOnRestoreInstanceStateCalled = true ; this . savedInstanceState = savedInstanceState ; super . onRestoreInstanceState ( savedInstanceState ) ; }
Source:
public boolean onCreateOptionsMenu ( com.android.stk.Menu menu ) { super . onCreateOptionsMenu ( menu ) ; menu.add ( android.view.Menu.NONE , StkApp.MENU_ID_END_SESSION , 1 , R.string.menu_end_session ) ; menu.add ( 0 , StkApp.MENU_ID_HELP , 2 , R.string.help ) ; return true ; }

Target:
private void createOptionsMenuInternal ( android.view.Menu menu ) { menu.add ( Menu.NONE , StkApp.MENU_ID_END_SESSION , 1 , R.string.menu_end_session ) ; menu.add ( 0 , StkApp.MENU_ID_HELP , 2 , R.string.help ) ; }
Source:
public static void deleteGithubRepository ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.api.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String username , @ org.jetbrains.annotations.NotNull java.lang.String repo ) throws java.io.IOException { java.lang.String path = ( ( "/repos/" + username ) + "/" ) + repo ; org.jetbrains.plugins.github.api.GithubApiUtil.deleteRequest ( auth , path ) ; }

Target:
public static void deleteGithubRepository ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.github.util.GithubAuthData auth , @ org.jetbrains.annotations.NotNull java.lang.String username , @ org.jetbrains.annotations.NotNull java.lang.String repo ) throws java.io.IOException { java.lang.String path = ( ( "/repos/" + username ) + "/" ) + repo ; org.jetbrains.plugins.github.api.GithubApiUtil.deleteRequest ( auth , path ) ; }
Source:
public boolean accept ( java.io.File pathname ) { return ( pathname.getName ( ) . startsWith ( com.intellij.util.PlatformUtils.getPlatformPrefix ( ) ) ) && ( ! ( pathname.getAbsolutePath ( ) . equals ( java.lang.System.getProperty ( "studio.record.file" ) ) ) ) ; }

Target:
public boolean accept ( java.io.File pathname ) { return ( pathname.getName ( ) . startsWith ( com.intellij.util.PlatformUtils.getPlatformPrefix ( ) ) ) && ( ! ( pathname.getAbsolutePath ( ) . equals ( recordFile ) ) ) ; }
Source:
public static native int EVP_VerifyFinal ( long ctx , byte [ ] signature , int offset , int length , long key ) ;

Target:
public static native void EVP_VerifyUpdate ( org.conscrypt.OpenSSLDigestContext ctx , byte [ ] buffer , int offset , int length ) ;
Source:
private void sendWifiApStateChanged ( int state ) { final android.content.Intent intent = new android.content.Intent ( android.net.wifi.WifiManager.WIFI_AP_STATE_CHANGED_ACTION ) ; intent.putExtra ( WifiManager.EXTRA_WIFI_AP_STATE , state ) ; mServiceContext.sendStickyBroadcastAsUser ( intent , UserHandle.ALL ) ; }

Target:
private void sendWifiApStateChanged ( int state ) { final android.content.Intent intent = new android.content.Intent ( android.net.wifi.WifiManager.WIFI_AP_STATE_CHANGED_ACTION ) ; intent.putExtra ( android.net.wifi.WifiManager.EXTRA_WIFI_AP_STATE , state ) ; mServiceContext.sendStickyBroadcastAsUser ( intent , UserHandle.ALL ) ; }
Source:
private void fixParentAfterDisconnect ( ) { setParentCall ( null ) ; }

Target:
void setParentAndChildCall ( com.android.server.telecom.Call parentCall ) { boolean isParentChanging = ( mParentCall ) != parentCall ; setParentCall ( parentCall ) ; setChildOf ( parentCall ) ; if ( isParentChanging ) { notifyParentChanged ( parentCall ) ; } }
Source:
private static native int nativeGetStyle ( int native_instance ) ;

Target:
private static native void nativeUnref ( long native_instance ) ;
Source:
private boolean isMessageAccepted ( com.android.ddmlib.logcat.LogCatMessage msg , java.util.List < com.android.ddmuilib.logcat.LogCatFilter > filters ) { for ( com.android.ddmuilib.logcat.LogCatFilter f : filters ) { if ( ! ( f.matches ( msg ) ) ) { return false ; } } return true ; }

Target:
private boolean isMessageAccepted ( com.android.ddmlib.logcat.LogCatMessage msg , java.util.List < com.android.ddmlib.logcat.LogCatFilter > filters ) { for ( com.android.ddmlib.logcat.LogCatFilter f : filters ) { if ( ! ( f.matches ( msg ) ) ) { return false ; } } return true ; }
Source:
public boolean isEmpty ( ) { return ! ( com.google.common.collect.Iterators.any ( unfiltered.iterator ( ) , predicate ) ) ; }

Target:
public boolean isEmpty ( ) { return ! ( com.google.common.collect.Iterables.any ( unfiltered , predicate ) ) ; }
Source:
void submitLocalMessage ( ) { com.android.dialer.common.LogUtil.enterBlock ( "RttChatAdapater.submitLocalMessage" ) ; rttMessages.get ( lastIndexOfLocalMessage ) . finish ( ) ; notifyItemChanged ( lastIndexOfLocalMessage ) ; lastIndexOfLocalMessage = - 1 ; }

Target:
void submitLocalMessage ( ) { com.android.dialer.common.LogUtil.enterBlock ( "RttChatAdapater.submitLocalMessage" ) ; rttMessages.get ( lastIndexOfLocalMessage ) . finish ( ) ; notifyItemChanged ( toItemPosition ( lastIndexOfLocalMessage ) ) ; lastIndexOfLocalMessage = - 1 ; }
Source:
public void enter ( ) { infoLog ( "Entering OnState" ) ; com.android.bluetooth.btservice.AdapterService adapterService = mAdapterService ; if ( adapterService == null ) { errorLog ( "Entered OnState after cleanup" ) ; return ; } adapterService.updateUuids ( ) ; adapterService.setBluetoothClassFromConfig ( ) ; }

Target:
int getStateValue ( ) { return android.bluetooth.BluetoothAdapter.STATE_OFF ; }
Source:
public java.net.ServerSocket createServerSocket ( ) throws java.io.IOException { return throwException ( ) ; }

Target:
public java.net.ServerSocket createServerSocket ( int port , int backlog ) throws java.io.IOException { return throwException ( ) ; }
Source:
public java.lang.Boolean call ( ) { return requestChildRectangleOnScreen ( child , rect , immediate ) ; }

Target:
public void run ( ) { onMeasure ( widthMeasureSpec , heightMeasureSpec ) ; }
Source:
public static void computeNextafter ( android.renderscript.cts.TestNextafter.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.nextAfter ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeHypot ( android.renderscript.cts.TestHypot.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.hypot ( args.inX , args.inY ) , 4 , 4 ) ; }
Source:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }

Target:
synchronized long nScriptInvokeIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptInvokeIDCreate ( mContext , sid , slot ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public boolean isTrue ( ) throws java.lang.Exception { return denyButton.exists ( ) ; }

Target:
public boolean isTrue ( ) throws java.lang.Exception { return device.findObject ( new android.support.test.uiautomator.UiSelector ( ) . text ( "Allow Maps to access this device's location?" ) ) . exists ( ) ; }
Source:
public void testVFE8 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget.d.T_aget_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.aget.d.T_aget_1" , java.lang.ArrayIndexOutOfBoundsException.class , new int [ 2 ] , 2 ) ; }
Source:
public void testStates ( ) throws java.lang.Exception { assertEquals ( ( "states.xml:2: Warning: No android:state_ attribute found on <item> 0, " + "later states not reachable" ) , lintProject ( "res/drawable/states.xml" ) ) ; }

Target:
public void testStates ( ) throws java.lang.Exception { assertEquals ( ( "drawable/states.xml:3: Warning: This item is unreachable because a previous item (item #1) is a more general match than this one\n" + "=> drawable/states.xml:2: Earlier item which masks item" ) , lintProject ( "res/drawable/states.xml" ) ) ; }
Source:
protected java.lang.String elapsedTimeAsString ( long runTime ) { return java.lang.Double.toString ( ( ( ( double ) ( runTime ) ) / 1000 ) ) ; }

Target:
protected java.lang.String elapsedTimeAsString ( long runTime ) { return java.text.NumberFormat.getInstance ( ) . format ( ( ( ( double ) ( runTime ) ) / 1000 ) ) ; }
Source:
native void rsnAllocationRead ( int con , int id , float [ ] d ) ;

Target:
native void rsnAllocationRead2D ( int con , int id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public static double scalb ( double d , int scaleFactor ) { return sun.misc.FpUtils.scalb ( d , scaleFactor ) ; }

Target:
public static int getExponent ( double d ) { return ( ( int ) ( ( ( ( java.lang.Double.doubleToRawLongBits ( d ) ) & ( sun.misc.DoubleConsts.EXP_BIT_MASK ) ) > > ( ( sun.misc.DoubleConsts.SIGNIFICAND_WIDTH ) - 1 ) ) - ( sun.misc.DoubleConsts.EXP_BIAS ) ) ) ; }
Source:
public java.lang.Boolean call ( ) { return onKeyMultiple ( keyCode , repeatCount , event ) ; }

Target:
public void run ( ) { onConfigurationChanged ( newConfig ) ; }