auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testNotification1 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_circle" , GraphicGenerator.Shape.CIRCLE ) ; }

Target:
public void testNotification2 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" , 9 , "notification-v9+" , 6 ) ; }
Source:
public native int getInt ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native boolean getBoolean ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static void computeSinh ( android.renderscript.cts.TestSinh.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.sinh ( args.in ) ) ) ; }

Target:
public static void computeExp ( android.renderscript.cts.TestExp.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.exp ( args.in ) , 3 , 16 ) ; }
Source:
protected void shutdownOutput ( ) throws java.io.IOException { try { Libcore.os.shutdown ( fd , java.net.SHUT_WR ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }

Target:
protected void shutdownOutput ( ) throws java.io.IOException { try { Libcore.os.shutdown ( fd , java.net.SHUT_WR ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }
Source:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.ENGINE_load_dynamic ( ) ; long engine = org.conscrypt.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; if ( engine != 0 ) { org.conscrypt.NativeCrypto.ENGINE_finish ( engine ) ; fail ( "should not acquire reference to non-existent engine" ) ; } }

Target:
public void test_ENGINE_by_id_Failure ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.ENGINE_load_dynamic ( ) ; long engine = org.conscrypt.NativeCrypto.ENGINE_by_id ( "non-existent" ) ; if ( engine != 0 ) { org.conscrypt.NativeCrypto.ENGINE_free ( engine ) ; fail ( "should not acquire reference to non-existent engine" ) ; } }
Source:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( "local.properties:11: Error: Colon (:) must be escaped in .property files [PropertyEscape]\n" + "windows.dir=C:\\my\\path\\to\\sdk\n" ) + " ~\n" ) + "local.properties:11: Error: Windows file separators (\\) must be escaped (\\\\); use C:\\\\my\\\\path\\\\to\\\\sdk [PropertyEscape]\n" ) + "windows.dir=C:\\my\\path\\to\\sdk\n" ) + " ~~~~~~~~~~~~~~~~~\n" ) + "2 errors, 0 warnings\n" ) ) , lintProject ( "local.properties=>local.properties" ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "local.properties:11: Error: Windows file separators (\\) must be escaped (\\\\); use C:\\\\my\\\\path\\\\to\\\\sdk [PropertyEscape]\n" + "windows.dir=C:\\my\\path\\to\\sdk\n" ) + " ~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "local.properties=>local.properties" ) ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) { return vfs.getVFileLocation ( file ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir dir ) { return vfs.isEmpty ( dir ) ; }
Source:
public static long Shr64 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > 64 ; }

Target:
public static long $noinline$Shr64 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > 64 ; }
Source:
private com.android.sdklib.internal.repository.packages.SystemImagePackage createSystemImagePackage ( java.util.Properties props ) throws com.android.sdklib.AndroidVersion.AndroidVersionException { com.android.sdklib.internal.repository.packages.SystemImagePackage p = new com.android.sdklib.internal.repository.packages.SystemImagePackageTest.SysImgPackageFakeArchive ( new com.android.sdklib.AndroidVersion ( props ) , 1 , null , props ) ; return p ; }

Target:
private com.android.sdklib.internal.repository.packages.SystemImagePackage createSystemImagePackage ( java.util.Properties props ) throws com.android.sdklib.AndroidVersion.AndroidVersionException { com.android.sdklib.internal.repository.packages.SystemImagePackage p = new com.android.sdklib.internal.repository.packages.PlatformSystemImagePackageTest.SysImgPackageFakeArchive ( new com.android.sdklib.AndroidVersion ( props ) , 1 , null , props ) ; return p ; }
Source:
public native java.lang.reflect.Field getDeclaredField ( java.lang.String name ) throws java.lang.NoSuchFieldException ;

Target:
public native java.lang.reflect.Method [ ] getDeclaredMethodsUnchecked ( boolean publicOnly ) ;
Source:
public static void setOverrideConfigForTest ( android.os.PersistableBundle config ) { com.android.voicemail.impl.OmtpVvmCarrierConfigHelper.sOverrideConfigForTest = config ; }

Target:
public static void setOverrideConfigForTest ( android.os.PersistableBundle config ) { com.android.voicemail.impl.OmtpVvmCarrierConfigHelper.overrideConfigForTest = config ; }
Source:
private void waitForObserverToIdle ( ) { com.android.server.net.NetworkStatsObserversTest.waitForIdleLooper ( mObserverHandlerThread.getLooper ( ) , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; com.android.server.net.NetworkStatsObserversTest.waitForIdleLooper ( mHandler.getLooper ( ) , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; }

Target:
private void waitForObserverToIdle ( ) { com.android.internal.util.TestUtils.waitForIdleHandler ( mObserverHandlerThread , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; com.android.internal.util.TestUtils.waitForIdleHandler ( mHandler , com.android.server.net.NetworkStatsObserversTest.WAIT_TIMEOUT_MS ) ; }
Source:
private boolean isRequired ( ) { return ( ( com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel ( ) ) >= ( android.security.cts.EncryptionTest.MIN_API_LEVEL ) ) && ( ! ( hasLowRAM ( ) ) ) ; }

Target:
private boolean isRequired ( ) { return ( ( ( com.android.compatibility.common.util.PropertyUtil.getFirstApiLevel ( ) ) >= ( android.security.cts.EncryptionTest.MIN_API_LEVEL ) ) && ( ! ( hasLowRAM ( ) ) ) ) && ( ! ( isTelevision ( ) ) ) ; }
Source:
private void run ( ) { if ( secondary ) { if ( ! ( testRemote ) ) { throw new java.lang.RuntimeException ( "Should not be running secondary!" ) ; } runSecondary ( ) ; } else { runPrimary ( ) ; } }

Target:
public void runImpl ( ) { if ( secondary ) { if ( ! ( testRemote ) ) { throw new java.lang.RuntimeException ( "Should not be running secondary!" ) ; } runSecondary ( ) ; } else { runPrimary ( ) ; } }
Source:
public com.google.common.util.concurrent.ListenableFuture < V > reload ( K key , V oldValue ) throws java.lang.Exception { return com.google.common.util.concurrent.Futures.immediateFuture ( load ( key ) ) ; }

Target:
public com.google.common.util.concurrent.ListenableFuture < V > reload ( K key , V oldValue ) throws java.lang.Exception { com.google.common.base.Preconditions.checkNotNull ( key ) ; com.google.common.base.Preconditions.checkNotNull ( oldValue ) ; return com.google.common.util.concurrent.Futures.immediateFuture ( load ( key ) ) ; }
Source:
public void testGetOldValue ( ) { assertEquals ( "onLayout" , com.android.tools.lint.checks.WrongCallDetector.getOldValue ( "Suspicious method call; should probably call \"layout\" rather than \"onLayout\"" ) ) ; }

Target:
public void testGetOldValue ( ) { assertEquals ( "onLayout" , com.android.tools.lint.checks.WrongCallDetector.getOldValue ( "Suspicious method call; should probably call \"layout\" rather than \"onLayout\"" , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; }
Source:
public java.lang.Boolean getMultiDexEnabled ( ) { return null ; }

Target:
public java.lang.Boolean getMultiDexEnabled ( ) { return productFlavor.getMultiDexEnabled ( ) ; }
Source:
public void testCreateCallSessionCompat ( ) throws java.lang.Exception { mCompatMmTelBinder.createCallSession ( 0 , org.mockito.Mockito.mock ( android.telephony.ims.ImsCallProfile.class ) ) ; org.junit.Assert.assertTrue ( mCompatMmTel.isCreateCallSessionCalled ) ; }

Target:
public void testCreateCallSessionCompat ( ) throws java.lang.Exception { mCompatMmTelBinder.createCallSession ( 0 , new android.telephony.ims.ImsCallProfile ( ) ) ; org.junit.Assert.assertTrue ( mCompatMmTel.isCreateCallSessionCalled ) ; }
Source:
public android.os.Messenger getWifiStateMachineMessenger ( ) { try { return mService.getWifiStateMachineMessenger ( ) ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
public java.lang.String getWpsNfcConfigurationToken ( int netId ) { try { return mService.getWpsNfcConfigurationToken ( netId ) ; } catch ( android.os.RemoteException e ) { return null ; } }
Source:
static java.net.InetAddress [ ] getAllByName0 ( java.lang.String host , boolean check ) throws java.net.UnknownHostException { return java.net.InetAddress.getAllByName0 ( host , null , check ) ; }

Target:
public static java.net.InetAddress [ ] getAllByNameOnNet ( java.lang.String host , int netId ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , netId ) . clone ( ) ; }
Source:
public void reloadPalette ( ) { if ( ( mPalette ) != null ) { mPalette.reloadPalette ( mLayoutEditor.getTargetData ( ) ) ; } }

Target:
public void reloadPalette ( ) { if ( ( mPalette ) != null ) { com.android.sdklib.IAndroidTarget renderingTarget = getRenderingTarget ( ) ; if ( renderingTarget != null ) { mPalette.reloadPalette ( renderingTarget ) ; } } }
Source:
public static float signum ( float f ) { return ( f == 0.0F ) || ( sun.misc.FpUtils.isNaN ( f ) ) ? f : sun.misc.FpUtils.copySign ( 1.0F , f ) ; }

Target:
public static float signum ( float f ) { return java.lang.Math.signum ( f ) ; }
Source:
public void setCellInfoListRate ( int rateInMillis ) { mCi.setCellInfoListRate ( rateInMillis , null ) ; }

Target:
public void setCellInfoListRate ( int rateInMillis , android.os.WorkSource workSource ) { mCi.setCellInfoListRate ( rateInMillis , null , workSource ) ; }
Source:
public static int getExponent ( float f ) { return sun.misc.FpUtils.getExponent ( f ) ; }

Target:
public static int getExponent ( float f ) { return ( ( ( java.lang.Float.floatToRawIntBits ( f ) ) & ( sun.misc.FloatConsts.EXP_BIT_MASK ) ) > > ( ( sun.misc.FloatConsts.SIGNIFICAND_WIDTH ) - 1 ) ) - ( sun.misc.FloatConsts.EXP_BIAS ) ; }
Source:
public void testConstructor_NullSubjectDN_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , null , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when subjectDN is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullKeystoreAlias_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , null , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void testMeetsCriteria ( ) { android.location.LocationProvider locationProvider = mLocationManager.getProvider ( "gps" ) ; android.location.Criteria criteria = new android.location.Criteria ( ) ; criteria.setAltitudeRequired ( true ) ; criteria.setBearingRequired ( true ) ; assertTrue ( locationProvider.meetsCriteria ( criteria ) ) ; }

Target:
private void addTestProvider ( java.lang.String providerName ) { mLocationManager.addTestProvider ( providerName , true , false , false , false , true , false , true , Criteria.POWER_MEDIUM , Criteria.ACCURACY_FINE ) ; mLocationManager.setTestProviderEnabled ( providerName , true ) ; }
Source:
public static float ReturnFloat99P25 ( ) { double imm = Main.$inline$double ( 99.25 ) ; return ( ( float ) ( imm ) ) ; }

Target:
public static long ReturnLong34 ( ) { float imm = 34.0F ; return ( ( long ) ( imm ) ) ; }
Source:
public com.google.common.primitives.UnsignedLong multiply ( com.google.common.primitives.UnsignedLong val ) { com.google.common.base.Preconditions.checkNotNull ( val ) ; return com.google.common.primitives.UnsignedLong.asUnsigned ( ( ( value ) * ( val.value ) ) ) ; }

Target:
public com.google.common.primitives.UnsignedLong times ( com.google.common.primitives.UnsignedLong val ) { return com.google.common.primitives.UnsignedLong.fromLongBits ( ( ( value ) * ( com.google.common.base.Preconditions.checkNotNull ( val ) . value ) ) ) ; }
Source:
public void testEnableCollection003 ( ) { synchronizer.receiveMessage ( JPDADebuggeeSynchronizer.SGNL_READY ) ; long nullObjectID = 0 ; enableCollection ( nullObjectID , JDWPConstants.Error.INVALID_OBJECT ) ; synchronizer.sendMessage ( JPDADebuggeeSynchronizer.SGNL_CONTINUE ) ; }

Target:
public void testEnableCollection_null ( ) { synchronizer.receiveMessage ( JPDADebuggeeSynchronizer.SGNL_READY ) ; enableCollection ( JDWPTestConstants.NULL_OBJECT_ID , JDWPConstants.Error.INVALID_OBJECT ) ; synchronizer.sendMessage ( JPDADebuggeeSynchronizer.SGNL_CONTINUE ) ; }
Source:
void onUserInitialized ( com.android.server.am.UserState uss , boolean foreground , int oldUserId , int newUserId ) { synchronized ( this ) { if ( foreground ) { moveUserToForeground ( uss , oldUserId , newUserId ) ; } } completeSwitchAndInitialize ( uss , newUserId , true , false ) ; }

Target:
public void onLocalVoiceInteractionStarted ( android.os.IBinder activity , android.service.voice.IVoiceInteractionSession voiceSession , com.android.internal.app.IVoiceInteractor voiceInteractor ) { synchronized ( this ) { this . onLocalVoiceInteractionStartedLocked ( activity , voiceSession , voiceInteractor ) ; } }
Source:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 6L ) ; b = Main.$inline$long ( 2L ) ; c = a - b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = 7 ; b = 3 ; c = a * b ; return c ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.Receiver.updateQuickswitch ( getContext ( ) ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.Receiver.updateQuickSettings ( getContext ( ) ) ; return true ; }
Source:
public void startImmediately ( ) { start ( ) ; if ( mStarted ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "Starting fetcher immediately" ) ; fetchEpg ( ) ; } }

Target:
public void start ( ) { if ( ( ( java.lang.System.currentTimeMillis ( ) ) - ( getLastUpdatedEpgTimestamp ( ) ) ) > ( com.android.tv.data.epg.EpgFetcher.EPG_PREFETCH_RECURRING_PERIOD_MS ) ) { startImmediately ( false ) ; } else { startInternal ( false ) ; } }
Source:
java.lang.String getKey ( com.android.manifmerger.XmlElement xmlElement ) { return mNodeKeyResolver.getKey ( xmlElement ) ; }

Target:
com.android.manifmerger.ManifestModel.NodeKeyResolver getNodeKeyResolver ( ) { return mNodeKeyResolver ; }
Source:
protected java.lang.Object engineGetParameter ( java.lang.String param ) throws java.security.InvalidParameterException { return null ; }

Target:
public java.lang.Object engineGetParameter ( java.lang.String param ) throws java.security.InvalidParameterException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public java.lang.String getSimSerialNumber ( ) { return getSimSerialNumber ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public boolean hasIccCard ( ) { return hasIccCard ( getSlotIndex ( ) ) ; }
Source:
protected com.intellij.updater.ValidationResult doValidate ( java.io.File toFile ) throws java.io.IOException { return doValidateNotChanged ( toFile , ValidationResult.Kind.ERROR , ValidationResult.Action.VALIDATE ) ; }

Target:
protected void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { }
Source:
public boolean isDefaultMethod ( ) { return com.android.jack.ir.ast.JModifier.isDefaultMethod ( modifier ) ; }

Target:
public static boolean needThis ( int modifier ) { if ( ( ( com.android.jack.ir.ast.JModifier.isStatic ( modifier ) ) || ( com.android.jack.ir.ast.JModifier.isAbstract ( modifier ) ) ) || ( com.android.jack.ir.ast.JModifier.isNative ( modifier ) ) ) { return false ; } return true ; }
Source:
public static void main ( java.lang.String [ ] args ) { if ( ( args.length ) == 0 ) { args = new java.lang.String [ ] { "com.android.ahat.InstanceUtilsTest" , "com.android.ahat.PerformanceTest" , "com.android.ahat.QueryTest" , "com.android.ahat.SortTest" } ; } org.junit.runner.JUnitCore.main ( args ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { if ( ( args.length ) == 0 ) { args = new java.lang.String [ ] { "com.android.ahat.InstanceUtilsTest" , "com.android.ahat.NativeAllocationTest" , "com.android.ahat.PerformanceTest" , "com.android.ahat.QueryTest" , "com.android.ahat.SortTest" } ; } org.junit.runner.JUnitCore.main ( args ) ; }
Source:
public boolean appliesTo ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull java.io.File file ) { return true ; }

Target:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( "sin" , "cos" , "ceil" , "sqrt" , "floor" ) ; }
Source:
public static int getVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.parseInt ( result ) ; } catch ( java.lang.NumberFormatException e ) { return - 1 ; } }

Target:
public static int getVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { java.lang.String result = com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) ) ; try { return java.lang.Integer.parseInt ( result ) ; } catch ( java.lang.NumberFormatException e ) { return - 1 ; } }
Source:
private static java.lang.String getUseValueOfErrorMessage ( java.lang.String typeName , java.lang.String argument ) { return java.lang.String.format ( "Use `%1$s.valueOf(%2$s)` instead" , typeName , argument ) ; }

Target:
private static java.lang.String getUseValueOfErrorMessage ( java.lang.String typeName , java.lang.String argument ) { return java.lang.String.format ( "Use `%1$s.valueOf(%2$s)` instead" , typeName.substring ( ( ( typeName.lastIndexOf ( '.' ) ) + 1 ) ) , argument ) ; }
Source:
public com.android.ims.internal.IImsConfig getConfigInterface ( int slotId , int featureType , int sessionId ) throws android.os.RemoteException { return null ; }

Target:
public void turnOnIms ( int slotId , int featureType ) throws android.os.RemoteException { }
Source:
public boolean init ( java.lang.String fontOsLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap ) { return false ; }

Target:
public boolean init ( java.io.File fontLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap ) { return false ; }
Source:
static void runCompilation ( @ javax.annotation.Nonnull java.lang.String [ ] compilerArgs ) throws java.lang.Exception { com.android.sched.Main.run ( com.android.jack.Main.parseCommandLine ( compilerArgs ) ) ; }

Target:
static void runCompilation ( @ javax.annotation.Nonnull java.lang.String [ ] compilerArgs ) throws java.lang.Exception { com.android.sched.Main.run ( com.android.jack.Main.parseCommandLine ( java.util.Arrays.asList ( compilerArgs ) ) ) ; }
Source:
public static com.android.internal.telephony.dataconnection.DcController makeDcc ( com.android.internal.telephony.Phone phone , com.android.internal.telephony.dataconnection.DcTracker dct , android.os.Handler handler ) { com.android.internal.telephony.dataconnection.DcController dcc = new com.android.internal.telephony.dataconnection.DcController ( "Dcc" , phone , dct , handler ) ; dcc.start ( ) ; return dcc ; }

Target:
public static com.android.internal.telephony.dataconnection.DcController makeDcc ( com.android.internal.telephony.Phone phone , com.android.internal.telephony.dataconnection.DcTracker dct , com.android.internal.telephony.dataconnection.DataServiceManager dataServiceManager , android.os.Handler handler ) { com.android.internal.telephony.dataconnection.DcController dcc = new com.android.internal.telephony.dataconnection.DcController ( "Dcc" , phone , dct , dataServiceManager , handler ) ; return dcc ; }
Source:
void detachNativeFunctor ( ) { if ( ( ( mNativeDrawGLFunctor ) != 0 ) && ( ( mViewRootImpl ) != null ) ) { mViewRootImpl.detachFunctor ( mNativeDrawGLFunctor ) ; } mViewRootImpl = null ; }

Target:
void detachNativeFunctor ( ) { if ( ( ( mNativeDrawGLFunctor ) != 0 ) && ( ( mViewRootImpl ) != null ) ) { mViewRootImpl.detachFunctor ( nativeDrawGLFunctor ( ) ) ; } mViewRootImpl = null ; }
Source:
public static java.lang.String getPackageName ( android.content.Context context ) { java.lang.String packageName = ( context != null ) ? context.getPackageName ( ) : null ; return packageName != null ? packageName : "" ; }

Target:
public static java.lang.String getPackageName ( ) { if ( ( org.chromium.base.ContextUtils.getApplicationContext ( ) ) == null ) { return "" ; } return org.chromium.base.ContextUtils.getApplicationContext ( ) . getPackageName ( ) ; }
Source:
public java.util.concurrent.Future < android.content.Intent > nextBroadcastIntent ( android.content.IntentFilter filter ) { final com.android.server.BroadcastInterceptingContext.BroadcastInterceptor interceptor = new com.android.server.BroadcastInterceptingContext.BroadcastInterceptor ( null , filter ) ; synchronized ( mInterceptors ) { mInterceptors.add ( interceptor ) ; } return interceptor ; }

Target:
public com.android.internal.util.test.BroadcastInterceptingContext.FutureIntent nextBroadcastIntent ( android.content.IntentFilter filter ) { final com.android.internal.util.test.BroadcastInterceptingContext.BroadcastInterceptor interceptor = new com.android.internal.util.test.BroadcastInterceptingContext.BroadcastInterceptor ( null , filter ) ; synchronized ( mInterceptors ) { mInterceptors.add ( interceptor ) ; } return interceptor ; }
Source:
synchronized void nScriptInvoke ( int id , int slot ) { validate ( ) ; rsnScriptInvoke ( mContext , id , slot ) ; }

Target:
synchronized long nScriptInvokeIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptInvokeIDCreate ( mContext , sid , slot ) ; }
Source:
public com.android.ide.common.rendering.api.AdapterBinding getAdapterBinding ( com.android.ide.common.rendering.api.ResourceReference adapterView ) { return null ; }

Target:
public com.android.ide.common.rendering.api.AdapterBinding getAdapterBinding ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie ) { return null ; }
Source:
public void addTypeToEmit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { typesToEmit.add ( type ) ; type.setExternal ( false ) ; }

Target:
public void addTypeToEmit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { typesToEmit.add ( type ) ; type.setToEmit ( true ) ; }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2RemotePhoneLookup cp2RemotePhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , cp2RemotePhoneLookup , dialerBlockedNumberPhoneLookup , systemBlockedNumberPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2LocalPhoneLookup cp2LocalPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2RemotePhoneLookup cp2RemotePhoneLookup , com.android.dialer.phonelookup.blockednumber.DialerBlockedNumberPhoneLookup dialerBlockedNumberPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2LocalPhoneLookup , cp2RemotePhoneLookup , dialerBlockedNumberPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }
Source:
public com.android.ims.internal.IImsUt getUtInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . getUt ( ) . getInterface ( ) ; } }

Target:
public com.android.ims.internal.IImsEcbm getEcbmInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . getEcbmInterface ( ) ; } }
Source:
public static void w ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.WARN ) { android.util.Log.w ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) ) ; } }

Target:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.ERROR ) { android.util.Slog.e ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; } }
Source:
protected boolean check ( ) { android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.CountingSession session = android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.sSession ; return ( ( session != null ) && ( ( session.mTuneCount ) > 0 ) ) && ( ( session.mHardwareVideoAvailableCount ) > 0 ) ; }

Target:
protected boolean check ( ) { android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.CountingSession session = android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.sSession ; return ( ( session != null ) && ( ( session.mTuneCount ) > 0 ) ) && ( ( ( session.mHardwareVideoAvailableCount ) > 0 ) || ( ( session.mHardwareVideoUnavailableCount ) > 0 ) ) ; }
Source:
public java.lang.String getImei ( ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "IMEI is not available in CDMA" ) ; return null ; }

Target:
public boolean canConference ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "canConference: not possible in CDMA" ) ; return false ; }
Source:
public android.net.IpSecTransform.Builder setNattKeepalive ( int intervalSeconds ) { mConfig.nattKeepaliveInterval = intervalSeconds ; return this ; }

Target:
public android.net.IpSecTransform.Builder setNattKeepalive ( int intervalSeconds ) { mConfig.setNattKeepaliveInterval ( intervalSeconds ) ; return this ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( java.net.InetAddress destinationAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { return new android.net.IpSecManager.SecurityParameterIndex ( mService , destinationAddress , requestedSpi ) ; }

Target:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }
Source:
public void sendStickyBroadcastAsUser ( android.content.Intent intent , android.os.UserHandle user ) { sendBroadcast ( intent ) ; }

Target:
public void sendStickyBroadcast ( android.content.Intent intent ) { sendBroadcast ( intent ) ; }
Source:
private com.android.sched.vfs.OutputVFile getOutputDex ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVDir outputVDir ) { return getOutputDex ( outputVDir , 1 ) ; }

Target:
private com.android.sched.vfs.OutputVFile getOutputDex ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVDir outputVDir ) throws com.android.jack.backend.dex.DexWritingException { return getOutputDex ( outputVDir , 1 ) ; }
Source:
public static org.hamcrest.Matcher < java.lang.Object > is ( java.lang.Class < ? > type ) { return org.hamcrest.core.Is.is ( org.hamcrest.core.Is.instanceOf ( type ) ) ; }

Target:
public static < T > org.hamcrest.Matcher < T > isA ( java.lang.Class < T > type ) { final org.hamcrest.Matcher < T > typeMatcher = org.hamcrest.core.Is.instanceOf ( type ) ; return org.hamcrest.core.Is.is ( typeMatcher ) ; }
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
public com.google.common.base.CharMatcher or ( com.google.common.base.CharMatcher other ) { return other.matches ( match ) ? com.google.common.base.CharMatcher.ANY : this ; }
Source:
private void onCallWaiting ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL_WAITING ) ; event.valueString = number ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onCall ( int call ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL ) ; event.valueInt = call ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void testMoveAppExternalToInternal ( ) { int installFlags = PackageManager.INSTALL_EXTERNAL ; int moveFlags = PackageManager.MOVE_INTERNAL ; boolean fail = false ; int result = PackageManager.MOVE_SUCCEEDED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppExternalToInternal ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int installFlags = android.content.pm.PackageManager.INSTALL_EXTERNAL ; int moveFlags = android.content.pm.PackageManager.MOVE_INTERNAL ; boolean fail = false ; int result = android.content.pm.PackageManager.MOVE_SUCCEEDED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
public void setError ( int code , java.lang.String msg ) { returnCode = code ; returnMsg = msg ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg ) ; }

Target:
public void setError ( java.lang.String msg , android.content.pm.PackageParser.PackageParserException e ) { setReturnCode ( e.error ) ; setReturnMessage ( android.util.ExceptionUtils.getCompleteMessage ( msg , e ) ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg , e ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator create ( boolean allowXmlExtension , com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType type ) { boolean isFileType = type != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ; return new com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator ( allowXmlExtension , null , isFileType ) ; }

Target:
public static com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator create ( boolean allowXmlExtension , com.android.resources.ResourceFolderType type ) { boolean isFileType = type != ( com.android.resources.ResourceFolderType.VALUES ) ; return new com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator ( allowXmlExtension , null , isFileType ) ; }
Source:
public void onCallAudioStateChanged ( android.telecom.CallAudioState oldAudioState , android.telecom.CallAudioState newAudioState ) { com.android.server.telecom.Log.v ( this , "onAudioStateChanged, audioState: %s -> %s" , oldAudioState , newAudioState ) ; for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onCallAudioStateChanged ( oldAudioState , newAudioState ) ; } }

Target:
public void onCallAudioStateChanged ( android.telecom.CallAudioState oldAudioState , android.telecom.CallAudioState newAudioState ) { android.telecom.Log.v ( this , "onAudioStateChanged, audioState: %s -> %s" , oldAudioState , newAudioState ) ; for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onCallAudioStateChanged ( oldAudioState , newAudioState ) ; } }
Source:
public void testInnerClass2 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testInnerClass2 ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }
Source:
public boolean reassociate ( ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( "REASSOCIATE " ) ; return doBooleanCommand ( "REASSOCIATE" ) ; }

Target:
public boolean reassociate ( ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( "REASSOCIATE " ) ; if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.reassociate ( ) ; } else { return doBooleanCommand ( "REASSOCIATE" ) ; } }
Source:
protected void enforceReceiveAndSend ( java.lang.String message ) { mContext.enforceCallingPermission ( "android.permission.RECEIVE_SMS" , message ) ; mContext.enforceCallingPermission ( "android.permission.SEND_SMS" , message ) ; }

Target:
protected void enforceReceiveAndSend ( java.lang.String message ) { mContext.enforceCallingPermission ( Manifest.permission.RECEIVE_SMS , message ) ; mContext.enforceCallingPermission ( Manifest.permission.SEND_SMS , message ) ; }
Source:
public com.android.jack.dx.io.ClassData readClassData ( com.android.jack.dx.io.ClassDef classDef ) { int offset = classDef.getClassDataOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return open ( offset ) . readClassData ( ) ; }

Target:
public com.android.jack.dx.io.ClassData readClassData ( com.android.jack.dx.io.ClassDef classDef ) { int offset = classDef.getClassDataOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return openInternal ( offset ) . readClassData ( ) ; }
Source:
static com.android.dialer.phonelookup.PhoneLookup providePhoneLookup ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup cp2PhoneLookup ) { return new com.android.dialer.phonelookup.composite.CompositePhoneLookup ( com.google.common.collect.ImmutableList.of ( cp2PhoneLookup ) ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2PhoneLookup cp2PhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2PhoneLookup ) ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter Connecting: " + ( getCurrentMessage ( ) . what ) ) ) ; }

Target:
public void enter ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Enter Connecting: " + ( getCurrentMessage ( ) . what ) ) ) ; } sendMessageDelayed ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.CONNECTING_TIMEOUT , com.android.bluetooth.hfpclient.HeadsetClientStateMachine.CONNECTING_TIMEOUT_MS ) ; }
Source:
public void resolveMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId methodId ) { this . mthIdToImplement = methodId ; }

Target:
public void resolveMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId methodId ) { this . mthIdWithErasure = methodId ; }
Source:
public static com.android.tools.lint.client.api.JavaParser.TypeDescriptor evaluate ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) { return new com.android.tools.lint.detector.api.TypeEvaluator ( context ) . evaluate ( node ) ; }

Target:
public static com.intellij.psi.PsiType evaluate ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull com.intellij.psi.PsiElement node ) { return new com.android.tools.lint.detector.api.TypeEvaluator ( context ) . evaluate ( node ) ; }
Source:
static int $opt$FloatToInt ( float a ) { return ( ( int ) ( a ) ) ; }

Target:
static int $opt$FloatToInt ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
private void setFormat ( ) { if ( get24HourMode ( ) ) { mFormat = android.widget.DigitalClock.m24 ; } else { mFormat = android.widget.DigitalClock.m12 ; } }

Target:
private void setFormat ( ) { mFormat = android.text.format.DateFormat.getTimeFormatString ( getContext ( ) ) ; }
Source:
public java.lang.String getCharacterOrientation ( ) { return android.icu.impl.ICUResourceTableAccess.getTableString ( ICUResourceBundle.ICU_BASE_NAME , this , "layout" , "characters" ) ; }

Target:
public java.lang.String getCharacterOrientation ( ) { return android.icu.impl.ICUResourceTableAccess.getTableString ( ICUData.ICU_BASE_NAME , this , "layout" , "characters" , "characters" ) ; }
Source:
public boolean hasDirectCategory ( @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.config.category.Category > target ) { if ( ( target == ( com.android.sched.util.config.category.Category.class ) ) || ( categories.contains ( target ) ) ) { return true ; } return false ; }

Target:
public java.util.Collection < java.lang.Class < ? extends com.android.sched.util.config.category.Category > > getCategories ( ) { return java.util.Collections.unmodifiableCollection ( categories.keySet ( ) ) ; }
Source:
public static native int EVP_SignFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] signature , int offset , org.conscrypt.NativeRef.EVP_PKEY key ) ;

Target:
public static native void EVP_DigestVerifyUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;
Source:
boolean isCancelled ( ) { return ( getState ( ) ) == ( com.google.common.util.concurrent.AbstractFuture.Sync.CANCELLED ) ; }

Target:
boolean isCancelled ( ) { return ( ( getState ( ) ) & ( ( com.google.common.util.concurrent.AbstractFuture.Sync.CANCELLED ) | ( com.google.common.util.concurrent.AbstractFuture.Sync.INTERRUPTED ) ) ) != 0 ; }
Source:
public static void Print11 ( ) { ManyMethods.Printer.Print ( ManyMethods.Strings.msg9 ) ; }

Target:
public static void Print9 ( ) { ManyMethods.Printer2.Print ( ManyMethods.Strings.msg9 ) ; }
Source:
private java.io.File getPlatformTools ( ) { if ( ( mPlatformTools ) == null ) { mPlatformTools = new java.io.File ( mSdkLocation , com.android.SdkConstants.FD_PLATFORM_TOOLS ) ; } return mPlatformTools ; }

Target:
private java.io.File getPlatformToolsFolder ( ) { if ( ( mPlatformTools ) == null ) { mPlatformTools = new java.io.File ( mSdkLocation , com.android.SdkConstants.FD_PLATFORM_TOOLS ) ; } return mPlatformTools ; }
Source:
public void testPowF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_pow_f32 ( mRS , mRes , R.raw.pow_f32 ) ; android.renderscript.cts.ScriptField_PowInputData in = new android.renderscript.cts.ScriptField_PowInputData ( mRS , INPUTSIZE ) ; mIn = in.getAllocation ( ) ; doF32 ( 305419896 , 16 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_pow_f32 ( mRS ) ; }
Source:
public static java.io.File getEmbmsTempFileDirForService ( android.content.Context context , java.lang.String serviceId ) { java.io.File embmsTempFileDir = android.telephony.mbms.MbmsTempFileProvider.getEmbmsTempFileDir ( context ) ; return new java.io.File ( embmsTempFileDir , serviceId ) ; }

Target:
public static java.io.File getEmbmsTempFileDirForService ( android.content.Context context , java.lang.String serviceId ) { java.lang.String sanitizedServiceId = serviceId.replaceAll ( "[^a-zA-Z0-9_]" , "_" ) ; java.io.File embmsTempFileDir = android.telephony.mbms.MbmsTempFileProvider.getEmbmsTempFileDir ( context ) ; return new java.io.File ( embmsTempFileDir , sanitizedServiceId ) ; }
Source:
public void testStagefright_bug_32322258 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_32322258 ) ; }

Target:
public void testStagefright_bug_32577290 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_32577290 ) ; }
Source:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }

Target:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }
Source:
public static void compare ( @ javax.annotation.Nonnull java.io.File reference , @ javax.annotation.Nonnull java.io.File candidate ) throws com.android.jack.DifferenceFoundException , java.io.IOException { new com.android.jack.shrob.ListingComparator ( ) . compareFiles ( reference , candidate ) ; }

Target:
public static void compare ( @ javax.annotation.Nonnull java.io.File reference , @ javax.annotation.Nonnull java.io.File candidate ) throws com.android.jack.DifferenceFoundException , java.io.IOException { new com.android.jack.shrob.ListingComparator ( ) . compareReadables ( new com.android.jack.shrob.FileReadable ( reference ) , new com.android.jack.shrob.FileReadable ( candidate ) ) ; }
Source:
protected void socketClose ( ) throws java.io.IOException { socketClose0 ( ) ; }

Target:
protected void socketClose ( ) throws java.io.IOException { guard.close ( ) ; socketClose0 ( ) ; }
Source:
public void setAdvertisingParameters ( int advertiserId , android.bluetooth.le.AdvertisingSetParameters parameters ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; }

Target:
public void setPeriodicAdvertisingEnable ( int advertiserId , boolean enable ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.setPeriodicAdvertisingEnable ( advertiserId , enable ) ; }
Source:
public void enableAutoConnect ( boolean enable ) { if ( enable ) { doBooleanCommand ( "STA_AUTOCONNECT 1" ) ; } else { doBooleanCommand ( "STA_AUTOCONNECT 0" ) ; } }

Target:
public boolean simAuthFailedResponse ( int id ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapSimGsmAuthFailure ( ) ; } else { return doBooleanCommand ( ( ( "CTRL-RSP-SIM-" + id ) + ":GSM-FAIL" ) ) ; } }
Source:
public final native void stopPreview ( ) ;

Target:
private final native void _stopPreview ( ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; }

Target:
public void test_defaultCharset ( ) { assertEquals ( "UTF-8" , java.nio.charset.Charset.defaultCharset ( ) . name ( ) ) ; }
Source:
public void onClick ( android.view.View v ) { setTestResultAndFinish ( false ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; mOpenVoiceMailSettingsButton.setEnabled ( false ) ; mRingtoneSettingsDoesNotExistButton.setEnabled ( false ) ; mRingtoneSettingsExistsButton.setEnabled ( false ) ; mRestoreDefaultDialerImage.setImageDrawable ( getDrawable ( R.drawable.fs_warning ) ) ; }
Source:
public void createAndroidPages ( ) { mIsCreatingPage = true ; createFormPages ( ) ; createTextEditor ( ) ; createUndoRedoActions ( ) ; postCreatePages ( ) ; mIsCreatingPage = false ; }

Target:
public void createAndroidPages ( ) { mIsCreatingPage = true ; createFormPages ( ) ; createTextEditor ( ) ; updateActionBindings ( ) ; postCreatePages ( ) ; mIsCreatingPage = false ; }
Source:
public java.util.List < java.lang.Class < ? extends org.w3c.dom.Node > > getApplicableNodeTypes ( ) { return java.util.Arrays.< java.lang.Class < ? extends org.w3c.dom.Node > > asList ( lombok.ast.ClassDeclaration.class , lombok.ast.ImportDeclaration.class ) ; }

Target:
public java.util.List < java.lang.Class < ? extends com.intellij.psi.PsiElement > > getApplicablePsiTypes ( ) { return java.util.Collections.< java.lang.Class < ? extends com.intellij.psi.PsiElement > > singletonList ( com.intellij.psi.PsiImportStaticStatement.class ) ; }
Source:
public static < S , T > com.android.ide.common.layout.Pair < S , T > of ( S a , T b ) { return new com.android.ide.common.layout.Pair < S , T > ( a , b ) ; }

Target:
public static < S , T > com.android.ide.common.layout.Pair < S , T > of ( S first , T second ) { return new com.android.ide.common.layout.Pair < S , T > ( first , second ) ; }
Source:
public boolean dispatchKeyEvent ( android.view.KeyEvent event ) { return mBlockEvents ; }

Target:
public boolean dispatchGenericMotionEvent ( android.view.MotionEvent ev ) { return mBlockEvents ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... voids ) { testChargingConstraintFails_notCharging ( ) ; return null ; }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... voids ) { testChargingConstraintFails_notCharging ( ) ; notifyTestCompleted ( ) ; return null ; }