auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static int unsafeArrayOffset ( java.nio.ByteBuffer b ) { return ( ( java.nio.HeapByteBuffer ) ( b ) ) . offset ; }

Target:
public static int unsafeArrayOffset ( java.nio.ByteBuffer b ) { return ( ( java.nio.ByteArrayBuffer ) ( b ) ) . arrayOffset ; }
Source:
public static byte [ ] numberToCalledPartyBCD ( java.lang.String number ) { return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( number , false ) ; }

Target:
public static byte [ ] numberToCalledPartyBCD ( java.lang.String number , int bcdExtType ) { return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( number , false , bcdExtType ) ; }
Source:
private void sendKitFocus ( ) { android.webkit.WebViewCore.FocusData focusData = new android.webkit.WebViewCore.FocusData ( mFocusData ) ; mWebViewCore.sendMessageDelayed ( EventHub.SET_KIT_FOCUS , focusData , android.webkit.WebView.SET_KIT_FOCUS_DELAY ) ; }

Target:
private void sendKitFocus ( ) { android.webkit.WebViewCore.FocusData focusData = new android.webkit.WebViewCore.FocusData ( mFocusData ) ; mWebViewCore.sendMessage ( EventHub.SET_KIT_FOCUS , focusData ) ; }
Source:
protected void launchActivityOnDisplayNoWait ( java.lang.String targetActivityName , int displayId , java.lang.String ... keyValuePairs ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId , keyValuePairs ) ) ; }

Target:
protected void launchActivityOnDisplay ( java.lang.String targetActivityName , int displayId ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId ) ) ; mAmWmState.waitForValidState ( mDevice , targetActivityName ) ; }
Source:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.addBuildAttribute ( ( ( com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper.CONFIG_PATH_PREFIX ) + moduleName ) , configFile.getAbsolutePath ( ) ) ; }

Target:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.addBuildAttribute ( ( ( com.android.compatibility.common.util.DynamicConfigHostSide.CONFIG_PATH_PREFIX ) + moduleName ) , configFile.getAbsolutePath ( ) ) ; }
Source:
public void threadAssertSame ( java.lang.Object x , java.lang.Object y ) { try { assertSame ( x , y ) ; } catch ( jsr166.AssertionFailedError t ) { threadRecordFailure ( t ) ; throw t ; } }

Target:
public void threadAssertSame ( java.lang.Object x , java.lang.Object y ) { try { assertSame ( x , y ) ; } catch ( junit.framework.AssertionFailedError fail ) { threadRecordFailure ( fail ) ; throw fail ; } }
Source:
public android.net.wifi.nan.SubscribeConfig build ( ) { return new android.net.wifi.nan.SubscribeConfig ( mServiceName , mServiceSpecificInfo , mMatchFilter , mSubscribeType , mSubscribeCount , mTtlSec , mMatchStyle , mEnableTerminateNotification ) ; }

Target:
public android.net.wifi.aware.SubscribeConfig build ( ) { return new android.net.wifi.aware.SubscribeConfig ( mServiceName , mServiceSpecificInfo , mMatchFilter , mSubscribeType , mSubscribeCount , mTtlSec , mMatchStyle , mEnableTerminateNotification ) ; }
Source:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return getAnnotationNative ( annotationType ) ; }

Target:
public < T extends java.lang.annotation.Annotation > T getAnnotation ( java.lang.Class < T > annotationClass ) { return super . getAnnotation ( annotationClass ) ; }
Source:
public static void v ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.VERBOSE ) { android.util.Log.v ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( prefix , format , args ) ) ; } }

Target:
public static void v ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.v ( prefix , format , args ) ; }
Source:
public java.io.File getLintJar ( ) { return new java.io.File ( mBundleFolder , "lint.jar" ) ; }

Target:
public java.io.File getLintJar ( ) { return new java.io.File ( getJarsRootFolder ( ) , "lint.jar" ) ; }
Source:
public void testWithR ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/encoding2.xml:1: Warning: iso-latin-1: Not using UTF-8 as the file encoding. This can lead to subtle bugs with non-ascii characters [EnforceUTF8]\n" + ( ( ( "<?xml version=\"1.0\" encoding=\"iso-latin-1\"?>\n" + " ~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "res/layout/encoding2.xml" ) ) ; }

Target:
public void testWithR ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/encoding2.xml:1: Error: iso-latin-1: Not using UTF-8 as the file encoding. This can lead to subtle bugs with non-ascii characters [EnforceUTF8]\n" + ( ( "<?xml version=\"1.0\" encoding=\"iso-latin-1\"?>\n" + " ~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "res/layout/encoding2.xml" ) ) ; }
Source:
public java.lang.String getIccSimChallengeResponse ( int appType , java.lang.String data ) { return getIccSimChallengeResponse ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , appType , data ) ; }

Target:
public java.lang.String getIccAuthentication ( int appType , int authType , java.lang.String data ) { return getIccAuthentication ( getSubId ( ) , appType , authType , data ) ; }
Source:
public static byte [ ] networkPortionToCalledPartyBCD ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , false ) ; }

Target:
public static byte [ ] networkPortionToCalledPartyBCD ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , false , android.telephony.PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN ) ; }
Source:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir getInputVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileOrDirectoryException { return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir ( dir.getInputVDir ( path ) ) ; }

Target:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir getInputVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { com.android.sched.vfs.VPath newPathToRoot = pathToRoot.clone ( ) ; newPathToRoot.appendPath ( path ) ; return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir ( dir.getInputVDir ( path ) , newPathToRoot ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { mStatusCallback = c ; return this . createMMTelFeature ( slotId ) ; }

Target:
public android.telephony.ims.aidl.IImsMmTelFeature createMmTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) { return this . createMMTelFeature ( slotId ) ; }
Source:
public static org.junit.runner.Description createTestDescription ( java.lang.Class < ? > clazz , java.lang.String name , java.lang.annotation.Annotation ... annotations ) { return new org.junit.runner.Description ( java.lang.String.format ( "%s(%s)" , name , clazz.getName ( ) ) , annotations ) ; }

Target:
public static org.junit.runner.Description createTestDescription ( java.lang.Class < ? > clazz , java.lang.String name , java.lang.annotation.Annotation ... annotations ) { return new org.junit.runner.Description ( clazz , org.junit.runner.Description.formatDisplayName ( name , clazz.getName ( ) ) , annotations ) ; }
Source:
public static native long SSL_clear_mode ( int ssl , long mode ) ;

Target:
public static native long SSL_set_mode ( long ssl , long mode ) ;
Source:
protected native byte getTTL ( ) throws java.io.IOException ;

Target:
protected byte getTTL ( ) throws java.io.IOException { return ( ( byte ) ( getTimeToLive ( ) ) ) ; }
Source:
public android.print.PrintDocumentAdapter createPrintDocumentAdapter ( ) { checkThread ( ) ; return new org.chromium.android_webview.AwPrintDocumentAdapter ( mAwContents.getPdfExporter ( ) ) ; }

Target:
public android.print.PrintDocumentAdapter createPrintDocumentAdapter ( java.lang.String documentName ) { checkThread ( ) ; return new org.chromium.android_webview.AwPrintDocumentAdapter ( mAwContents.getPdfExporter ( ) , documentName ) ; }
Source:
private void unmonitorDevice ( java.lang.String deviceSerial ) { com.android.ide.eclipse.ddms.LogCatMonitor.DeviceData data = mMonitoredDevices.get ( deviceSerial ) ; if ( data == null ) { return ; } data.receiver.removeMessageReceivedEventListener ( data.messageEventListener ) ; }

Target:
private void unmonitorDevice ( java.lang.String deviceSerial ) { com.android.ide.eclipse.ddms.LogCatMonitor.DeviceData data = mMonitoredDevices.get ( deviceSerial ) ; if ( data == null ) { return ; } data.receiver.removeMessageReceivedEventListener ( data.bufferChangeListener ) ; }
Source:
public static org.junit.runner.Description createTestDescription ( java.lang.Class < ? > clazz , java.lang.String name , java.lang.annotation.Annotation ... annotations ) { return new org.junit.runner.Description ( java.lang.String.format ( "%s(%s)" , name , clazz.getName ( ) ) , annotations ) ; }

Target:
public static org.junit.runner.Description createSuiteDescription ( java.lang.String name , java.io.Serializable uniqueId , java.lang.annotation.Annotation ... annotations ) { return new org.junit.runner.Description ( null , name , uniqueId , annotations ) ; }
Source:
void notifyRegistrantsRilConnectionChanged ( int rilVer ) { mRilVersion = rilVer ; if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , new java.lang.Integer ( rilVer ) , null ) ) ; } }

Target:
void notifyRegistrantsRilConnected ( ) { if ( ( mRilConnectedRegistrants ) != null ) { mRilConnectedRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , null , null ) ) ; } }
Source:
public void setIccLockEnabled ( boolean enabled , java.lang.String password , android.os.Message onComplete ) ;

Target:
public void setIccFdnEnabled ( boolean enabled , java.lang.String password , android.os.Message onComplete ) { sendMessageWithCardAbsentException ( onComplete ) ; }
Source:
public static java.lang.String getProperty ( @ javax.annotation.Nonnull java.lang.String key ) { java.lang.String value = com.android.jack.test.TestsProperties.testsProperties.getProperty ( key ) ; if ( value == null ) { throw new com.android.jack.test.TestConfigurationException ( ( ( "Undefined property : '" + key ) + "'" ) ) ; } return value ; }

Target:
public static java.lang.String getProperty ( @ javax.annotation.Nonnull java.lang.String key ) { return com.android.jack.test.TestsProperties.testsProperties.getProperty ( key , "" ) ; }
Source:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( ( java.lang.Integer.numberOfLeadingZeros ( ( ( args.inValue ) & 65535 ) ) ) - 16 ) ) ; }

Target:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsUshortUshort args ) { args.out = ( ( short ) ( ( java.lang.Integer.numberOfLeadingZeros ( ( ( args.inValue ) & 65535 ) ) ) - 16 ) ) ; }
Source:
public void encode ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e ) throws java.io.IOException { e.stream ( ) . write ( mValue ) ; }

Target:
public void write ( @ org.jetbrains.annotations.NotNull com.android.tools.rpclib.binary.Encoder e ) throws java.io.IOException { e.write ( mValue , com.android.tools.rpclib.binary.BinaryID.SIZE ) ; }
Source:
public static com.android.sdklib.resources.KeyboardState getByIndex ( int index ) { int i = 0 ; for ( com.android.sdklib.resources.KeyboardState value : com.android.sdklib.resources.KeyboardState.values ( ) ) { if ( i == index ) { return value ; } i ++ ; } return null ; }

Target:
public static com.android.resources.KeyboardState getByIndex ( int index ) { int i = 0 ; for ( com.android.resources.KeyboardState value : com.android.resources.KeyboardState.values ( ) ) { if ( i == index ) { return value ; } i ++ ; } return null ; }
Source:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , vfs.createVFile ( parent , name ) ) ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , parent.getWrappedDir ( ) . createVFile ( name ) ) ; }
Source:
sun.nio.fs.LinuxFileStore getFileStore ( sun.nio.fs.UnixPath path ) throws java.io.IOException { return new sun.nio.fs.LinuxFileStore ( path ) ; }

Target:
sun.nio.fs.LinuxFileStore getFileStore ( sun.nio.fs.UnixPath path ) throws java.io.IOException { throw new java.lang.SecurityException ( "getFileStore" ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , long value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , long value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; getOemHookProxy ( null ) ; }
Source:
void checkDefaultSerialize ( ) throws java.io.InvalidClassException { if ( ( defaultSerializeEx ) != null ) { throw defaultSerializeEx.newInvalidClassException ( ) ; } }

Target:
void checkDefaultSerialize ( ) throws java.io.InvalidClassException { requireInitialized ( ) ; if ( ( defaultSerializeEx ) != null ) { throw defaultSerializeEx.newInvalidClassException ( ) ; } }
Source:
public void test42_001 ( ) throws java.lang.Exception { runTest ( "042" , "001" , "" ) ; }

Target:
public void test42_001 ( ) throws java.lang.Exception { checkToolchainIsNotJillBased ( ) ; runTest ( "042" , "001" , "" ) ; }
Source:
static void asInts ( byte [ ] x , int [ ] z ) { org.bouncycastle.crypto.util.Pack.bigEndianToInt ( x , 0 , z ) ; }

Target:
static void asInts ( byte [ ] x , int [ ] z ) { org.bouncycastle.util.Pack.bigEndianToInt ( x , 0 , z ) ; }
Source:
public static java.util.Properties getGlobalProperties ( ) { return com.android.jack.test.TestsProperties.testsProperties ; }

Target:
public static java.lang.String getProperty ( @ javax.annotation.Nonnull java.lang.String key ) { return com.android.jack.test.TestsProperties.testsProperties.getProperty ( key , "" ) ; }
Source:
public void onCancel ( android.content.DialogInterface dialog ) { finish ( ) ; }

Target:
public void onCancel ( android.content.DialogInterface dialog ) { com.android.cts.verifier.TestResult.setPassedResult ( this ) ; finish ( ) ; }
Source:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Android SDK Platform-tools, revision %1$s%2$s" , getPreviewVersion ( ) . toShortString ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }

Target:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Android SDK Platform-tools, revision %1$s%2$s" , getRevision ( ) . toShortString ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }
Source:
private void fetchEpg ( long delay ) { mHandler.removeMessages ( com.android.tv.data.epg.EpgFetcher.MSG_FETCH_EPG ) ; mHandler.sendEmptyMessageDelayed ( com.android.tv.data.epg.EpgFetcher.MSG_FETCH_EPG , delay ) ; }

Target:
private void postFetchRequest ( boolean fastFetch , long delay ) { int msg = ( fastFetch ) ? com.android.tv.data.epg.EpgFetcher.MSG_FAST_FETCH_EPG : com.android.tv.data.epg.EpgFetcher.MSG_FETCH_EPG ; mHandler.removeMessages ( msg ) ; mHandler.sendEmptyMessageDelayed ( msg , delay ) ; }
Source:
public java.lang.Class < ? extends com.android.jack.jayce.v0004.NNode > getNNodeClass ( ) throws com.android.jack.jayce.v0004.io.InvalidTokenException { throw new com.android.jack.jayce.v0004.io.InvalidTokenException ( ( "No node coresponding to token " + ( this . toString ( ) ) ) ) ; }

Target:
public com.android.jack.jayce.v0004.NNode newNode ( ) throws com.android.jack.jayce.v0004.io.InvalidTokenException { throw new com.android.jack.jayce.v0004.io.InvalidTokenException ( ( "No node corresponding to token " + ( this . toString ( ) ) ) ) ; }
Source:
private boolean visitNonThrowingPrimitiveRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert ! ( expr.canThrow ( ) ) ; confirmBlockElement ( expr ) ; confirmParentForPrimitive ( expr ) ; confirmNotAssignmentTarget ( expr ) ; return true ; }

Target:
private boolean visitNonThrowingTriviaRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert ! ( expr.canThrow ( ) ) ; confirmBlockElement ( expr ) ; confirmParentForTrivia ( expr ) ; confirmNotAssignmentTarget ( expr ) ; return true ; }
Source:
public static void nonexistantFunction ( ) { java.lang.System.out.println ( "I don't exist" ) ; }

Target:
public static void nonexistentFunction ( ) { java.lang.System.out.println ( "I don't exist" ) ; }
Source:
public final byte [ ] doFinal ( ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } return spiImpl.engineDoFinal ( ) ; }

Target:
public final byte [ ] doFinal ( ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } return getSpi ( ) . engineDoFinal ( ) ; }
Source:
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 ) + '.' ) ) ; }

Target:
public static void printVersion ( @ javax.annotation.Nonnull java.io.PrintStream printStream ) { java.lang.String version = com.android.jack.Jack.getVersion ( ) . getVerboseVersion ( ) ; printStream.println ( "Jack compiler." ) ; printStream.println ( ( ( "Version: " + version ) + '.' ) ) ; }
Source:
public void configureWifiChange ( android.net.wifi.WifiScanner.WifiChangeSettings settings ) { validateChannel ( ) ; mAsyncChannel.sendMessage ( android.net.wifi.WifiScanner.CMD_CONFIGURE_WIFI_CHANGE , 0 , 0 , settings ) ; }

Target:
public void configureWifiChange ( android.net.wifi.WifiScanner.WifiChangeSettings settings ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void testQuote ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.runtime.WildcardMatcher ( "rst.xyz" ) . matches ( "rstAxyz" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.runtime.WildcardMatcher ( "(x)+" ) . matches ( "(x)+" ) ) ; }

Target:
public void testQuote ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "rst.xyz" ) . matches ( "rstAxyz" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "(x)+" ) . matches ( "(x)+" ) ) ; }
Source:
public void onCallStateChanged ( com.android.server.telecom.Call call , int oldState , int newState ) { if ( call.isSelfManaged ( ) ) { android.telecom.Log.i ( this , "onExternalCallChanged: skipped self-managed %s" , call ) ; return ; } updateCall ( call ) ; }

Target:
public void onConnectionServiceChanged ( com.android.server.telecom.Call call , com.android.server.telecom.ConnectionServiceWrapper oldService , com.android.server.telecom.ConnectionServiceWrapper newService ) { updateCall ( call ) ; }
Source:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.ARC4_CIPHER_TEST_PARAMS ) ; }

Target:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.ARC4_CIPHER_TEST_PARAMS ) ; testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.RSA_OAEP_CIPHER_TEST_PARAMS ) ; }
Source:
public void write ( byte [ ] b ) throws java.io.IOException { this . out.write ( b ) ; }

Target:
public void write ( byte [ ] b ) throws java.io.IOException { writeEntryIfNeeded ( ) ; out.write ( b ) ; }
Source:
public V next ( ) { return entryIterator.next ( ) . getValue ( ) ; }

Target:
public K last ( ) { return map ( ) . lastKey ( ) ; }
Source:
public com.google.common.collect.ImmutableSet < java.lang.String > workerProcessArgs ( ) { return com.google.common.collect.ImmutableSet.of ( ) ; }

Target:
public com.google.common.collect.ImmutableSet < java.lang.String > workerProcessArgs ( ) { if ( vmExecutable.equals ( "app_process" ) ) { return com.google.common.collect.ImmutableSet.of ( ( ( vmAndroidRoot ) + "/bin" ) ) ; } return com.google.common.collect.ImmutableSet.of ( ) ; }
Source:
public void onProgressChanged ( android.webkit.WebView view , int newProgress ) { final android.widget.ProgressBar myProgressBar = ( ( android.widget.ProgressBar ) ( findViewById ( R.id.progress_bar ) ) ) ; myProgressBar.setProgress ( newProgress ) ; }

Target:
public void onProgressChanged ( android.webkit.WebView view , int newProgress ) { getProgressBar ( ) . setProgress ( newProgress ) ; }
Source:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case com.android.internal.telephony.uicc.IccRecords.EVENT_CFI : notifyCallForwardingIndicator ( ) ; break ; } }

Target:
private void processIccRecordEvents ( int eventCode ) { switch ( eventCode ) { case com.android.internal.telephony.uicc.IccRecords.EVENT_CFI : logi ( "processIccRecordEvents: EVENT_CFI" ) ; notifyCallForwardingIndicator ( ) ; break ; } }
Source:
public void remove ( ) { com.google.common.base.Preconditions.checkState ( ( ( last ) != null ) ) ; this . setCount ( last.getElement ( ) , 0 ) ; last = null ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( last ) != null ) ) ; this . setCount ( last.getElement ( ) , 0 ) ; last = null ; }
Source:
public void iccCloseLogicalChannelResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getPreferredNetworkTypeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int nwType ) { mRil.mPreferredNetworkType = nwType ; responseInts ( responseInfo , nwType ) ; }
Source:
private boolean getAutoTime ( ) { try { return ( Settings.Global.getInt ( mCr , Settings.Global.AUTO_TIME ) ) > 0 ; } catch ( android.provider.Settings snfe ) { return true ; } }

Target:
public int getNitzUpdateSpacingMillis ( ) { return Settings.Global.getInt ( mCr , Settings.Global.NITZ_UPDATE_SPACING , mNitzUpdateSpacing ) ; }
Source:
public static int UShr28And7 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 7 ; }

Target:
public static int $noinline$UShr28And7 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 28 ) & 7 ; }
Source:
public static java.lang.String toASCII ( java.lang.String input , int flags ) { return libcore.icu.NativeIDN.toASCII ( input , flags ) ; }

Target:
public static java.lang.String toUnicode ( java.lang.String input ) { return java.net.IDN.toUnicode ( input , 0 ) ; }
Source:
public static void wtf ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Log.wtf ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) , tr ) ; }

Target:
public static void wtf ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.wtf ( objectPrefix , format , args ) ; }
Source:
public void controlResized ( org.eclipse.swt.events.ControlEvent e ) { super . controlResized ( e ) ; mHScale.setClientSize ( getClientArea ( ) . width ) ; mVScale.setClientSize ( getClientArea ( ) . height ) ; }

Target:
public void paintControl ( org.eclipse.swt.events.PaintEvent e ) { onPaint ( e ) ; }
Source:
public native java.lang.Class < ? > [ ] getDeclaredClasses ( ) ;

Target:
public native java.lang.reflect.Field getDeclaredField ( java.lang.String name ) throws java.lang.NoSuchFieldException ;
Source:
protected void tearDown ( ) { try { is.close ( ) ; } catch ( java.lang.Exception e ) { java.lang.System.out.println ( "Unexpected exception in tearDown()." ) ; } new java.io.File ( fileName ) . delete ( ) ; }

Target:
protected void tearDown ( ) { try { is.close ( ) ; } catch ( java.lang.Exception ignored ) { } }
Source:
public void setOutputDexDir ( @ javax.annotation.Nonnull java.io.File arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setOutputDexDir ( @ javax.annotation.Nonnull java.io.File outputDexDir ) { options.setOutputDir ( outputDexDir ) ; }
Source:
public void createGroupListDimensionWithoutFlavor ( ) throws java.lang.Exception { try { com.android.build.gradle.internal.ProductFlavorCombo.createCombinations ( com.google.common.collect.ImmutableList.of ( com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION1 , com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION2 ) , com.google.common.collect.ImmutableList.of ( f1d1 ) ) ; fail ( "Expected to throw" ) ; } catch ( java.lang.RuntimeException ignore ) { } }

Target:
public void createGroupListDimensionWithoutFlavor ( ) throws java.lang.Exception { try { com.android.build.gradle.internal.ProductFlavorCombo.createCombinations ( com.google.common.collect.ImmutableList.of ( com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION1 , com.android.build.gradle.internal.ProductFlavorComboTest.DIMENSION2 ) , com.google.common.collect.ImmutableList.of ( f1d1 ) ) ; org.junit.Assert.fail ( "Expected to throw" ) ; } catch ( java.lang.RuntimeException ignore ) { } }
Source:
public void visitExceptionsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.ExceptionsAttribute exceptionsAttribute ) { if ( accepted ( clazz , exceptionsAttribute ) ) { exceptionsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitMethodParametersAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.MethodParametersAttribute exceptionsAttribute ) { if ( accepted ( clazz , exceptionsAttribute ) ) { attributeVisitor.visitMethodParametersAttribute ( clazz , method , exceptionsAttribute ) ; } }
Source:
private static java.lang.CharSequence formatDayOfWeek ( android.content.Context context , long callDateMillis ) { return com.android.dialer.calllogutils.CallLogDates.toTitleCase ( android.text.format.DateUtils.formatDateTime ( context , callDateMillis , DateUtils.FORMAT_SHOW_WEEKDAY ) ) ; }

Target:
private static java.lang.CharSequence formatDayOfWeek ( android.content.Context context , long timestamp ) { return com.android.dialer.calllogutils.CallLogDates.toTitleCase ( android.text.format.DateUtils.formatDateTime ( context , timestamp , ( ( android.text.format.DateUtils.FORMAT_SHOW_WEEKDAY ) | ( android.text.format.DateUtils.FORMAT_ABBREV_WEEKDAY ) ) ) ) ; }
Source:
public void onResume ( ) { mIm.unregisterInputDeviceListener ( this ) ; }

Target:
public void onPause ( ) { mIm.unregisterInputDeviceListener ( this ) ; }
Source:
public static void computeSin ( android.renderscript.cts.TestSin.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.sin ( args.in ) ) ) ; }

Target:
public static void computeExp10 ( android.renderscript.cts.TestExp10.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.exp10 ( args.in ) , 32 , 32 ) ; }
Source:
public void println ( @ javax.annotation.Nonnull java.io.PrintStream printer ) { prefixDone = false ; if ( ! ( newLineDone ) ) { printer.println ( ) ; newLineDone = true ; } }

Target:
public void println ( @ javax.annotation.Nonnull java.io.PrintWriter printer ) { prefixDone = false ; if ( ! ( newLineDone ) ) { printer.println ( ) ; newLineDone = true ; } }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { new com.ibm.icu.dev.test.normalizer.BasicTest ( ) . run ( args ) ; }

Target:
public void TestGetsFromImpl ( ) { com.ibm.icu.impl.Normalizer2Impl nfcImpl = com.ibm.icu.impl.Norm2AllModes.getNFCInstance ( ) . impl ; assertNotEquals ( "getNormTrie() returns null" , null , nfcImpl.getNormTrie ( ) ) ; assertNotEquals ( "getFCD16FromBelow180() returns null" , null , nfcImpl.getFCD16FromBelow180 ( 0 ) ) ; }
Source:
private void connectNativeNetdService ( ) { mNetdService = android.net.util.NetdService.get ( ) ; }

Target:
public android.net.INetd getNetd ( ) { return android.net.util.NetdService.get ( ) ; }
Source:
public void testDocumentBuilder ( ) { try { new tests.api.javax.xml.parsers.DocumentBuilderTest.MockDocumentBuilder ( ) ; } catch ( java.lang.Exception e ) { fail ( ( "unexpected exception " + ( e.toString ( ) ) ) ) ; } }

Target:
public void testDocumentBuilder ( ) { try { new org.apache.harmony.tests.javax.xml.parsers.DocumentBuilderTest.MockDocumentBuilder ( ) ; } catch ( java.lang.Exception e ) { fail ( ( "unexpected exception " + ( e.toString ( ) ) ) ) ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteBuildNumberBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 64 ; suiteBuildNumber_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }
Source:
public void respondToRttRequest ( int id , boolean accept ) { try { mAdapter.respondToRttRequest ( id , accept ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void respondToRttRequest ( java.lang.String callId , int id , boolean accept ) { try { mAdapter.respondToRttRequest ( callId , id , accept ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void setPreCompInfo ( org.bouncycastle.math.ec.ECPoint point , org.bouncycastle.math.ec.PreCompInfo preCompInfo ) { checkPoint ( point ) ; point.preCompInfo = preCompInfo ; }

Target:
public org.bouncycastle.math.ec.PreCompInfo getPreCompInfo ( org.bouncycastle.math.ec.ECPoint point , java.lang.String name ) { checkPoint ( point ) ; synchronized ( point ) { java.util.Hashtable table = point.preCompTable ; return table == null ? null : ( ( org.bouncycastle.math.ec.PreCompInfo ) ( table.get ( name ) ) ) ; } }
Source:
protected void addRevocablePermissions ( @ com.android.annotations.NonNull java.util.Set < java.lang.String > result ) { left.addRevocablePermissions ( result ) ; right.addRevocablePermissions ( result ) ; }

Target:
public boolean isRevocable ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) { return ( left.isRevocable ( revocable ) ) || ( right.isRevocable ( revocable ) ) ; }
Source:
synchronized void recursiveSync ( int iter ) { if ( iter < 40 ) { recursiveSync ( ( iter + 1 ) ) ; } else { java.lang.System.out.println ( "recursiveSync ok" ) ; } }

Target:
synchronized void recursiveSync ( int iter ) { Main.assertIsManaged ( ) ; if ( iter < 40 ) { recursiveSync ( ( iter + 1 ) ) ; } else { java.lang.System.out.println ( "recursiveSync ok" ) ; } }
Source:
public static int DivN1 ( int arg ) { return arg / ( - 1 ) ; }

Target:
public static int $noinline$DivN1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 1 ) ; }
Source:
public void enter ( ) { maybeLogEvaluationResult ( networkEventType ( validationStage ( ) , com.android.server.connectivity.NetworkMonitor.EvaluationResult.VALIDATED ) ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetId , null ) ) ; ( mValidations ) ++ ; }

Target:
public void enter ( ) { maybeLogEvaluationResult ( networkEventType ( validationStage ( ) , com.android.server.connectivity.NetworkMonitor.EvaluationResult.VALIDATED ) ) ; mConnectivityServiceHandler.sendMessage ( obtainMessage ( com.android.server.connectivity.NetworkMonitor.EVENT_NETWORK_TESTED , com.android.server.connectivity.NetworkMonitor.NETWORK_TEST_RESULT_VALID , mNetId , mPrivateDnsCfg ) ) ; ( mValidations ) ++ ; }
Source:
public void blockCall ( ) { telecomCall.reject ( false , null ) ; setState ( com.android.incallui.call.DialerCall.State.BLOCKED ) ; }

Target:
public void blockCall ( ) { telecomCall.reject ( false , null ) ; setState ( DialerCallState.BLOCKED ) ; }
Source:
abstract long storedPermitsToWaitTime ( double storedPermits , double permitsToTake ) ;

Target:
final long reserve ( int permits ) { com.google.common.util.concurrent.RateLimiter.checkPermits ( permits ) ; synchronized ( mutex ( ) ) { return reserveAndGetWaitLength ( permits , stopwatch.readMicros ( ) ) ; } }
Source:
public void addCountLocked ( long count ) { mCount += count ; }

Target:
public void addCountAtomic ( long count ) { mCount.addAndGet ( ( ( int ) ( count ) ) ) ; }
Source:
public void stop ( ) { mPacketListener.stop ( ) ; mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) ; }

Target:
protected void onStop ( ) { if ( mRunning ) { mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) ; } else { mLog.log ( ( ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) + " (packet listener stopped unexpectedly)" ) ) ; } }
Source:
public void testToString ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertTrue ( ( ( - 1 ) != ( c1.toString ( ) . indexOf ( "mock" ) ) ) ) ; }

Target:
public void testToString ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c1 = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertTrue ( ( ( - 1 ) != ( c1.toString ( ) . indexOf ( "mock" ) ) ) ) ; }
Source:
public com.android.build.gradle.internal.dsl.BuildType consumerProguardFiles ( java.lang.Object ... proguardFileArray ) { consumerProguardFiles.addAll ( project.files ( proguardFileArray ) . files ) ; return this ; }

Target:
public com.android.build.gradle.internal.dsl.BuildType proguardFile ( @ com.android.annotations.NonNull java.lang.Object proguardFile ) { getProguardFiles ( ) . add ( project.file ( proguardFile ) ) ; return this ; }
Source:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; setTestResultAndFinish ( true ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; mSetDefaultDialerButton.setEnabled ( false ) ; mRestoreDefaultDialerImage.setImageDrawable ( getDrawable ( R.drawable.fs_warning ) ) ; }
Source:
public final java.lang.invoke.MethodHandle toMethodHandle ( java.lang.invoke.VarHandle.AccessMode accessMode ) { unsupported ( ) ; return null ; }

Target:
public final java.util.List < java.lang.Class < ? > > coordinateTypes ( ) { return coordinateTypes ; }
Source:
public static native void SSL_enable_ocsp_stapling ( long ssl ) ;

Target:
public static native long PEM_read_bio_PrivateKey ( long bioCtx ) ;
Source:
public boolean isAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return isAnnotationPresentNative ( annotationType ) ; }

Target:
public java.lang.Class < ? > [ ] getExceptionTypes ( ) { if ( getDeclaringClass ( ) . isProxy ( ) ) { return getExceptionTypesNative ( ) ; } else { return libcore.reflect.AnnotationAccess.getExceptions ( this ) ; } }
Source:
public void continueButtonClickHandler ( android.view.View target ) { startActivity ( new android.content.Intent ( this , com.android.cts.verifier.TestListActivity.class ) ) ; }

Target:
public void onClick ( android.view.View v ) { startActivity ( new android.content.Intent ( this , com.android.cts.verifier.TestListActivity.class ) ) ; }
Source:
public static void addDate ( org.jetbrains.io.HttpResponse response , java.util.Date date ) { response.headers ( ) . set ( org.jetbrains.io.DATE , org.jetbrains.io.Responses.DATE_FORMAT.get ( ) . format ( date ) ) ; }

Target:
public static void addDate ( org.jetbrains.io.HttpResponse response , java.util.Date date ) { response.headers ( ) . set ( HttpHeaders.Names.DATE , org.jetbrains.io.Responses.DATE_FORMAT.get ( ) . format ( date ) ) ; }
Source:
private void addNewOutgoingCall ( ) { if ( ! ( isVideoAccountEnabled ( ) ) ) { showVideoAccountSettings ( ) ; return ; } java.lang.String phoneNumber = "+44 (0) 20 7031 3000" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewOutgoingCall ( context , phoneNumber , true ) ; }

Target:
private void addNewOutgoingCall ( ) { if ( ! ( isVideoAccountEnabled ( ) ) ) { showVideoAccountSettings ( ) ; return ; } java.lang.String phoneNumber = "+44 (0) 20 7031 3000" ; connectionTag = com.android.dialer.simulator.impl.SimulatorSimCallManager.addNewOutgoingCall ( context , phoneNumber , SimulatorSimCallManager.CALL_TYPE_VIDEO ) ; }
Source:
public void wifiNanEnableUsage ( ) throws android.os.RemoteException { mMgr.enableUsage ( ) ; }

Target:
public void wifiNanEnableUsage ( ) throws android.os.RemoteException { synchronized ( mLock ) { mMgr.enableUsage ( ) ; } }
Source:
public java.lang.String getPropertyName ( ) { return com.android.jack.jayce.JayceProperties.KEY_JAYCE ; }

Target:
public void check ( ) throws com.android.jack.library.LibraryFormatException { }
Source:
public void test_minus_TemporalAmount_null ( ) { TEST_12_30_40_987654321.minus ( ( ( java.time.temporal.TemporalAmount ) ( null ) ) ) ; }

Target:
public void test_minus_longTemporalUnit_null ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( 1 , ( ( java.time.temporal.TemporalUnit ) ( null ) ) ) ; }
Source:
void setScale ( double scale , boolean redraw ) { mHScale.setScale ( scale ) ; mVScale.setScale ( scale ) ; if ( redraw ) { redraw ( ) ; } }

Target:
com.android.ide.common.api.Point layoutToControlPoint ( int canvasX , int canvasY ) { int x = mHScale.translate ( canvasX ) ; int y = mVScale.translate ( canvasY ) ; return new com.android.ide.common.api.Point ( x , y ) ; }
Source:
public static void computeCos ( android.renderscript.cts.TestCos.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( float ) ( java.lang.StrictMath.cos ( args.in ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUshortUint args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUshortToUint ( args.inV ) ; }
Source:
public static int EqualTrueRhs ( boolean arg ) { return arg != true ? 3 : 5 ; }

Target:
public static int booleanFieldNotEqualOne ( ) { return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
void tearDown ( ) { mNm.cancelAll ( ) ; com.android.cts.verifier.notifications.MockListener.MockListener.resetListenerData ( mContext ) ; delay ( ) ; deleteChannel ( ) ; }

Target:
void tearDown ( ) { mNm.cancelAll ( ) ; com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; deleteChannel ( ) ; }
Source:
public java.lang.String getListDescription ( ) { java.lang.Package pkg = getPackage ( ) ; return pkg == null ? "" : pkg.getListDescription ( ) ; }

Target:
public java.lang.String getListDescription ( ) { return getDesc ( ) . getListDescription ( ) ; }
Source:
public void onDestroy ( ) { super . onDestroy ( ) ; getActivity ( ) . unregisterReceiver ( mPhoneChangeReceiver ) ; }

Target:
public void onDestroy ( ) { super . onDestroy ( ) ; if ( ( ( getActivity ( ) ) != null ) && ( ! ( getActivity ( ) . isDestroyed ( ) ) ) ) { getActivity ( ) . unregisterReceiver ( mPhoneChangeReceiver ) ; } }
Source:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { if ( ( mJavaParser ) == null ) { mJavaParser = new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.EclipseJavaParser ( ) ; } return mJavaParser ; }

Target:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { if ( ( mJavaParser ) == null ) { mJavaParser = new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.EclipseJavaParser ( ) ; } return mJavaParser ; }
Source:
public java.lang.String getNewName ( @ javax.annotation.Nonnull java.lang.String oldName ) ;

Target:
public java.lang.String getNewName ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.Key key ) ;
Source:
public void setCapabilities ( @ android.net.NetworkCapabilities.NetCapability int [ ] capabilities ) { mNetworkCapabilities = com.android.internal.util.BitUtils.packBits ( capabilities ) ; }

Target:
public void setCapabilities ( @ android.net.NetworkCapabilities.NetCapability int [ ] capabilities , @ android.net.NetworkCapabilities.NetCapability int [ ] unwantedCapabilities ) { mNetworkCapabilities = com.android.internal.util.BitUtils.packBits ( capabilities ) ; mUnwantedNetworkCapabilities = com.android.internal.util.BitUtils.packBits ( unwantedCapabilities ) ; }
Source:
public boolean isPassed ( ) { return ( mDone ) && ( ( countResults ( TestStatus.FAIL ) ) == 0 ) ; }

Target:
public int getExpectedTestRuns ( ) { return mExpectedTestRuns ; }
Source:
void setupDataCall ( int radioTechnology , android.telephony.data.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , android.os.Message result ) ;

Target:
void setupDataCall ( int accessNetworkType , android.telephony.data.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , int reason , android.net.LinkProperties linkProperties , android.os.Message result ) ;
Source:
public java.lang.String toString ( ) { return mClassName ; }

Target:
public java.lang.String toString ( ) { return "class " + ( mClassName ) ; }
Source:
public static android.net.dhcp.DhcpClient makeDhcpClient ( android.content.Context context , com.android.internal.util.StateMachine controller , java.lang.String intf ) { android.net.dhcp.DhcpClient client = new android.net.dhcp.DhcpClient ( context , controller , intf ) ; client.start ( ) ; return client ; }

Target:
public static android.net.dhcp.DhcpClient makeDhcpClient ( android.content.Context context , com.android.internal.util.StateMachine controller , android.net.util.InterfaceParams ifParams ) { android.net.dhcp.DhcpClient client = new android.net.dhcp.DhcpClient ( context , controller , ifParams.name ) ; client.mIface = ifParams ; client.start ( ) ; return client ; }
Source:
public void imageLoaded ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; treeViewer.expandAll ( ) ; } } ) ; }

Target:
public void imageLoaded ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; treeViewer.expandAll ( ) ; } } ) ; }
Source:
public void onServiceDisconnected ( android.content.ComponentName componentName ) { com.android.server.telecom.Log.startSession ( "CSCR.oSD" ) ; try { synchronized ( mTelecomLock ) { finishCallScreening ( ) ; } } finally { com.android.server.telecom.Log.endSession ( ) ; } }

Target:
public void onServiceDisconnected ( android.content.ComponentName componentName ) { android.telecom.Log.startSession ( "CSCR.oSD" ) ; try { synchronized ( mTelecomLock ) { finishCallScreening ( ) ; } } finally { android.telecom.Log.endSession ( ) ; } }
Source:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataOnRoamingEnabled ( enable ) ; }

Target:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataRoamingEnabledByUser ( enable ) ; }
Source:
public java.lang.String getShortDescription ( ) { if ( mSource.isEnabled ( ) ) { return "No packages found." ; } else { return "This site is disabled." ; } }

Target:
public java.lang.String getShortDescription ( ) { if ( mSource.isEnabled ( ) ) { return "No packages found." ; } else { return "This site is disabled. " ; } }
Source:
public void test_writeBytes ( ) throws java.lang.Exception { os.writeBytes ( "0ሴ1" ) ; assertEquals ( "[30, 34, 31]" , libcore.java.io.DataOutputStreamTest.toHexString ( bytes.toByteArray ( ) ) ) ; }

Target:
public void test_writeBytes ( ) throws java.lang.Exception { os.writeBytes ( "0ሴ1" ) ; assertEquals ( "303431" , libcore.util.HexEncoding.encodeToString ( bytes.toByteArray ( ) ) ) ; }
Source:
synchronized void nContextFinish ( ) { validate ( ) ; rsnContextFinish ( mContext ) ; }

Target:
synchronized void nContextDump ( int bits ) { validate ( ) ; rsnContextDump ( mContext , bits ) ; }
Source:
private com.android.internal.os.ZygoteConnection acceptCommandPeer ( java.lang.String abiList ) { try { return new com.android.internal.os.ZygoteConnection ( mServerSocket.accept ( ) , abiList ) ; } catch ( java.io.IOException ex ) { throw new java.lang.RuntimeException ( "IOException during accept()" , ex ) ; } }

Target:
private com.android.internal.os.ZygoteConnection acceptCommandPeer ( java.lang.String abiList ) { try { return createNewConnection ( mServerSocket.accept ( ) , abiList ) ; } catch ( java.io.IOException ex ) { throw new java.lang.RuntimeException ( "IOException during accept()" , ex ) ; } }