auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static android.icu.impl.TimeZoneNamesImpl.ZNames getInstance ( android.icu.impl.TimeZoneNamesImpl.ZNamesLoader loader , android.icu.impl.ICUResourceBundle zoneStrings , java.lang.String key , java.lang.String tzID ) { return android.icu.impl.TimeZoneNamesImpl.ZNames.getInstance ( loader.load ( zoneStrings , key ) , tzID ) ; }

Target:
void loadTimeZone ( android.icu.impl.ICUResourceBundle zoneStrings , java.lang.String tzID ) { java.lang.String key = tzID.replace ( '/' , ':' ) ; loadNames ( zoneStrings , key ) ; }
Source:
public void testSign_NotGenerated_Failure ( ) throws java.lang.Exception { mKeyStore.password ( android.security.KeyStoreTest.TEST_PASSWD ) ; assertNull ( "Should not be able to sign without first generating keys" , mKeyStore.sign ( android.security.KeyStoreTest.TEST_KEYNAME , android.security.KeyStoreTest.TEST_DATA ) ) ; }

Target:
public void testSign_NotGenerated_Failure ( ) throws java.lang.Exception { mKeyStore.onUserPasswordChanged ( android.security.KeyStoreTest.TEST_PASSWD ) ; assertNull ( "Should not be able to sign without first generating keys" , mKeyStore.sign ( android.security.KeyStoreTest.TEST_KEYNAME , android.security.KeyStoreTest.TEST_DATA ) ) ; }
Source:
public void onServiceConnected ( android.content.ComponentName name , android.os.IBinder service ) { mMiddlewareControl = ICtsMiddlewareControl.Stub.asInterface ( service ) ; bindLatch.countDown ( ) ; }

Target:
public void onServiceConnected ( android.content.ComponentName name , android.os.IBinder service ) { mMiddlewareControl = ICtsStreamingMiddlewareControl.Stub.asInterface ( service ) ; bindLatch.countDown ( ) ; }
Source:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val ) ;

Target:
native long rsnIncElementCreate ( long con , long type , int kind , boolean norm , int vecSize ) ;
Source:
public java.lang.Class < T > getDeclaringClass ( ) { return ( ( java.lang.Class < T > ) ( super . getDeclaringClass ( ) ) ) ; }

Target:
public java.lang.Class < T > getDeclaringClass ( ) { return ( ( java.lang.Class < T > ) ( super . getDeclaringClassInternal ( ) ) ) ; }
Source:
public void testWrongSeparator1 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestWrong.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testWrongSeparator1 ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestWrong.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "apicheck/ApiCallTest.class.data=>bin/classes/foo/bar/ApiCallTest.class" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }
Source:
private static java.io.File createDirectory ( java.lang.String prefix ) throws java.lang.Exception { java.io.File dir = java.io.File.createTempFile ( prefix , "" ) ; assertTrue ( dir.delete ( ) ) ; assertTrue ( dir.mkdir ( ) ) ; return dir ; }

Target:
private static java.io.File createUniqueDirectory ( java.io.File rootDir , java.lang.String prefix ) throws java.lang.Exception { java.io.File dir = java.io.File.createTempFile ( prefix , "" , rootDir ) ; assertTrue ( dir.delete ( ) ) ; assertTrue ( dir.mkdir ( ) ) ; return dir ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.byteToLong ( ) ; Main.charToLong ( ) ; Main.shortToLong ( ) ; Main.intToLong ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.byteToLong ( ) ; Main.shortToLong ( ) ; Main.intToLong ( ) ; Main.charToLong ( ) ; Main.longToInt ( ) ; }
Source:
public void testEndCallWithNoCalls ( ) throws java.lang.Exception { assertFalse ( mTSIBinder.endCall ( ) ) ; }

Target:
public void testEndCallWithNoCalls ( ) throws java.lang.Exception { org.junit.Assert.assertFalse ( mTSIBinder.endCall ( ) ) ; }
Source:
public java.net.InetAddress [ ] resolveInetAddresses ( java.lang.String host ) throws java.net.UnknownHostException { return this . getAllByName ( host ) ; }

Target:
public java.util.List < java.net.InetAddress > lookup ( java.lang.String hostname ) throws java.net.UnknownHostException { return java.util.Arrays.asList ( this . getAllByName ( hostname ) ) ; }
Source:
static short $opt$CharToShort ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }

Target:
static short $opt$noinline$CharToShort ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( short ) ( a ) ) ; }
Source:
public void setup ( ) throws java.lang.Exception { mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mLooper.getLooper ( ) , mClock ) ; }

Target:
public void setup ( ) throws java.lang.Exception { mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mWifiMonitor , mLooper.getLooper ( ) , mClock ) ; }
Source:
private static java.lang.String getJvmArch ( ) { java.lang.String arch = java.lang.System.getProperty ( "os.arch" ) ; return com.android.sdkstats.SdkStatsService.sanitizeOsArch ( arch ) ; }

Target:
protected java.lang.String getJvmArch ( ) { java.lang.String arch = getSystemProperty ( com.android.sdkstats.SdkStatsService.SYS_PROP_OS_ARCH ) ; return sanitizeOsArch ( arch ) ; }
Source:
private void loadPrivatePackages ( final android.os.storage.VolumeInfo vol ) { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { loadPrivatePackagesInner ( vol ) ; } } ) ; }

Target:
private void unloadPrivatePackages ( final android.os.storage.VolumeInfo vol ) { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { unloadPrivatePackagesInner ( vol ) ; } } ) ; }
Source:
static void addModifier ( @ javax.annotation.Nonnull com.android.jack.shrob.spec.ModifierSpecification modSpec , int modifier , boolean hasNegator ) { modSpec.addModifier ( modifier , hasNegator ) ; }

Target:
static void addModifier ( @ javax.annotation.Nonnull com.android.jack.shrob.spec.ModifierSpecification modSpec , @ javax.annotation.Nonnull com.android.jack.shrob.spec.ModifierSpecification.Modifier modifier , boolean hasNegator ) { modSpec.addModifier ( modifier , hasNegator ) ; }
Source:
public android.graphics.Bitmap getBitmapWithDrmCheck ( ) throws android.drm.mobile1.DrmException { return internalGetBitmap ( getUriWithDrmCheck ( ) ) ; }

Target:
public com.android.mms.util.ItemLoadedFuture loadThumbnailBitmap ( com.android.mms.util.ItemLoadedCallback callback ) { com.android.mms.util.ThumbnailManager thumbnailManager = com.android.mms.MmsApp.getApplication ( ) . getThumbnailManager ( ) ; mItemLoadedFuture = thumbnailManager.getThumbnail ( getUri ( ) , callback ) ; return mItemLoadedFuture ; }
Source:
public static void computeSinpi ( android.renderscript.cts.TestSinpi.ArgumentsFloatFloat args ) { args.ulf = 4096 ; args.ulfRelaxed = 4096 ; args.out = ( ( float ) ( java.lang.StrictMath.sin ( ( ( args.in ) * ( java.lang.StrictMath.PI ) ) ) ) ) ; }

Target:
public static void computeRemainder ( android.renderscript.cts.TestRemainder.ArgumentsFloatFloatFloat args ) { args.ulf = 64 ; args.ulfRelaxed = 128 ; args.out = android.renderscript.cts.CoreMathVerifier.remainderAndQuotient ( args.inX , args.inY ) . remainder ; }
Source:
public static sun.security.util.Cache newHardMemoryCache ( int size , int timeout ) { return new sun.security.util.MemoryCache ( false , size , timeout ) ; }

Target:
public static < K , V > sun.security.util.Cache < K , V > newHardMemoryCache ( int size , int timeout ) { return new sun.security.util.MemoryCache < > ( false , size , timeout ) ; }
Source:
public void run ( ) { mActivity.setContentView ( tv ) ; tv.setSingleLine ( true ) ; tv.setText ( android.text.method.cts.TouchTest.LONG_TEXT ) ; }

Target:
public void run ( ) { mActivity.setContentView ( tv ) ; tv.setSingleLine ( true ) ; tv.setText ( finalText ) ; }
Source:
public static void assertOnUiThread ( ) { assert org.chromium.base.ThreadUtils.runningOnUiThread ( ) ; }

Target:
public static void assertOnUiThread ( ) { if ( ( BuildConfig.DCHECK_IS_ON ) && ( ! ( org.chromium.base.ThreadUtils.runningOnUiThread ( ) ) ) ) { throw new java.lang.IllegalStateException ( "Must be called on the Ui thread." ) ; } }
Source:
public void compileAidl ( @ com.android.annotations.NonNull java.util.List < java.io.File > sourceFolders , @ com.android.annotations.NonNull java.io.File sourceOutputDir ) throws java.io.IOException , java.lang.InterruptedException { compileAidl ( sourceFolders , sourceOutputDir , mVariant.getAidlImports ( ) ) ; }

Target:
public void compileAidl ( @ com.android.annotations.NonNull java.util.List < java.io.File > sourceFolders , @ com.android.annotations.NonNull java.io.File sourceOutputDir ) throws java.io.IOException , java.lang.InterruptedException { com.google.common.base.Preconditions.checkState ( ( ( mVariant ) != null ) , "No Variant Configuration has been set." ) ; compileAidl ( sourceFolders , sourceOutputDir , mVariant.getAidlImports ( ) ) ; }
Source:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setRemoteDevice ( android.bluetooth.BluetoothDevice device ) { this . device = device ; return this ; }

Target:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setRemoteDevice ( android.bluetooth.BluetoothDevice device ) { this . mDevice = device ; return this ; }
Source:
public void visitTypeInsn ( int opcode , java.lang.String type ) { printer.visitTypeInsn ( opcode , type ) ; printTypeOfOperandStack ( ) ; super . visitTypeInsn ( opcode , type ) ; }

Target:
public void visitVarInsn ( int opcode , int var ) { printer.visitVarInsn ( opcode , var ) ; printTypeOfOperandStackTop ( ) ; super . visitVarInsn ( opcode , var ) ; }
Source:
private static void setIntField ( final org.jetbrains.asm4.commons.GeneratorAdapter generator , final int local , final java.lang.String fieldName , final int value ) { generator.loadLocal ( local ) ; generator.push ( value ) ; generator.putField ( com.intellij.uiDesigner.compiler.GridBagLayoutCodeGenerator.ourGridBagConstraintsType , fieldName , Type.INT_TYPE ) ; }

Target:
private static void setIntField ( final org.jetbrains.org.objectweb.asm.commons.GeneratorAdapter generator , final int local , final java.lang.String fieldName , final int value ) { generator.loadLocal ( local ) ; generator.push ( value ) ; generator.putField ( com.intellij.uiDesigner.compiler.GridBagLayoutCodeGenerator.ourGridBagConstraintsType , fieldName , Type.INT_TYPE ) ; }
Source:
public void onResume ( ) { super . onResume ( ) ; updateTrackInfo ( ) ; setPauseButtonImage ( ) ; }

Target:
public void onResume ( ) { com.android.music.utils.LogHelper.d ( com.android.music.MediaPlaybackActivity.TAG , "onResume()" ) ; super . onResume ( ) ; updateTrackInfo ( ) ; setPauseButtonImage ( ) ; }
Source:
public native void setChar ( java.lang.Object object , char value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native char getChar ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
void addWarning ( java.lang.String msg ) { add ( msg ) ; }

Target:
void addWarning ( java.lang.String msg ) { if ( ( level ) < ( com.android.libcore.timezone.tzlookup.Errors.LEVEL_WARNING ) ) { level = com.android.libcore.timezone.tzlookup.Errors.LEVEL_WARNING ; } add ( msg ) ; }
Source:
public void testInstallV1OneSignerSHA1withDSA ( ) throws java.lang.Exception { assertInstallSucceedsForEach ( "v1-only-with-dsa-sha1-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.DSA_KEY_NAMES ) ; }

Target:
public void testInstallV1OneSignerSHA1withDSA ( ) throws java.lang.Exception { assertInstallSucceedsForEach ( "v1-only-with-dsa-sha1-1.2.840.10040.4.1-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.DSA_KEY_NAMES ) ; assertInstallSucceedsForEach ( "v1-only-with-dsa-sha1-1.2.840.10040.4.3-%s.apk" , android.appsecurity.cts.PkgInstallSignatureVerificationTest.DSA_KEY_NAMES ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.TestUninitializedCallSite ( ) ; Main.TestLinkerMethodMinimalArguments ( ) ; Main.TestLinkerMethodMultipleArgumentTypes ( ) ; TestLinkerUnrelatedBSM.test ( ) ; Main.TestInvokeCustomWithConcurrentThreads ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.TestUninitializedCallSite ( ) ; Main.TestLinkerMethodMinimalArguments ( ) ; Main.TestLinkerMethodMultipleArgumentTypes ( ) ; TestLinkerUnrelatedBSM.test ( ) ; Main.TestInvokeCustomWithConcurrentThreads ( ) ; TestInvocationKinds.test ( ) ; }
Source:
private int getDexFlags ( android.content.pm.PackageParser.Package pkg , java.lang.String compilerFilter , boolean bootComplete ) { return getDexFlags ( pkg.applicationInfo , compilerFilter , bootComplete ) ; }

Target:
private int getDexFlags ( android.content.pm.PackageParser.Package pkg , java.lang.String compilerFilter , com.android.server.pm.dex.DexoptOptions options ) { return getDexFlags ( pkg.applicationInfo , compilerFilter , options ) ; }
Source:
public void testHasPolicyRuleFlag_OutOfBounds ( ) { android.telephony.euicc.EuiccRulesAuthTable rat = new android.telephony.euicc.EuiccRulesAuthTable.Builder ( 1 ) . add ( 0 , new android.service.carrier.CarrierIdentifier [ ] { } , 0 ) . build ( ) ; rat.hasPolicyRuleFlag ( 1 , EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED ) ; }

Target:
public void testHasPolicyRuleFlag_OutOfBounds ( ) { android.telephony.euicc.EuiccRulesAuthTable rat = new android.telephony.euicc.EuiccRulesAuthTable.Builder ( 1 ) . add ( 0 , java.util.Arrays.asList ( new android.service.carrier.CarrierIdentifier [ ] { } ) , 0 ) . build ( ) ; rat.hasPolicyRuleFlag ( 1 , EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED ) ; }
Source:
public static int NotEqualFalseLhs ( boolean arg ) { return false == arg ? 3 : 5 ; }

Target:
public static int intReverseCondition ( int i ) { return 42 > i ? 13 : 54 ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mResources = mContext.getResources ( ) ; mReportLog = new android.cts.util.DeviceReportLog ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mVerifyResults = true ; mResources = mContext.getResources ( ) ; mReportLog = new android.cts.util.DeviceReportLog ( ) ; }
Source:
public com.android.sched.vfs.VPath getVPathPrefix ( ) { return vpathPrefix ; }

Target:
private com.android.sched.vfs.VPath getPathWithPrefix ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath vpath ) { com.android.sched.vfs.VPath clonedPath = vpath.clone ( ) ; clonedPath.prependPath ( vpathPrefix ) ; return clonedPath ; }
Source:
public int getDataNetworkType ( ) { return getDataNetworkType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public java.lang.String getNetworkSpecifier ( ) { return java.lang.String.valueOf ( getSubId ( ) ) ; }
Source:
public final void testGetDropIdMap ( ) { com.android.ide.common.layout.BaseLayout baseLayout = new com.android.ide.common.layout.BaseLayout ( ) ; com.android.ide.common.api.IDragElement [ ] elements = createSampleElements ( ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) . add ( com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button2" ) ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > idMap = baseLayout.getDropIdMap ( node , elements , true ) ; assertContainsSame ( java.util.Arrays.asList ( "@+id/Button01" , "@+id/Button012" , "@+id/Button011" , "@id/Button012" , "@+id/Button02" , "@+id/LinearLayout01" ) , idMap.keySet ( ) ) ; }

Target:
public final void testGetDropIdMap ( ) { com.android.ide.common.layout.BaseLayoutRule baseLayout = new com.android.ide.common.layout.BaseLayoutRule ( ) ; com.android.ide.common.api.IDragElement [ ] elements = createSampleElements ( ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) . add ( com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button2" ) ) ; java.util.Map < java.lang.String , com.android.ide.common.layout.Pair < java.lang.String , java.lang.String > > idMap = baseLayout.getDropIdMap ( node , elements , true ) ; assertContainsSame ( java.util.Arrays.asList ( "@+id/Button01" , "@+id/Button012" , "@+id/Button011" , "@id/Button012" , "@+id/Button02" , "@+id/LinearLayout01" ) , idMap.keySet ( ) ) ; }
Source:
private static void log ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.SmsUsageMonitor.TAG , msg ) ; }

Target:
private static void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.SmsUsageMonitor.TAG , msg ) ; }
Source:
public boolean connectToNetwork ( android.net.wifi.WifiConfiguration configuration , boolean shouldDisconnect ) { return mWifiSupplicantControl.connectToNetwork ( configuration , shouldDisconnect ) ; }

Target:
public boolean connectToNetwork ( android.net.wifi.WifiConfiguration configuration , boolean shouldDisconnect ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.connectToNetwork ( configuration , shouldDisconnect ) ; } else { return mWifiSupplicantControl.connectToNetwork ( configuration , shouldDisconnect ) ; } }
Source:
public void onStop ( ) { super . onStop ( ) ; if ( ( mSettingsObserver ) != null ) { mContentQueryMap.deleteObserver ( mSettingsObserver ) ; } }

Target:
public void onStop ( ) { super . onStop ( ) ; if ( ( mSettingsObserver ) != null ) { mContentQueryMap.deleteObserver ( mSettingsObserver ) ; } mContentQueryMap.close ( ) ; }
Source:
public java.lang.Boolean connectivityCheckAirplaneMode ( ) { try { return ( android.provider.Settings.System.getInt ( mService.getContentResolver ( ) , android.provider.Settings.Global.AIRPLANE_MODE_ON ) ) == ( com.googlecode.android_scripting.facade.ConnectivityManagerFacade.AIRPLANE_MODE_ON ) ; } catch ( android.provider.Settings.SettingNotFoundException e ) { return false ; } }

Target:
public java.lang.Boolean connectivityCheckAirplaneMode ( ) { try { return ( Settings.Global.getInt ( mService.getContentResolver ( ) , Settings.Global.AIRPLANE_MODE_ON ) ) == ( com.googlecode.android_scripting.facade.ConnectivityManagerFacade.AIRPLANE_MODE_ON ) ; } catch ( android.provider.Settings e ) { com.googlecode.android_scripting.Log.e ( "Settings.Global.AIRPLANE_MODE_ON not found!" ) ; return false ; } }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt , int mSize , boolean usePadding ) ;
Source:
private boolean cacheIsNotValid ( ) { return ( pinFile.lastModified ( ) ) != ( lastModified ) ; }

Target:
private boolean isCacheValid ( ) { return ( pinFile.lastModified ( ) ) == ( lastModified ) ; }
Source:
public static native int nativeForkAndSpecialize_new ( int uid , int gid , int [ ] gids , int debugFlags , int [ ] [ ] rlimits , int mountExternal , java.lang.String seInfo , java.lang.String niceName , int [ ] fdsToClose ) ;

Target:
public static native int nativeForkAndSpecialize ( int uid , int gid , int [ ] gids , int debugFlags , int [ ] [ ] rlimits , int mountExternal , java.lang.String seInfo , java.lang.String niceName , int [ ] fdsToClose ) ;
Source:
public com.android.build.gradle.api.GroupableProductFlavor getProductFlavor ( @ com.android.annotations.NonNull com.android.build.gradle.api.GroupableProductFlavor productFlavor ) { com.android.build.gradle.api.GroupableProductFlavor readOnlyProductFlavor = readOnlyFlavors.get ( productFlavor ) ; if ( readOnlyProductFlavor == null ) { readOnlyFlavors.put ( productFlavor , ( readOnlyProductFlavor = new com.android.build.gradle.internal.api.ReadOnlyGroupableProductFlavor ( productFlavor , this ) ) ) ; } return readOnlyProductFlavor ; }

Target:
public com.android.builder.model.ProductFlavor getProductFlavor ( @ com.android.annotations.NonNull com.android.builder.model.ProductFlavor productFlavor ) { com.android.builder.model.ProductFlavor readOnlyProductFlavor = readOnlyFlavors.get ( productFlavor ) ; if ( readOnlyProductFlavor == null ) { readOnlyFlavors.put ( productFlavor , ( readOnlyProductFlavor = new com.android.build.gradle.internal.api.ReadOnlyProductFlavor ( productFlavor , this ) ) ) ; } return readOnlyProductFlavor ; }
Source:
private static native long nativeGetIfaceStat ( java.lang.String iface , int type ) ;

Target:
private static native long nativeGetUidStat ( int uid , int type , boolean useBpfStats ) ;
Source:
public void onLoadFinished ( android.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { mAdapter.swapCursor ( data ) ; }

Target:
public void onLoadFinished ( android.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { mAdapter.swapCursor ( data ) ; getActivity ( ) . invalidateOptionsMenu ( ) ; }
Source:
public android.content.Intent getSetPinIntent ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { return new android.content.Intent ( android.telephony.TelephonyManager.ACTION_CONFIGURE_VOICEMAIL ) ; }

Target:
public android.content.Intent getSetPinIntent ( android.content.Context context , android.telecom.PhoneAccountHandle phoneAccountHandle ) { android.content.Intent intent = new android.content.Intent ( android.telephony.TelephonyManager.ACTION_CONFIGURE_VOICEMAIL ) ; intent.putExtra ( TelephonyManager.EXTRA_PHONE_ACCOUNT_HANDLE , phoneAccountHandle ) ; return intent ; }
Source:
public long getIfaceStats ( java.lang.String iface , int type ) { android.util.Slog.w ( com.android.server.net.NetworkStatsService.TAG , "calling native method from Stats Service" ) ; return com.android.server.net.NetworkStatsService.nativeGetIfaceStat ( iface , type ) ; }

Target:
public long getUidStats ( int uid , int type ) { return com.android.server.net.NetworkStatsService.nativeGetUidStat ( uid , type , checkBpfStatsEnable ( ) ) ; }
Source:
protected com.android.sdkuilib.internal.repository.SettingsController initSettingsController ( ) { return com.android.sdkuilib.internal.repository.MockUpdaterData.createSettingsController ( getSdkLog ( ) ) ; }

Target:
protected com.android.sdkuilib.internal.repository.SettingsController initSettingsController ( ) { return com.android.sdkuilib.internal.repository.MockSwtUpdaterData.createSettingsController ( getSdkLog ( ) ) ; }
Source:
public java.net.InetAddress [ ] lookupAllHostAddr ( java.lang.String host ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host ) ; }

Target:
public static java.net.InetAddress [ ] getAllByName ( java.lang.String host ) throws java.net.UnknownHostException { return java.net.InetAddress.impl.lookupAllHostAddr ( host , java.net.InetAddress.NETID_UNSET ) ; }
Source:
public int hashCode ( ) { com.android.sdklib.resources.ResourceEnum value = getEnumValue ( ) ; if ( value != null ) { return value.hashCode ( ) ; } return 0 ; }

Target:
public int hashCode ( ) { com.android.resources.ResourceEnum value = getEnumValue ( ) ; if ( value != null ) { return value.hashCode ( ) ; } return 0 ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , short [ ] data ) { validateIsInt16 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copy2DRangeTo ( int xoff , int yoff , int w , int h , short [ ] data ) { validateIsInt16 ( ) ; copy2DRangeToUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_16 , data.length ) ; }
Source:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { return true ; }

Target:
public boolean onSurfaceTextureDestroyed ( android.graphics.SurfaceTexture surface ) { mPreviewTexture = null ; return true ; }
Source:
protected void setXmlNode ( org.w3c.dom.Node xml_node ) { mXmlNode = xml_node ; }

Target:
protected void setXmlNode ( org.w3c.dom.Node xmlNode ) { mXmlNode = xmlNode ; }
Source:
public void setUp ( ) { TEST_12_30_40_987654321 = java.time.LocalTime.of ( 12 , 30 , 40 , 987654321 ) ; }

Target:
public static void setUp ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 = java.time.LocalTime.of ( 12 , 30 , 40 , 987654321 ) ; }
Source:
public boolean shouldOverrideUrlLoading ( android.webkit.WebView webView , java.lang.String url ) { return false ; }

Target:
public boolean shouldOverrideUrlLoading ( android.webkit.WebView webView , java.lang.String url ) { if ( ( url.startsWith ( "about:" ) ) || ( url.startsWith ( "chrome:" ) ) ) { return false ; } return org.chromium.webview_shell.WebViewBrowserActivity.startBrowsingIntent ( this , url ) ; }
Source:
public void testGetServiceStateForSubId ( ) { verifyServiceStateForSubId ( 1 , testServiceStateForSubId1 ) ; }

Target:
public void testGetServiceStateForSubId ( ) { verifyServiceStateForSubId ( ServiceStateTable.getUriForSubscriptionId ( 1 ) , testServiceStateForSubId1 ) ; }
Source:
public void addNotifyStatusChangedCallback ( android.telephony.ims.ImsServiceProxy.INotifyStatusChanged c ) { if ( c != null ) { mStatusCallbacks.add ( c ) ; } }

Target:
public void addNotifyStatusChangedCallbackIfAvailable ( android.telephony.ims.ImsServiceProxy.INotifyStatusChanged c ) throws com.android.ims.ImsException { if ( ! ( mImsServiceProxy.isBinderAlive ( ) ) ) { throw new com.android.ims.ImsException ( "Binder is not active!" , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } if ( c != null ) { mStatusCallbacks.add ( c ) ; } }
Source:
public static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService ( java.util.concurrent.ScheduledThreadPoolExecutor executor ) { return com.google.common.util.concurrent.MoreExecutors.getExitingScheduledExecutorService ( executor , 120 , java.util.concurrent.TimeUnit.SECONDS ) ; }

Target:
public static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService ( java.util.concurrent.ScheduledThreadPoolExecutor executor ) { return new com.google.common.util.concurrent.MoreExecutors.Application ( ) . getExitingScheduledExecutorService ( executor ) ; }
Source:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.Collection < java.io.File > sourceEntries ) { options.setInputSources ( sourceEntries ) ; }

Target:
public void setSourceEntries ( @ javax.annotation.Nonnull java.util.Collection < java.io.File > sourceEntries ) { options.setInputSources ( com.android.jack.api.v04.impl.Api04ConfigImpl.manageFilesCharsetAsList ( sourceEntries ) ) ; }
Source:
public float readFloat ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_FLOAT ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return java.lang.Float.intBitsToFloat ( com.android.dx.util.EncodedValueUtils.readUnsignedInt ( in , arg , true ) ) ; }

Target:
public float readFloat ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_FLOAT ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return java.lang.Float.intBitsToFloat ( com.android.dex.EncodedValueCodec.readUnsignedInt ( in , arg , true ) ) ; }
Source:
private boolean hasConnectedClassicDevices ( ) { return ( ! ( mA2dpConnectedDevices.isEmpty ( ) ) ) || ( ! ( mHfpConnectedDevices.isEmpty ( ) ) ) ; }

Target:
android.bluetooth.BluetoothDevice getHfpActiveDevice ( ) { return mHfpActiveDevice ; }
Source:
public void test36_uses_sdk_targetsdk_warning ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
protected void runTest ( ) throws java.lang.Throwable { java.lang.String testName = getName ( ) ; assertNotNull ( testName ) ; processTestFiles ( loadTestData ( testName ) ) ; }
Source:
public java.lang.Object createStaticService ( ) { android.os.IBinder b = android.os.ServiceManager.getService ( android.app.ALARM_SERVICE ) ; android.app.IAlarmManager service = IAlarmManager.Stub.asInterface ( b ) ; return new android.app.AlarmManager ( service ) ; }

Target:
public java.lang.Object createService ( android.app.ContextImpl ctx ) { android.os.IBinder b = android.os.ServiceManager.getService ( android.app.ALARM_SERVICE ) ; android.app.IAlarmManager service = IAlarmManager.Stub.asInterface ( b ) ; return new android.app.AlarmManager ( service , ctx ) ; }
Source:
public int getNetworkId ( ) { return this . mNetworkId ; }

Target:
public int getCdmaNetworkId ( ) { return this . mNetworkId ; }
Source:
public static native long getDSAPrivateKeyWrapper ( java.security.interfaces.DSAPrivateKey key ) ;

Target:
public static long getDSAPrivateKeyWrapper ( java.security.interfaces.DSAPrivateKey key ) { throw new java.lang.RuntimeException ( "DSA keys are not supported" ) ; }
Source:
void expectAvailableAndValidatedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; expectCapabilitiesWith ( android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED , agent ) ; }

Target:
void expectAvailableAndSuspendedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent , boolean expectValidated ) { expectAvailableCallbacks ( agent , true , expectValidated , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
public void testE4 ( ) { dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_11 t = new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_11 ( ) ; try { t.run ( ) ; fail ( "expected IncompatibleClassChangeError" ) ; } catch ( java.lang.IncompatibleClassChangeError e ) { } }

Target:
public void testE5 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_12" , java.lang.UnsatisfiedLinkError.class , new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; }
Source:
public java.lang.Integer wifiNanSubscribe ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "callbackId" ) java.lang.Integer callbackId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "subscribeConfig" ) org.json.JSONObject subscribeConfig ) throws android.os.RemoteException , org.json.JSONException { int sessionId = getNextSessionId ( ) ; mMgr.subscribe ( com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getSubscribeConfig ( subscribeConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanDiscoverySessionCallbackPostsEvents ( callbackId , sessionId ) ) ; return sessionId ; }

Target:
public java.lang.Integer wifiNanConnect ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "nanConfig" ) org.json.JSONObject nanConfig ) throws android.os.RemoteException , org.json.JSONException { synchronized ( mLock ) { int sessionId = getNextSessionId ( ) ; mMgr.connect ( null , com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getConfigRequest ( nanConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanEventCallbackPostsEvents ( sessionId ) ) ; return sessionId ; } }
Source:
public static native void EVP_MD_CTX_destroy ( int ctx ) ;

Target:
public static native int EVP_MD_block_size ( long evp_md ) ;
Source:
private static native int lastImpl ( int address , java.lang.String text ) ;

Target:
private static synchronized native int followingImpl ( int address , java.lang.String text , int offset ) ;
Source:
protected void launchActivityOnDisplay ( java.lang.String targetActivityName , int displayId ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId ) ) ; }

Target:
protected void launchActivityOnDisplay ( java.lang.String targetActivityName , int displayId ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId ) ) ; mAmWmState.waitForValidState ( mDevice , targetActivityName ) ; }
Source:
protected void onCreate ( android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; }

Target:
public void onSystemUiVisibilityChange ( int visibility ) { setImmersiveSticky ( ) ; }
Source:
public void checkValidity ( ) { if ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JDefinedClassOrInterface ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JDefinedClassOrInterface ) ) && ( ! ( ( parent ) instanceof com.android.jack.ir.ast.JLambda ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( mBuildConfigFields , mResValues , mProguardFiles , mConsumerProguardFiles , mManifestPlaceholders , mMultiDexEnabled , mMultiDexKeepFile , mMultiDexKeepProguard ) ; }

Target:
public int hashCode ( ) { return com.google.common.base.Objects.hashCode ( mBuildConfigFields , mResValues , mProguardFiles , mConsumerProguardFiles , mManifestPlaceholders , mMultiDexEnabled , mMultiDexKeepFile , mMultiDexKeepProguard , mJarJarRuleFiles ) ; }
Source:
public static void $opt$setObjectField ( Main m ) { m.objectField = null ; }

Target:
public static void $opt$noinline$setObjectField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } m.objectField = null ; }
Source:
private void selectFilterAt ( final int index ) { mFiltersTableViewer.refresh ( ) ; mFiltersTableViewer.getTable ( ) . setSelection ( index ) ; filterSelectionChanged ( ) ; }

Target:
private void selectFilterAt ( final int index ) { mFiltersTableViewer.refresh ( ) ; if ( index != ( mFiltersTableViewer.getTable ( ) . getSelectionIndex ( ) ) ) { mFiltersTableViewer.getTable ( ) . setSelection ( index ) ; filterSelectionChanged ( ) ; } }
Source:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessExecutor processExecutor , @ com.android.annotations.Nullable java.io.File splitSelectExe , @ com.android.annotations.NonNull com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider ) throws com.android.ide.common.process.ProcessException ;

Target:
com.google.common.collect.ImmutableList < java.io.File > getTestedApks ( @ com.android.annotations.NonNull com.android.ide.common.process.ProcessExecutor processExecutor , @ com.android.annotations.Nullable java.io.File splitSelectExe , @ com.android.annotations.NonNull com.android.builder.testing.api.DeviceConfigProvider deviceConfigProvider , com.android.utils.ILogger logger ) throws com.android.ide.common.process.ProcessException ;
Source:
private void setAppliedVersion ( int version ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; android.content.SharedPreferences.Editor editor = sp.edit ( ) ; editor.putInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_PREF_KEY , version ) ; editor.apply ( ) ; }

Target:
private void setAppliedVersion ( int version ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; android.content.SharedPreferences.Editor editor = sp.edit ( ) ; editor.putInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_KEY , version ) ; editor.apply ( ) ; }
Source:
public void generateComponentLayout ( final com.intellij.uiDesigner.lw.LwComponent lwComponent , final org.jetbrains.asm4.commons.GeneratorAdapter generator , final int componentLocal , final int parentLocal ) { generator.loadLocal ( parentLocal ) ; generator.loadLocal ( componentLocal ) ; generator.invokeVirtual ( myScrollPaneType , mySetViewportViewMethod ) ; }

Target:
public void generateComponentLayout ( final com.intellij.uiDesigner.lw.LwComponent lwComponent , final org.jetbrains.org.objectweb.asm.commons.GeneratorAdapter generator , final int componentLocal , final int parentLocal ) { generator.loadLocal ( parentLocal ) ; generator.loadLocal ( componentLocal ) ; generator.invokeVirtual ( myScrollPaneType , mySetViewportViewMethod ) ; }
Source:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return mDelegate.getJavaParser ( ) ; }

Target:
public com.android.tools.lint.client.api.XmlParser getXmlParser ( ) { return mDelegate.getXmlParser ( ) ; }
Source:
public void testVerify ( ) { assertTrue ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=imap.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=imap2.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "cn=sub.imap.g.com" ) ) ) ; }

Target:
public void testVerify_matchesAltNameButNotCommonName ( ) { assertTrue ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "Common Name" ) . addSubjectAlternativeName ( libcore.javax.net.ssl.DefaultHostnameVerifierTest.ALT_DNS_NAME , "imap.g.com" ) ) ) ; assertFalse ( verifyWithServerCertificate ( "imap.g.com" , new libcore.javax.net.ssl.DefaultHostnameVerifierTest.StubX509Certificate ( "imap.g.com" ) . addSubjectAlternativeName ( libcore.javax.net.ssl.DefaultHostnameVerifierTest.ALT_DNS_NAME , "example.com" ) ) ) ; }
Source:
public void commit ( ) { for ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode ui_attr : getInternalUiAttributes ( ) . values ( ) ) { ui_attr.commit ( ) ; } for ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode ui_attr : mUnknownUiAttributes ) { ui_attr.commit ( ) ; } }

Target:
public void commit ( ) { for ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode uiAttr : getInternalUiAttributes ( ) . values ( ) ) { uiAttr.commit ( ) ; } for ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode uiAttr : mUnknownUiAttributes ) { uiAttr.commit ( ) ; } }
Source:
static int $opt$LongLiteralToInt ( ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( 42L ) ) ; }

Target:
static int $opt$noinline$LongLiteralToInt ( ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( 42L ) ) ; }
Source:
static com.android.ddmlib.MonitorThread getInstance ( ) { return com.android.ddmlib.MonitorThread.mInstance ; }

Target:
static com.android.ddmlib.MonitorThread getInstance ( ) { return com.android.ddmlib.MonitorThread.sInstance ; }
Source:
public java.util.Enumeration < java.lang.String > getKeys ( ) { java.util.ResourceBundle parent = this . parent ; return new sun.util.ResourceBundleEnumeration ( handleGetKeys ( ) , ( parent != null ? parent.getKeys ( ) : null ) ) ; }

Target:
public java.util.Enumeration < java.lang.String > getKeys ( ) { java.util.ResourceBundle parentBundle = this . parent ; return new sun.util.ResourceBundleEnumeration ( handleKeySet ( ) , ( parentBundle != null ? parentBundle.getKeys ( ) : null ) ) ; }
Source:
private void clearDataSet ( ) { mLabel.setText ( "" ) ; mDataset.clear ( ) ; }

Target:
private void clearDataSet ( ) { mLabel.setText ( "" ) ; mDataset.clear ( ) ; mBarDataSet.clear ( ) ; }
Source:
public void testAttrWithoutSlash ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:7: Error: ?android:dividerHorizontal requires API level 11 (current min is 1) [NewApi]\n" + " android:divider=\"?android:dividerHorizontal\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }

Target:
public void testUnusedShowDividers ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:9: Warning: Attribute \"showDividers\" is only used in API level 11 and higher (current min is 1) [UnusedAttribute]\n" + " android:showDividers=\"middle\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }
Source:
public void test_RSA_public_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_public_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; fail ( "Expecting null pointer exception for RSA_public encrypt with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_public_encrypt_NullArgumentFailure ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.RSA_public_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; }
Source:
public static native void ensureHasOsrCode ( ) ;

Target:
public static native boolean isInOsrCode ( java.lang.String methodName ) ;
Source:
public void updateWifiLockWorkSource ( android.os.IBinder binder , android.os.WorkSource ws ) { mWifiLockManager.updateWifiLockWorkSource ( binder , ws ) ; }

Target:
public void updateWifiLockWorkSource ( android.os.IBinder binder , android.os.WorkSource ws ) { mLog.trace ( "updateWifiLockWorkSource uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; mWifiLockManager.updateWifiLockWorkSource ( binder , ws ) ; }
Source:
public void test_toLanguageTag_largerTag ( ) { java.util.Locale posix = new java.util.Locale.Builder ( ) . setLanguage ( "en" ) . setRegion ( "US" ) . setVariant ( "POSIX" ) . build ( ) ; assertEquals ( "en-US-u-va-posix" , posix.toLanguageTag ( ) ) ; }

Target:
public void test_toLanguageTag_largerTag ( ) { java.util.Locale posix = new java.util.Locale.Builder ( ) . setLanguage ( "en" ) . setRegion ( "US" ) . setVariant ( "POSIX" ) . build ( ) ; assertEquals ( "en-US-POSIX" , posix.toLanguageTag ( ) ) ; }
Source:
private static java.io.FileInputStream executeStreamedShellCommand ( android.app.Instrumentation instrumentation , java.lang.String command ) throws java.lang.Exception { final android.os.ParcelFileDescriptor pfd = instrumentation.getUiAutomation ( ) . executeShellCommand ( command ) ; return new java.io.FileInputStream ( pfd.getFileDescriptor ( ) ) ; }

Target:
private static java.io.FileInputStream executeStreamedShellCommand ( android.app.Instrumentation instrumentation , java.lang.String command ) throws java.lang.Exception { final android.os.ParcelFileDescriptor pfd = instrumentation.getUiAutomation ( ) . executeShellCommand ( command ) ; return new android.os.ParcelFileDescriptor.AutoCloseInputStream ( pfd ) ; }
Source:
public android.content.ComponentName getCallingActivity ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.HistoryRecord r = getCallingRecordLocked ( token ) ; return r != null ? r.intent.getComponent ( ) : null ; } }

Target:
public android.content.ComponentName getCallingActivity ( android.os.IBinder token ) { synchronized ( this ) { com.android.server.am.ActivityRecord r = getCallingRecordLocked ( token ) ; return r != null ? r.intent.getComponent ( ) : null ; } }
Source:
public void setText ( java.lang.String text ) { if ( ( mTextViewFocused ) != null ) { mTextViewFocused.setText ( text ) ; } if ( ( mTextView ) != null ) { mTextView.setText ( text ) ; } }

Target:
public void setText ( java.lang.String text ) { if ( ( mTextViewFocused ) != null ) { mTextViewFocused.setText ( text ) ; } if ( ( mTextView ) != null ) { mTextView.setText ( text ) ; } onTextViewUpdated ( ) ; }
Source:
public static com.android.build.gradle.integration.common.utils.ApkHelper.VersionData of ( int code ) { return com.android.build.gradle.integration.common.utils.ApkHelper.VersionData.of ( code , null ) ; }

Target:
public static void checkVersionName ( @ com.android.annotations.NonNull java.io.File apk , @ org.gradle.api.Nullable java.lang.String name ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { com.android.build.gradle.integration.common.utils.ApkHelper.checkVersion ( apk , null , name ) ; }
Source:
public void addChild ( V e ) { children.add ( e ) ; e.setParent ( getThis ( ) ) ; }

Target:
public final void addChild ( V e ) { if ( ( e.getParent ( ) ) != null ) { throw new java.lang.IllegalStateException ( "Node already attached" ) ; } children.add ( e ) ; e.setParent ( getThis ( ) ) ; }
Source:
com.android.build.gradle.internal.variant.BaseVariantData createVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantConfiguration variantConfiguration ) ;

Target:
T createVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantConfiguration variantConfiguration , @ com.android.annotations.NonNull java.util.Set < java.lang.String > densities , @ com.android.annotations.NonNull java.util.Set < java.lang.String > abis ) ;
Source:
private static org.conscrypt.OpenSSLKey wrapPlatformKey ( java.security.interfaces.ECPrivateKey ecPrivateKey , org.conscrypt.OpenSSLECGroupContext group ) throws java.security.InvalidKeyException { return new org.conscrypt.OpenSSLKey ( org.conscrypt.NativeCrypto.getECPrivateKeyWrapper ( ecPrivateKey , group.getContext ( ) ) , true ) ; }

Target:
private static org.conscrypt.OpenSSLKey wrapPlatformKey ( java.security.interfaces.ECPrivateKey ecPrivateKey , org.conscrypt.OpenSSLECGroupContext group ) throws java.security.InvalidKeyException { return new org.conscrypt.OpenSSLKey ( org.conscrypt.NativeCrypto.getECPrivateKeyWrapper ( ecPrivateKey , group.getNativeRef ( ) ) , true ) ; }
Source:
private void stop ( ) { if ( mStarted ) { mStarted = false ; onStop ( ) ; mPrinters.clear ( ) ; } }

Target:
private void stop ( ) { if ( mStarted ) { mStarted = false ; onStop ( ) ; mPrinters.clear ( ) ; mHandler.removeCallbacksAndMessages ( null ) ; } }
Source:
public final boolean equals ( java.lang.Object obj ) { return ( obj instanceof com.android.jack.library.OutputLibraryLocation ) && ( ( ( com.android.jack.library.OutputLibraryLocation ) ( obj ) ) . getOutputLibrary ( ) . equals ( getOutputLibrary ( ) ) ) ; }

Target:
public java.lang.String getDescription ( ) { return getVFSLocation ( ) . getDescription ( ) ; }
Source:
abstract com.android.layoutlib.api.LayoutScene render ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiDocumentNode model , int width , int height , java.util.Set < com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode > explodeNodes ) ;

Target:
abstract com.android.layoutlib.api.LayoutScene render ( com.android.ide.eclipse.adt.internal.editors.uimodel.UiDocumentNode model , int width , int height , java.util.Set < com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode > explodeNodes , boolean transparentBackground ) ;
Source:
public android.net.wifi.hotspot2.pps.Credential.CertificateCredential createFromParcel ( android.os.Parcel in ) { android.net.wifi.hotspot2.pps.Credential.CertificateCredential certCredential = new android.net.wifi.hotspot2.pps.Credential.CertificateCredential ( ) ; certCredential.certType = in.readString ( ) ; certCredential.certSha256FingerPrint = in.createByteArray ( ) ; return certCredential ; }

Target:
public android.net.wifi.hotspot2.pps.Credential.CertificateCredential createFromParcel ( android.os.Parcel in ) { android.net.wifi.hotspot2.pps.Credential.CertificateCredential certCredential = new android.net.wifi.hotspot2.pps.Credential.CertificateCredential ( ) ; certCredential.setCertType ( in.readString ( ) ) ; certCredential.setCertSha256Fingerprint ( in.createByteArray ( ) ) ; return certCredential ; }