auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void bootstrapMethodEntriesAccept ( proguard.classfile.attribute.Clazz clazz , proguard.classfile.attribute.BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor ) { for ( int index = 0 ; index < ( u2bootstrapMethodsCount ) ; index ++ ) { bootstrapMethodInfoVisitor.visitBootstrapMethodInfo ( clazz , bootstrapMethods [ index ] ) ; } }

Target:
public void bootstrapMethodEntriesAccept ( proguard.classfile.Clazz clazz , proguard.classfile.attribute.BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor ) { for ( int index = 0 ; index < ( u2bootstrapMethodsCount ) ; index ++ ) { bootstrapMethodInfoVisitor.visitBootstrapMethodInfo ( clazz , bootstrapMethods [ index ] ) ; } }
Source:
public void testCompileWithClinit ( ) throws java.lang.Exception { com.android.jack.test.toolchain.IToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( ) ; toolchain.addToClasspath ( toolchain.getDefaultBootClasspath ( ) ) . srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.jack.test.toolchain.AbstractTestTools.getTestRootDir ( "com.android.jack.clinit.jack" ) ) ; }

Target:
public void testCompileWithClinit ( ) throws java.lang.Exception { com.android.jack.test.toolchain.IToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( ) ; toolchain.addToClasspath ( toolchain.getDefaultBootClasspath ( ) ) . srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) , false , com.android.jack.test.toolchain.AbstractTestTools.getTestRootDir ( "com.android.jack.clinit.test001.jack" ) ) ; }
Source:
public java.lang.String getVersion ( ) { return version ; }

Target:
public java.lang.String getVersion ( ) { return ( version ) + ( ( subReleaseKind ) == ( SubReleaseKind.ENGINEERING ) ? "-eng" : "" ) ; }
Source:
public void testSaveProperties ( ) throws java.lang.Exception { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.SourcePackage p = createSourcePackageTest ( props ) ; java.util.Properties props2 = new java.util.Properties ( ) ; p.saveProperties ( props2 ) ; assertEquals ( props2 , props ) ; }

Target:
public void testSaveProperties ( ) throws java.lang.Exception { java.util.Properties expected = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.SourcePackage p = createSourcePackageTest ( expected ) ; java.util.Properties actual = new java.util.Properties ( ) ; p.saveProperties ( actual ) ; assertEquals ( expected , actual ) ; }
Source:
public void test_F32_1_SCALE10_10_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 1.0F , 1.0F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE10_10_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 1.0F , 1.0F ) ; checkError ( ) ; }
Source:
void closeCurrentInput ( ) { try { mService.hideSoftInput ( mClient , android.view.inputmethod.InputMethodManager.HIDE_NOT_ALWAYS , null ) ; } catch ( android.os.RemoteException e ) { } }

Target:
void closeCurrentInput ( ) { try { mService.hideSoftInput ( mClient , android.view.inputmethod.InputMethodManager.HIDE_NOT_ALWAYS , null ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { addAttachment ( mAttachmentTypeSelectorAdapter.buttonToCommand ( which ) , replace ) ; dialog.dismiss ( ) ; }

Target:
public void run ( ) { drawBottomPanel ( ) ; updateSendButtonState ( ) ; drawTopPanel ( isSubjectEditorVisible ( ) ) ; }
Source:
private native void startAdvertisingSetNative ( android.bluetooth.le.AdvertisingSetParameters parameters , byte [ ] advertiseData , byte [ ] scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , byte [ ] periodicData , int timeout , int reg_id ) ;

Target:
private native void startAdvertisingSetNative ( android.bluetooth.le.AdvertisingSetParameters parameters , byte [ ] advertiseData , byte [ ] scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , byte [ ] periodicData , int duration , int maxExtAdvEvents , int reg_id ) ;
Source:
public static void main ( java.lang.String [ ] args ) { Main.shlInt ( ) ; Main.shlLong ( ) ; Main.shrInt ( ) ; Main.shrLong ( ) ; Main.ushrInt ( ) ; Main.ushrLong ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.testShlInt ( ) ; Main.testShlLong ( ) ; Main.testShrInt ( ) ; Main.testShrLong ( ) ; Main.testUShrInt ( ) ; Main.testUShrLong ( ) ; }
Source:
public org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest setProvider ( java.security.Provider provider ) { helper = new org.bouncycastle.jcajce.ProviderJcaJceHelper ( provider ) ; return this ; }

Target:
public org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest setProvider ( java.security.Provider provider ) { helper = new org.bouncycastle.jcajce.util.ProviderJcaJceHelper ( provider ) ; return this ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , int [ ] data ) { validateIsInt32 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; copyTo ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public void testAllBlockDevicesAreSecure ( ) throws java.lang.Exception { java.util.Set < java.io.File > insecure = getAllInsecureDevicesInDirAndSubdir ( new java.io.File ( "/dev" ) , FileUtils.S_IFBLK ) ; assertTrue ( ( "Found insecure block devices: " + ( insecure.toString ( ) ) ) , insecure.isEmpty ( ) ) ; }

Target:
public void testAllBlockDevicesAreSecure ( ) throws java.lang.Exception { java.util.Set < java.io.File > insecure = android.permission.cts.FileSystemPermissionTest.getAllInsecureDevicesInDirAndSubdir ( new java.io.File ( "/dev" ) , FileUtils.S_IFBLK ) ; assertTrue ( ( "Found insecure block devices: " + ( insecure.toString ( ) ) ) , insecure.isEmpty ( ) ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass definedClass ) { definedClass.addMarker ( new com.android.jack.transformations.enums.SwitchEnumSupport.UsedEnumField ( usedEnumField ) ) ; super . endVisit ( definedClass ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface clOrI ) { clOrI.addMarker ( new com.android.jack.transformations.enums.SwitchEnumSupport.UsedEnumField ( usedEnumField ) ) ; super . endVisit ( clOrI ) ; }
Source:
public static com.android.dialer.contactactions.IntentModule newCallModule ( android.content.Context context , java.lang.String number , com.android.dialer.callintent.CallInitiationType.Type initiationType ) { return new com.android.dialer.contactactions.IntentModule ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , initiationType ) . build ( ) , R.string.call , R.drawable.quantum_ic_call_white_24 ) ; }

Target:
public static com.android.dialer.contactactions.IntentModule newCallModule ( android.content.Context context , java.lang.String number , @ android.support.annotation.Nullable android.telecom.PhoneAccountHandle phoneAccountHandle , com.android.dialer.callintent.CallInitiationType.Type initiationType ) { return new com.android.dialer.contactactions.IntentModule ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , initiationType ) . setPhoneAccountHandle ( phoneAccountHandle ) . build ( ) , R.string.call , R.drawable.quantum_ic_call_white_24 ) ; }
Source:
public android.content.Intent getIntent ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( context ) ; com.android.dialer.common.Assert.isNotNull ( number ) ; return null ; }

Target:
public com.google.common.base.Optional < com.android.dialer.duo.stub.IntentType > getIntentType ( android.content.Intent intent ) { return com.google.common.base.Optional.absent ( ) ; }
Source:
public boolean simIdentityResponse ( int id , java.lang.String response ) { return doBooleanCommand ( ( ( ( "CTRL-RSP-IDENTITY-" + id ) + ":" ) + response ) ) ; }

Target:
public boolean simIdentityResponse ( int id , java.lang.String response ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapIdentityResponse ( response ) ; } else { return doBooleanCommand ( ( ( ( "CTRL-RSP-IDENTITY-" + id ) + ":" ) + response ) ) ; } }
Source:
public boolean setCount ( E element , int oldCount , int newCount ) { return com.google.common.collect.Multisets.setCountImpl ( this , element , oldCount , newCount ) ; }

Target:
int distinctElements ( ) { return elementSet ( ) . size ( ) ; }
Source:
private void delete ( java.io.File file ) { if ( ! ( file.delete ( ) ) ) { java.lang.System.logW ( ( ( "Failed to delete " + file ) + "." ) , new java.io.IOException ( ) ) ; } ( size ) -- ; }

Target:
private void delete ( java.io.File file ) { if ( ! ( file.delete ( ) ) ) { new java.io.IOException ( ( ( "FileClientSessionCache: Failed to delete " + file ) + "." ) ) . printStackTrace ( ) ; } ( size ) -- ; }
Source:
public void createLifeCycleTasks ( org.gradle.model.collection.CollectionBuilder < org.gradle.api.Task > tasks , com.android.build.gradle.internal.TaskManager taskManager ) { taskManager.createTasksBeforeEvaluate ( new com.android.build.gradle.model.TaskCollectionBuilderAdaptor ( tasks ) ) ; }

Target:
public void createLifeCycleTasks ( org.gradle.model.ModelMap < org.gradle.api.Task > tasks , com.android.build.gradle.internal.TaskManager taskManager ) { taskManager.createTasksBeforeEvaluate ( new com.android.build.gradle.model.TaskModelMapAdaptor ( tasks ) ) ; }
Source:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( com.android.build.gradle.integration.common.truth.ZipFileSubjectFactory.factory ( ) ) . that ( file ) ; }

Target:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( ZipFileSubject.Factory.get ( ) ) . that ( file ) ; }
Source:
public void validateUpdateParameterWithEmptyPassword ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.base64EncodedPassword = null ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }

Target:
public void validateUpdateParameterWithPasswordContainedInvalidPadding ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.setBase64EncodedPassword ( ( ( updateParam.getBase64EncodedPassword ( ) ) + "=" ) ) ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }
Source:
public void release ( ) { mHandler.removeCallbacksAndMessages ( null ) ; mHandlerThread.quitSafely ( ) ; }

Target:
public void release ( ) { mHandler.removeCallbacksAndMessages ( null ) ; releaseSafely ( ) ; }
Source:
public void testStringSwedishOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeWork ; setLocale ( "en_US" ) ; assertResource ( resId , "Work" , "Work" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Arbete" , "Jobb" ) ; }

Target:
private java.lang.String getExpected ( java.lang.String no , java.lang.String so , java.lang.String mo ) { switch ( mMode ) { case com.android.overlaytest.OverlayBaseTest.MODE_NO_OVERLAY : return no ; case com.android.overlaytest.OverlayBaseTest.MODE_SINGLE_OVERLAY : return so ; case com.android.overlaytest.OverlayBaseTest.MODE_MULTIPLE_OVERLAYS : return mo ; default : fail ( "Unknown mode!" ) ; return no ; } }
Source:
public com.android.internal.telephony.IccCard getIccCard ( ) { return com.android.internal.telephony.uicc.UiccController.getInstance ( ) . getUiccProfileForPhone ( mPhoneId ) ; }

Target:
public void resetCarrierKeysForImsiEncryption ( ) { mCIM.resetCarrierKeysForImsiEncryption ( mContext , mPhoneId ) ; }
Source:
private static void unpackOnHost ( com.android.cts.tzdata.TzDataCheckTest.PathPair path , com.android.timezone.distro.TimeZoneDistro distro ) throws java.lang.Exception { com.android.cts.tzdata.TzDataCheckTest.createHostDirectory ( path ) ; distro.extractTo ( path.hostFile ( ) ) ; }

Target:
private static void unpackOnHost ( com.android.cts.tzdata.TzDataCheckTest.PathPair path , byte [ ] distroBytes ) throws java.lang.Exception { com.android.cts.tzdata.TzDataCheckTest.createHostDirectory ( path ) ; new com.android.timezone.distro.TimeZoneDistro ( distroBytes ) . extractTo ( path.hostFile ( ) ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }
Source:
private static java.lang.invoke.MethodHandle makeZero ( java.lang.Class < ? > rtype ) { throw new java.lang.UnsupportedOperationException ( "MethodHandles.makeZero is not implemented" ) ; }

Target:
public static char identity ( char val ) { return val ; }
Source:
public native java.lang.Class < ? > [ ] getExceptionTypes ( ) ;

Target:
public java.lang.Class < ? > [ ] getExceptionTypes ( ) { return libcore.reflect.AnnotationAccess.getExceptions ( this ) ; }
Source:
public void xmlParsing_noCountriesOk ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.validate ( ( "<timezones>\n" + ( ( " <countryzones>\n" + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }

Target:
public void xmlParsing_noCountriesOk ( ) throws java.lang.Exception { libcore.util.TimeZoneFinderTest.validate ( ( "<timezones ianaversion=\"2017b\">\n" + ( ( " <countryzones>\n" + " </countryzones>\n" ) + "</timezones>\n" ) ) ) ; }
Source:
public void onClick ( android.view.View v ) { startActivity ( new android.content.Intent ( android.telephony.TelephonyManager.ACTION_CONFIGURE_VOICEMAIL ) . putExtra ( TelephonyManager.EXTRA_HIDE_PUBLIC_SETTINGS , true ) ) ; }

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 setRunning ( boolean b ) { mRun = b ; }

Target:
public void setRunning ( boolean b ) { synchronized ( mRunLock ) { mRun = b ; } }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.abs ( args.inValue ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.out = java.lang.Math.abs ( args.inValue ) ; }
Source:
public static void computeFastDistance ( android.renderscript.cts.TestFastDistance.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.FAST_PRECISION , android.renderscript.cts.CoreMathVerifier.FAST_PRECISION , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( new float [ ] { args.inLhs } , new float [ ] { args.inRhs } , t ) ; }

Target:
public static void computeFastDistance ( android.renderscript.cts.TestFastDistance.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.FAST_PRECISION , android.renderscript.cts.CoreMathVerifier.FAST_PRECISION , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( new float [ ] { args.inLeftVector } , new float [ ] { args.inRightVector } , t ) ; }
Source:
public void onPause ( ) { super . onPause ( ) ; unregisterReceiver ( onBroadcast ) ; }

Target:
protected void onDestroy ( ) { super . onDestroy ( ) ; unregisterReceiver ( onBroadcast ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JArrayRef expr ) { performCommonChecks ( expr ) ; otherOrMe ( expr ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock block ) { performCommonChecks ( block ) ; otherOrMe ( block ) ; }
Source:
public static float $noinline$floatAddSubSimplifyArg2 ( float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } float sum = x + y ; return sum - y ; }

Target:
public static float $noinline$floatAddSubSimplifyArg1 ( float x , float y ) { float sum = x + y ; return sum - x ; }
Source:
public static java.io.File getJackUnitTestSrc ( @ javax.annotation.Nonnull java.lang.String path ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( com.android.jack.TestTools.JACK_UNIT_TESTS_PATH ) + path ) ) ; }

Target:
public static java.io.File getJackUnitTestSrc ( @ javax.annotation.Nonnull java.lang.String path ) { return new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , ( ( com.android.jack.TestTools.JACK_UNIT_TESTS_PATH ) + path ) ) ; }
Source:
public void onClick ( android.view.View v ) { updatePingState ( ) ; }

Target:
public void onClick ( android.view.View v ) { android.content.Intent intent = new android.content.Intent ( "com.android.settings.OEM_RADIO_INFO" ) ; try { startActivity ( intent ) ; } catch ( com.android.settings.android ex ) { log ( ( "OEM-specific Info/Settings Activity Not Found : " + ex ) ) ; } }
Source:
public static long getRxBytes ( java.lang.String iface ) { return android.net.TrafficStats.nativeGetIfaceStat ( iface , android.net.TrafficStats.TYPE_RX_BYTES ) ; }

Target:
public static long getTxPackets ( java.lang.String iface ) { try { return android.net.TrafficStats.getStatsService ( ) . getIfaceStats ( iface , android.net.TrafficStats.TYPE_TX_PACKETS ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void exit ( ) { mNetworkInfo.setIsAvailable ( false ) ; if ( ( mNetworkAgent ) != null ) mNetworkAgent.sendNetworkInfo ( mNetworkInfo ) ; }

Target:
public void exit ( ) { mNetworkInfo.setIsAvailable ( false ) ; if ( ( mNetworkAgent ) != null ) mNetworkAgent.sendNetworkInfo ( mNetworkInfo ) ; mWifiConnectivityManager.setWifiEnabled ( false ) ; mWifiMetrics.setWifiState ( WifiMetricsProto.WifiLog.WIFI_DISABLED ) ; }
Source:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > describedAs ( java.lang.String description , org.hamcrest.org.hamcrest.Matcher < T > matcher , java.lang.Object ... values ) { return org.hamcrest.core.DescribedAs.describedAs ( description , matcher , values ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > describedAs ( java.lang.String description , org.hamcrest.org.hamcrest.Matcher < T > matcher , java.lang.Object ... values ) { return org.hamcrest.core.DescribedAs.< org.hamcrest.T > describedAs ( description , matcher , values ) ; }
Source:
private static byte _get ( long a ) { return java.nio.Bits.unsafe.getByte ( a ) ; }

Target:
private static byte _get ( long a ) { return java.nio.Bits.unsafe.getByte$ ( a ) ; }
Source:
public void onDestroy ( ) { debugLog ( "onDestroy()" ) ; mProfileObserver.stop ( ) ; }

Target:
public void onDestroy ( ) { debugLog ( "onDestroy()" ) ; mProfileObserver.stop ( ) ; if ( ! ( isMock ( ) ) ) { android.util.Log.i ( com.android.bluetooth.btservice.AdapterService.TAG , "Force exit to cleanup internal state in Bluetooth stack" ) ; java.lang.System.exit ( 0 ) ; } }
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 , byte [ ] params , boolean mUseInc ) ;
Source:
public java.util.Set < com.android.jack.ir.sourceinfo.FileSourceInfo > getFileSourceInfos ( ) { return canonicalFileSourceInfos.keySet ( ) ; }

Target:
public java.util.Collection < com.android.jack.ir.sourceinfo.FileSourceInfo > getFileSourceInfos ( ) { return canonicalFileSourceInfos.values ( ) ; }
Source:
public boolean removeNetwork ( int netId ) { return doBooleanCommand ( ( "REMOVE_NETWORK " + netId ) ) ; }

Target:
public java.lang.String getP2pClientList ( int netId ) { return null ; }
Source:
public void supplyPin2 ( java.lang.String pin2 , android.os.Message onComplete ) ;

Target:
public void supplyPin2 ( java.lang.String pin2 , android.os.Message onComplete ) { sendMessageWithCardAbsentException ( onComplete ) ; }
Source:
public void setConfig ( com.android.ide.eclipse.adt.internal.resources.configurations.FolderConfiguration config ) { mConfig.set ( config ) ; }

Target:
public void setConfig ( com.android.ide.common.resources.configuration.FolderConfiguration config ) { mConfig.set ( config ) ; }
Source:
public void testCreateTestForTestCaseWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.Test test = android.test.TestCaseUtil.createTestSuite ( android.test.TestCaseUtilTest.OneTestTestCaseWithSuite.class ) ; assertEquals ( 1 , test.countTestCases ( ) ) ; }

Target:
public void testInvokeSuiteMethodIfPossible_ForTestCaseWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.Test test = android.test.TestCaseUtil.invokeSuiteMethodIfPossible ( android.test.TestCaseUtilTest.OneTestTestCaseWithSuite.class , new java.util.HashSet < > ( ) ) ; assertNotNull ( test ) ; assertEquals ( 1 , test.countTestCases ( ) ) ; }
Source:
public java.lang.invoke.MethodHandle asVarargsCollector ( java.lang.Class < ? > arrayType ) { arrayType.getClass ( ) ; boolean lastMatch = asCollectorChecks ( arrayType , 0 ) ; if ( ( isVarargsCollector ( ) ) && lastMatch ) return this ; return new java.lang.invoke.Transformers.VarargsCollector ( this ) ; }

Target:
public java.lang.invoke.MethodHandle asFixedArity ( ) { assert ! ( isVarargsCollector ( ) ) ; return this ; }
Source:
public void setEnabled ( boolean enable ) { mContext.enforceCallingOrSelfPermission ( android.Manifest.permission.CONNECTIVITY_INTERNAL , "NsdService" ) ; mNsdSettings.putEnabledStatus ( enable ) ; if ( enable ) { mNsdStateMachine.sendMessage ( NsdManager.ENABLE ) ; } else { mNsdStateMachine.sendMessage ( NsdManager.DISABLE ) ; } }

Target:
private void notifyEnabled ( boolean isEnabled ) { mNsdStateMachine.sendMessage ( ( isEnabled ? android.net.nsd.NsdManager.ENABLE : android.net.nsd.NsdManager.DISABLE ) ) ; }
Source:
boolean equalNameAndParameters ( java.lang.reflect.Method m ) { return ( getName ( ) . equals ( m.getName ( ) ) ) && ( equalMethodParameters ( m.getParameterTypes ( ) ) ) ; }

Target:
boolean equalNameAndParameters ( java.lang.reflect.Method m ) { return equalNameAndParametersInternal ( m ) ; }
Source:
public void onCapabilitiesChanged ( android.net.Network network , android.net.NetworkCapabilities.NetworkCapabilities networkCapabilities ) { if ( ( network.equals ( getNetwork ( ) ) ) && ( networkCapabilities.hasCapability ( com.android.server.NET_CAPABILITY_VALIDATED ) ) ) { validatedCv.open ( ) ; } }

Target:
public void onCapabilitiesChanged ( android.net.Network network , android.net.NetworkCapabilities networkCapabilities ) { if ( ( network.equals ( getNetwork ( ) ) ) && ( networkCapabilities.hasCapability ( android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED ) ) ) { validatedCv.open ( ) ; } }
Source:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) { return ( ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) ( element ) ) . getIcon ( ) ; } return null ; }

Target:
public org.eclipse.swt.graphics.Image getColumnImage ( java.lang.Object element , int columnIndex ) { if ( element instanceof com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) { return com.android.ide.eclipse.adt.internal.resources.ResourceHelper.getIcon ( ( ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier ) ( element ) ) . getClass ( ) ) ; } return null ; }
Source:
private static void log ( java.lang.String msg ) { android.util.Log.d ( android.bluetooth.BluetoothInputDevice.TAG , msg ) ; }

Target:
private static void log ( java.lang.String msg ) { android.util.Log.d ( android.bluetooth.BluetoothHidHost.TAG , msg ) ; }
Source:
private static int validate3DigitVersion ( int value ) throws libcore.tzdata.update2.DistroException { if ( ( value < 0 ) || ( value > 999 ) ) { throw new libcore.tzdata.update2.DistroException ( ( "Expected 0 <= value <= 999, was " + value ) ) ; } return value ; }

Target:
private static int validate3DigitVersion ( int value ) throws libcore.tzdata.shared2.DistroException { if ( ( value < 0 ) || ( value > 999 ) ) { throw new libcore.tzdata.shared2.DistroException ( ( "Expected 0 <= value <= 999, was " + value ) ) ; } return value ; }
Source:
public void testAospSeappContexts ( ) throws java.lang.Exception { deviceSeappFile = java.io.File.createTempFile ( "seapp_contexts" , ".tmp" ) ; deviceSeappFile.deleteOnExit ( ) ; mDevice.pullFile ( "/seapp_contexts" , deviceSeappFile ) ; aospSeappFile = copyResourceToTempFile ( "/general_seapp_contexts" ) ; assertFileStartsWith ( aospSeappFile , deviceSeappFile ) ; }

Target:
public void testAospSeappContexts ( ) throws java.lang.Exception { deviceSeappFile = java.io.File.createTempFile ( "seapp_contexts" , ".tmp" ) ; deviceSeappFile.deleteOnExit ( ) ; mDevice.pullFile ( "/seapp_contexts" , deviceSeappFile ) ; aospSeappFile = copyResourceToTempFile ( "/plat_seapp_contexts" ) ; assertFileStartsWith ( aospSeappFile , deviceSeappFile ) ; }
Source:
private native boolean nativeUpdateFocusNode ( ) ;

Target:
private native boolean nativeFocusCandidateIsRtlText ( ) ;
Source:
protected void finalize ( ) throws java.lang.Throwable { nativeRemove ( 0 ) ; super . finalize ( ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { nativeRemove ( 0L ) ; super . finalize ( ) ; }
Source:
public void addCatchLocal ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLocal catchLocal ) { assert ( catchLocal.getParent ( ) ) instanceof com.android.jack.ir.ast.cfg.JCatchBasicBlock ; catchLocals.add ( catchLocal ) ; }

Target:
public void addCatchLocal ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLocal catchLocal ) { assert ( catchLocal.getParent ( ) ) instanceof com.android.jack.ir.ast.cfg.JCatchBasicBlock ; assert ! ( catchLocals.contains ( catchLocal ) ) ; catchLocals.add ( catchLocal ) ; }
Source:
public void onStartContentIntent ( android.content.Context context , java.lang.String contentUrl ) { org.chromium.content.common.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , ( "shouldOverrideUrlLoading=" + contentUrl ) ) ; mWebViewClient.shouldOverrideUrlLoading ( mWebView , contentUrl ) ; org.chromium.content.common.TraceEvent.end ( ) ; }

Target:
public void onStartContentIntent ( android.content.Context context , java.lang.String contentUrl ) { org.chromium.base.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , ( "shouldOverrideUrlLoading=" + contentUrl ) ) ; mWebViewClient.shouldOverrideUrlLoading ( mWebView , contentUrl ) ; org.chromium.base.TraceEvent.end ( ) ; }
Source:
public void testNotification4 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_circle" , GraphicGenerator.Shape.CIRCLE , 11 , "notification-v11+" , 4 ) ; }

Target:
public void testNotification3 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" , 11 , "notification-v11+" , 3 ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( "{" + ( defaultLanguage ) ) + ", " ) + ( maximizedLanguageToWeight ) ) + "}" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( "{" + ( defaultLanguage ) ) + ", " ) + ( localeToMaxLocaleAndWeight ) ) + "}" ; }
Source:
public void run ( ) { synchronized ( this ) { this . viewNode = viewNode ; this . selected = null ; } }

Target:
public void run ( ) { synchronized ( this ) { this . mViewNode = viewNode ; this . mSelectedNode = null ; } }
Source:
public void radioCapabilityIndication ( int indicationType , com.android.internal.telephony.V1_0.RadioCapability var2 ) { }

Target:
public void indicateRingbackTone ( int indicationType , boolean start ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLogvRet ( com.android.internal.telephony.RILConstants.RIL_UNSOL_RINGBACK_TONE , start ) ; mRil.mRingbackToneRegistrants.notifyRegistrants ( new android.os.AsyncResult ( null , start , null ) ) ; }
Source:
public void run ( ) { size.x = getBounds ( ) . width ; size.y = getBounds ( ) . height ; }

Target:
public void run ( ) { redraw ( ) ; }
Source:
public void hideSoftInputFromInputMethod ( android.os.IBinder token , int flags ) { try { mService.hideMySoftInput ( token , flags ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void setInputMethodAndSubtype ( android.os.IBinder token , java.lang.String id , android.view.inputmethod.InputMethodSubtype subtype ) { try { mService.setInputMethodAndSubtype ( token , id , subtype ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
private void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printFilteredProblem ( problemLevel , message , null , ( - 1 ) , ( - 1 ) , ( - 1 ) , ( - 1 ) ) ; }

Target:
private void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message ) { printFilteredProblem ( problemLevel , message , SourceInfo.UNKNOWN ) ; }
Source:
private void validateFormat ( char format ) { int index = java.text.SimpleDateFormat.PATTERN_CHARS.indexOf ( format ) ; if ( index == ( - 1 ) ) { throw new java.lang.IllegalArgumentException ( ( ( "Unknown pattern character '" + format ) + "'" ) ) ; } }

Target:
private void validatePatternCharacter ( char format ) { int index = java.text.SimpleDateFormat.PATTERN_CHARS.indexOf ( format ) ; if ( index == ( - 1 ) ) { throw new java.lang.IllegalArgumentException ( ( ( "Unknown pattern character '" + format ) + "'" ) ) ; } }
Source:
com.android.server.wifi.WifiConfigManager getWifiConfigManager ( ) { com.android.server.wifi.WifiConfigManager wifiConfigManager = mock ( com.android.server.wifi.WifiConfigManager.class ) ; when ( wifiConfigManager.getLastSelectedNetwork ( ) ) . thenReturn ( WifiConfiguration.INVALID_NETWORK_ID ) ; return wifiConfigManager ; }

Target:
private void setupContext ( ) { when ( mContext.getResources ( ) ) . thenReturn ( mResource ) ; }
Source:
final short getShort ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getShort ( ( offset + ( address ) ) ) ; }

Target:
final short getShort ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getShort$ ( ( offset + ( address ) ) ) ; }
Source:
public void warning ( @ com.android.annotations.NonNull java.lang.String warningFormat , java.lang.Object ... arg ) { logMessages.add ( java.lang.String.format ( ( "Warning: " + warningFormat ) , arg ) ) ; }

Target:
public void warning ( @ com.android.annotations.NonNull java.lang.String warningFormat , java.lang.Object ... arg ) { hasWarning.set ( true ) ; logMessages.add ( java.lang.String.format ( ( "Warning: " + warningFormat ) , arg ) ) ; }
Source:
public static int charCount ( int cp ) { return android.icu.text.UTF16.getCharCount ( cp ) ; }

Target:
public static final boolean isSupplementaryCodePoint ( int cp ) { return java.lang.Character.isSupplementaryCodePoint ( cp ) ; }
Source:
public static long getTotalRxPackets ( ) { return android.net.TrafficStats.nativeGetTotalStat ( android.net.TrafficStats.TYPE_RX_PACKETS ) ; }

Target:
public static long getTotalRxPackets ( ) { try { return android.net.TrafficStats.getStatsService ( ) . getTotalStats ( android.net.TrafficStats.TYPE_RX_PACKETS ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
protected abstract void injectSmsPdu ( byte [ ] pdu , java.lang.String format , android.app.PendingIntent receivedIntent ) ;

Target:
protected abstract SmsMessageBase.SubmitPduBase getSubmitPdu ( java.lang.String scAddr , java.lang.String destAddr , java.lang.String message , boolean statusReportRequested , com.android.internal.telephony.SmsHeader smsHeader ) ;
Source:
public android.database.Cursor loadInBackground ( ) { return isRegularSearch ? regularSearchLoadInBackground ( ) : dialpadSearchLoadInBackground ( ) ; }

Target:
public android.database.Cursor loadInBackground ( ) { if ( ! ( com.android.dialer.util.PermissionsUtil.hasContactsReadPermissions ( getContext ( ) ) ) ) { com.android.dialer.common.LogUtil.i ( "SearchContactsCursorLoader.loadInBackground" , "Contacts permission denied." ) ; return null ; } return isRegularSearch ? regularSearchLoadInBackground ( ) : dialpadSearchLoadInBackground ( ) ; }
Source:
public int hashCode ( ) { return com.android.internal.util.Objects.hashCode ( template , cycleDay , cycleTimezone , warningBytes , limitBytes , lastWarningSnooze , lastLimitSnooze , metered , inferred ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( template , cycleDay , cycleTimezone , warningBytes , limitBytes , lastWarningSnooze , lastLimitSnooze , metered , inferred ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_1 t = new dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_1 ( ) ; java.lang.String s = "s" ; try { t.run ( null , s ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_1" , java.lang.NullPointerException.class , null , "Test" ) ; }
Source:
private void onLastVoiceTagNumber ( 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_LAST_VOICE_TAG_NUMBER ) ; 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 onBatteryLevel ( int level ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_BATTERY_LEVEL ) ; event.valueInt = level ; 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 checkValidity ( ) { super . checkValidity ( ) ; if ( ! ( ( getLastElement ( ) ) instanceof com.android.jack.ir.ast.cfg.JThrowBlockElement ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "The last element of the block must be throw element" ) ; } }

Target:
public void checkValidity ( ) { super . checkValidity ( ) ; if ( ! ( ( getLastElement ( ) ) instanceof com.android.jack.ir.ast.cfg.JThrowBlockElement ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "The last element of JThrowBasicBlock must be JThrowBlockElement" ) ; } }
Source:
public libcore.tzdata.update2.tools.TimeZoneBundleBuilder clearVersionForTests ( ) { this . bundleFormatVersion = null ; return this ; }

Target:
public libcore.tzdata.update2.tools.TimeZoneBundleBuilder replaceFormatVersionForTests ( int majorVersion , int minorVersion ) { try { bundleVersion = new libcore.tzdata.update2.BundleVersion ( majorVersion , minorVersion , bundleVersion.rulesVersion , bundleVersion.revision ) ; } catch ( libcore.tzdata.update2.BundleException e ) { throw new java.lang.IllegalArgumentException ( ) ; } return this ; }
Source:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String response ) { responseString ( responseInfo , response ) ; }

Target:
public void requestIsimAuthenticationResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String response ) { throw new java.lang.RuntimeException ( "Inexplicable response received for requestIsimAuthentication" ) ; }
Source:
public void java7Exception004 ( ) throws java.lang.Exception { compileJava7Test ( "test004" ) ; }

Target:
public void java7Exception002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST002 ) . setSourceLevel ( SourceLevel.JAVA_7 ) . compileAndRunTest ( ) ; }
Source:
private com.android.jack.dx.rop.code.SourcePosition getLastElementPosition ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock bb ) { return com.android.jack.backend.dex.rop.RopHelper.getSourcePosition ( ( bb.hasElements ( ) ? bb.lastElement ( ) . getSourceInfo ( ) : com.android.jack.ir.sourceinfo.SourceInfo.UNKNOWN ) ) ; }

Target:
private com.android.jack.dx.rop.code.SourcePosition getLastElementPosition ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock bb ) { return com.android.jack.backend.dex.rop.RopHelper.getSourcePosition ( ( bb.hasElements ( ) ? bb.getLastElement ( ) . getSourceInfo ( ) : com.android.jack.ir.sourceinfo.SourceInfo.UNKNOWN ) ) ; }
Source:
public void test_getInstance_provider2 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 2 ] ) ; }

Target:
public void test_getInstance_provider1 ( ) throws java.lang.Exception { test_getInstance ( 1 ) ; }
Source:
public void onMessageSendSuccessNotification ( short transactionId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.NOTIFICATION_TYPE_ON_MESSAGE_SEND_SUCCESS ; msg.arg2 = transactionId ; mSm.sendMessage ( msg ) ; }

Target:
public void onMessageSendSuccessNotification ( short transactionId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.NOTIFICATION_TYPE_ON_MESSAGE_SEND_SUCCESS ; msg.arg2 = transactionId ; mSm.sendMessage ( msg ) ; }
Source:
private boolean shouldShowPromo ( ) { if ( hasAcknowledgedFeatures ( ) ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.shouldShowPromo" , "already acknowledeged latest features" ) ; return false ; } if ( isVoicemailTranscriptionEnabled ( ) ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.shouldShowPromo" , "showing promo for Google transcription users" ) ; return true ; } return false ; }

Target:
private boolean shouldShowPromo ( ) { if ( hasAcknowledgedFeatures ( ) ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.shouldShowPromo" , "already acknowledeged latest features" ) ; return false ; } if ( isVoicemailTranscriptionAvailable ( ) ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.shouldShowPromo" , "showing promo for Google transcription users" ) ; return true ; } return false ; }
Source:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Android SDK Tools, revision %1$d%2$s" , getRevision ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }

Target:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Android SDK Tools, revision %1$s%2$s" , getPreviewVersion ( ) . toShortString ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; }
Source:
public void testVFE15 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_direct.d.T_invoke_direct_11" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE17 ( ) { try { new dot.junit.opcodes.invoke_direct.d.T_invoke_direct_13 ( ) . run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }
Source:
public android.net.MacAddress.MacAddressType addressType ( ) { if ( equals ( android.net.MacAddress.BROADCAST_ADDRESS ) ) { return android.net.MacAddress.MacAddressType.BROADCAST ; } if ( isMulticastAddress ( ) ) { return android.net.MacAddress.MacAddressType.MULTICAST ; } return android.net.MacAddress.MacAddressType.UNICAST ; }

Target:
public int addressType ( ) { if ( equals ( android.net.MacAddress.BROADCAST_ADDRESS ) ) { return android.net.MacAddress.TYPE_BROADCAST ; } if ( isMulticastAddress ( ) ) { return android.net.MacAddress.TYPE_MULTICAST ; } return android.net.MacAddress.TYPE_UNICAST ; }
Source:
public com.android.build.gradle.internal.dsl.SigningConfigDsl initWith ( com.android.builder.signing.SigningConfig that ) { setStoreLocation ( that.getStoreLocation ( ) ) ; setStorePassword ( that.getStorePassword ( ) ) ; setKeyAlias ( that.getKeyAlias ( ) ) ; setKeyPassword ( that.getKeyPassword ( ) ) ; return this ; }

Target:
public com.android.build.gradle.internal.dsl.SigningConfigDsl initWith ( com.android.builder.signing.SigningConfig that ) { setStoreFile ( that.getStoreFile ( ) ) ; setStorePassword ( that.getStorePassword ( ) ) ; setKeyAlias ( that.getKeyAlias ( ) ) ; setKeyPassword ( that.getKeyPassword ( ) ) ; return this ; }
Source:
private void initDebug ( ) { try { mStoreLocation = com.android.builder.internal.signing.DebugKeyHelper.defaultDebugKeyStoreLocation ( ) ; mStorePassword = "android" ; mKeyAlias = "androiddebugkey" ; mKeyPassword = "android" ; } catch ( com.android.prefs.AndroidLocation e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void initDebug ( ) throws com.android.prefs.AndroidLocation.AndroidLocationException { mStoreLocation = com.android.builder.internal.signing.DebugKeyHelper.defaultDebugKeyStoreLocation ( ) ; mStorePassword = "android" ; mKeyAlias = "androiddebugkey" ; mKeyPassword = "android" ; }
Source:
public void onWriteFinished ( android.print.PageRange [ ] pages ) { try { descriptor.close ( ) ; result.run ( ) ; } catch ( java.io.IOException ex ) { fail ( ( "Failed file operation: " + ( ex.toString ( ) ) ) ) ; } }

Target:
public void onComplete ( long requestId ) { assertEquals ( kRequest , requestId ) ; callbackLatch.countDown ( ) ; }
Source:
public java.lang.String getIccSerialNumber ( ) { return mIccRecords.iccid ; }

Target:
public boolean getCallForwardingIndicator ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getVoiceCallForwardingFlag ( ) : false ; }
Source:
public void test11_activity_dup ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public java.io.File [ ] getLibs ( ) { return mLibs ; }
Source:
public com.google.common.base.Stopwatch start ( ) { com.google.common.base.Preconditions.checkState ( ( ! ( isRunning ) ) ) ; isRunning = true ; startTick = ticker.read ( ) ; return this ; }

Target:
public com.google.common.base.Stopwatch start ( ) { com.google.common.base.Preconditions.checkState ( ( ! ( isRunning ) ) , "This stopwatch is already running." ) ; isRunning = true ; startTick = ticker.read ( ) ; return this ; }
Source:
public java.lang.String getNfcWpsConfigurationToken ( int netId ) { return doStringCommand ( ( "WPS_NFC_CONFIG_TOKEN WPS " + netId ) ) ; }

Target:
public java.lang.String getNfcWpsConfigurationToken ( int netId ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.getCurrentNetworkWpsNfcConfigurationToken ( ) ; } else { return doStringCommand ( ( "WPS_NFC_CONFIG_TOKEN WPS " + netId ) ) ; } }
Source:
private void infoLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.AdapterState.DBG ) { android.util.Log.i ( com.android.bluetooth.btservice.AdapterState.TAG , msg ) ; } }

Target:
void infoLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.AdapterState.DBG ) { android.util.Log.i ( com.android.bluetooth.btservice.AdapterState.TAG , ( ( ( android.bluetooth.BluetoothAdapter.nameForState ( getStateValue ( ) ) ) + " : " ) + msg ) ) ; } }
Source:
public void run ( ) { mAppCallback.onMiddlewareReady ( ) ; }

Target:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppCallback.onMiddlewareReady ( ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }
Source:
private boolean hasSecondaryInfo ( ) { return ( ( secondaryInfo ) != null ) && ( secondaryInfo.shouldShow ) ; }

Target:
private boolean hasSecondaryInfo ( ) { return ( ( secondaryInfo ) != null ) && ( secondaryInfo.shouldShow ( ) ) ; }
Source:
private void openChannel ( ) { int p2 = 0 ; mUiccCard.iccOpenLogicalChannel ( com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules.AID , p2 , obtainMessage ( com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules.EVENT_OPEN_LOGICAL_CHANNEL_DONE , null ) ) ; }

Target:
public void run ( ) { openChannel ( mAIDInUse ) ; }
Source:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimplePatternFormatter.compile ( value.getString ( ) ) ) ; } }

Target:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimplePatternFormatter.compileMinMaxPlaceholders ( value.getString ( ) , 2 , 2 ) ) ; } }
Source:
public void handleMessage ( android.os.Message msg ) { if ( ( msg.what ) == ( com.android.mms.ui.ClassZeroActivity.ON_AUTO_SAVE ) ) { mRead = false ; mDialog.dismiss ( ) ; saveMessage ( ) ; finish ( ) ; } }

Target:
public void handleMessage ( android.os.Message msg ) { if ( ( msg.what ) == ( com.android.mms.ui.ClassZeroActivity.ON_AUTO_SAVE ) ) { mRead = false ; mDialog.dismiss ( ) ; saveMessage ( ) ; processNextMessage ( ) ; } }
Source:
public void setStatusHints ( java.lang.String callId , android.telecom.StatusHints statusHints ) { findConnectionForAction ( callId , "setStatusHints" ) . setStatusHints ( statusHints ) ; }

Target:
public void setStatusHints ( java.lang.String callId , android.telecom.StatusHints statusHints , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "setStatusHints" ) . setStatusHints ( statusHints ) ; }
Source:
final void deleteByRedirectingToPrimarySuccessor ( ) { assert hasPrimarySuccessor ( ) ; com.android.jack.ir.ast.cfg.JBasicBlock primary = getPrimarySuccessor ( ) ; this . replaceWith ( primary ) ; dereferenceAllSuccessors ( ) ; }

Target:
public int indexOf ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { assert ( element.getBasicBlock ( ) ) == ( this ) ; int index = elements.indexOf ( element ) ; assert index >= 0 ; return index ; }