auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void copy1DRangeFrom ( int off , int count , int [ ] d ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copy1DRangeFrom" ) ; validateIsInt32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , int [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
public java.io.File getJackLibraryOutputZip ( ) { return libraryOutZip ; }

Target:
public void setEmitSyntheticDebugInfo ( boolean emitSyntheticDebugInfo ) { this . emitSyntheticDebugInfo = emitSyntheticDebugInfo ; }
Source:
private boolean getValue ( ) { return ( Settings.Global.getInt ( mContext.getContentResolver ( ) , Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON , 0 ) ) == 1 ; }

Target:
private boolean getValue ( ) { return ( Settings.Global.getInt ( mContentResolver , Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON , 0 ) ) == 1 ; }
Source:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object element ) { return multimap ( ) . containsKey ( element ) ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object element ) { return multimap.containsKey ( element ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JConstructor x ) { endVisit ( ( ( com.android.jack.ir.ast.JMethod ) ( x ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JConstructor constructor ) { endVisit ( ( ( com.android.jack.ir.ast.JMethod ) ( constructor ) ) ) ; }
Source:
public V2 getValue ( ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }

Target:
public V2 apply ( java.util.Map.Entry < K , V1 > entry ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }
Source:
private static java.lang.String lambda ( @ javax.annotation.Nonnull java.lang.String pkg , @ javax.annotation.Nonnull java.lang.String sha , @ javax.annotation.Nonnegative int i ) { return com.android.jack.optimizations.lambdas.LambdaTests.type ( pkg , ( ( ( "-$Lambda$" + i ) + "$" ) + sha ) ) ; }

Target:
private static java.lang.String lambda ( @ javax.annotation.Nonnull java.lang.String pkg , @ javax.annotation.Nonnull java.lang.String sha , @ javax.annotation.Nonnegative int i ) { return com.android.jack.optimizations.lambdas.LambdaTests.type ( pkg , ( ( "-$Lambda$" + sha ) + ( i == 0 ? "" : "$" + i ) ) ) ; }
Source:
private libcore.util.ZoneInfo createZoneInfo ( int [ ] [ ] transitionTimes , int [ ] [ ] transitionTypes , long currentTimeMillis ) throws java.lang.Exception { return createZoneInfo ( getName ( ) , transitionTimes , transitionTypes , currentTimeMillis ) ; }

Target:
private libcore.util.ZoneInfo createZoneInfo ( int [ ] [ ] transitions , int [ ] [ ] types , long currentTimeMillis ) throws java.lang.Exception { return createZoneInfo ( getName ( ) , transitions , types , currentTimeMillis ) ; }
Source:
public void validateUpdateParameterWithoutUpdateInterval ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.updateIntervalInMinutes = java.lang.Long.MIN_VALUE ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }

Target:
public void validateUpdateParameterWithoutUpdateInterval ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.setUpdateIntervalInMinutes ( java.lang.Long.MIN_VALUE ) ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }
Source:
public void callSessionMergeComplete ( com.android.ims.internal.ImsCallSession newSession ) throws android.os.RemoteException { mListener.callSessionMergeComplete ( ( newSession != null ? newSession.getSession ( ) : null ) ) ; }

Target:
public void callSessionResumed ( android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionResumed ( profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void sendTriggerUpdateCheck ( com.android.server.timezone.CheckToken checkToken ) { android.app.timezone.RulesUpdaterContract.sendBroadcast ( mContext , mUpdaterAppPackageName , checkToken.toByteArray ( ) ) ; }

Target:
public void sendTriggerUpdateCheck ( com.android.server.timezone.CheckToken checkToken ) { android.app.timezone.RulesUpdaterContract.sendBroadcast ( mContext , mUpdaterAppPackageName , checkToken.toByteArray ( ) ) ; com.android.server.EventLogTags.writeTimezoneTriggerCheck ( checkToken.toString ( ) ) ; }
Source:
public void testNotRedirectedFromHttpsToHttp ( ) throws java.io.IOException , java.lang.InterruptedException { libcore.javax.net.ssl.TestSSLContext testSSLContext = createDefaultTestSSLContext ( ) ; server.useHttps ( testSSLContext.serverContext.getSocketFactory ( ) , false ) ; server.enqueue ( new com.google.mockwebserver.MockResponse ( ) . setResponseCode ( java.net.HttpURLConnection.HTTP_MOVED_TEMP ) . addHeader ( "Location: http://anyhost/foo" ) . setBody ( "This page has moved!" ) ) ; server.play ( ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; connection.setSSLSocketFactory ( testSSLContext.clientContext.getSocketFactory ( ) ) ; assertEquals ( "This page has moved!" , readAscii ( connection.getInputStream ( ) , java.lang.Integer.MAX_VALUE ) ) ; }

Target:
public void testNotRedirectedFromHttpToHttps ( ) throws java.io.IOException , java.lang.InterruptedException { server.enqueue ( new com.google.mockwebserver.MockResponse ( ) . setResponseCode ( java.net.HttpURLConnection.HTTP_MOVED_TEMP ) . addHeader ( "Location: https://anyhost/foo" ) . setBody ( "This page has moved!" ) ) ; server.play ( ) ; java.net.HttpURLConnection connection = ( ( java.net.HttpURLConnection ) ( server.getUrl ( "/" ) . openConnection ( ) ) ) ; org.junit.Assert.assertEquals ( "This page has moved!" , readAscii ( connection.getInputStream ( ) , java.lang.Integer.MAX_VALUE ) ) ; }
Source:
public void enter ( ) { log ( ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; broadcastAudioState ( mCurrentDevice , BluetoothA2dpSink.STATE_NOT_PLAYING , BluetoothA2dpSink.STATE_PLAYING ) ; }

Target:
public void enter ( ) { log ( ( "Enter Connected: " + ( getCurrentMessage ( ) . what ) ) ) ; broadcastAudioState ( mCurrentDevice , BluetoothA2dpSink.STATE_NOT_PLAYING , BluetoothA2dpSink.STATE_PLAYING ) ; com.android.bluetooth.a2dp.A2dpSinkStateMachine.mAvrcpPlaySent = false ; }
Source:
private static native int currentImpl ( int address ) ;

Target:
private static native void closeImpl ( int address ) ;
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodCall call ) { com.android.jack.ir.ast.JMethodIdWide id = getResolvedMethodIdWide ( call.getReceiverType ( ) , call.getMethodId ( ) ) ; call.resolveMethodId ( id ) ; return super . visit ( call ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodCall call ) { com.android.jack.ir.ast.JMethodId id = getResolvedMethodId ( call.getReceiverType ( ) , call.getMethodId ( ) ) ; call.resolveMethodId ( id ) ; return super . visit ( call ) ; }
Source:
public void testGetEuiccInfo_success ( ) { org.junit.Assert.assertEquals ( com.android.internal.telephony.euicc.EuiccControllerTest.OS_VERSION , callGetEuiccInfo ( true , com.android.internal.telephony.euicc.EuiccControllerTest.EUICC_INFO ) . osVersion ) ; }

Target:
public void testGetEuiccInfo_success ( ) { org.junit.Assert.assertEquals ( com.android.internal.telephony.euicc.EuiccControllerTest.OS_VERSION , callGetEuiccInfo ( true , com.android.internal.telephony.euicc.EuiccControllerTest.EUICC_INFO ) . getOsVersion ( ) ) ; }
Source:
protected java.lang.Object doInBackground ( java.lang.Object ... objects ) { updateSmartDialDatabase ( ) ; return null ; }

Target:
public java.lang.Void doInBackground ( @ android.support.annotation.Nullable java.lang.Void input ) throws java.lang.Throwable { updateSmartDialDatabase ( ) ; return null ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.test ( "A" ) ; Main.test ( "B" ) ; Main.test ( "C" ) ; Main.test ( "D" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.test ( "A" ) ; Main.test ( "B" ) ; Main.test ( "C" ) ; Main.test ( "D" ) ; Main.test ( "E" ) ; }
Source:
public void testInstallWithMissingBundleVersionFile ( ) throws java.lang.Exception { java.io.File workingDir = new java.io.File ( testInstallDir , TzDataBundleInstaller.WORKING_DIR_NAME ) ; assertTrue ( workingDir.mkdir ( ) ) ; libcore.tzdata.update2.ConfigBundle tzData = createTzDataBundleWithoutFormatVersionFile ( "2030a" ) ; assertFalse ( install ( tzData ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testUnsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.ConfigBundle tzData1 = createValidTzDataBundle ( libcore.tzdata.update2.TzDataBundleInstallerTest.OLDER_RULES_VERSION ) ; assertFalse ( installer.install ( tzData1.getBundleBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public static long AndLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs & rhs ; }

Target:
public static long AndIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs & rhs ; }
Source:
public void onSdkLoaded ( com.android.sdklib.IAndroidTarget target ) { mSdkChanged = true ; mTarget = target ; ( mDisableUpdates ) ++ ; initDevices ( ) ; ( mDisableUpdates ) -- ; }

Target:
public void onSdkLoaded ( com.android.sdklib.IAndroidTarget target ) { mSdkChanged = true ; mTarget = target ; ( mDisableUpdates ) ++ ; try { initDevices ( ) ; initTargets ( ) ; } finally { ( mDisableUpdates ) -- ; } }
Source:
protected java.lang.Object getPropertyPairCookie ( @ com.android.annotations.NonNull java.lang.Object cookie ) { return cookie ; }

Target:
protected java.lang.Object getPropertyKeyCookie ( @ com.android.annotations.NonNull java.lang.Object cookie ) { return cookie ; }
Source:
private java.lang.Integer retrieveFeatureStatus ( ) { if ( ( mBinder ) != null ) { try { return getServiceInterface ( mBinder ) . getFeatureStatus ( mSlotId , mSupportedFeature ) ; } catch ( android.os.RemoteException e ) { } } return null ; }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getMultiEndpointInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
public boolean showFindDialog ( java.lang.String text , boolean showIme ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "showFindDialog" ) ; return mProvider.showFindDialog ( text , showIme ) ; }

Target:
public boolean showFindDialog ( java.lang.String text , boolean showIme ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "showFindDialog" ) ; return mProvider.showFindDialog ( text , showIme ) ; }
Source:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object object ) { return false ; }

Target:
com.google.common.collect.Multiset.Entry < E > getEntry ( int index ) { throw new java.lang.AssertionError ( "should never be called" ) ; }
Source:
synchronized void nAllocationRead ( long id , short [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarI ( curCon , id , slot , val , mUseInc ) ; }
Source:
public void testAllowBackupOk2 ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.ALLOW_BACKUP ) ; assertEquals ( "No warnings." , lintProject ( "AndroidManifest.xml" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testAllowBackupOk2 ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestDetector.ALLOW_BACKUP ) ; assertEquals ( "No warnings." , lintProject ( "AndroidManifest.xml" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
public void notifyANQPDone ( long bssid , boolean success ) { mHandler.notifyANQPDone ( bssid , success ) ; }

Target:
public void notifyANQPDone ( com.android.server.wifi.hotspot2.AnqpEvent anqpEvent ) { mHandler.notifyANQPDone ( anqpEvent ) ; }
Source:
public void testRefactorFragment ( ) throws java.lang.Exception { moveType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.MyFragment" , "src/com/example/refactoringtest/subpackage" , true , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( "-------\n" + "* Move resource \'testRefactorFragment/src/com/example/refactoringtest/MyFragment.java\' to \'subpackage\'\n" ) + "\n" ) + "* Move resource \'testRefactorFragment/src/com/example/refactoringtest/MyFragment.java\' to \'subpackage\'\n" ) + "\n" ) + "* activity_main.xml - /testRefactorFragment/res/layout/activity_main.xml\n" ) + " @@ -33 +33\n" ) + " - <fragment android:name=\"com.example.refactoringtest.MyFragment\"/>\n" ) + " + <fragment android:name=\"com.example.refactoringtest.subpackage.MyFragment\"/>" ) ) ) ; }

Target:
public void testRefactorFragment ( ) throws java.lang.Exception { moveType ( com.android.ide.eclipse.adt.internal.refactorings.core.TEST_PROJECT2 , "com.example.refactoringtest.MyFragment" , "src/com/example/refactoringtest/subpackage" , true , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( "-------\n" + "[x] Move resource \'testRefactorFragment/src/com/example/refactoringtest/MyFragment.java\' to \'subpackage\'\n" ) + "\n" ) + "[x] Move resource \'testRefactorFragment/src/com/example/refactoringtest/MyFragment.java\' to \'subpackage\'\n" ) + "\n" ) + "[x] activity_main.xml - /testRefactorFragment/res/layout/activity_main.xml\n" ) + " @@ -33 +33\n" ) + " - <fragment android:name=\"com.example.refactoringtest.MyFragment\"/>\n" ) + " + <fragment android:name=\"com.example.refactoringtest.subpackage.MyFragment\"/>" ) ) ) ; }
Source:
public void registerNetworkCallback ( android.net.NetworkRequest request , android.app.PendingIntent operation ) { checkPendingIntent ( operation ) ; try { mService.pendingListenForNetwork ( request.networkCapabilities , operation ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void startCaptivePortalApp ( android.net.Network network ) { try { mService.startCaptivePortalApp ( network ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void callSessionConferenceExtended ( com.android.ims.internal.IImsCallSession newSession , com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { mListener.callSessionConferenceExtended ( newSession , profile ) ; }

Target:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) { try { mListener.callSessionMergeStarted ( newSession , profile ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }
Source:
public void onClick ( android.view.View v ) { showDialog ( com.example.android.apis.app.AlertDialogSamples.DIALOG_PROGRESS ) ; mProgress = 0 ; mProgressDialog.setProgress ( 0 ) ; mProgressHandler.sendEmptyMessage ( 0 ) ; }

Target:
public void onClick ( android.view.View v ) { showDialog ( com.example.android.apis.app.AlertDialogSamples.DIALOG_LIST ) ; }
Source:
public void test_plusMonths_long_negativeOverYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusMonths ( ( - 31 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2004 , 12 , 15 ) ) ; }

Target:
public void test_plusMonths_long_negativeOverYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusMonths ( ( - 31 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2004 , 12 , 15 ) ) ; }
Source:
public void test_plus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.plus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 5 , 40 , 987654321 ) ) ; }

Target:
public void test_plus_longTemporalUnit_zero ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.plus ( 0 , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
private void printVersion ( ) { java.lang.String revision = getRevision ( ) ; if ( revision != null ) { java.lang.System.out.println ( java.lang.String.format ( "lint: version %1$s" , revision ) ) ; } else { java.lang.System.out.println ( "lint: unknown version" ) ; } }

Target:
private void printVersion ( com.android.tools.lint.LintCliClient client ) { java.lang.String revision = client.getRevision ( ) ; if ( revision != null ) { java.lang.System.out.println ( java.lang.String.format ( "lint: version %1$s" , revision ) ) ; } else { java.lang.System.out.println ( "lint: unknown version" ) ; } }
Source:
protected com.android.ide.common.internal.PngCruncher getCruncher ( ) { java.io.File aapt = getAapt ( ) ; return QueuedCruncher.Builder.INSTANCE.newCruncher ( aapt.getAbsolutePath ( ) , com.android.builder.png.NinePatchAsyncAaptProcessTest.sLogger ) ; }

Target:
public static java.util.Collection < java.lang.Object [ ] > getNinePatches ( ) { java.util.Collection < java.lang.Object [ ] > params = com.android.builder.png.NinePatchAaptProcessorTestUtils.getNinePatches ( ) ; com.android.builder.png.NinePatchAsyncAaptProcessTest.classStartTime.set ( java.lang.System.currentTimeMillis ( ) ) ; return params ; }
Source:
public int telephonyGetPreferredNetworkTypeInteger ( ) { return telephonyGetPreferredNetworkTypeIntegerForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public int telephonyGetPreferredNetworkTypeInteger ( ) { return telephonyGetPreferredNetworkTypeIntegerForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
public boolean initialize ( ) { return doInitialize ( ) ; }

Target:
public boolean initialize ( ) { boolean ret = doInitialize ( ) ; mIsoDepMaxTransceiveLength = getIsoDepMaxTransceiveLength ( ) ; return ret ; }
Source:
public void testInstallId ( ) { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.PlatformPackage p = createPlatformPackage ( props ) ; assertEquals ( "android-5" , p.installId ( ) ) ; }

Target:
public void testSaveProperties ( ) { java.util.Properties expected = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.PlatformPackage p = createPlatformPackage ( expected ) ; java.util.Properties actual = new java.util.Properties ( ) ; p.saveProperties ( actual ) ; assertEquals ( expected , actual ) ; }
Source:
public void setEnabled ( boolean isEnabled ) { mContext.enforceCallingOrSelfPermission ( android.Manifest.permission.CONNECTIVITY_INTERNAL , "NsdService" ) ; mNsdSettings.putEnabledStatus ( isEnabled ) ; notifyEnabled ( isEnabled ) ; }

Target:
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 ) ; } }
Source:
public void addGeneratedSourceFolders ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.lang.Iterable < java.io.File > sourceFolders ) { getVariantData ( ) . addGeneratedSourceFolders ( task , sourceFolders ) ; }

Target:
public void registerJavaGeneratingTask ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.util.Collection < java.io.File > sourceFolders ) { getVariantData ( ) . registerJavaGeneratingTask ( task , sourceFolders ) ; }
Source:
public void onDestroy ( ) { logger.debug ( "onDestroy()" ) ; if ( ( mCapabilityPolling ) != null ) { mCapabilityPolling.stop ( ) ; mCapabilityPolling = null ; } super . onDestroy ( ) ; }

Target:
public void onDestroy ( ) { logger.debug ( "onDestroy()" ) ; if ( ( mCapabilityPolling ) != null ) { mCapabilityPolling.stop ( ) ; mCapabilityPolling = null ; } unregisterReceiver ( mReceiver ) ; super . onDestroy ( ) ; }
Source:
public void onResume ( ) { super . onResume ( ) ; initPreferences ( ) ; refreshWifiInfo ( ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; initPreferences ( ) ; getActivity ( ) . registerReceiver ( mReceiver , mFilter , android.Manifest.permission.CHANGE_NETWORK_STATE , null ) ; refreshWifiInfo ( ) ; }
Source:
public static android.icu.util.UResourceBundle getBundleInstance ( java.lang.String baseName ) { if ( baseName == null ) { baseName = android.icu.impl.ICUResourceBundle.ICU_BASE_NAME ; } android.icu.util.ULocale uloc = android.icu.util.ULocale.getDefault ( ) ; return android.icu.util.UResourceBundle.getBundleInstance ( baseName , uloc.toString ( ) , ICUResourceBundle.ICU_DATA_CLASS_LOADER , false ) ; }

Target:
public static android.icu.util.UResourceBundle getBundleInstance ( java.lang.String baseName ) { if ( baseName == null ) { baseName = android.icu.impl.ICUData.ICU_BASE_NAME ; } android.icu.util.ULocale uloc = android.icu.util.ULocale.getDefault ( ) ; return android.icu.util.UResourceBundle.getBundleInstance ( baseName , uloc.getBaseName ( ) , ICUResourceBundle.ICU_DATA_CLASS_LOADER , false ) ; }
Source:
protected void setupTests ( com.android.cts.verifier.ArrayTestListAdapter adapter ) { setupDisableTrustAgentsTest ( adapter ) ; setupDisableUnredactedWorkNotification ( adapter ) ; setupFingerprintTests ( adapter ) ; }

Target:
protected void setupTests ( com.android.cts.verifier.ArrayTestListAdapter adapter ) { if ( hasTrustAgents ( ) ) { setupDisableTrustAgentsTest ( adapter ) ; } setupDisableUnredactedWorkNotification ( adapter ) ; setupFingerprintTests ( adapter ) ; }
Source:
public void callSessionStartFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionInitiatedFailed ( imsReasonInfo ) ; }

Target:
public void callSessionRttModifyRequestReceived ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionRttModifyRequestReceived ( imsCallProfile ) ; }
Source:
static float $opt$DoubleToFloat ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }

Target:
static float $opt$noinline$DoubleToFloat ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public java.lang.String toString ( ) { return ( ( key ) + "=" ) + ( value ) ; }

Target:
public V setValue ( @ javax.annotation.Nullable V newValue ) { V result = value ; this . value = newValue ; return result ; }
Source:
public vogar.ResultValue getResultValue ( vogar.Expectation expectation ) { if ( matters ( ) ) { return expectation.matches ( this ) ? ResultValue.OK : ResultValue.FAIL ; } return ResultValue.IGNORE ; }

Target:
public vogar.ResultValue getResultValue ( vogar.Expectation expectation ) { if ( matters ( ) ) { return expectation.matches ( this ) ? ResultValue.OK : ResultValue.WARNING ; } return ResultValue.IGNORE ; }
Source:
public void sendCdmaSmsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_0.SendSmsResult var2 ) { }

Target:
public void getDeviceIdentityResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String imei , java.lang.String imeisv , java.lang.String esn , java.lang.String meid ) { responseStrings ( responseInfo , imei , imeisv , esn , meid ) ; }
Source:
public com.android.ims.ImsCallProfile getRemoteCallProfile ( ) throws android.os.RemoteException { return null ; }

Target:
public java.lang.String getCallId ( ) { return null ; }
Source:
private static void test_init ( dalvik.system.DexClassLoaderTest.Configuration config ) { dalvik.system.DexClassLoaderTest.createInstance ( config ) ; int expectedFiles = config.expectedFiles ; int actualFiles = config.optimizedDir.listFiles ( ) . length ; assertEquals ( expectedFiles , actualFiles ) ; }

Target:
public void test_oneDex_simpleUse ( ) throws java.lang.Exception { java.lang.String result = ( ( java.lang.String ) ( createLoaderAndCallMethod ( "test.Test1" , "test" , dex1 ) ) ) ; assertSame ( "blort" , result ) ; }
Source:
protected javax.swing.JComponent getHeader ( ) { return com.android.tools.idea.wizard.DynamicWizardStep.createWizardStepHeader ( WizardConstants.ANDROID_NPW_HEADER_COLOR , AndroidIcons.Wizards.NewProjectMascotGreen , com.google.gct.idea.util.GctBundle.message ( "sample.import.title" ) ) ; }

Target:
protected com.google.gct.idea.samples.WizardStepHeaderSettings getStepHeader ( ) { return com.google.gct.idea.samples.WizardStepHeaderSettings.createProductHeader ( com.google.gct.idea.util.GctBundle.message ( "sample.import.title" ) ) ; }
Source:
public boolean sameItemAs ( java.lang.Package pkg ) { if ( pkg instanceof com.android.sdklib.internal.repository.packages.DocPackage ) { com.android.sdklib.AndroidVersion rev2 = ( ( com.android.sdklib.internal.repository.packages.DocPackage ) ( pkg ) ) . getVersion ( ) ; return this . getVersion ( ) . equals ( rev2 ) ; } return false ; }

Target:
public boolean sameItemAs ( java.lang.Package pkg ) { if ( pkg instanceof com.android.sdklib.internal.repository.packages.DocPackage ) { com.android.sdklib.AndroidVersion rev2 = ( ( com.android.sdklib.internal.repository.packages.DocPackage ) ( pkg ) ) . getAndroidVersion ( ) ; return this . getAndroidVersion ( ) . equals ( rev2 ) ; } return false ; }
Source:
public synchronized void setProperty ( java.lang.String name , java.lang.String value ) { mProperties.put ( name , value ) ; }

Target:
public boolean isKnownProperty ( java.lang.String name ) { for ( java.lang.String propRegex : mKnownProps ) { if ( ( propRegex.equals ( name ) ) || ( java.util.regex.Pattern.matches ( propRegex , name ) ) ) { return true ; } } return false ; }
Source:
public void onIntrData ( byte reportId , byte [ ] data ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( "onIntrData: reportId=" + reportId ) ) ; }

Target:
public void onIntrData ( android.bluetooth.BluetoothDevice device , byte reportId , byte [ ] data ) { android.util.Log.d ( android.bluetooth.BluetoothHidDeviceCallback.TAG , ( ( ( "onIntrData: device=" + device ) + " reportId=" ) + reportId ) ) ; }
Source:
public void testProxyAuthConnectionFailed ( ) throws java.lang.Throwable { org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.setUpStoreProperties ( ) ; java.net.ServerSocket ss = new java.net.ServerSocket ( 0 ) ; org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.TestHostnameVerifier hnv = new org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.TestHostnameVerifier ( ) ; javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier ( hnv ) ; java.net.URL url = new java.net.URL ( "https://requested.host:55555/requested.data" ) ; javax.net.ssl.HttpsURLConnection connection = ( ( javax.net.ssl.HttpsURLConnection ) ( url.openConnection ( new java.net.Proxy ( java.net.Proxy.Type.HTTP , new java.net.InetSocketAddress ( "localhost" , ss.getLocalPort ( ) ) ) ) ) ) ; connection.setSSLSocketFactory ( org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.getContext ( ) . getSocketFactory ( ) ) ; try { org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.doInteraction ( connection , ss , org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.AUTHENTICATION_REQUIRED_CODE , true ) ; } catch ( java.io.IOException e ) { if ( org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.DO_LOG ) { java.lang.System.out.println ( ( "Got expected IOException: " + ( e.getMessage ( ) ) ) ) ; } } }

Target:
public com.google.mockwebserver.MockResponse dispatch ( com.google.mockwebserver.RecordedRequest request ) throws java.lang.InterruptedException { assertEquals ( "CONNECT" , request.getMethod ( ) ) ; com.google.mockwebserver.MockResponse response = new com.google.mockwebserver.MockResponse ( ) ; response.setResponseCode ( org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest.AUTHENTICATION_REQUIRED_CODE ) ; response.addHeader ( "Proxy-authenticate: Basic realm=\"localhost\"" ) ; log ( ( "Authentication required. Sending response: " + response ) ) ; return response ; }
Source:
public static < T extends java.lang.Enum < T > > com.google.common.base.Function < java.lang.String , T > valueOfFunction ( java.lang.Class < T > enumClass ) { return new com.google.common.base.Enums.ValueOfFunction < T > ( enumClass ) ; }

Target:
public static < T extends java.lang.Enum < T > > com.google.common.base.Converter < java.lang.String , T > stringConverter ( final java.lang.Class < T > enumClass ) { return new com.google.common.base.Enums.StringConverter < T > ( enumClass ) ; }
Source:
public static android.telephony.SmsCbMessage createFromPdu ( byte [ ] pdu ) { try { return new android.telephony.SmsCbMessage ( pdu ) ; } catch ( java.lang.IllegalArgumentException e ) { return null ; } }

Target:
public static android.telephony.SmsCbMessage createFromPdu ( byte [ ] pdu ) { try { return new android.telephony.SmsCbMessage ( pdu ) ; } catch ( java.lang.IllegalArgumentException e ) { android.util.Log.w ( android.telephony.SmsCbMessage.LOG_TAG , "Failed parsing SMS-CB pdu" , e ) ; return null ; } }
Source:
public void testPackageOverridePackageWithSuffixOnly ( ) { mBuildType.setPackageNameSuffix ( "fortytwo" ) ; com.android.builder.core.VariantConfiguration variant = getVariantWithManifestPackage ( "fake.package.name" ) ; assertEquals ( "fake.package.name.fortytwo" , variant.getPackageOverride ( ) ) ; }

Target:
public void testPackageOverridePackageWithSuffixOnly ( ) { mBuildType.setApplicationIdSuffix ( "fortytwo" ) ; com.android.builder.core.VariantConfiguration variant = getVariantWithManifestPackage ( "fake.package.name" ) ; assertEquals ( "fake.package.name.fortytwo" , variant.getIdOverride ( ) ) ; }
Source:
protected java.lang.Object engineGetParameter ( java.lang.String arg0 ) throws java.security.InvalidParameterException { return spiImpl.engineGetParameter ( arg0 ) ; }

Target:
protected java.lang.Object engineGetParameter ( java.lang.String arg0 ) throws java.security.InvalidParameterException { return getSpi ( ) . engineGetParameter ( arg0 ) ; }
Source:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;

Target:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val , boolean mUseInc ) ;
Source:
public com.android.ide.eclipse.adt.internal.editors.layout.gle2.HardwareConfigHelper setOverrideRenderSize ( int overrideRenderWidth , int overrideRenderHeight ) { mOverrideRenderWidth = overrideRenderWidth ; mOverrideRenderHeight = overrideRenderHeight ; return this ; }

Target:
public com.android.ide.common.rendering.HardwareConfigHelper setOverrideRenderSize ( int overrideRenderWidth , int overrideRenderHeight ) { mOverrideRenderWidth = overrideRenderWidth ; mOverrideRenderHeight = overrideRenderHeight ; return this ; }
Source:
public java.lang.reflect.Constructor < ? > getEnclosingConstructor ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } java.lang.reflect.AccessibleObject result = libcore.reflect.AnnotationAccess.getEnclosingMethodOrConstructor ( this ) ; return result instanceof java.lang.reflect.Constructor ? ( ( java.lang.reflect.Constructor < ? > ) ( result ) ) : null ; }

Target:
private native java.lang.reflect.Method getEnclosingMethodNative ( ) ;
Source:
protected com.android.jack.dx.dex.file.DexFile createDexFile ( ) { com.android.jack.dx.dex.DexOptions options = new com.android.jack.dx.dex.DexOptions ( ) ; options.forceJumbo = forceJumbo ; options.targetApiLevel = apiLevel ; return new com.android.jack.dx.dex.file.DexFile ( options ) ; }

Target:
protected com.android.jack.dx.dex.file.DexFile createDexFile ( ) { com.android.jack.dx.dex.DexOptions options = new com.android.jack.dx.dex.DexOptions ( ) ; options.forceJumbo = forceJumbo ; options.targetApiLevel = apiLevel.getReleasedLevel ( ) ; return new com.android.jack.dx.dex.file.DexFile ( options ) ; }
Source:
protected int peek ( java.net.InetAddress arg0 ) throws java.io.IOException { return 0 ; }

Target:
protected void leave ( java.net.InetAddress arg0 ) throws java.io.IOException { }
Source:
public boolean disable ( ) { try { return mManagerService.disable ( true ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.BluetoothAdapter.TAG , "" , e ) ; } return false ; }

Target:
public boolean disable ( ) { try { return mManagerService.disable ( android.app.ActivityThread.currentPackageName ( ) , true ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.BluetoothAdapter.TAG , "" , e ) ; } return false ; }
Source:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeInt ( mServiceType ) ; out.writeInt ( mCallType ) ; out.writeParcelable ( mCallExtras , 0 ) ; out.writeParcelable ( mMediaProfile , 0 ) ; }

Target:
public void writeToParcel ( android.os.Parcel out , int flags ) { android.os.Bundle filteredExtras = maybeCleanseExtras ( mCallExtras ) ; out.writeInt ( mServiceType ) ; out.writeInt ( mCallType ) ; out.writeBundle ( filteredExtras ) ; out.writeParcelable ( mMediaProfile , 0 ) ; }
Source:
public void test_getInstance_provider0 ( ) throws java.lang.Exception { test_getInstance ( java.security.Security.getProviders ( ) [ 0 ] ) ; }

Target:
public void test_providerCount ( ) { java.security.Provider [ ] providers = java.security.Security.getProviders ( ) ; assertTrue ( ( ( providers.length ) > 0 ) ) ; assertTrue ( ( ( providers.length ) < 10 ) ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JBooleanLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JBooleanLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getValue ( ) ) == ( other.getValue ( ) ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JConditionalBasicBlock block ) { super . endVisit ( block ) ; com.android.jack.ir.ast.cfg.JConditionalBasicBlock other = otherOrMe ( block ) ; ensure ( ( ( other.isInverted ( ) ) == ( block.isInverted ( ) ) ) ) ; }
Source:
private boolean contains ( byte [ ] key ) { execute ( 'e' , key ) ; return ( mError ) == ( android.security.KeyStore.NO_ERROR ) ; }

Target:
public boolean delete ( java.lang.String key ) { try { return ( mBinder.del ( key ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public void addData ( java.lang.String tag , byte [ ] data , int flags ) { java.lang.System.out.println ( ( ( tag + ": " ) + ( libcore.io.Base64.encode ( data ) ) ) ) ; }

Target:
public void addData ( java.lang.String tag , byte [ ] data , int flags ) { java.lang.System.out.println ( ( ( tag + ": " ) + ( java.util.Base64.getEncoder ( ) . encodeToString ( data ) ) ) ) ; }
Source:
public com.android.utils.HtmlBuilder newline ( ) { mStringBuilder.append ( "<BR/>\n" ) ; return this ; }

Target:
public com.android.utils.HtmlBuilder newline ( ) { mStringBuilder.append ( "<BR/>" ) ; return this ; }
Source:
public boolean nudValid ( ) { return ( nudConnected ( ) ) || ( ( ( ndm_state ) & ( ( ( android.net.netlink.StructNdMsg.NUD_PROBE ) | ( android.net.netlink.StructNdMsg.NUD_STALE ) ) | ( android.net.netlink.StructNdMsg.NUD_DELAY ) ) ) != 0 ) ; }

Target:
public boolean nudValid ( ) { return android.net.netlink.StructNdMsg.isNudStateValid ( ndm_state ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { it.iterator ( ) ; } }
Source:
public boolean canTransfer ( ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "canTransfer: not possible in CDMA" ) ; return false ; }

Target:
public boolean canTransfer ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "canTransfer: not possible in CDMA" ) ; return false ; }
Source:
public final byte [ ] generateSecret ( ) throws java.lang.IllegalStateException { return spiImpl.engineGenerateSecret ( ) ; }

Target:
public final byte [ ] generateSecret ( ) throws java.lang.IllegalStateException { return getSpi ( ) . engineGenerateSecret ( ) ; }
Source:
public void alignToFourBytes ( ) { int unalignedCount = position ; position = com.android.dx.io.DexBuffer.fourByteAlign ( position ) ; for ( int i = unalignedCount ; i < ( position ) ; i ++ ) { data [ i ] = 0 ; } }

Target:
public void alignToFourBytes ( ) { int unalignedCount = position ; position = com.android.dex.Dex.fourByteAlign ( position ) ; for ( int i = unalignedCount ; i < ( position ) ; i ++ ) { data [ i ] = 0 ; } }
Source:
public void requestNetwork ( android.net.NetworkRequest request , int timeoutMs , android.net.ConnectivityManager.NetworkCallback networkCallback ) { android.net.ConnectivityManager.checkTimeout ( timeoutMs ) ; int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType , getDefaultHandler ( ) ) ; }

Target:
private static java.lang.RuntimeException convertServiceException ( android.os.ServiceSpecificException e ) { switch ( e.errorCode ) { case android.net.ConnectivityManager.Errors.TOO_MANY_REQUESTS : return new android.net.ConnectivityManager.TooManyRequestsException ( ) ; default : android.util.Log.w ( android.net.ConnectivityManager.TAG , ( "Unknown service error code " + ( e.errorCode ) ) ) ; return new java.lang.RuntimeException ( e ) ; } }
Source:
public static void assertTrue ( boolean condition ) { if ( ! condition ) throw new java.lang.RuntimeException ( "AssertionFailedError: condition was false" ) ; }

Target:
public static void assertTrue ( boolean condition ) { if ( ! condition ) throw new dot.junit.AssertionFailedException ( "condition was false" ) ; }
Source:
synchronized void nScriptSetVarD ( int id , int slot , double val ) { validate ( ) ; rsnScriptSetVarD ( mContext , id , slot , val ) ; }

Target:
synchronized long nScriptIntrinsicCreate ( int id , long eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }
Source:
public int initialize ( int subscriptionId , android.telephony.mbms.IMbmsDownloadManagerCallback listener ) throws android.os.RemoteException { return 0 ; }

Target:
public void error ( int errorCode , java.lang.String message ) throws android.os.RemoteException { callback.error ( errorCode , message ) ; }
Source:
public static android.net.ConnectivityThread get ( ) { return android.net.ConnectivityThread.getInstance ( ) ; }

Target:
public static android.net.ConnectivityThread get ( ) { return android.net.ConnectivityThread.Singleton.INSTANCE ; }
Source:
public static com.android.dialer.spam.status.SimpleSpamStatus create ( boolean isSpam , @ android.support.annotation.Nullable java.lang.Long timestampMillis ) { return new com.android.dialer.spam.status.AutoValue_SimpleSpamStatus ( isSpam , com.google.common.base.Optional.fromNullable ( timestampMillis ) ) ; }

Target:
public static com.android.dialer.spam.status.SimpleSpamStatus create ( boolean isSpam , @ android.support.annotation.Nullable java.lang.Long timestampMillis ) { return com.android.dialer.spam.status.SimpleSpamStatus.builder ( ) . setSpam ( isSpam ) . setTimestampMillis ( timestampMillis ) . setSpamMetadata ( com.android.dialer.spam.status.SpamMetadata.empty ( ) ) . build ( ) ; }
Source:
public int previousIndex ( ) { return delegate.previousIndex ( ) ; }

Target:
public java.util.ListIterator < T > listIterator ( final int index ) { return new com.google.common.collect.TransformedListIterator < F , T > ( fromList.listIterator ( index ) ) { @ java.lang.Override T transform ( F from ) { return function.apply ( from ) ; } } ; }
Source:
private void skipArray ( ) { while ( ( descriptor.charAt ( index ) ) == ( proguard.classfile.ClassConstants.INTERNAL_TYPE_ARRAY ) ) { ( index ) ++ ; } }

Target:
private void skipArray ( ) { while ( ( descriptor.charAt ( index ) ) == ( proguard.classfile.ClassConstants.TYPE_ARRAY ) ) { ( index ) ++ ; } }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation cast ) { checkBoxingOrUnboxing ( cast.getExpr ( ) , cast.getCastType ( ) ) ; super . endVisit ( cast ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation cast ) { checkBoxingOrUnboxing ( cast.getExpr ( ) , cast.getType ( ) ) ; super . endVisit ( cast ) ; }
Source:
public final int getInt ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.INT ) ; return this . block.peekInt ( ( ( offset ) + index ) , order ) ; }

Target:
public final int getInt ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.INT ) ; return this . block.peekInt ( ( ( offset ) + index ) , order ) ; }
Source:
public static boolean isPackageSourceName ( @ javax.annotation.Nonnull java.lang.String name ) { return com.android.jack.util.NamingTools.isPackageName ( name.toCharArray ( ) , 0 , name.length ( ) , com.android.jack.util.NamingTools.PACKAGE_SOURCE_SEPARATOR , JLookup.PACKAGE_SEPARATOR ) ; }

Target:
public static boolean isPackageSourceName ( @ javax.annotation.Nonnull java.lang.String name ) { return com.android.jack.util.NamingTools.isClassOrPackageName ( name.toCharArray ( ) , 0 , name.length ( ) , com.android.jack.util.NamingTools.PACKAGE_SOURCE_SEPARATOR , JLookup.PACKAGE_SEPARATOR ) ; }
Source:
public com.android.bluetooth.hfp.HeadsetStateMachine makeStateMachine ( android.bluetooth.BluetoothDevice device , android.os.Looper looper , com.android.bluetooth.hfp.HeadsetService service , com.android.bluetooth.hfp.HeadsetNativeInterface nativeInterface , com.android.bluetooth.hfp.HeadsetSystemInterface systemInterface ) { return com.android.bluetooth.hfp.HeadsetStateMachine.make ( device , looper , service , nativeInterface , systemInterface ) ; }

Target:
public com.android.bluetooth.hfp.HeadsetStateMachine makeStateMachine ( android.bluetooth.BluetoothDevice device , android.os.Looper looper , com.android.bluetooth.hfp.HeadsetService headsetService , com.android.bluetooth.btservice.AdapterService adapterService , com.android.bluetooth.hfp.HeadsetNativeInterface nativeInterface , com.android.bluetooth.hfp.HeadsetSystemInterface systemInterface ) { return com.android.bluetooth.hfp.HeadsetStateMachine.make ( device , looper , headsetService , adapterService , nativeInterface , systemInterface ) ; }
Source:
synchronized void nAllocationRead ( int id , short [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }

Target:
synchronized void nAllocationRead1D ( int id , int off , int mip , int count , java.lang.Object d , int sizeBytes , android.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationRead1D ( mContext , id , off , mip , count , d , sizeBytes , dt.mID ) ; }
Source:
public final void cancel ( ) { mHandler.removeMessages ( android.os.CountDownTimer.MSG ) ; }

Target:
public final synchronized void cancel ( ) { mCancelled = true ; mHandler.removeMessages ( android.os.CountDownTimer.MSG ) ; }
Source:
public void addResolutionIntent ( android.content.Intent extrasIntent , java.lang.String resolutionAction , java.lang.String callingPackage , com.android.internal.telephony.euicc.EuiccOperation op ) { mResolutionAction = resolutionAction ; mOp = op ; }

Target:
public void addResolutionIntent ( android.content.Intent extrasIntent , java.lang.String resolutionAction , java.lang.String callingPackage , boolean retried , com.android.internal.telephony.euicc.EuiccOperation op ) { mResolutionAction = resolutionAction ; mOp = op ; }
Source:
public java.lang.String getName ( ) { try { return file.getCanonicalPath ( ) ; } catch ( java.io.IOException ex ) { return file.getPath ( ) ; } }

Target:
private java.lang.String getUncachedName ( ) { try { return file.getCanonicalPath ( ) ; } catch ( java.io.IOException ex ) { return file.getPath ( ) ; } }
Source:
public static native java.lang.String EVP_PKEY_print_private ( org.conscrypt.NativeRef.EVP_PKEY pkeyRef ) ;

Target:
public static native java.lang.String EVP_PKEY_print_params ( org.conscrypt.NativeRef.EVP_PKEY pkeyRef ) ;
Source:
public void setCallIsAdditional ( boolean isAdditional ) { com.android.server.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting isAdditional for call " + ( callId ) ) + " to " ) + isAdditional ) ) ; this . isAdditionalCall = isAdditional ; }

Target:
public void setCallIsAdditional ( boolean isAdditional ) { android.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting isAdditional for call " + ( callId ) ) + " to " ) + isAdditional ) ) ; this . isAdditionalCall = isAdditional ; }
Source:
public static java.lang.String toASCII ( java.lang.String input , int flags ) { return libcore.icu.NativeIDN.toASCII ( input , flags ) ; }

Target:
public static java.lang.String toASCII ( java.lang.String input , int flags ) { try { return com.ibm.icu.text.IDNA.convertIDNToASCII ( input , flags ) . toString ( ) ; } catch ( java.net.com.ibm e ) { throw new java.lang.IllegalArgumentException ( ( "Invalid input to toASCII: " + input ) , e ) ; } }
Source:
public int getDensity ( ) { return 0 ; }

Target:
public int getDensity ( ) { return iDevice.getDensity ( ) ; }
Source:
com.google.common.util.concurrent.ListenableFuture < java.lang.String > run ( com.google.common.collect.ImmutableList < java.lang.String > args ) ;

Target:
com.google.common.util.concurrent.ListenableFuture < java.lang.String > run ( com.android.dialer.commandline.Arguments args ) throws com.android.dialer.commandline.Command.IllegalCommandLineArgumentException ;
Source:
public java.lang.String getString ( ) { return org.bouncycastle.util.Strings.fromUTF8ByteArray ( string ) ; }

Target:
public java.lang.String getString ( ) { return org.bouncycastle.util.Strings.fromByteArray ( string ) ; }
Source:
public static short checkedCast ( long value ) { short result = ( ( short ) ( value ) ) ; com.google.common.base.Preconditions.checkArgument ( ( result == value ) , "Out of range: %s" , value ) ; return result ; }

Target:
public static short checkedCast ( long value ) { short result = ( ( short ) ( value ) ) ; if ( result != value ) { throw new java.lang.IllegalArgumentException ( ( "Out of range: " + value ) ) ; } return result ; }
Source:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
static char $opt$ShortToChar ( short a ) { return ( ( char ) ( a ) ) ; }

Target:
static double $opt$FloatToDouble ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public java.lang.String getEsn ( ) { return getEsn ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public void setDataNetworkType ( int type ) { int phoneId = getPhoneId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ; setDataNetworkTypeForPhone ( phoneId , type ) ; }