auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean isWfcProvisionedOnDeviceForSlot ( ) { if ( getBooleanCarrierConfigForSlot ( CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL ) ) { return isWfcProvisioned ( ) ; } return true ; }

Target:
public boolean isWfcProvisionedOnDeviceForSlot ( ) { if ( getBooleanCarrierConfigForSlot ( CarrierConfigManager.KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL ) ) { if ( ! ( isVolteProvisionedOnDeviceForSlot ( ) ) ) { return false ; } } if ( getBooleanCarrierConfigForSlot ( CarrierConfigManager.KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL ) ) { return isWfcProvisioned ( ) ; } return true ; }
Source:
public final com.android.jack.ir.ast.cfg.JExitBasicBlock exit ( ) { return exit ; }

Target:
public final com.android.jack.ir.ast.cfg.JExitBasicBlock getExitBlock ( ) { return exit ; }
Source:
private com.android.internal.app.IBatteryStats getBatteryStats ( ) { synchronized ( this ) { if ( ( mBatteryStats ) != null ) { return mBatteryStats ; } mBatteryStats = IBatteryStats.Stub.asInterface ( android.os.ServiceManager.getService ( BatteryStats.SERVICE_NAME ) ) ; return mBatteryStats ; } }

Target:
private com.android.internal.app.IBatteryStats getBatteryStats ( ) { synchronized ( this ) { if ( ( mBatteryStats ) != null ) { return mBatteryStats ; } mBatteryStats = IBatteryStats.Stub.asInterface ( mServices.getService ( BatteryStats.SERVICE_NAME ) ) ; return mBatteryStats ; } }
Source:
public void testNewFullscreen ( ) throws java.lang.Exception { checkCreateTemplate ( "activities" , "Fullscreen" ) ; }

Target:
public void testNewFullscreen ( ) throws java.lang.Exception { checkCreateTemplate ( "activities" , "FullscreenActivity" ) ; }
Source:
public com.android.internal.telephony.gsm.GsmCall getForegroundCall ( ) { return mCT.foregroundCall ; }

Target:
public com.android.internal.telephony.gsm.GsmCall getRingingCall ( ) { return mCT.mRingingCall ; }
Source:
public boolean validate ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) throws com.intellij.openapi.options.ConfigurationException { return true ; }

Target:
public void apply ( @ org.jetbrains.annotations.NotNull org.jetbrains.plugins.gradle.settings.GradleSettings settings ) { myBuilder.apply ( settings ) ; }
Source:
public boolean isMatchFor ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { if ( qualifier instanceof com.android.ide.eclipse.adt.internal.resources.configurations.PixelDensityQualifier ) { return true ; } return false ; }

Target:
public boolean isMatchFor ( com.android.ide.common.resources.configuration.ResourceQualifier qualifier ) { if ( qualifier instanceof com.android.ide.common.resources.configuration.PixelDensityQualifier ) { return true ; } return false ; }
Source:
protected void engineReset ( ) { resetContext ( ) ; }

Target:
private void ensureDigestInitializedInContext ( ) { if ( ! ( mDigestInitializedInContext ) ) { final org.conscrypt.NativeRef.EVP_MD_CTX ctxLocal = ctx ; org.conscrypt.NativeCrypto.EVP_DigestInit ( ctxLocal , evp_md ) ; mDigestInitializedInContext = true ; } }
Source:
public static short intAnd0x17fffToShort ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value & 98303 ) ) ; }

Target:
public static short $noinline$intAnd0x17fffToShort ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value & 98303 ) ) ; }
Source:
public void onRenderingTargetPostChange ( com.android.sdklib.IAndroidTarget target ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = com.android.ide.eclipse.adt.internal.sdk.Sdk.getCurrent ( ) . getTargetData ( target ) ; updateCapabilities ( targetData ) ; }

Target:
public void onRenderingTargetPostChange ( com.android.sdklib.IAndroidTarget target ) { com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData targetData = com.android.ide.eclipse.adt.internal.sdk.Sdk.getCurrent ( ) . getTargetData ( target ) ; updateCapabilities ( targetData ) ; mPalette.reloadPalette ( target ) ; }
Source:
public java.lang.String getAdditionalProposalInfo ( ) { com.android.tools.lint.detector.api.Issue issue = com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getRegistry ( ) . getIssue ( mId ) ; if ( issue != null ) { return issue.getExplanationAsHtml ( ) ; } return null ; }

Target:
public java.lang.String getAdditionalProposalInfo ( ) { com.android.tools.lint.detector.api.Issue issue = com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getRegistry ( ) . getIssue ( mId ) ; if ( issue != null ) { return issue.getExplanation ( OutputFormat.HTML ) ; } return null ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
public void testSetCallbackAndNotify ( ) throws java.lang.Exception { mTestImsService.setImsFeatureStatusCallback ( mTestStatusCallback ) ; org.mockito.Mockito.verify ( mTestStatusCallback ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_NOT_AVAILABLE ) ) ; }

Target:
public void testSetCallbackAndNotify ( ) throws java.lang.Exception { mTestImsService.addImsFeatureStatusCallback ( mTestStatusCallback ) ; mTestImsService.addImsFeatureStatusCallback ( mTestStatusCallback2 ) ; org.mockito.Mockito.verify ( mTestStatusCallback ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_NOT_AVAILABLE ) ) ; org.mockito.Mockito.verify ( mTestStatusCallback2 ) . notifyImsFeatureStatus ( org.mockito.Matchers.eq ( ImsFeature.STATE_NOT_AVAILABLE ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( android.net.wifi.p2p.WifiP2pService.DBG ) logd ( ( ( getName ( ) ) + " ignore connect" ) ) ; sendMessage ( android.net.wifi.p2p.WifiP2pService.PEER_CONNECTION_USER_REJECT ) ; }

Target:
public void onCancel ( android.content.DialogInterface arg0 ) { if ( android.net.wifi.p2p.WifiP2pService.DBG ) logd ( ( ( getName ( ) ) + " ignore connect" ) ) ; sendMessage ( android.net.wifi.p2p.WifiP2pService.PEER_CONNECTION_USER_REJECT ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; reloadSkinCombo ( ) ; reloadAbiTypeCombo ( ) ; validatePage ( ) ; }
Source:
public void setSmsListener ( android.telephony.ims.aidl.IImsSmsListener l ) throws android.os.RemoteException { this . setSmsListener ( l ) ; }

Target:
public void setSmsListener ( android.telephony.ims.aidl.IImsSmsListener l ) throws android.os.RemoteException { synchronized ( mLock ) { this . setSmsListener ( l ) ; } }
Source:
public void testE3 ( ) { dot.junit.opcodes.aput_object.d.T_aput_object_1 t = new dot.junit.opcodes.aput_object.d.T_aput_object_1 ( ) ; java.lang.String [ ] arr = null ; try { t.run ( arr , 0 , "abc" ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException aie ) { } }

Target:
public void testVFE3 ( ) { load ( "dot.junit.opcodes.aput_object.d.T_aput_object_7" , java.lang.VerifyError.class ) ; }
Source:
private void expectFailedScanStart ( org.mockito.InOrder order , com.android.server.wifi.WifiNative.ScanEventHandler eventHandler , java.util.Set < java.lang.Integer > scanFreqs , java.util.Set < java.lang.Integer > networkIds ) { order.verify ( mWifiNative ) . scan ( eq ( scanFreqs ) , eq ( networkIds ) ) ; }

Target:
private void expectFailedScanStart ( org.mockito.InOrder order , com.android.server.wifi.WifiNative.ScanEventHandler eventHandler , java.util.Set < java.lang.Integer > scanFreqs ) { order.verify ( mWifiNative ) . scan ( eq ( scanFreqs ) , any ( java.util.Set.class ) ) ; }
Source:
private static com.android.dx.cf.direct.DirectClassFile parseClass ( java.lang.String name , byte [ ] bytes ) { com.android.dx.cf.direct.DirectClassFile cf = new com.android.dx.cf.direct.DirectClassFile ( bytes , name , com.android.dx.command.dexer.Main.args.cfOptions.strictNameCheck ) ; cf.setAttributeFactory ( StdAttributeFactory.THE_ONE ) ; cf.getMagic ( ) ; return cf ; }

Target:
private com.android.dx.cf.direct.DirectClassFile parseClass ( java.lang.String name , byte [ ] bytes ) { com.android.dx.cf.direct.DirectClassFile cf = new com.android.dx.cf.direct.DirectClassFile ( bytes , name , args.cfOptions.strictNameCheck ) ; cf.setAttributeFactory ( StdAttributeFactory.THE_ONE ) ; cf.getMagic ( ) ; return cf ; }
Source:
public java.lang.String getDeviceSoftwareVersion ( ) { return getDeviceSoftwareVersion ( getDefaultSim ( ) ) ; }

Target:
public java.lang.String getDeviceSoftwareVersion ( ) { return getDeviceSoftwareVersion ( getSlotIndex ( ) ) ; }
Source:
public static int ShrIntLong ( ) { int lhs = Main.$inline$int ( 7 ) ; long rhs = Main.$inline$long ( 2L ) ; return lhs > > rhs ; }

Target:
public static long ShrLongInt ( ) { long lhs = 9 ; int rhs = 2 ; return lhs > > rhs ; }
Source:
public com.android.ide.common.layout.Format [ ] getFormats ( ) { com.android.ide.common.layout.BaseLayoutTest.fail ( "Not supported yet in tests" ) ; return null ; }

Target:
public com.android.ide.common.layout.Format [ ] getFormats ( ) { junit.framework.Assert.fail ( "Not supported yet in tests" ) ; return null ; }
Source:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( ( ( "[-a <alignment>] " + "[-providerClass <className>] " ) + "publickey.x509[.pem] privatekey.pk8 " ) + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }

Target:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( ( ( ( ( "[-a <alignment>] " + "[-providerClass <className>] " ) + "[--min-sdk-version <n>] " ) + "[--disable-v2] " ) + "publickey.x509[.pem] privatekey.pk8 " ) + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }
Source:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( tests.api.java.nio.charset.CharsetTest.charset1 ) ; v.add ( tests.api.java.nio.charset.CharsetTest.charset2 ) ; return v.iterator ( ) ; }

Target:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( org.apache.harmony.tests.java.nio.charset.CharsetTest.charset1 ) ; v.add ( org.apache.harmony.tests.java.nio.charset.CharsetTest.charset2 ) ; return v.iterator ( ) ; }
Source:
public final native long [ ] readInt64Vector ( ) ;

Target:
private final native long [ ] readInt64VectorAsArray ( ) ;
Source:
boolean waitForStateChange ( ) throws java.lang.InterruptedException { return mBlocker.await ( android.net.wifi.aware.cts.SingleDeviceTest.WAIT_FOR_AWARE_CHANGE , java.util.concurrent.TimeUnit.SECONDS ) ; }

Target:
boolean waitForStateChange ( ) throws java.lang.InterruptedException { return mBlocker.await ( android.net.wifi.aware.cts.SingleDeviceTest.WAIT_FOR_AWARE_CHANGE_SECS , java.util.concurrent.TimeUnit.SECONDS ) ; }
Source:
final void setFocusedActivityLocked ( com.android.server.am.ActivityRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; if ( r != null ) { mWindowManager.setFocusedApp ( r.appToken , true ) ; } } }

Target:
final void setFocusedActivityLocked ( com.android.server.am.ActivityRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; if ( r != null ) { mWindowManager.setFocusedApp ( r.appToken , true ) ; } applyUpdateLockStateLocked ( r ) ; } }
Source:
public void onDismissDialog ( ) { }

Target:
public com.android.incallui.incalluilock.InCallUiLock acquireInCallUiLock ( java.lang.String tag ) { return com.android.incallui.InCallPresenter.getInstance ( ) . acquireInCallUiLock ( tag ) ; }
Source:
public java.io.File [ ] getDefaultBootClasspath ( ) { return new java.io.File [ ] { new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/core-stubs-mini.jack" ) , new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/junit4-targetdex-jack.zip" ) } ; }

Target:
public java.io.File [ ] getDefaultBootClasspath ( ) { return new java.io.File [ ] { new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/core-stubs-mini.jack" ) , new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/junit4-lib.jack" ) } ; }
Source:
public boolean isInUserWhiteList ( ) { return isInUserWhiteList ; }

Target:
public java.lang.Boolean isInUserWhiteList ( ) { return isInUserWhiteList ; }
Source:
public android.security.KeyStoreParameter.Builder setDigests ( @ android.security.KeyStoreKeyConstraints.DigestEnum int digests ) { mDigests = digests ; return this ; }

Target:
public android.security.KeyStoreParameter.Builder setDigests ( java.lang.String ... digests ) { mDigests = android.security.ArrayUtils.cloneIfNotEmpty ( digests ) ; return this ; }
Source:
public void setRingerModeInternal ( int ringerMode ) { try { android.media.AudioManager.getService ( ) . setRingerModeInternal ( ringerMode , getContext ( ) . getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.media.AudioManager.TAG , "Error calling setRingerModeInternal" , e ) ; } }

Target:
public void setRingerModeInternal ( int ringerMode ) { try { android.media.AudioManager.getService ( ) . setRingerModeInternal ( ringerMode , mApplicationContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.media.AudioManager.TAG , "Error calling setRingerModeInternal" , e ) ; } }
Source:
public boolean startInstrumentation ( android.content.ComponentName className , java.lang.String profileFile , int flags , android.os.Bundle arguments , android.app.IInstrumentationWatcher watcher , android.app.IUiAutomationConnection connection , int userId ) throws android.os.RemoteException ;

Target:
public boolean startInstrumentation ( android.content.ComponentName className , java.lang.String profileFile , int flags , android.os.Bundle arguments , android.app.IInstrumentationWatcher watcher , android.app.IUiAutomationConnection connection , int userId , java.lang.String abiOverride ) throws android.os.RemoteException ;
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.Error error = null ; try { Main.$opt$TestInvokeStatic ( ) ; } catch ( java.lang.Error e ) { error = e ; } java.lang.System.out.println ( error ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.Error error = null ; try { Main.$opt$TestInvokeStatic ( ) ; } catch ( java.lang.Error e ) { error = e ; } java.lang.System.out.println ( error ) ; Main.$opt$TestInvokeNew ( ) ; }
Source:
static com.google.common.util.concurrent.RateLimiter create ( com.google.common.util.concurrent.RateLimiter.SleepingTicker ticker , double permitsPerSecond ) { com.google.common.util.concurrent.RateLimiter rateLimiter = new com.google.common.util.concurrent.RateLimiter.Bursty ( ticker ) ; rateLimiter.setRate ( permitsPerSecond ) ; return rateLimiter ; }

Target:
static com.google.common.util.concurrent.RateLimiter create ( com.google.common.util.concurrent.RateLimiter.SleepingStopwatch stopwatch , double permitsPerSecond ) { com.google.common.util.concurrent.RateLimiter rateLimiter = new com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty ( stopwatch , 1.0 ) ; rateLimiter.setRate ( permitsPerSecond ) ; return rateLimiter ; }
Source:
public void testNewInstanceString_NoArgConstructor ( ) { runTestNewInstanceString ( "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstanceStringTest.ConstructorArgumentsProvider ( ) { @ java.lang.Override public void provideConstructorArguments ( java.util.List < org.apache.harmony.jpda.tests.framework.jdwp.Value > constructorArguments ) { } } ) ; }

Target:
public void testNewInstanceString_NoArgConstructor ( ) { runTestNewInstanceString ( "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) ) ; }
Source:
static int getKeyTypeForAlgorithm ( java.lang.String keyType ) { if ( "RSA" . equalsIgnoreCase ( keyType ) ) { return com.android.org.conscrypt.NativeCrypto.EVP_PKEY_RSA ; } else if ( "EC" . equalsIgnoreCase ( keyType ) ) { return com.android.org.conscrypt.NativeCrypto.EVP_PKEY_EC ; } else { return - 1 ; } }

Target:
static int getKeyTypeForAlgorithm ( java.lang.String keyType ) { if ( "RSA" . equalsIgnoreCase ( keyType ) ) { return com.android.org.conscrypt.NativeConstants.EVP_PKEY_RSA ; } else if ( "EC" . equalsIgnoreCase ( keyType ) ) { return com.android.org.conscrypt.NativeConstants.EVP_PKEY_EC ; } else { return - 1 ; } }
Source:
public static native byte [ ] i2d_PKCS8_PRIV_KEY_INFO ( int pkey ) ;

Target:
public static native java.lang.String EVP_PKEY_print_private ( long pkeyRef ) ;
Source:
public android.net.LinkQualityInfo [ ] getAllLinkQualityInfo ( ) { try { android.net.LinkQualityInfo [ ] li = mService.getAllLinkQualityInfo ( ) ; return li ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
private void checkPendingIntent ( android.app.PendingIntent intent ) { if ( intent == null ) { throw new java.lang.IllegalArgumentException ( "PendingIntent cannot be null." ) ; } }
Source:
private boolean deleted ( org.apache.harmony.xnet.provider.jsse.TrustedCertificateStore store , java.lang.String alias ) { switch ( this ) { case SYSTEM : return ! ( store.containsAlias ( alias ) ) ; case USER : return false ; } throw new java.lang.AssertionError ( ) ; }

Target:
private boolean deleted ( com.android.org.conscrypt.TrustedCertificateStore store , java.lang.String alias ) { switch ( this ) { case SYSTEM : return ! ( store.containsAlias ( alias ) ) ; case USER : return false ; } throw new java.lang.AssertionError ( ) ; }
Source:
public void run ( ) { setHorizontalScrollbarOverlay ( overlay ) ; }

Target:
public void run ( ) { setVerticalScrollbarOverlay ( overlay ) ; }
Source:
public int registerStateCallback ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.DownloadStateCallback callback ) throws android.os.RemoteException { return 0 ; }

Target:
public int addStatusListener ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.DownloadStatusListener listener ) throws android.os.RemoteException { return 0 ; }
Source:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = new java.io.File ( mTestDir , ( ( VTS_NATIVE_TEST_DIR ) + ( TEST_HAL_ADAPTER_BINARY ) ) ) ; testAdapter.createNewFile ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }

Target:
public void testOnSetUpAdapterFailed ( ) throws java.lang.Exception { java.io.File testAdapter = new java.io.File ( mTestDir , ( ( VTS_NATIVE_TEST_DIR ) + ( TEST_HAL_ADAPTER_BINARY ) ) ) ; testAdapter.createNewFile ( ) ; java.lang.String output = "android.hardware.foo@1.1::IFoo/default" ; doReturn ( output ) . when ( mDevice ) . executeShellCommand ( java.lang.String.format ( LIST_HAL_CMD , TEST_HAL_PACKAGE ) ) ; mCmdUtil.mCmdSuccess = false ; try { mPreparer.setUp ( mDevice , mBuildInfo ) ; } catch ( com.android.tradefed.targetprep.TargetSetupError e ) { org.junit.Assert.assertEquals ( "HAL adapter setup failed." , e.getMessage ( ) ) ; return ; } org.junit.Assert.fail ( ) ; }
Source:
public boolean isEmpty ( ) { try { return ( mBinder.zero ( ) ) == ( android.security.KeyStore.KEY_NOT_FOUND ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }

Target:
public boolean lock ( int userId ) { try { return ( mBinder.lock ( userId ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public void clear ( ) { filteredEntrySet.clear ( ) ; }

Target:
public boolean isEmpty ( ) { return ! ( com.google.common.collect.Iterables.any ( unfiltered.entrySet ( ) , entryPredicate ) ) ; }
Source:
public java.util.Set < java.lang.String > getExcludes ( ) { if ( ( excludes ) == null ) { return java.util.Collections.emptySet ( ) ; } return excludes ; }

Target:
public java.util.Set < java.lang.String > getExcludes ( ) { return com.google.common.collect.Sets.newHashSet ( excludes ) ; }
Source:
private java.lang.StringBuilder checkNameAndAppend ( java.lang.String name ) { com.google.common.base.Preconditions.checkNotNull ( name ) ; return addHolder ( ) . builder.append ( name ) . append ( '=' ) ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( float value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void test_Any_Lower ( ) throws java.lang.Exception { libcore.icu.Transliterator t = new libcore.icu.Transliterator ( "Any-Lower" ) ; assertEquals ( "hello world!" , t.transliterate ( "HeLlO WoRlD!" ) ) ; }

Target:
public void test_Any_Upper ( ) throws java.lang.Exception { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( "Any-Upper" ) ; assertEquals ( "HELLO WORLD!" , t.transliterate ( "HeLlO WoRlD!" ) ) ; assertEquals ( "STRASSE" , t.transliterate ( "Straße" ) ) ; }
Source:
void settingsSecurePutStringForUser ( java.lang.String key , java.lang.String value , int userId ) ;

Target:
public void settingsSecurePutStringForUser ( java.lang.String key , java.lang.String value , int userId ) { Settings.Secure.putStringForUser ( mContext.getContentResolver ( ) , key , value , userId ) ; }
Source:
protected int [ ] getCipherSuites ( ) { return new int [ ] { CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA , CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA , CipherSuite.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA , CipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA , CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA , CipherSuite.TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA , CipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA , CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA , CipherSuite.TLS_RSA_WITH_3DES_EDE_CBC_SHA } ; }

Target:
protected int [ ] getCipherSuites ( ) { return new int [ ] { CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 , CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 , CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 , CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 , CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA , CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA , CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384 , CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256 , CipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA256 , CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 , CipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA , CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA } ; }
Source:
public void testTextViewWithHugePadding ( ) { android.support.test.espresso.Espresso.onView ( android.support.test.espresso.matcher.ViewMatchers.withId ( R.id.view_with_padding ) ) . perform ( android.support.test.espresso.action.ViewActions.scrollTo ( ) , android.support.test.espresso.action.ViewActions.typeText ( "Hello World" ) ) ; }

Target:
public void textViewWithHugePadding ( ) { android.support.test.espresso.Espresso.onView ( android.support.test.espresso.matcher.ViewMatchers.withId ( R.id.view_with_padding ) ) . perform ( android.support.test.espresso.action.ViewActions.scrollTo ( ) , android.support.test.espresso.action.ViewActions.typeText ( "Hello World" ) ) ; }
Source:
public void testGetApplicationNoLabelOrIcon ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( ( ( " package=\'com.android.unittest\'>\n" + " <application>\n" ) + " </application>\n" ) + "" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , java.lang.String > map = info.getActivityThemes ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.NORMAL ) ) ) ; assertNull ( info.getApplicationIcon ( ) ) ; assertNull ( info.getApplicationLabel ( ) ) ; }

Target:
public void testGetApplicationNoLabelOrIcon ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo info = getManifestInfo ( ( "<manifest xmlns:android=\'http://schemas.android.com/apk/res/android\'\n" + ( ( ( ( " package=\'com.android.unittest\'>\n" + " <application>\n" ) + " </application>\n" ) + "" ) + "</manifest>\n" ) ) ) ; java.util.Map < java.lang.String , com.android.ide.eclipse.adt.internal.editors.manifest.ManifestInfo.ActivityAttributes > map = info.getActivityAttributesMap ( ) ; assertEquals ( map.toString ( ) , 0 , map.size ( ) ) ; assertEquals ( "com.android.unittest" , info.getPackage ( ) ) ; assertEquals ( "Theme" , com.android.ide.eclipse.adt.internal.resources.ResourceHelper.styleToTheme ( info.getDefaultTheme ( null , com.android.resources.ScreenSize.NORMAL ) ) ) ; assertNull ( info.getApplicationIcon ( ) ) ; assertNull ( info.getApplicationLabel ( ) ) ; }
Source:
public android.net.IpSecTransform buildTunnelModeTransform ( java.net.InetAddress localAddress , java.net.InetAddress remoteAddress ) { mConfig.localAddress = localAddress ; mConfig.remoteAddress = remoteAddress ; mConfig.mode = android.net.IpSecTransform.MODE_TUNNEL ; return new android.net.IpSecTransform ( mContext , mConfig ) ; }

Target:
public android.net.IpSecTransform.Builder setEncryption ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.setEncryption ( direction , algo ) ; return this ; }
Source:
public com.android.ahat.DocString append ( java.lang.String text ) { mStringBuilder.append ( com.google.common.html.HtmlEscapers.htmlEscaper ( ) . escape ( text ) ) ; return this ; }

Target:
public com.android.ahat.DocString append ( java.lang.String text ) { mStringBuilder.append ( com.android.ahat.HtmlEscaper.escape ( text ) ) ; return this ; }
Source:
public boolean resetAndStart ( ) { try { dalvik.system.VMDebug.startInstructionCounting ( ) ; dalvik.system.VMDebug.resetInstructionCount ( ) ; } catch ( java.lang.UnsupportedOperationException uoe ) { return false ; } return true ; }

Target:
public boolean collect ( ) { return false ; }
Source:
public void enableVideoCalling ( boolean enable ) { enforceModifyPermission ( ) ; com.android.ims.ImsManager.setVtSetting ( mPhone.getContext ( ) , enable ) ; }

Target:
public boolean isRttSupported ( ) { boolean isCarrierSupported = mApp.getCarrierConfig ( ) . getBoolean ( CarrierConfigManager.KEY_RTT_SUPPORTED_BOOL ) ; boolean isDeviceSupported = mPhone.getContext ( ) . getResources ( ) . getBoolean ( R.bool.config_support_rtt ) ; return isCarrierSupported && isDeviceSupported ; }
Source:
private void setText ( java.lang.String s , java.text.CharacterIterator it ) { this . charIter = it ; libcore.icu.NativeBreakIterator.setTextImpl ( this . address , s ) ; }

Target:
public int previous ( ) { return libcore.icu.NativeBreakIterator.previousImpl ( this . address , this . string ) ; }
Source:
public boolean keyguardIsShowingTq ( ) { return mKeyguardMediator.isShowing ( ) ; }

Target:
private boolean keyguardIsShowingTq ( ) { return mKeyguardMediator.isShowingAndNotHidden ( ) ; }
Source:
java.lang.String getAddress ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; java.lang.String addrString = null ; byte [ ] address = mAdapterProperties.getAddress ( ) ; return com.android.bluetooth.Utils.getAddressStringFromByte ( address ) ; }

Target:
java.lang.String getAddress ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.LOCAL_MAC_ADDRESS_PERM , "Need LOCAL_MAC_ADDRESS permission" ) ; java.lang.String addrString = null ; byte [ ] address = mAdapterProperties.getAddress ( ) ; return com.android.bluetooth.Utils.getAddressStringFromByte ( address ) ; }
Source:
public void check ( java.lang.String id ) { check.add ( id ) ; }

Target:
public void ignore ( java.lang.String id ) { severities.put ( id , com.android.tools.lint.detector.api.Severity.IGNORE ) ; }
Source:
public void sendRttRequest ( ) { setRttStreams ( true ) ; mConnectionService.startRtt ( this , getInCallToCsRttPipeForCs ( ) , getCsToInCallRttPipeForCs ( ) ) ; }

Target:
public void sendRttRequest ( ) { createRttStreams ( ) ; mConnectionService.startRtt ( this , getInCallToCsRttPipeForCs ( ) , getCsToInCallRttPipeForCs ( ) ) ; }
Source:
public static java.lang.String toMimeCharset ( java.lang.String charsetName ) { org.apache.james.mime4j.util.CharsetUtil.Charset c = org.apache.james.mime4j.util.CharsetUtil.charsetMap.get ( charsetName.toLowerCase ( ) ) ; if ( c != null ) { return c.mime ; } return null ; }

Target:
public static java.lang.String toMimeCharset ( java.lang.String charsetName ) { org.apache.james.mime4j.util.CharsetUtil.Charset c = org.apache.james.mime4j.util.CharsetUtil.charsetMap.get ( charsetName.toLowerCase ( java.util.Locale.US ) ) ; if ( c != null ) { return c.mime ; } return null ; }
Source:
public void exit ( ) { checkAndSetConnectivityInstance ( ) ; mCm.requestNetworkTransitionWakelock ( android.net.wifi.WifiStateMachine.TAG ) ; if ( mScanResultIsPending ) { android.net.wifi.WifiNative.setScanResultHandlingCommand ( android.net.wifi.WifiStateMachine.CONNECT_MODE ) ; } }

Target:
public void exit ( ) { if ( mScanResultIsPending ) { mWifiNative.setScanResultHandling ( android.net.wifi.WifiStateMachine.CONNECT_MODE ) ; } }
Source:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_AAPT_PACKAGE ) ; removeMarkersFromProject ( project , AndroidConstants.MARKER_PACKAGING ) ; }

Target:
protected void clean ( org.eclipse.core.runtime.IProgressMonitor monitor ) throws org.eclipse.core.runtime.CoreException { super . clean ( monitor ) ; org.eclipse.core.resources.IProject project = getProject ( ) ; removeMarkersFromContainer ( project , AndroidConstants.MARKER_AAPT_PACKAGE ) ; removeMarkersFromContainer ( project , AndroidConstants.MARKER_PACKAGING ) ; }
Source:
public void addArg ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression toAdd ) { args.add ( toAdd ) ; }

Target:
public void addArgs ( @ javax.annotation.Nonnull java.util.List < com.android.jack.ir.ast.JExpression > toAdd ) { args.addAll ( toAdd ) ; }
Source:
public com.google.gct.testing.dimension.CloudTestingType getTypeForDimension ( com.google.gct.testing.dimension.GoogleCloudTestingDimension dimension ) { return typesByDimensionName.get ( dimension.getDisplayName ( ) ) ; }

Target:
public com.google.gct.testing.dimension.CloudTestingType getTypeForDimension ( com.google.gct.testing.dimension.CloudConfigurationDimension dimension ) { return typesByDimensionName.get ( dimension.getDisplayName ( ) ) ; }
Source:
public java.lang.Integer subscriptionGetDefaultSmsSubId ( ) { return android.telephony.SubscriptionManager.getDefaultSmsSubscriptionId ( ) ; }

Target:
public java.lang.Integer subscriptionGetDefaultSmsSubId ( ) { return android.telephony.SubscriptionManager.getDefaultSmsSubId ( ) ; }
Source:
public java.lang.String toString ( ) { return ( "ClientInfo[uid=" + ( mUid ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( "ClientInfo[uid=" + ( mUid ) ) + "," ) + ( mMessenger ) ) + "]" ; }
Source:
public void testGetFirstCnWithUtf8 ( ) { assertLastCn ( "cn=Lu\\C4\\8Di\\C4\\87" , "Lučić" ) ; }

Target:
public void testGetFirstCnWithUtf8 ( ) { assertFirstCn ( "cn=Lu\\C4\\8Di\\C4\\87" , "Lučić" ) ; }
Source:
public void onCompletion ( android.media.MediaPlayer mp ) { assertEquals ( mMediaPlayer , mp ) ; mOnCompletionCalled.signal ( ) ; }

Target:
public boolean onInfo ( android.media.MediaPlayer mp , int what , int extra ) { assertEquals ( mMediaPlayer2 , mp ) ; if ( what == ( android.media.MediaPlayer.MEDIA_INFO_STARTED_AS_NEXT ) ) { mOnInfoCalled.signal ( ) ; } return false ; }
Source:
public void onError ( ) { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mAreAccountsInitialized = true ; } } ) ; }

Target:
public void onError ( ) { mHandler.post ( new android.telecom.Logging.Runnable ( "oAA.qRCS.oE" , null ) { @ java.lang.Override public void loggedRun ( ) { mAreAccountsInitialized = true ; } } . prepare ( ) ) ; }
Source:
synchronized void nScriptSetVarD ( long id , int slot , double val ) { validate ( ) ; rsnScriptSetVarD ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarD ( long id , int slot , double val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarD ( curCon , id , slot , val , mUseInc ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , float value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , double value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void run ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { new com.android.jack.optimizations.cfg.CfgBasicBlockUtils ( cfg ) . removeUnreachableBlocks ( ) ; }

Target:
public void run ( @ javax.annotation.Nonnull final com.android.jack.ir.ast.JMethodBodyCfg body ) { new com.android.jack.optimizations.cfg.CfgBasicBlockUtils ( body.getCfg ( ) ) . removeUnreachableBlocks ( ) ; }
Source:
public boolean enableCellBroadcast ( int messageIdentifier ) { android.util.Log.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }

Target:
public boolean disableCellBroadcastRange ( int startMessageId , int endMessageId ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }
Source:
public int getCarrierPrivilegeStatus ( android.content.pm.PackageManager packageManager , java.lang.String packageName ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return carrierPrivilegeRules == null ? android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED : carrierPrivilegeRules.getCarrierPrivilegeStatus ( packageManager , packageName ) ; }

Target:
public int getCarrierPrivilegeStatus ( android.content.pm.PackageInfo packageInfo ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.getCarrierPrivilegeStatus ( packageInfo ) ; } else { return android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED ; } }
Source:
public static native boolean isCallerInterpreted ( ) ;

Target:
public static native boolean isInterpreted ( ) ;
Source:
public void testNonexistentLibrary ( ) throws java.lang.Exception { checkDriver ( "" , "Library foo.jar does not exist.\n" , new java.lang.String [ ] { "--libraries" , "foo.jar" , "prj" } ) ; }

Target:
public void testNonexistentLibrary ( ) throws java.lang.Exception { checkDriver ( "" , "Library foo.jar does not exist.\n" , com.android.tools.lint.LintCliFlags.ERRNO_INVALID_ARGS , new java.lang.String [ ] { "--libraries" , "foo.jar" , "prj" } ) ; }
Source:
public void startDocument ( ) { data_isStartDocument.append ( true ) ; data_isStartDocument.append ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }

Target:
public void startDocument ( ) { data_isStartDocument.append ( true ) ; data_isStartDocument.append ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }
Source:
public int getApi ( ) { return ( mMainPkg ) instanceof com.android.sdklib.internal.repository.packages.IAndroidVersionProvider ? ( ( com.android.sdklib.internal.repository.packages.IAndroidVersionProvider ) ( mMainPkg ) ) . getAndroidVersion ( ) . getApiLevel ( ) : - 1 ; }

Target:
public com.android.sdklib.AndroidVersion getAndroidVersion ( ) { return ( mMainPkg ) instanceof com.android.sdklib.internal.repository.packages.IAndroidVersionProvider ? ( ( com.android.sdklib.internal.repository.packages.IAndroidVersionProvider ) ( mMainPkg ) ) . getAndroidVersion ( ) : null ; }
Source:
private boolean isWatch ( ) { return ( ( getInstrumentation ( ) . getContext ( ) . getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }

Target:
private boolean isWatch ( ) { return ( ( getInstrumentation ( ) . getContext ( ) . getResources ( ) . getConfiguration ( ) . uiMode ) & ( android.content.res.Configuration.UI_MODE_TYPE_MASK ) ) == ( android.content.res.Configuration.UI_MODE_TYPE_WATCH ) ; }
Source:
public void getActivityEnergyInfoFromController ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return ; service.getActivityEnergyInfoFromController ( ) ; }

Target:
public boolean isBondingInitiatedLocally ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return false ; return service.isBondingInitiatedLocally ( device ) ; }
Source:
private android.graphics.Rect contentToView ( android.graphics.Rect x ) { return new android.graphics.Rect ( contentToView ( x.left ) , contentToView ( x.top ) , contentToView ( x.right ) , contentToView ( x.bottom ) ) ; }

Target:
private android.graphics.Rect contentToViewRect ( android.graphics.Rect x ) { return new android.graphics.Rect ( contentToViewX ( x.left ) , contentToViewY ( x.top ) , contentToViewX ( x.right ) , contentToViewY ( x.bottom ) ) ; }
Source:
public void testWildcardMatchesChildDomain ( ) { assertFalse ( verifier.verifyHostName ( "a.b.c.d" , "*.c.d" ) ) ; }

Target:
public void testWildcardCannotMatchChildDomain ( ) { assertFalse ( verifyWithDomainNamePattern ( "sub.www.example.com" , "*.example.com" ) ) ; }
Source:
public void testVFE15 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_16" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE15 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_16 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected NoSuchMethodError" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }
Source:
public java.lang.String getAidForAppType ( int appType ) { return getAidForAppType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , appType ) ; }

Target:
public java.lang.String getAidForAppType ( int appType ) { return getAidForAppType ( getSubId ( ) , appType ) ; }
Source:
public com.android.jack.dx.rop.type.Type getFrameType ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_BOOLEAN : case com.android.jack.dx.rop.type.Type.BT_BYTE : case com.android.jack.dx.rop.type.Type.BT_CHAR : case com.android.jack.dx.rop.type.Type.BT_INT : case com.android.jack.dx.rop.type.Type.BT_SHORT : { return com.android.jack.dx.rop.type.Type.INT ; } } return this ; }

Target:
public com.android.jack.dx.rop.type.Type getFrameTypeImpl ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_BOOLEAN : case com.android.jack.dx.rop.type.Type.BT_BYTE : case com.android.jack.dx.rop.type.Type.BT_CHAR : case com.android.jack.dx.rop.type.Type.BT_INT : case com.android.jack.dx.rop.type.Type.BT_SHORT : { return com.android.jack.dx.rop.type.Type.INT ; } } return this ; }
Source:
public static short shortToCharToShort ( short value ) { return ( ( short ) ( ( char ) ( value ) ) ) ; }

Target:
public static short $noinline$shortToCharToShort ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( char ) ( value ) ) ) ; }
Source:
public void binderDied ( ) { onAppCallbackDied ( uid , subscriptionId ) ; }

Target:
public void onError ( final int errorCode , final java.lang.String message ) { try { callback.onError ( errorCode , message ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public void onFailure ( ) { com.android.server.telecom.Log.e ( this , new java.lang.Exception ( ) , "Failure to call %s" , getComponentName ( ) ) ; response.handleCreateConnectionFailure ( new android.telecom.DisconnectCause ( android.telecom.DisconnectCause.ERROR ) ) ; }

Target:
public void onFailure ( ) { android.telecom.Log.e ( this , new java.lang.Exception ( ) , "Failure to call %s" , getComponentName ( ) ) ; response.handleCreateConnectionFailure ( new android.telecom.DisconnectCause ( android.telecom.DisconnectCause.ERROR ) ) ; }
Source:
public static native byte isDexOptNeededInternal ( java.lang.String fileName , java.lang.String pkgname , java.lang.String instructionSet , boolean defer ) throws java.io.FileNotFoundException , java.io.IOException ;

Target:
public static native int getDexOptNeeded ( java.lang.String fileName , java.lang.String pkgname , java.lang.String instructionSet , boolean defer ) throws java.io.FileNotFoundException , java.io.IOException ;
Source:
public void testRegisterResourceWithNullName ( ) { try { android.support.test.espresso.Espresso.registerIdlingResources ( new android.support.test.espresso.EspressoTest.DummyIdlingResource ( null ) ) ; fail ( "Should have thrown NPE" ) ; } catch ( java.lang.RuntimeException expected ) { } }

Target:
public void registerResourceWithNullName ( ) { expectedException.expect ( java.lang.RuntimeException.class ) ; android.support.test.espresso.Espresso.registerIdlingResources ( new android.support.test.espresso.EspressoTest.DummyIdlingResource ( null ) ) ; }
Source:
void reset ( ) { mN.reset ( ) ; }

Target:
void reset ( ) { mN.reset ( ) ; mPos = 0 ; }
Source:
public void init ( org.eclipse.jface.viewers.IStructuredSelection selection , org.eclipse.ui.IWorkbenchPart activePart ) { setWorkingSets ( com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard.getSelectedWorkingSet ( selection , activePart ) ) ; }

Target:
public void init ( org.eclipse.jface.viewers.IStructuredSelection selection , org.eclipse.ui.IWorkbenchPart activePart ) { setWorkingSets ( com.android.ide.eclipse.adt.internal.wizards.newproject.WorkingSetHelper.getSelectedWorkingSet ( selection , activePart ) ) ; }
Source:
public com.android.ide.common.rendering.api.Result render ( ) { return render ( Params.DEFAULT_TIMEOUT ) ; }

Target:
public com.android.ide.common.rendering.api.Result render ( ) { return render ( RenderParams.DEFAULT_TIMEOUT ) ; }
Source:
private static com.android.build.SplitOutput getUniversalOutput ( int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , null , versionCode ) ; }

Target:
private static com.android.build.VariantOutput getUniversalOutput ( int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeVariantOutput ( new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , null , versionCode ) ) ; }
Source:
public void run ( ) { jackServer.shutdown ( ) ; }

Target:
protected void handle ( long taskId , @ javax.annotation.Nonnull org.simpleframework.http.Request request , @ javax.annotation.Nonnull org.simpleframework.http.Response response ) { com.android.jack.server.tasks.Stop.logger.log ( java.util.logging.Level.INFO , "Force stop" ) ; jackServer.shutdown ( ) ; response.setStatus ( Status.OK ) ; }
Source:
public static java.lang.String getVersion ( ) { return libcore.util.ZoneInfoDB.VERSION ; }

Target:
public static java.lang.String getVersion ( ) { return libcore.util.ZoneInfoDB.version ; }
Source:
private static java.lang.String shell ( ) { java.lang.String deviceSh = "/system/bin/sh" ; java.lang.String desktopSh = "/bin/sh" ; return new java.io.File ( deviceSh ) . exists ( ) ? deviceSh : desktopSh ; }

Target:
private static java.lang.String shell ( ) { java.lang.String deviceSh = ( java.lang.System.getenv ( "ANDROID_ROOT" ) ) + "/bin/sh" ; java.lang.String desktopSh = "/bin/sh" ; return new java.io.File ( deviceSh ) . exists ( ) ? deviceSh : desktopSh ; }
Source:
public void delete ( ) { deleteByRedirectingToPrimarySuccessor ( ) ; }

Target:
public void delete ( ) { this . detach ( getPrimarySuccessor ( ) ) ; }
Source:
void silenceRingers ( ) { for ( com.android.server.telecom.Call call : mRingingCalls ) { call.silence ( ) ; } mRingingCalls.clear ( ) ; mRinger.stopRinging ( ) ; mRinger.stopCallWaiting ( ) ; mCallAudioModeStateMachine.sendMessageWithArgs ( CallAudioModeStateMachine.NO_MORE_RINGING_CALLS , makeArgsForModeStateMachine ( ) ) ; }

Target:
public com.android.server.telecom.CallAudioModeStateMachine getCallAudioModeStateMachine ( ) { return mCallAudioModeStateMachine ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.tryBlah ( 1 ) ; java.lang.System.out.println ( "Zorch." ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.tryBlah ( 1 ) ; java.lang.System.out.println ( "Zorch." ) ; java.lang.System.out.println ( ( "10 == " + ( Main.instanceOfTest ( 10 ) ) ) ) ; }
Source:
com.android.jack.api.v01.Api01Compiler build ( ) throws com.android.jack.api.v01.ConfigurationException ;

Target:
com.android.jack.api.v01.Api01CompilationTask getTask ( ) throws com.android.jack.api.v01.ConfigurationException ;
Source:
public void deviceConnected ( final com.android.ddmlib.IDevice device ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; treeViewer.setExpandedState ( device , true ) ; } } ) ; }

Target:
public void deviceConnected ( final com.android.ddmlib.IDevice device ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; treeViewer.setExpandedState ( device , true ) ; } } ) ; }
Source:
public void setCodecConfigPreference ( android.bluetooth.BluetoothCodecConfig codecConfig ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.setCodecConfigPreference ( codecConfig ) ; }

Target:
public void disableOptionalCodecs ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.disableOptionalCodecs ( device ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( getName ( ) ) + " {" ) + ( java.lang.Integer.toHexString ( mWindowPtr ) ) ) + "}" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( getName ( ) ) + " {" ) + ( java.lang.Long.toHexString ( mWindowPtr ) ) ) + "}" ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; Main.testfindVirtual ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; Main.testfindVirtual ( ) ; Main.testUnreflects ( ) ; }