auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String [ ] getOldPaths ( ) { if ( ( ( mOldPaths ) == null ) || ( ( mOldPaths.length ( ) ) == 0 ) ) { return new java.lang.String [ 0 ] ; } return mOldPaths.split ( ";" ) ; }

Target:
public java.lang.String [ ] getOldPaths ( ) { return com.android.sdklib.repository.descriptors.PkgDescExtra.convertOldPaths ( mOldPaths ) ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public com.android.sched.vfs.OutputVFile createFile ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull final com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException { assert ! ( isClosed ( ) ) ; addFileType ( fileType ) ; return getSectionVFS ( fileType ) . getRootOutputVDir ( ) . createOutputVFile ( buildFileVPath ( fileType , typePath ) ) ; }

Target:
public com.android.sched.vfs.OutputVFile createFile ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull final com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException { assert ! ( isClosed ( ) ) ; addFileType ( fileType ) ; return getSectionVFS ( fileType ) . getRootDir ( ) . createOutputVFile ( buildFileVPath ( fileType , typePath ) ) ; }
Source:
public boolean isDataEnabled ( ) { return getDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }

Target:
public boolean isDataEnabled ( ) { return isUserMobileDataEnabled ( ) ; }
Source:
public void run ( ) { org.eclipse.swt.widgets.Shell shell = display.getActiveShell ( ) ; org.eclipse.jface.dialogs.MessageDialog.openError ( shell , "Adb Error" , "Adb failed to restart!\n\nMake sure the plugin is properly configured." ) ; }

Target:
public void run ( ) { org.eclipse.swt.widgets.Shell shell = display.getActiveShell ( ) ; org.eclipse.jface.dialogs.MessageDialog.openError ( shell , Messages.DeviceView_ADB_Error , Messages.DeviceView_ADB_Failed_Restart ) ; }
Source:
public boolean getDataEnabled ( int subId ) { return isUserMobileDataEnabled ( subId ) ; }

Target:
public boolean getDataEnabled ( ) { return isDataEnabled ( ) ; }
Source:
public boolean matches ( java.lang.Object object ) { android.content.Intent intent = ( ( android.content.Intent ) ( object ) ) ; return ( NetworkScoreManager.ACTION_SCORE_NETWORKS.equals ( intent.getAction ( ) ) ) && ( scorer.scorerResolveInfo.activityInfo.packageName.equals ( intent.getPackage ( ) ) ) ; }

Target:
public boolean matches ( java.lang.Object object ) { android.content.Intent intent = ( ( android.content.Intent ) ( object ) ) ; return ( NetworkScoreManager.ACTION_RECOMMEND_NETWORKS.equals ( intent.getAction ( ) ) ) && ( packageName.equals ( intent.getPackage ( ) ) ) ; }
Source:
public java.lang.String getEsn ( ) { android.util.Log.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] getEsn() is a CDMA method" ) ; return "0" ; }

Target:
public java.lang.String getEsn ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] getEsn() is a CDMA method" ) ; return "0" ; }
Source:
public static native int EVP_MD_CTX_copy ( org.conscrypt.NativeRef.EVP_MD_CTX dst_ctx , org.conscrypt.NativeRef.EVP_MD_CTX src_ctx ) ;

Target:
public static native int EVP_MD_CTX_copy_ex ( org.conscrypt.NativeRef.EVP_MD_CTX dst_ctx , org.conscrypt.NativeRef.EVP_MD_CTX src_ctx ) ;
Source:
public static void computeRint ( android.renderscript.cts.TestRint.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.rint ( args.in ) ) ) ; }

Target:
public static void computeFabs ( android.renderscript.cts.TestFabs.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.abs ( args.in ) , 0 , 0 ) ; }
Source:
private boolean hasMultiplePhoneAccounts ( ) { return ( mContext.getSystemService ( android.telecom.TelecomManager.class ) . getCallCapablePhoneAccounts ( ) . size ( ) ) > 1 ; }

Target:
private boolean hasMultiplePhoneAccounts ( com.android.incallui.call.DialerCall call ) { if ( ( call.getCallCapableAccounts ( ) ) == null ) { return false ; } return ( call.getCallCapableAccounts ( ) . size ( ) ) > 1 ; }
Source:
private static native android.graphics.Bitmap nativeDecodeAsset ( int asset , android.graphics.Rect padding , android.graphics.BitmapFactory.Options opts ) ;

Target:
private static native android.graphics.Bitmap nativeDecodeAsset ( long nativeAsset , android.graphics.Rect padding , android.graphics.BitmapFactory.Options opts ) ;
Source:
public boolean disableWBS ( ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.disableWBS ( ) ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.setActiveDevice ( device ) ; }
Source:
public static void forceGc ( java.lang.String reason ) { android.util.EventLog.writeEvent ( 2741 , reason ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; }

Target:
public static void forceGc ( java.lang.String reason ) { android.util.EventLog.writeEvent ( 2741 , reason ) ; dalvik.system.VMRuntime.getRuntime ( ) . requestConcurrentGC ( ) ; }
Source:
boolean process ( java.lang.String countryIso , java.lang.String defaultTimeZoneId , boolean everUsesUtc , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException ;

Target:
default boolean processCountryZones ( java.lang.String countryIso , java.lang.String defaultTimeZoneId , boolean everUsesUtc , java.util.List < java.lang.String > timeZoneIds , java.lang.String debugInfo ) throws org.xmlpull.v1.XmlPullParserException { return libcore.util.TimeZoneFinder.TimeZonesProcessor.CONTINUE ; }
Source:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.CleanupDetector.BEGIN_TRANSACTION , com.android.tools.lint.checks.CleanupDetector.OBTAIN , com.android.tools.lint.checks.CleanupDetector.OBTAIN_NO_HISTORY , com.android.tools.lint.checks.CleanupDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_TYPED_ARRAY ) ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.CleanupDetector.BEGIN_TRANSACTION , com.android.tools.lint.checks.CleanupDetector.OBTAIN , com.android.tools.lint.checks.CleanupDetector.OBTAIN_NO_HISTORY , com.android.tools.lint.checks.CleanupDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_TYPED_ARRAY , com.android.tools.lint.checks.CleanupDetector.ACQUIRE_CPC ) ; }
Source:
public void testObfuscatedCode ( ) { final com.android.tests.basic.Main a = getActivity ( ) ; com.android.tests.basic.StringProvider sp = a.getStringProvider ( ) ; assertEquals ( "42" , sp.getString ( 42 ) ) ; }

Target:
public void testObfuscatedCode ( ) { final com.android.tests.basic.Main a = getActivity ( ) ; com.android.tests.basic.StringProvider sp = a.getStringProvider ( ) ; assertEquals ( "42" , sp.getString ( 42 ) ) ; assertEquals ( "com.android.tests.basic.a" , com.android.tests.basic.StringProvider.class . getName ( ) ) ; }
Source:
private void verifyTimeServiceTimeZoneWasSet ( java.lang.String timeZoneId ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 1 ) ) . setDeviceTimeZone ( timeZoneId ) ; }

Target:
com.android.internal.telephony.NitzStateMachineTest.DeviceBuilder setClocksFromScenario ( com.android.internal.telephony.NitzStateMachineTest.Scenario scenario ) { mInitialRealtimeMillis = scenario.getInitialRealTimeMillis ( ) ; mInitialSystemClock = scenario.getInitialSystemClockMillis ( ) ; return this ; }
Source:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parse ( java.lang.String numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parse ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }

Target:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parse ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parse ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }
Source:
static double $opt$FloatToDouble ( float a ) { return ( ( double ) ( a ) ) ; }

Target:
static int $opt$FloatToInt ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public void testCheckReadPhoneState_hasPrivilegedPermission ( ) { org.mockito.Mockito.doNothing ( ) . when ( mMockContext ) . enforcePermission ( android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE , com.android.internal.telephony.TelephonyPermissionsTest.PID , com.android.internal.telephony.TelephonyPermissionsTest.UID , com.android.internal.telephony.TelephonyPermissionsTest.MSG ) ; org.junit.Assert.assertTrue ( com.android.internal.telephony.TelephonyPermissions.checkReadPhoneState ( mMockContext , com.android.internal.telephony.TelephonyPermissionsTest.PID , com.android.internal.telephony.TelephonyPermissionsTest.UID , com.android.internal.telephony.TelephonyPermissionsTest.PACKAGE , com.android.internal.telephony.TelephonyPermissionsTest.MSG ) ) ; }

Target:
public void testCheckReadPhoneState_noPermissions ( ) { try { com.android.internal.telephony.TelephonyPermissions.checkReadPhoneState ( mMockContext , ( ) -> mMockTelephony , com.android.internal.telephony.TelephonyPermissionsTest.SUB_ID , com.android.internal.telephony.TelephonyPermissionsTest.PID , com.android.internal.telephony.TelephonyPermissionsTest.UID , com.android.internal.telephony.TelephonyPermissionsTest.PACKAGE , com.android.internal.telephony.TelephonyPermissionsTest.MSG ) ; org.junit.Assert.fail ( "Should have thrown SecurityException" ) ; } catch ( java.lang.SecurityException e ) { } }
Source:
public static void computeHypot ( android.renderscript.cts.TestHypot.ArgumentsFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( float ) ( java.lang.StrictMath.hypot ( args.inX , args.inY ) ) ) ; }

Target:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsIntUint args ) { args.out = java.lang.Math.abs ( args.inValue ) ; }
Source:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { mEventFacade.postEvent ( ( mMgr.isAvailable ( ) ? "WifiNanAvailable" : "WifiNanNotAvailable" ) , new android.os.Bundle ( ) ) ; }

Target:
public void onReceive ( android.content.Context c , android.content.Intent intent ) { boolean isAvailable = mMgr.isAvailable ( ) ; if ( ! isAvailable ) { wifiNanDestroyAll ( ) ; } mEventFacade.postEvent ( ( isAvailable ? "WifiNanAvailable" : "WifiNanNotAvailable" ) , new android.os.Bundle ( ) ) ; }
Source:
public static java.io.File getJackTestFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( ( com.android.jack.TestTools.JACK_TESTS_PATH ) + ( com.android.jack.TestTools.JACK_PACKAGE ) ) + testName ) ) ; }

Target:
public static java.io.File getJackTestsWithJackFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return new java.io.File ( com.android.jack.TestTools.getJackTestFolder ( testName ) , "jack" ) ; }
Source:
java.util.Collection < V > createCollection ( ) { return com.google.common.collect.Sets.newLinkedHashSet ( ) ; }

Target:
public int size ( ) { return multimap.size ( ) ; }
Source:
public void test_SSL_check_private_key_null ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_check_private_key ( org.conscrypt.NativeCryptoTest.NULL ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_SSL_CTX_free_NullArgument ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCryptoTest.NULL ) ; }
Source:
private android.bluetooth.BluetoothGattService getService ( java.util.UUID serverUid ) { android.bluetooth.BluetoothGattService service = null ; if ( ( mBluetoothGatt ) != null ) { service = mBluetoothGatt.getService ( serverUid ) ; if ( service == null ) { showMessage ( "Service not found" ) ; } } return service ; }

Target:
private android.bluetooth.BluetoothGattService getService ( ) { if ( ( mBluetoothGatt ) == null ) return null ; android.bluetooth.BluetoothGattService service = mBluetoothGatt.getService ( com.android.cts.verifier.bluetooth.BleClientService.SERVICE_UUID ) ; if ( service == null ) { showMessage ( "Service not found" ) ; return null ; } return service ; }
Source:
public static void main ( java.lang.String [ ] args ) { if ( ( args.length ) == 0 ) { args = new java.lang.String [ ] { "com.android.ahat.InstanceUtilsTest" , "com.android.ahat.QueryTest" , "com.android.ahat.SortTest" } ; } org.junit.runner.JUnitCore.main ( args ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { if ( ( args.length ) == 0 ) { args = new java.lang.String [ ] { "com.android.ahat.InstanceUtilsTest" , "com.android.ahat.PerformanceTest" , "com.android.ahat.QueryTest" , "com.android.ahat.SortTest" } ; } org.junit.runner.JUnitCore.main ( args ) ; }
Source:
public java.lang.String getVersionName ( @ com.android.annotations.NonNull java.io.File manifestFile ) { javax.xml.xpath.XPath xpath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; try { return xpath.evaluate ( "/manifest/@android:versionName" , new org.xml.sax.InputSource ( new java.io.FileInputStream ( manifestFile ) ) ) ; } catch ( javax.xml.xpath.XPathExpressionException e ) { } catch ( java.io.FileNotFoundException e ) { throw new java.lang.RuntimeException ( e ) ; } return null ; }

Target:
public java.lang.String getVersionName ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return com.android.builder.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@android:versionName" ) ; }
Source:
public int equal ( proguard.evaluation.value.ReferenceValue other ) { return ( ( this . type ) == null ) && ( ( other.type ) == null ) ? ALWAYS : MAYBE ; }

Target:
public abstract proguard.evaluation.value.ReferenceValue generalize ( proguard.evaluation.value.ReferenceValue other ) ;
Source:
protected void onStop ( ) { if ( mRunning ) { mLog.log ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) ; } else { mLog.log ( ( ( android.net.ip.ConnectivityPacketTracker.MARK_STOP ) + " (packet listener stopped unexpectedly)" ) ) ; } }

Target:
protected void onStart ( ) { final java.lang.String msg = ( android.text.TextUtils.isEmpty ( mDisplayName ) ) ? android.net.ip.ConnectivityPacketTracker.MARK_START : java.lang.String.format ( android.net.ip.ConnectivityPacketTracker.MARK_NAMED_START , mDisplayName ) ; mLog.log ( msg ) ; }
Source:
public java.lang.String getNetworkCountryIso ( ) { return getNetworkCountryIsoForPhone ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public java.lang.String getNetworkOperatorName ( ) { return getNetworkOperatorName ( getSubId ( ) ) ; }
Source:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hearingaid.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; if ( com.android.bluetooth.hearingaid.HearingAidService.DBG ) { android.util.Log.d ( com.android.bluetooth.hearingaid.HearingAidService.TAG , ( ( "getCodecStatus(" + device ) + ")" ) ) ; } throw new java.lang.IllegalStateException ( "Implement me" ) ; }

Target:
private synchronized boolean isActiveDevice ( android.bluetooth.BluetoothDevice device ) { synchronized ( mStateMachines ) { return ( device != null ) && ( java.util.Objects.equals ( device , mActiveDevice ) ) ; } }
Source:
public void testEncodeDecodeVideoFromSurfaceToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public java.util.List < com.android.tools.lint.detector.api.Project > getDirectLibraries ( ) { return mDirectLibraries ; }

Target:
public java.util.List < com.android.tools.lint.detector.api.Project > getDirectLibraries ( ) { return ( mDirectLibraries ) != null ? mDirectLibraries : java.util.Collections.< com.android.tools.lint.detector.api.Project > emptyList ( ) ; }
Source:
public java.lang.String getNetworkOperator ( ) { return getNetworkOperatorForPhone ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public android.os.PersistableBundle getCarrierConfig ( ) { android.telephony.CarrierConfigManager carrierConfigManager = mContext.getSystemService ( android.telephony.CarrierConfigManager.class ) ; return carrierConfigManager.getConfigForSubId ( getSubId ( ) ) ; }
Source:
private void handleClearItemSelected ( ) { android.content.ContentResolver resolver = getContentResolver ( ) ; resolver.delete ( TestResultsProvider.CONTENT_URI , "1" , null ) ; android.widget.Toast.makeText ( this , R.string.test_results_cleared , Toast.LENGTH_SHORT ) . show ( ) ; }

Target:
private void handleClearItemSelected ( ) { android.content.ContentResolver resolver = getContentResolver ( ) ; resolver.delete ( TestResultsProvider.RESULTS_CONTENT_URI , "1" , null ) ; android.widget.Toast.makeText ( this , R.string.test_results_cleared , Toast.LENGTH_SHORT ) . show ( ) ; }
Source:
public void testEncode_CharBuffer_NullEncoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( java.nio.CharBuffer.wrap ( "hehe" ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void testEncode_CharBuffer_NullEncoder ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 c = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( java.nio.CharBuffer.wrap ( "hehe" ) ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
private void assertVerifiedForEachForMinSdkVersion ( java.lang.String apkFilenameInResources , java.lang.String [ ] args , int minSdkVersion ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenameInResources , args , minSdkVersion ) ; }

Target:
private void assertVerifiedForEach ( java.lang.String apkFilenamePatternInResources , java.lang.String [ ] args ) throws java.lang.Exception { assertVerifiedForEach ( apkFilenamePatternInResources , args , null , null ) ; }
Source:
private void createContents ( ) { mAvdPage = new com.android.sdkuilib.internal.repository.sdkman1.AvdManagerPage ( mShell , org.eclipse.swt.SWT.NONE , mUpdaterData ) ; mAvdPage.setLayoutData ( new org.eclipse.swt.layout.GridData ( org.eclipse.swt.SWT.FILL , org.eclipse.swt.SWT.FILL , true , true , 2 , 1 ) ) ; }

Target:
private void createContents ( ) { mAvdPage = new com.android.sdkuilib.internal.repository.sdkman1.AvdManagerPage ( mShell , org.eclipse.swt.SWT.NONE , mUpdaterData , mDeviceManager ) ; mAvdPage.setLayoutData ( new org.eclipse.swt.layout.GridData ( org.eclipse.swt.SWT.FILL , org.eclipse.swt.SWT.FILL , true , true , 2 , 1 ) ) ; }
Source:
protected com.android.dialer.dialpadview.DialpadFragment getDialpadFragment ( ) { return ( ( com.android.dialer.dialpadview.DialpadFragment ) ( activity.getFragmentManager ( ) . findFragmentByTag ( com.android.dialer.main.impl.MainSearchController.DIALPAD_FRAGMENT_TAG ) ) ) ; }

Target:
protected com.android.dialer.dialpadview.DialpadFragment getDialpadFragment ( ) { return dialpadFragment ; }
Source:
protected com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration getConfiguration ( com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration ( ) ; }

Target:
protected com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration getConfiguration ( com.android.tools.lint.client.api.LintClient client , com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.checks.AbstractCheckTest.TestConfiguration ( client , project , null ) ; }
Source:
protected void onButtonReload ( ) { loadPackages ( ) ; }

Target:
public int getMenuStyle ( ) { return mMenuStyle ; }
Source:
public void copy1DRangeFrom ( int off , int count , int [ ] d ) { validateIsInt32 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public static void assertEquals ( java.lang.String message , int expected , int actual ) { if ( expected != actual ) throw new java.lang.RuntimeException ( ( ( ( ( ( "AssertionFailedError: not equals: " + message ) + " Expected " ) + expected ) + " actual " ) + actual ) ) ; }

Target:
public static void assertEquals ( java.lang.String message , int expected , int actual ) { if ( expected != actual ) throw new dot.junit.AssertionFailedException ( ( ( ( ( ( "not equals: " + message ) + " Expected " ) + expected ) + " actual " ) + actual ) ) ; }
Source:
public java.lang.String convert ( org.jetbrains.plugins.github.GithubAuthData auth ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.getReadOnlyToken ( auth , getRepoAuthor ( ) , getRepoName ( ) , "Intellij tasks plugin" ) ; }

Target:
public java.lang.String convert ( org.jetbrains.plugins.github.util.GithubAuthData auth ) throws java.io.IOException { return org.jetbrains.plugins.github.api.GithubApiUtil.getReadOnlyToken ( auth , getRepoAuthor ( ) , getRepoName ( ) , "Intellij tasks plugin" ) ; }
Source:
public static boolean isBmpCodePoint ( int codePoint ) { return ( codePoint >= 0 ) && ( codePoint <= 65535 ) ; }

Target:
public static boolean isBmpCodePoint ( int codePoint ) { return ( codePoint >= ( java.lang.Character.MIN_VALUE ) ) && ( codePoint <= ( java.lang.Character.MAX_VALUE ) ) ; }
Source:
public boolean syncDisableNetwork ( com.android.internal.util.AsyncChannel channel , int netId ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( WifiManager.DISABLE_NETWORK , netId ) ; boolean result = ( resultMsg.arg1 ) != ( WifiManager.DISABLE_NETWORK_FAILED ) ; resultMsg.recycle ( ) ; return result ; }

Target:
public boolean syncDisableNetwork ( com.android.internal.util.AsyncChannel channel , int netId ) { android.os.Message resultMsg = channel.sendMessageSynchronously ( WifiManager.DISABLE_NETWORK , netId ) ; boolean result = ( resultMsg.arg1 ) != ( android.net.wifi.WifiManager.DISABLE_NETWORK_FAILED ) ; resultMsg.recycle ( ) ; return result ; }
Source:
public void testStringOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeCar ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Bil" , "Bil" ) ; }

Target:
public void testMatrix100000 ( ) throws java.lang.Throwable { final int resId = R.integer.matrix_100000 ; setLocale ( "sv_SE" ) ; assertResource ( resId , 100 , 100 , 100 ) ; }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > allAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return new com.google.common.util.concurrent.Futures.ListFuture < V > ( com.google.common.collect.ImmutableList.copyOf ( futures ) , true , com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor ( ) ) ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > successfulAsList ( java.lang.Iterable < ? extends com.google.common.util.concurrent.ListenableFuture < ? extends V > > futures ) { return com.google.common.util.concurrent.Futures.listFuture ( com.google.common.collect.ImmutableList.copyOf ( futures ) , false , com.google.common.util.concurrent.MoreExecutors.directExecutor ( ) ) ; }
Source:
private com.android.rs.test.Float4 pack_f4 ( float [ ] val ) { assert ( val.length ) == 4 ; return new com.android.rs.test.Float4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }

Target:
private android.renderscript.Float4 pack_f4 ( float [ ] val ) { assert ( val.length ) == 4 ; return new android.renderscript.Float4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }
Source:
public void test_minus_longTemporalUnit_invalidUnit ( ) { for ( java.time.temporal.TemporalUnit unit : tck.java.time.TCKLocalTime.INVALID_UNITS ) { try { TEST_12_30_40_987654321.minus ( 1 , unit ) ; org.testng.Assert.fail ( ( "Unit should not be allowed " + unit ) ) ; } catch ( java.time.DateTimeException ex ) { } } }

Target:
public void test_minus_longTemporalUnit_invalidUnit ( ) { for ( java.time.temporal.TemporalUnit unit : tck.java.time.TCKLocalTime.INVALID_UNITS ) { try { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.minus ( 1 , unit ) ; org.testng.Assert.fail ( ( "Unit should not be allowed " + unit ) ) ; } catch ( java.time.DateTimeException ex ) { } } }
Source:
public boolean isEnabled ( com.intellij.openapi.actionSystem.AnActionEvent e ) { return ( ( ( selectedConfiguration ) != null ) && ( selectedConfiguration.isEditable ( ) ) ) && ( ( editableConfigurations.indexOf ( selectedConfiguration ) ) > 0 ) ; }

Target:
private void moveUp ( ) { if ( ( selectedConfiguration ) != null ) { int index = editableConfigurations.indexOf ( selectedConfiguration ) ; if ( index > 0 ) { moveConfigurationToIndex ( ( index - 1 ) , selectedConfiguration ) ; } } }
Source:
protected java.lang.String getTestDataPath ( ) { java.lang.String homePath = com.intellij.openapi.application.ex.PathManagerEx.getHomePath ( getClass ( ) ) ; java.lang.String homePathParent = homePath.substring ( 0 , homePath.lastIndexOf ( '/' ) ) ; return homePathParent + ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( "/studio/cloud/testData/" ) ) ; }

Target:
protected java.lang.String getTestDataPath ( ) { java.lang.String homePath = com.intellij.openapi.application.ex.PathManagerEx.getHomePath ( getClass ( ) ) ; java.lang.String homePathParent = homePath.substring ( 0 , homePath.lastIndexOf ( '/' ) ) ; return homePathParent + ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( "/studio/google/cloud/tools/testData/" ) ) ; }
Source:
public void visitEnd ( ) { if ( ( companion ) != null ) { emitInterfaceFieldAccessInCompanionMethodToTriggerInterfaceClinit ( ) ; companion.visitEnd ( ) ; } super . visitEnd ( ) ; }

Target:
public void visitEnd ( ) { if ( ( companion ) != null ) { depsCollector.recordDefaultMethods ( internalName , numberOfDefaultMethods ) ; emitInterfaceFieldAccessInCompanionMethodToTriggerInterfaceClinit ( ) ; companion.visitEnd ( ) ; } super . visitEnd ( ) ; }
Source:
private void onWatcherResult ( int result ) { if ( result == ( org.chromium.mojo.system.MojoResult.OK ) ) { readOutstandingMessages ( ) ; } else { onError ( new org.chromium.mojo.system.MojoException ( result ) ) ; } }

Target:
private void onAsyncWaiterResult ( int result ) { mCancellable = null ; if ( result == ( org.chromium.mojo.system.MojoResult.OK ) ) { readOutstandingMessages ( ) ; } else { onError ( new org.chromium.mojo.system.MojoException ( result ) ) ; } }
Source:
public static java.io.File getJackTestLibFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( ( ( com.android.jack.TestTools.JACK_TESTS_PATH ) + ( com.android.jack.TestTools.JACK_PACKAGE ) ) + testName ) + "/lib" ) ) ; }

Target:
public static java.io.File getJackTestLibFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return new java.io.File ( com.android.jack.TestTools.getJackTestFolder ( testName ) , "lib" ) ; }
Source:
public native boolean checkAccess ( java.io.File f , int access ) ;

Target:
private native boolean checkAccess0 ( java.io.File f , int access ) ;
Source:
public static java.io.File [ ] getDefaultBootclasspath ( ) { return new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) } ; }

Target:
public static java.io.File [ ] getDefaultClasspath ( ) { return new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) } ; }
Source:
protected void send ( java.net.DatagramPacket arg0 ) throws java.io.IOException { }

Target:
protected void receive ( java.net.DatagramPacket arg0 ) throws java.io.IOException { }
Source:
public void tearDown ( ) { mAdapterService.cleanup ( ) ; }

Target:
public void tearDown ( ) { mAdapterService.cleanup ( ) ; com.android.bluetooth.btservice.Config.init ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ; }
Source:
protected com.android.sdklib.internal.avd.AvdManager getAvdManager ( ) throws com.android.prefs.AndroidLocation.AndroidLocationException { if ( ( mAvdManager ) == null ) { mAvdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager , mSdkLog ) ; } return mAvdManager ; }

Target:
protected com.android.sdklib.internal.avd.AvdManager getAvdManager ( ) throws com.android.prefs.AndroidLocation.AndroidLocationException { if ( ( mAvdManager ) == null ) { mAvdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager.getLocalSdk ( ) , mSdkLog ) ; } return mAvdManager ; }
Source:
synchronized void nAllocationIoSend ( int alloc ) { validate ( ) ; rsnAllocationIoSend ( mContext , alloc ) ; }

Target:
synchronized void nAllocationSyncAll ( long alloc , int src ) { validate ( ) ; rsnAllocationSyncAll ( mContext , alloc , src ) ; }
Source:
private java.lang.String getRawScanResults ( java.lang.String range ) { return doStringCommandWithoutLogging ( ( ( "BSS RANGE=" + range ) + " MASK=0x21d97" ) ) ; }

Target:
public java.util.ArrayList < com.android.server.wifi.ScanDetail > getScanResults ( ) { return mWificondControl.getScanResults ( ) ; }
Source:
private void reset ( ) { android.os.IBinder operationToken = mOperationToken ; if ( operationToken != null ) { mOperationToken = null ; mKeyStore.abort ( operationToken ) ; } mOperationHandle = null ; mMainDataStreamer = null ; mAdditionalEntropyForBegin = null ; }

Target:
private void resetWhilePreservingInitState ( ) { android.os.IBinder operationToken = mOperationToken ; if ( operationToken != null ) { mOperationToken = null ; mKeyStore.abort ( operationToken ) ; } mOperationHandle = null ; mMainDataStreamer = null ; mAdditionalEntropyForBegin = null ; }
Source:
public void setNetworkSelectionModeAutomatic ( android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method setNetworkSelectionModeAutomatic is NOT supported in CDMA!" ) ; }

Target:
public void unregisterForSuppServiceNotification ( android.os.Handler h ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "method unregisterForSuppServiceNotification is NOT supported in CDMA!" ) ; }
Source:
public void test_getDecimalFormatSymbols ( ) { java.text.DecimalFormat df = ( ( java.text.DecimalFormat ) ( java.text.NumberFormat.getInstance ( java.util.Locale.ENGLISH ) ) ) ; java.text.DecimalFormatSymbols dfs = df.getDecimalFormatSymbols ( ) ; assertTrue ( "Identical symbols" , ( dfs != ( df.getDecimalFormatSymbols ( ) ) ) ) ; }

Target:
public void test_getDecimalFormatSymbols ( ) { java.text.DecimalFormat df = ( ( java.text.DecimalFormat ) ( java.text.NumberFormat.getInstance ( java.util.Locale.ENGLISH ) ) ) ; java.text.DecimalFormatSymbols dfs = df.getDecimalFormatSymbols ( ) ; assertNotSame ( dfs , df.getDecimalFormatSymbols ( ) ) ; }
Source:
public boolean apply ( @ com.android.annotations.Nullable java.io.File file ) { return ( file != null ) && ( ! ( file.isDirectory ( ) ) ) ; }

Target:
public boolean apply ( @ com.android.annotations.Nullable java.io.File file ) { return ( file != null ) && ( file.isFile ( ) ) ; }
Source:
public boolean isNonDefault ( ) { return ( ( ( mSupport5gBand ) || ( ( mMasterPreference ) != 0 ) ) || ( ( mClusterLow ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MIN ) ) ) || ( ( mClusterHigh ) != ( android.net.wifi.nan.ConfigRequest.CLUSTER_ID_MAX ) ) ; }

Target:
public boolean isNonDefault ( ) { return ( ( ( mSupport5gBand ) || ( ( mMasterPreference ) != 0 ) ) || ( ( mClusterLow ) != ( android.net.wifi.aware.ConfigRequest.CLUSTER_ID_MIN ) ) ) || ( ( mClusterHigh ) != ( android.net.wifi.aware.ConfigRequest.CLUSTER_ID_MAX ) ) ; }
Source:
private static native int nativeGetHeight ( int lbm ) ;

Target:
private static native int nativeGetHeight ( long nativeLbm ) ;
Source:
void onPostDialChar ( java.lang.String callId , char nextChar ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialChar ( callId , nextChar ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void onPostDialWait ( java.lang.String callId , java.lang.String remaining ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialWait ( callId , remaining , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
public void removeCall ( java.lang.String callId ) { if ( mConnectionById.containsKey ( callId ) ) { findConnectionForAction ( callId , "removeCall" ) . setDestroyed ( ) ; } else { findConferenceForAction ( callId , "removeCall" ) . setDestroyed ( ) ; } }

Target:
public void removeCall ( java.lang.String callId , android.telecom.Logging.Session.Info sessionInfo ) { if ( mConnectionById.containsKey ( callId ) ) { findConnectionForAction ( callId , "removeCall" ) . setDestroyed ( ) ; } else { findConferenceForAction ( callId , "removeCall" ) . setDestroyed ( ) ; } }
Source:
public void fireOnChange ( ) { myDestPushTargetPanelComponent.fireOnChange ( ) ; for ( com.intellij.dvcs.push.RepositoryNodeListener < T > listener : myListeners ) { listener.onTargetChanged ( myDestPushTargetPanelComponent.getValue ( ) ) ; } }

Target:
public void onTargetInEditModeChanged ( @ org.jetbrains.annotations.NotNull java.lang.String value ) { for ( com.intellij.dvcs.push.RepositoryNodeListener listener : myListeners ) { listener.onTargetInEditMode ( value ) ; } }
Source:
public java.lang.String getDescription ( ) { return ( "'" + ( plugin.getName ( ) ) ) + "' plugin" ; }

Target:
public java.lang.String getDescription ( ) { return ( "'" + ( plugin.getCanonicalName ( ) ) ) + "' plugin" ; }
Source:
public static void computeLogb ( android.renderscript.cts.TestLogb.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( ( java.lang.Float.floatToIntBits ( args.in ) ) > > 23 ) & 255 ) - 127.0F ; }

Target:
public static void computeRound ( android.renderscript.cts.TestRound.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.round ( args.in ) ; }
Source:
public void onUserLeaveHint ( ) { if ( isInSearch ( ) ) { closeSearch ( false ) ; } }

Target:
public void onActivityPause ( ) { if ( closeSearchOnPause ) { closeSearchOnPause = false ; if ( isInSearch ( ) ) { closeSearch ( false ) ; } } }
Source:
public void testIsSharedCost ( ) { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber gbNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; gbNumber.setCountryCode ( 44 ) . setNationalNumber ( 8431231234L ) ; assertEquals ( PhoneNumberUtil.PhoneNumberType.SHARED_COST , phoneUtil.getNumberType ( gbNumber ) ) ; }

Target:
public void testIsPersonalNumber ( ) { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber gbNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; gbNumber.setCountryCode ( 44 ) . setNationalNumber ( 7031231234L ) ; assertEquals ( PhoneNumberType.PERSONAL_NUMBER , phoneUtil.getNumberType ( gbNumber ) ) ; }
Source:
void expectAvailableAndValidatedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; expectCapabilitiesWith ( com.android.server.NET_CAPABILITY_VALIDATED , agent ) ; }

Target:
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 ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; onDeselectAll ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonDelete ( ) ; }
Source:
private java.lang.String getLibraryVariableName ( java.lang.String name ) { return "_android_" + ( name.replaceAll ( "-" , "_" ) ) ; }

Target:
private java.lang.String getLibraryVariableName ( java.lang.String name ) { java.lang.String validName = name.replaceAll ( "[^0-9a-zA-Z]+" , "_" ) ; return ( ( "_android_" + validName ) + "_" ) + ( java.lang.Integer.toString ( name.hashCode ( ) ) ) ; }
Source:
public static com.android.sdklib.resources.KeyboardState getEnum ( java.lang.String value ) { for ( com.android.sdklib.resources.KeyboardState orient : com.android.sdklib.resources.KeyboardState.values ( ) ) { if ( orient.mValue.equals ( value ) ) { return orient ; } } return null ; }

Target:
public static com.android.sdklib.resources.KeyboardState getEnum ( java.lang.String value ) { for ( com.android.sdklib.resources.KeyboardState state : com.android.sdklib.resources.KeyboardState.values ( ) ) { if ( state.mValue.equals ( value ) ) { return state ; } } return null ; }
Source:
protected void onResume ( ) { if ( android.util.Config.LOGD ) android.util.Log.d ( com.example.android.apis.graphics.Compass.TAG , "onResume" ) ; super . onResume ( ) ; mSensorManager.registerListener ( mListener , SensorManager.SENSOR_ORIENTATION , SensorManager.SENSOR_DELAY_GAME ) ; }

Target:
protected void onStop ( ) { if ( android.util.Config.LOGD ) android.util.Log.d ( com.example.android.apis.graphics.Compass.TAG , "onStop" ) ; mSensorManager.unregisterListener ( mListener ) ; super . onStop ( ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { com.android.sdklib.devices.Device currentDevice = getSelectedDevice ( ) ; if ( currentDevice != null ) { fillDeviceProperties ( currentDevice ) ; } toggleCameras ( ) ; validatePage ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { onDeviceSelection ( ) ; }
Source:
public void process ( ) { new java.lang.Thread ( this ) . start ( ) ; }

Target:
public void process ( ) { new java.lang.Thread ( this , "NotificationTransaction" ) . start ( ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( "FilteredOutput{" + ( densityFilter ) ) + ':' ) + ( abiFilter ) ) + '}' ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( "FilteredOutput{" + ( densityFilter ) ) + ':' ) + ( abiFilter ) ) + ':' ) + ( versionCode ) ) + '}' ; }
Source:
public boolean hasSameRules ( com.android.timezonepicker.TimeZoneInfo tzi ) { return ( ( this . mRawoffset ) == ( tzi.mRawoffset ) ) && ( java.util.Arrays.equals ( this . mTransitions , tzi.mTransitions ) ) ; }

Target:
public boolean hasSameRules ( com.android.timezonepicker.TimeZoneInfo tzi ) { return this . mTz.hasSameRules ( tzi.mTz ) ; }
Source:
public com.android.builder.AaptRunner getAaptRunner ( ) { return new com.android.builder.AaptRunner ( mTarget.getPath ( IAndroidTarget.AAPT ) , mCmdLineRunner ) ; }

Target:
public com.android.builder.AaptRunner getAaptRunner ( ) { return new com.android.builder.AaptRunner ( mSdkParser.getAapt ( ) . getAbsolutePath ( ) , mCmdLineRunner ) ; }
Source:
public static long XorLongInt ( ) { long lhs = 10 ; int rhs = 3 ; return lhs ^ rhs ; }

Target:
public static long XorIntLong ( ) { int lhs = Main.$inline$int ( 10 ) ; long rhs = Main.$inline$long ( 3L ) ; return lhs ^ rhs ; }
Source:
public void dispose ( ) { if ( ( mCanvas ) != null ) { mCanvas.dispose ( ) ; mCanvas = null ; } }

Target:
public void dispose ( ) { if ( ( mCanvas ) != null ) { mCanvas.dispose ( ) ; mCanvas = null ; } if ( ( mSelectionListener ) != null ) { mCanvas.getSelectionManager ( ) . removeSelectionChangedListener ( mSelectionListener ) ; } }
Source:
native void nativeMono ( int X , int Y , android.graphics.Bitmap in , android.graphics.Bitmap out ) ;

Target:
native void nativeMono ( java.lang.String cacheDir , int X , int Y , android.graphics.Bitmap in , android.graphics.Bitmap out ) ;
Source:
protected boolean assertEquals ( java.lang.String message , long expected , long actual ) { return handleAssert ( ( expected == actual ) , message , java.lang.String.valueOf ( expected ) , java.lang.String.valueOf ( actual ) ) ; }

Target:
protected static boolean assertEquals ( java.lang.String message , long expected , long actual ) { return android.icu.dev.test.TestFmwk.handleAssert ( ( expected == actual ) , message , java.lang.String.valueOf ( expected ) , java.lang.String.valueOf ( actual ) ) ; }
Source:
long getCurrentTimeInMillis ( ) { return getNitzData ( ) . getCurrentTimeInMillis ( ) ; }

Target:
com.android.internal.telephony.NitzStateMachineTest.Scenario.Builder setTimeZone ( java.lang.String zoneId ) { mZoneId = zoneId ; return this ; }
Source:
void constantLock ( ) { java.lang.Class thing = java.lang.Thread.class ; synchronized ( java.lang.Thread.class ) { } }

Target:
void constantLock ( ) { Main.assertIsManaged ( ) ; java.lang.Class thing = java.lang.Thread.class ; synchronized ( java.lang.Thread.class ) { } }
Source:
public void testViewPresent_MatcherPass ( ) { try { android.support.test.espresso.assertion.ViewAssertions.matches ( alwaysAccepts ) . check ( presentView , absentException ) ; } catch ( java.lang.AssertionError error ) { throw new java.lang.RuntimeException ( "Should not die!!!" , error ) ; } }

Target:
public void viewPresent_MatcherPass ( ) { android.support.test.espresso.assertion.ViewAssertions.matches ( alwaysAccepts ) . check ( presentView , absentException ) ; }
Source:
private java.lang.String attemptToChoosePatternWithPrefixExtracted ( ) { ableToFormat = true ; isExpectingCountryCallingCode = false ; possibleFormats.clear ( ) ; return attemptToChooseFormattingPattern ( ) ; }

Target:
private java.lang.String attemptToChoosePatternWithPrefixExtracted ( ) { ableToFormat = true ; isExpectingCountryCallingCode = false ; possibleFormats.clear ( ) ; lastMatchPosition = 0 ; formattingTemplate.setLength ( 0 ) ; currentFormattingPattern = "" ; return attemptToChooseFormattingPattern ( ) ; }
Source:
synchronized void nScriptInvokeV ( long id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }

Target:
native long rsnIncContextCreate ( long dev , int ver , int sdkVer , int contextType ) ;
Source:
public boolean unlock ( java.lang.String password ) { return unlock ( android.security.KeyStore.getPasswordBytes ( password ) ) ; }

Target:
public boolean isEmpty ( ) { try { return ( mBinder.zero ( ) ) == ( android.security.KeyStore.KEY_NOT_FOUND ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public void onCreateContextMenu ( android.view.ContextMenu menu , android.view.View v , android.view.ContextMenu.ContextMenuInfo menuInfo ) { menu.add ( 0 , com.android.cellbroadcastreceiver.CellBroadcastListActivity.MENU_VIEW , 0 , R.string.menu_view ) ; menu.add ( 0 , com.android.cellbroadcastreceiver.CellBroadcastListActivity.MENU_DELETE , 0 , R.string.menu_delete ) ; }

Target:
public void onCreateContextMenu ( android.view.ContextMenu menu , android.view.View v , android.view.ContextMenu.ContextMenuInfo menuInfo ) { menu.setHeaderTitle ( R.string.message_options ) ; menu.add ( 0 , com.android.cellbroadcastreceiver.CellBroadcastListActivity.CursorLoaderListFragment.MENU_VIEW , 0 , R.string.menu_view ) ; menu.add ( 0 , com.android.cellbroadcastreceiver.CellBroadcastListActivity.CursorLoaderListFragment.MENU_DELETE , 0 , R.string.menu_delete ) ; }
Source:
public void run ( ) { onConfigurationChanged ( newConfig ) ; }

Target:
public java.lang.Boolean call ( ) { return onKeyMultiple ( keyCode , repeatCount , event ) ; }
Source:
public void testDisableLocationUpdates ( ) throws java.lang.Exception { sst.disableLocationUpdates ( ) ; org.mockito.Mockito.verify ( mSimulatedCommandsVerifier , org.mockito.Mockito.times ( 1 ) ) . setLocationUpdates ( org.mockito.Mockito.eq ( false ) , org.mockito.Matchers.any ( android.os.Message.class ) ) ; }

Target:
public void testDisableLocationUpdates ( ) throws java.lang.Exception { sst.disableLocationUpdates ( ) ; org.mockito.Mockito.verify ( mSimulatedCommandsVerifier , org.mockito.Mockito.times ( 1 ) ) . setLocationUpdates ( org.mockito.Mockito.eq ( false ) , org.mockito.Matchers.nullable ( android.os.Message.class ) ) ; }
Source:
public java.io.File getOutputFile ( ) { return out ; }

Target:
public java.io.File getOutputDir ( ) { return out ; }
Source:
public void setError ( java.lang.CharSequence error , android.graphics.drawable.Drawable icon ) { createEditorIfNeeded ( ) ; mEditor.setError ( error , icon ) ; }

Target:
public void setError ( java.lang.CharSequence error , android.graphics.drawable.Drawable icon ) { createEditorIfNeeded ( ) ; mEditor.setError ( error , icon ) ; notifyViewAccessibilityStateChangedIfNeeded ( AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED ) ; }
Source:
public void setNetworkOperatorNumeric ( java.lang.String numeric ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; setNetworkOperatorNumericForPhone ( phoneId , numeric ) ; }

Target:
public void setNetworkOperatorNumeric ( java.lang.String numeric ) { int phoneId = getPhoneId ( ) ; setNetworkOperatorNumericForPhone ( phoneId , numeric ) ; }
Source:
public org.w3c.dom.Node getXmlNode ( ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { return uiView.getXmlNode ( ) ; } return null ; }

Target:
public org.w3c.dom.Node getXmlNode ( ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { return uiView.getXmlNode ( ) ; } return null ; }
Source:
public int preceding ( int offset ) { validateOffset ( offset ) ; return wrapped.preceding ( offset ) ; }

Target:
public boolean isBoundary ( int offset ) { checkOffset ( offset ) ; return wrapped.isBoundary ( offset ) ; }
Source:
public void setResourceResolver ( com.android.ide.common.resources.ResourceResolver resourceResolver ) { mResourceResolver = resourceResolver ; }

Target:
public com.android.ide.eclipse.adt.internal.ui.ResourceChooser setResourceResolver ( com.android.ide.common.resources.ResourceResolver resourceResolver ) { mResourceResolver = resourceResolver ; return this ; }