auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private boolean isSearchVisible ( ) { com.android.dialer.searchfragment.list.NewSearchFragment fragment = getSearchFragment ( ) ; return ( ( fragment != null ) && ( fragment.isAdded ( ) ) ) && ( ! ( fragment.isHidden ( ) ) ) ; }

Target:
private boolean isDialpadVisible ( ) { return ( ( ( ( dialpadFragment ) != null ) && ( dialpadFragment.isAdded ( ) ) ) && ( ! ( dialpadFragment.isHidden ( ) ) ) ) && ( dialpadFragment.isDialpadSlideUp ( ) ) ; }
Source:
protected void init ( @ com.android.annotations.NonNull java.lang.Iterable < I > items ) { for ( I item : items ) { item.setSource ( this ) ; mItems.put ( item.getKey ( ) , item ) ; } }

Target:
protected final void init ( @ com.android.annotations.NonNull java.lang.Iterable < I > items ) { addItems ( items ) ; }
Source:
private com.google.common.collect.RangeSet < C > createComplement ( ) { return new com.google.common.collect.StandardComplement < C > ( this ) ; }

Target:
public com.google.common.collect.RangeSet < C > complement ( ) { return this ; }
Source:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . openRead ( ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVFile file ) throws com.android.sched.util.file.WrongPermissionException { assert ! ( isClosed ( ) ) ; return file.getEncodedFile ( ) . getOutputStream ( ) ; }
Source:
private static java.lang.String toFormatVersionString ( int majorFormatVersion , int minorFormatVersion ) { return ( ( libcore.tzdata.update2.DistroVersion.to3DigitVersionString ( majorFormatVersion ) ) + "." ) + ( libcore.tzdata.update2.DistroVersion.to3DigitVersionString ( minorFormatVersion ) ) ; }

Target:
private static java.lang.String toFormatVersionString ( int majorFormatVersion , int minorFormatVersion ) { return ( ( libcore.tzdata.shared2.DistroVersion.to3DigitVersionString ( majorFormatVersion ) ) + "." ) + ( libcore.tzdata.shared2.DistroVersion.to3DigitVersionString ( minorFormatVersion ) ) ; }
Source:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call ) { updateCall ( call ) ; }

Target:
public void onVideoCallProviderChanged ( com.android.server.telecom.Call call ) { updateCall ( call , true , false ) ; }
Source:
public java.lang.String print ( boolean shortFormat ) { return "file:" + ( shortFormat ? mName : ( ( mName ) + ":" ) + ( mFile.getPath ( ) ) ) ; }

Target:
public java.lang.String print ( boolean shortFormat ) { return shortFormat ? mName : mFile.getAbsolutePath ( ) ; }
Source:
static android.telephony.SignalStrength convertHalSignalStrength_1_2 ( com.android.internal.telephony.V1_2.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gsm.signalStrength , signalStrength.gsm.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp ) ; }

Target:
public static android.telephony.SignalStrength convertHalSignalStrength_1_2 ( com.android.internal.telephony.V1_2.SignalStrength signalStrength ) { return new android.telephony.SignalStrength ( signalStrength.gsm.signalStrength , signalStrength.gsm.bitErrorRate , signalStrength.cdma.dbm , signalStrength.cdma.ecio , signalStrength.evdo.dbm , signalStrength.evdo.ecio , signalStrength.evdo.signalNoiseRatio , signalStrength.lte.signalStrength , signalStrength.lte.rsrp , signalStrength.lte.rsrq , signalStrength.lte.rssnr , signalStrength.lte.cqi , signalStrength.tdScdma.rscp , signalStrength.wcdma.base.signalStrength , signalStrength.wcdma.rscp ) ; }
Source:
public void testDomainDefaulting ( ) throws java.lang.Exception { libcore.java.net.CookiesTest.TestCookieStore cookieStore = new libcore.java.net.CookiesTest.TestCookieStore ( ) ; java.net.CookieManager cookieManager = new java.net.CookieManager ( cookieStore , java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER ) ; cookieManager.put ( new java.net.URI ( "http://android.com/" ) , cookieHeaders ( "a=android" ) ) ; assertEquals ( "android.com" , cookieStore.getCookie ( "a" ) . getDomain ( ) ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; defaultHandler = java.net.CookieHandler.getDefault ( ) ; }
Source:
public void testDnsResolutionFailure ( ) throws java.lang.Exception { assertFalse ( mClient.requestTime ( "ntp.server.doesnotexist.example" , 5000 , mNetwork ) ) ; }

Target:
public void testDnsResolutionFailure ( ) throws java.lang.Exception { junit.framework.Assert.assertFalse ( mClient.requestTime ( "ntp.server.doesnotexist.example" , 5000 , mNetwork ) ) ; }
Source:
public void testBind_Closed ( ) throws java.lang.Exception { channel1.close ( ) ; try { channel1.bind ( null ) ; fail ( ) ; } catch ( java.nio.channels.ClosedChannelException expected ) { } }

Target:
public void testBind_Closed ( ) throws java.lang.Exception { channel1.close ( ) ; try { channel1.socket ( ) . bind ( null ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } }
Source:
public static com.google.api.services.test.Test getTest ( ) { com.google.gct.testing.launcher.CloudAuthenticator.prepareCredential ( ) ; if ( ( com.google.gct.testing.launcher.CloudAuthenticator.test ) == null ) { com.google.gct.testing.launcher.CloudAuthenticator.test = new com.google.api.services.test.Test.Builder ( com.google.gct.testing.launcher.CloudAuthenticator.httpTransport , com.google.api.client.json.jackson2.JacksonFactory.getDefaultInstance ( ) , null ) . setRootUrl ( "https://www-googleapis-staging.sandbox.google.com/test" ) . build ( ) ; } return com.google.gct.testing.launcher.CloudAuthenticator.test ; }

Target:
public static com.google.api.services.test.Test getTest ( ) { com.google.gct.testing.launcher.CloudAuthenticator.prepareCredential ( ) ; if ( ( com.google.gct.testing.launcher.CloudAuthenticator.test ) == null ) { com.google.gct.testing.launcher.CloudAuthenticator.test = new com.google.api.services.test.Test.Builder ( com.google.gct.testing.launcher.CloudAuthenticator.httpTransport , com.google.api.client.json.jackson2.JacksonFactory.getDefaultInstance ( ) , com.google.gct.testing.launcher.CloudAuthenticator.credential ) . setRootUrl ( "https://www-googleapis-test.sandbox.google.com/test" ) . build ( ) ; } return com.google.gct.testing.launcher.CloudAuthenticator.test ; }
Source:
public void clear ( ) { com.google.common.base.Predicate < java.util.Map.Entry < R , V > > predicate = com.google.common.base.Predicates.alwaysTrue ( ) ; removePredicate ( predicate ) ; }

Target:
public void clear ( ) { removeFromColumnIf ( com.google.common.base.Predicates.alwaysTrue ( ) ) ; }
Source:
public void validateConfigWithoutHomeSp ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = new android.net.wifi.hotspot2.PasspointConfiguration ( ) ; config.credential = android.net.wifi.hotspot2.PasspointConfigurationTest.createCredential ( ) ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }

Target:
public void validateConfigWithoutCredential ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.credential = null ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }
Source:
public void testBridge002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE002 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addProperty ( Options.ANDROID_MIN_API_LEVEL.getName ( ) , java.lang.String.valueOf ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }

Target:
public void testBridge002 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE002 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . setAndroidMinApiLevel ( java.lang.String.valueOf ( AndroidApiLevel.ReleasedLevel.N.getLevel ( ) ) ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { if ( ! ( getContext ( ) . getResources ( ) . getBoolean ( R.bool.profile_supported_hfpclient ) ) ) { return ; } startServices ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mTargetContext = android.support.test.InstrumentationRegistry.getTargetContext ( ) ; if ( ! ( mTargetContext.getResources ( ) . getBoolean ( R.bool.profile_supported_hfpclient ) ) ) { return ; } startServices ( ) ; }
Source:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { return null ; } }

Target:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.InternalError ( e ) ; } }
Source:
private void restoreDefaultPreferences ( ) { android.preference.PreferenceManager.getDefaultSharedPreferences ( this ) . edit ( ) . clear ( ) . apply ( ) ; setPreferenceScreen ( null ) ; addPreferencesFromResource ( R.xml.preferences ) ; setMessagePreferences ( ) ; }

Target:
private void restoreDefaultPreferences ( ) { android.preference.PreferenceManager.getDefaultSharedPreferences ( this ) . edit ( ) . clear ( ) . apply ( ) ; setPreferenceScreen ( null ) ; loadPrefs ( ) ; }
Source:
private java.lang.String getCurrentDeviceName ( android.bluetooth.BluetoothDevice device ) { java.lang.String defaultName = "<unknown>" ; if ( device == null ) { return defaultName ; } java.lang.String deviceName = device.getName ( ) ; if ( deviceName == null ) { return defaultName ; } return deviceName ; }

Target:
private java.lang.String getCurrentDeviceName ( ) { java.lang.String deviceName = mDevice.getName ( ) ; if ( deviceName == null ) { return "<unknown>" ; } return deviceName ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , long [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public org.junit.runner.Description getDescription ( ) { org.junit.runner.Description description = org.junit.runner.Description.createSuiteDescription ( getTestClass ( ) . getJavaClass ( ) ) ; for ( org.junit.runners.model.FrameworkMethod child : getFilteredChildren ( ) ) { description.addChild ( describeChild ( child ) ) ; } return description ; }

Target:
public org.junit.runner.Description getDescription ( ) { org.junit.runner.Description desc = org.junit.runner.Description.createSuiteDescription ( getTestClass ( ) . getJavaClass ( ) ) ; for ( org.junit.runners.model.FrameworkMethod method : getChildren ( ) ) { desc.addChild ( describeChild ( method ) ) ; } return desc ; }
Source:
public void sendSms ( int messageRef , java.lang.String format , java.lang.String smsc , boolean retry , byte [ ] pdu ) { synchronized ( mLock ) { this . sendSms ( messageRef , format , smsc , retry , pdu ) ; } }

Target:
public void sendSms ( int token , int messageRef , java.lang.String format , java.lang.String smsc , boolean retry , byte [ ] pdu ) { synchronized ( mLock ) { this . sendSms ( token , messageRef , format , smsc , retry , pdu ) ; } }
Source:
public void nowPlayingChangedRsp ( int type ) ;

Target:
void uidsChangedRsp ( int type ) ;
Source:
void onConnectionPropertiesChanged ( com.android.server.telecom.Call call ) ;

Target:
void onConnectionPropertiesChanged ( com.android.server.telecom.Call call , boolean didRttChange ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mContext = getActivity ( ) ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;

Target:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val , boolean mUseInc ) ;
Source:
public int waitForResult ( ) { try { if ( mSemaphore.tryAcquire ( 5 , java.util.concurrent.TimeUnit.SECONDS ) ) { return result ; } } catch ( java.lang.InterruptedException e ) { } return com.android.cts.launchertests.LauncherAppsTests.RESULT_TIMEOUT ; }

Target:
public int waitForResult ( ) { try { if ( mSemaphore.tryAcquire ( 120 , java.util.concurrent.TimeUnit.SECONDS ) ) { return result ; } } catch ( java.lang.InterruptedException e ) { } return com.android.cts.launchertests.LauncherAppsTests.RESULT_TIMEOUT ; }
Source:
private void onLocked ( ) { if ( DBG ) log ( "only fetch EF_ICCID in locked state" ) ; mLockedRecordsRequested = true ; mFh.loadEFTransparent ( com.android.internal.telephony.uicc.EF_ICCID , obtainMessage ( com.android.internal.telephony.uicc.RuimRecords.EVENT_GET_ICCID_DONE ) ) ; ( mRecordsToLoad ) ++ ; }

Target:
private void onLocked ( int msg ) { if ( DBG ) log ( "only fetch EF_ICCID in locked state" ) ; mLockedRecordsReqReason = ( msg == ( com.android.internal.telephony.uicc.RuimRecords.EVENT_APP_LOCKED ) ) ? LOCKED_RECORDS_REQ_REASON_LOCKED : LOCKED_RECORDS_REQ_REASON_NETWORK_LOCKED ; mFh.loadEFTransparent ( com.android.internal.telephony.uicc.EF_ICCID , obtainMessage ( com.android.internal.telephony.uicc.RuimRecords.EVENT_GET_ICCID_DONE ) ) ; ( mRecordsToLoad ) ++ ; }
Source:
public void testSplitscreenLandscapeAppOrientationRequests ( ) throws java.lang.Exception { requestOrientationInSplitScreen ( 0 , android.server.cts.ActivityManagerAppConfigurationTests.PORTRAIT_ACTIVITY_NAME ) ; }

Target:
public void testSplitscreenLandscapeAppOrientationRequests ( ) throws java.lang.Exception { if ( ! ( supportsSplitScreenMultiWindow ( ) ) ) { com.android.tradefed.log.LogUtil.CLog.logAndDisplay ( LogLevel.INFO , "Skipping test: no multi-window support" ) ; return ; } requestOrientationInSplitScreen ( 0 , android.server.cts.ActivityManagerAppConfigurationTests.PORTRAIT_ACTIVITY_NAME ) ; }
Source:
static char $opt$IntToChar ( int a ) { return ( ( char ) ( a ) ) ; }

Target:
static byte $opt$IntToByte ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; cleanupState ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; if ( ! ( supportsMultiWindowMode ( ) ) ) { return ; } mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; cleanupState ( ) ; }
Source:
public void test_SSL_CTX_free ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCryptoTest.NULL ) ; org.junit.Assert.fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCrypto.SSL_CTX_new ( ) ) ; }

Target:
public void test_SSL_CTX_free_NullArgument ( ) throws java.lang.Exception { org.conscrypt.NativeCrypto.SSL_CTX_free ( org.conscrypt.NativeCryptoTest.NULL ) ; }
Source:
public void TestDataDrivenJDK ( ) { if ( ( com.ibm.icu.dev.test.TestUtil.getJavaVendor ( ) ) == ( TestUtil.JavaVendor.Android ) ) return ; com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestSuite.runSuite ( this . params , "numberformattestspecification.txt" , JDK ) ; }

Target:
public void TestDataDrivenJDK ( ) { com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestUtility.runSuite ( "numberformattestspecification.txt" , JDK ) ; }
Source:
private native void nativeDrawFocusRing ( android.graphics.Canvas content ) ;

Target:
private native boolean nativeFocusCandidateIsTextField ( ) ;
Source:
public native void putShort ( long address , short x ) ;

Target:
public native void putShort$ ( long address , short x ) ;
Source:
public void setWifi ( boolean isWifi ) { mIsWifi = isWifi ; updateConnectionProperties ( ) ; updateStatusHints ( ) ; }

Target:
public void setWifi ( boolean isWifi ) { mIsWifi = isWifi ; updateConnectionProperties ( ) ; updateStatusHints ( ) ; refreshDisableAddCall ( ) ; }
Source:
protected void log ( java.lang.String s ) { android.util.Log.d ( LOG_TAG , ( ( ( "[ApnContext:" + ( mApnType ) ) + "] " ) + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { android.telephony.Rlog.d ( LOG_TAG , ( ( ( "[ApnContext:" + ( mApnType ) ) + "] " ) + s ) ) ; }
Source:
private static int compare32 ( int x , int y ) { return java.lang.Integer.compare ( x , y ) ; }

Target:
private static int compareInts ( int x , int y ) { return java.lang.Integer.compare ( x , y ) ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded ) { }

Target:
public void ensureHierarchy ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded ) { }
Source:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return null ; }

Target:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return null ; }
Source:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) { device.press ( key , MonkeyDevice.TOUCH_NAME_TO_ENUM.get ( downUpFlag ) ) ; }

Target:
public void execute ( com.android.monkeyrunner.core.IMonkeyDevice device ) { device.press ( key , com.android.monkeyrunner.core.TouchPressType.fromIdentifier ( downUpFlag ) ) ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress ) throws android.net.IpSecManager.ResourceUnavailableException { try { return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ; } catch ( android.net.IpSecManager.SpiUnavailableException unlikely ) { throw new android.net.IpSecManager.ResourceUnavailableException ( "No SPIs available" ) ; } }

Target:
public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress ) throws android.net.IpSecManager.ResourceUnavailableException { try { return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ; } catch ( android.net.IpSecManager.SpiUnavailableException unlikely ) { throw new android.net.IpSecManager.ResourceUnavailableException ( "No SPIs available" ) ; } }
Source:
static native void stackArgsSignExtendedMips64 ( int i1 , int i2 , int i3 , int i4 , int i5 , int i6 , int i7 , int i8 ) ;

Target:
static native long getStackArgSignExtendedMips64 ( int i1 , int i2 , int i3 , int i4 , int i5 , int i6 , int stack_arg ) ;
Source:
public void setTimeAndTimeZoneFromNitz ( com.android.internal.telephony.NitzData newNitzData , long nitzReceiveTime ) { setTimeZoneFromNitz ( newNitzData , nitzReceiveTime ) ; setTimeFromNitz ( newNitzData , nitzReceiveTime ) ; }

Target:
public void setTimeAndTimeZoneFromNitz ( com.android.internal.telephony.NitzData newNitzData , long nitzReceiveTime ) { setTimeZoneFromNitz ( newNitzData , nitzReceiveTime ) ; com.android.internal.telephony.NitzStateMachine.TimeStampedValue < com.android.internal.telephony.NitzData > nitzSignal = new com.android.internal.telephony.NitzStateMachine.TimeStampedValue ( newNitzData , nitzReceiveTime ) ; setTimeFromNitz ( nitzSignal ) ; }
Source:
public static boolean mimeTypeMatches ( java.lang.String mimeType , java.lang.String [ ] matchAgainst ) { for ( java.lang.String matchType : matchAgainst ) { if ( mimeType.matches ( matchType.replaceAll ( "\\*" , "\\.\\*" ) ) ) { return true ; } } return false ; }

Target:
public static boolean mimeTypeMatches ( java.lang.String mimeType , java.lang.String [ ] matchAgainst ) { for ( java.lang.String matchType : matchAgainst ) { if ( com.android.email.mail.internet.MimeUtility.mimeTypeMatches ( mimeType , matchType ) ) { return true ; } } return false ; }
Source:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a % b ; return c ; }

Target:
public static int IntRemainder ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a % b ; return c ; }
Source:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { }

Target:
public void onItemSelected ( android.widget.AdapterView < ? > parent , android.view.View view , int pos , long id ) { mRes = com.android.rs.imagejb.IPControlsJB.Resolutions.values ( ) [ pos ] ; }
Source:
protected com.android.sdklib.BuildToolInfo getBuildTools ( ) { return androidBuilder.getTargetInfo ( ) . getBuildTools ( ) ; }

Target:
protected com.android.builder.core.AndroidBuilder getBuilder ( ) { com.google.common.base.Preconditions.checkState ( ( ( androidBuilder ) != null ) , "androidBuilder required for task '%s'." , getName ( ) ) ; return androidBuilder ; }
Source:
public double expectedFalsePositiveProbability ( ) { return java.lang.Math.pow ( ( ( ( double ) ( bits.bitCount ( ) ) ) / ( bits.size ( ) ) ) , numHashFunctions ) ; }

Target:
long bitSize ( ) { return bits.bitSize ( ) ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyClasses" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; }

Target:
public void setup ( ) { put ( "KeyFactory.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; }
Source:
public boolean dispatchTouchEvent ( android.view.MotionEvent ev ) { return mBlockEvents ; }

Target:
public boolean dispatchGenericMotionEvent ( android.view.MotionEvent ev ) { return mBlockEvents ; }
Source:
public void addExistingConnection ( java.lang.String callId , android.telecom.ParcelableConnection connection ) { android.telecom.RemoteConnection remoteConnction = new android.telecom.RemoteConnection ( callId , mOutgoingConnectionServiceRpc , connection ) ; mOurConnectionServiceImpl.addRemoteExistingConnection ( remoteConnction ) ; }

Target:
public void addExistingConnection ( java.lang.String callId , android.telecom.ParcelableConnection connection , android.telecom.Logging.Session.Info sessionInfo ) { android.telecom.RemoteConnection remoteConnction = new android.telecom.RemoteConnection ( callId , mOutgoingConnectionServiceRpc , connection ) ; mOurConnectionServiceImpl.addRemoteExistingConnection ( remoteConnction ) ; }
Source:
public static void Print7 ( ) { ManyMethods.Printer.Print ( ManyMethods.Strings.msg5 ) ; }

Target:
public static void Print5 ( ) { ManyMethods.Printer.Print ( ManyMethods.Strings.msg5 ) ; }
Source:
public void testStagefright_bug_23270724 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_23270724_1 ) ; doStagefrightTest ( R.raw.bug_23270724_2 ) ; }

Target:
public void testStagefright_bug_37079296 ( ) throws java.lang.Exception { doStagefrightTest ( R.raw.bug_37079296 ) ; }
Source:
public java.lang.String guessZoneIdByNitz ( com.android.internal.telephony.NitzData nitzData ) { java.util.TimeZone zone = com.android.internal.telephony.TimeZoneLookupHelper.guessZoneByNitzStatic ( nitzData ) ; return zone == null ? null : zone.getID ( ) ; }

Target:
public com.android.internal.telephony.TimeZoneLookupHelper.OffsetResult lookupByNitz ( com.android.internal.telephony.NitzData nitzData ) { return com.android.internal.telephony.TimeZoneLookupHelper.lookupByNitzStatic ( nitzData ) ; }
Source:
public void test_oneDex_simpleUse ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_simpleUse ( dalvik.system.DexClassLoaderTest.Configuration.ONE_DEX ) ; }

Target:
public void test_twoJar_simpleUse ( ) throws java.lang.Exception { java.lang.String result = ( ( java.lang.String ) ( createLoaderAndCallMethod ( "test.Test1" , "test" , jar1 , jar2 ) ) ) ; assertSame ( "blort" , result ) ; }
Source:
void addGeneratedSourceFolders ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.lang.Iterable < java.io.File > sourceFolders ) ;

Target:
void registerJavaGeneratingTask ( @ com.android.annotations.NonNull org.gradle.api.Task task , @ com.android.annotations.NonNull java.io.File ... sourceFolders ) ;
Source:
public static com.android.ahat.AhatSnapshot fromHprof ( java.io.File hprof ) throws java.io.IOException { com.android.tools.perflib.heap.io.HprofBuffer buffer = new com.android.tools.perflib.heap.io.MemoryMappedFileBuffer ( hprof ) ; com.android.tools.perflib.heap.Snapshot snapshot = new com.android.tools.perflib.heap.HprofParser ( buffer ) . parse ( ) ; snapshot.computeDominators ( ) ; return new com.android.ahat.AhatSnapshot ( snapshot ) ; }

Target:
public static com.android.ahat.AhatSnapshot fromHprof ( java.io.File hprof ) throws java.io.IOException { com.android.tools.perflib.heap.Snapshot snapshot = com.android.tools.perflib.heap.Snapshot.createSnapshot ( new com.android.tools.perflib.captures.MemoryMappedFileBuffer ( hprof ) ) ; snapshot.computeDominators ( ) ; return new com.android.ahat.AhatSnapshot ( snapshot ) ; }
Source:
public void onCreate ( ) { super . onCreate ( ) ; com.android.dialer.simulator.impl.SimulatorConnectionService.instance = this ; }

Target:
public void onCreate ( ) { super . onCreate ( ) ; com.android.dialer.simulator.impl.SimulatorConnectionService.instance = this ; simulatorConnectionsBank = com.android.dialer.simulator.SimulatorComponent.get ( this ) . getSimulatorConnectionsBank ( ) ; }
Source:
protected void visitType ( int type , int index ) { throw new java.lang.AssertionError ( "Unsupported encoded value." ) ; }

Target:
protected void visitMethod ( int index ) { throw new java.lang.AssertionError ( "Unsupported encoded value." ) ; }
Source:
public java.lang.Object [ ] toArray ( ) { java.lang.Object [ ] newArray = new java.lang.Object [ size ( ) ] ; return toArray ( newArray ) ; }

Target:
public int size ( ) { return elementSet ( ) . size ( ) ; }
Source:
public static void computeSqrt ( android.renderscript.cts.TestSqrt.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 3 ; args.out = ( ( float ) ( java.lang.StrictMath.sqrt ( args.in ) ) ) ; }

Target:
public static void computeSqrt ( android.renderscript.cts.TestSqrt.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.sqrt ( args.in ) , 3 , 3 ) ; }
Source:
public boolean isTimeZoneSettingInitialized ( ) { java.lang.String timeZoneId = android.os.SystemProperties.get ( com.android.internal.telephony.TimeServiceHelper.TIMEZONE_PROPERTY ) ; return ( timeZoneId != null ) && ( ( timeZoneId.length ( ) ) > 0 ) ; }

Target:
public boolean isTimeZoneSettingInitialized ( ) { java.lang.String timeZoneId = android.os.SystemProperties.get ( com.android.internal.telephony.TimeServiceHelper.TIMEZONE_PROPERTY ) ; return ( ( timeZoneId != null ) && ( ( timeZoneId.length ( ) ) > 0 ) ) && ( ! ( timeZoneId.equals ( "GMT" ) ) ) ; }
Source:
public void writeTo ( com.android.dx.io.DexBuffer.Section out ) { out.writeInt ( shortyIndex ) ; out.writeInt ( returnTypeIndex ) ; out.writeInt ( parametersOffset ) ; }

Target:
public void writeTo ( com.android.dex.Dex.Section out ) { out.writeInt ( shortyIndex ) ; out.writeInt ( returnTypeIndex ) ; out.writeInt ( parametersOffset ) ; }
Source:
private void free ( ) { if ( ( ctx ) != 0 ) { org.apache.harmony.xnet.provider.jsse.NativeCrypto.EVP_MD_CTX_destroy ( ctx ) ; ctx = 0 ; } }

Target:
private void free ( ) { if ( ( ctx ) != 0 ) { com.android.org.conscrypt.NativeCrypto.EVP_MD_CTX_destroy ( ctx ) ; ctx = 0 ; } }
Source:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { model.removeTreeChangeListener ( this ) ; transform.dispose ( ) ; inverse.dispose ( ) ; }

Target:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { model.removeTreeChangeListener ( this ) ; transform.dispose ( ) ; inverse.dispose ( ) ; boxColor.dispose ( ) ; textBackgroundColor.dispose ( ) ; }
Source:
protected void finalize ( ) { try { super . finalize ( ) ; } catch ( java.lang.Throwable throwable ) { android.util.Log.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error while finalizing:" , throwable ) ; } if ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.DBG ) android.util.Log.d ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "RuimSmsInterfaceManager finalized" ) ; }

Target:
public boolean enableCellBroadcastRange ( int startMessageId , int endMessageId ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }
Source:
public void onCallAudioStateChanged ( android.telecom.CallAudioState audioState ) { com.android.incallui.audiomode.AudioModeProvider.getInstance ( ) . onAudioStateChanged ( audioState ) ; }

Target:
public void onCallAudioStateChanged ( android.telecom.CallAudioState audioState ) { android.os.Trace.beginSection ( "InCallServiceImpl.onCallAudioStateChanged" ) ; com.android.incallui.audiomode.AudioModeProvider.getInstance ( ) . onAudioStateChanged ( audioState ) ; android.os.Trace.endSection ( ) ; }
Source:
native void rsnScriptSetVarObj ( int con , int id , int slot , int val ) ;

Target:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;
Source:
public void error ( org.xml.sax.SAXParseException e ) { data_error.append ( e ) ; data_error.append ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }

Target:
public void error ( org.xml.sax.SAXParseException e ) { data_error.append ( e ) ; data_error.append ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }
Source:
public int setBluetoothA2dpDeviceConnectionState ( android.bluetooth.BluetoothDevice device , int state , int profile ) { if ( mAudioHandler.hasMessages ( com.android.server.audio.AudioService.MSG_SET_A2DP_SINK_CONNECTION_STATE , device ) ) { return 0 ; } return setBluetoothA2dpDeviceConnectionStateInt ( device , state , profile , AudioSystem.DEVICE_NONE ) ; }

Target:
public int setBluetoothA2dpDeviceConnectionState ( android.bluetooth.BluetoothDevice device , int state , int profile ) { return setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent ( device , state , profile , false ) ; }
Source:
private void createFakeBuildTools ( @ com.android.annotations.NonNull java.io.File dir , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision buildToolsRevision , @ com.android.annotations.NonNull com.android.sdklib.BuildToolInfo.PathId pathId , @ com.android.annotations.NonNull java.lang.String filepath ) throws java.io.IOException { if ( pathId.isPresentIn ( buildToolsRevision ) ) { createTextFile ( dir , filepath ) ; } }

Target:
private void createFakeBuildToolsFile ( @ com.android.annotations.NonNull java.io.File dir , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision buildToolsRevision , @ com.android.annotations.NonNull com.android.sdklib.BuildToolInfo.PathId pathId , @ com.android.annotations.NonNull java.lang.String filepath ) throws java.io.IOException { if ( pathId.isPresentIn ( buildToolsRevision ) ) { createTextFile ( dir , filepath ) ; } }
Source:
protected java.io.File getAapt ( ) { return super . getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "22" ) ) ; }

Target:
public static void tearDownAndCheck ( ) throws java.io.IOException , java.lang.InterruptedException , java.util.zip.DataFormatException { com.android.builder.png.NinePatchAaptProcessorTestUtils.tearDownAndCheck ( com.android.builder.png.NinePatchAsyncAaptProcessTest.sCruncherKey.get ( ) , com.android.builder.png.NinePatchAsyncAaptProcessTest.mSourceAndCrunchedFiles , com.android.builder.png.NinePatchAsyncAaptProcessTest.sCruncher , com.android.builder.png.NinePatchAsyncAaptProcessTest.sClassStartTime ) ; com.android.builder.png.NinePatchAsyncAaptProcessTest.mSourceAndCrunchedFiles = null ; }
Source:
private com.android.browser.Tab getPrevTab ( ) { return mTabControl.getTab ( java.lang.Math.max ( 0 , ( ( mTabControl.getCurrentPosition ( ) ) - 1 ) ) ) ; }

Target:
private com.android.browser.Tab getPrevTab ( ) { int pos = ( mTabControl.getCurrentPosition ( ) ) - 1 ; if ( pos < 0 ) { pos = ( mTabControl.getTabCount ( ) ) - 1 ; } return mTabControl.getTab ( pos ) ; }
Source:
static int $opt$DoubleToInt ( double a ) { return ( ( int ) ( a ) ) ; }

Target:
static int $opt$DoubleToInt ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public boolean press ( com.android.chimpchat.PhysicalButton button ) throws java.io.IOException { return press ( button.getKeyName ( ) ) ; }

Target:
public boolean press ( com.android.chimpchat.core.PhysicalButton button ) throws java.io.IOException { return press ( button.getKeyName ( ) ) ; }
Source:
public static com.android.newbubble.NewBubbleInfo.Builder builder ( ) { return new com.android.newbubble.AutoValue_NewBubbleInfo.Builder ( ) . setActions ( java.util.Collections.emptyList ( ) ) ; }

Target:
public static com.android.bubble.BubbleInfo.Builder builder ( ) { return new com.android.bubble.AutoValue_BubbleInfo.Builder ( ) . setActions ( java.util.Collections.emptyList ( ) ) ; }
Source:
public long maxSize ( ) { return delegate.getCache ( ) . maxSize ( ) ; }

Target:
public long maxSize ( ) { return delegate.getMaxSize ( ) ; }
Source:
private javax.security.auth.x500.X500Principal localhost ( ) { return new javax.security.auth.x500.X500Principal ( ( "CN=" + ( libcore.java.security.TestKeyStore.LOCAL_HOST_NAME ) ) ) ; }

Target:
private javax.security.auth.x500.X500Principal localhost ( ) { return new javax.security.auth.x500.X500Principal ( "CN=Local Host" ) ; }
Source:
public void configureEvent ( int type , int stream , javax.swing.Icon icon , java.awt.Color color , java.awt.Color progress ) { mEventsInfo.put ( type , new com.android.tools.chartlib.TimelineComponent.EventInfo ( type , stream , icon , color , progress ) ) ; }

Target:
public void configureEvent ( int type , int stream , javax.swing.Icon icon , java.awt.Color color , java.awt.Color progress , boolean range ) { mEventsInfo.put ( type , new com.android.tools.chartlib.TimelineComponent.EventInfo ( type , stream , icon , color , progress , range ) ) ; }
Source:
public void test_getProxyClass_duplicateInterfaces ( ) { try { java.lang.reflect.Proxy.getProxyClass ( null , libcore.java.lang.reflect.ProxyTest.Echo.class , libcore.java.lang.reflect.ProxyTest.Echo.class ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void test_getProxyClass_duplicateInterfaces ( ) { try { java.lang.reflect.Proxy.getProxyClass ( loader , libcore.java.lang.reflect.ProxyTest.Echo.class , libcore.java.lang.reflect.ProxyTest.Echo.class ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public java.lang.String getPackageName ( ) { plugin.displayDeprecationWarning ( "variant.getPackageName() is deprecated. Use getApplicationId() instead" ) ; return getApplicationId ( ) ; }

Target:
public void buildConfigField ( @ com.android.annotations.NonNull java.lang.String type , @ com.android.annotations.NonNull java.lang.String name , @ com.android.annotations.NonNull java.lang.String value ) { getVariantData ( ) . getVariantConfiguration ( ) . addBuildConfigField ( type , name , value ) ; }
Source:
public void test_U8_2_SCALE20_05_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_U8_2_SCALE20_05_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public void setSimOperatorName ( java.lang.String name ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; setSimOperatorNameForPhone ( phoneId , name ) ; }

Target:
public void setSimOperatorName ( java.lang.String name ) { int phoneId = getPhoneId ( ) ; setSimOperatorNameForPhone ( phoneId , name ) ; }
Source:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . get ( ( ( K ) ( key ) ) ) : null ; }

Target:
public java.util.Collection < V > get ( java.lang.Object key ) { return containsKey ( key ) ? multimap.get ( ( ( K ) ( key ) ) ) : null ; }
Source:
public static void setupDiskCache ( java.io.File cacheDir ) { if ( ! ( android.renderscript.RenderScript.sInitialized ) ) { android.util.Log.e ( android.renderscript.RenderScript.LOG_TAG , "RenderScript.setupDiskCache() called when disabled" ) ; return ; } android.renderscript.RenderScript.mCacheDir = cacheDir ; }

Target:
synchronized void nContextSetCacheDir ( java.lang.String cacheDir ) { validate ( ) ; rsnContextSetCacheDir ( mContext , cacheDir ) ; }
Source:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxCopy ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy ) ; }

Target:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; if ( digestInitializedInContext ) { org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; } return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy , digestInitializedInContext ) ; }
Source:
public void testVFE6 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.sget_byte.d.T_sget_byte_8" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE7 ( ) { try { new dot.junit.opcodes.sget_byte.d.T_sget_byte_12 ( ) . run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.IllegalAccessError t ) { } }
Source:
public void visitAnyConstant ( proguard.classfile.editor.Clazz clazz , proguard.classfile.editor.Constant constant ) { }

Target:
public void visitLibraryClass ( proguard.classfile.editor.LibraryClass libraryClass ) { ( ( proguard.classfile.editor.AccessFixer.MyAccessFixer ) ( classVisitor ) ) . referencingClass = libraryClass ; super . visitLibraryClass ( libraryClass ) ; }
Source:
public boolean isExternal ( ) { return true ; }

Target:
public boolean isToEmit ( ) { return false ; }
Source:
private void adjustKeySizes ( ) { if ( isLandscapeMode ( ) ) { adjustKeyWidths ( ) ; } else { adjustDigitKeyHeights ( ) ; } }

Target:
private void adjustKeySizes ( ) { if ( mIsLandscapeMode ) { adjustKeyWidths ( ) ; } else { adjustDigitKeyHeights ( ) ; } }
Source:
public void test_minusDays_overYears ( ) { java.time.LocalDate t = java.time.LocalDate.of ( 2008 , 7 , 16 ) . minusDays ( 367 ) ; org.testng.Assert.assertEquals ( t , TEST_2007_07_15 ) ; }

Target:
public void test_minusDays_overYears ( ) { java.time.LocalDate t = java.time.LocalDate.of ( 2008 , 7 , 16 ) . minusDays ( 367 ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalDate.TEST_2007_07_15 ) ; }
Source:
protected void addFile ( com.android.build.gradle.internal.test.fixture.app.TestSourceFile ... files ) { for ( com.android.build.gradle.internal.test.fixture.app.TestSourceFile file : files ) { sourceFiles.put ( file.getName ( ) , file ) ; } }

Target:
protected void addFiles ( com.android.build.gradle.internal.test.fixture.app.TestSourceFile ... files ) { for ( com.android.build.gradle.internal.test.fixture.app.TestSourceFile file : files ) { sourceFiles.put ( file.getName ( ) , file ) ; } }
Source:
public boolean clearBlacklist ( ) { return doBooleanCommand ( "BLACKLIST clear" ) ; }

Target:
public boolean setSuspendOptimizations ( boolean enabled ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setSuspendModeEnabled ( enabled ) ; } else { if ( enabled ) { return doBooleanCommand ( "DRIVER SETSUSPENDMODE 1" ) ; } else { return doBooleanCommand ( "DRIVER SETSUSPENDMODE 0" ) ; } } }
Source:
public java.lang.String hashString ( ) { return java.lang.String.format ( com.android.sdklib.AddOnTarget.ADD_ON_FORMAT , mVendor , mName , mBasePlatform.getVersion ( ) . getApiString ( ) ) ; }

Target:
public java.lang.String hashString ( ) { return java.lang.String.format ( AndroidTargetHash.ADD_ON_FORMAT , mVendor , mName , mBasePlatform.getVersion ( ) . getApiString ( ) ) ; }
Source:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getRequestProperties ( ) { if ( connected ) throw new java.lang.IllegalStateException ( "Already connected" ) ; if ( ( requests ) == null ) return java.util.Collections.EMPTY_MAP ; return requests.getHeaders ( null ) ; }

Target:
public java.util.Map < java.lang.String , java.util.List < java.lang.String > > getRequestProperties ( ) { if ( connected ) throw new java.lang.IllegalStateException ( "Already connected" ) ; if ( ( requests ) == null ) return java.util.Collections.emptyMap ( ) ; return requests.getHeaders ( null ) ; }
Source:
public static native void EVP_VerifyUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;

Target:
public static native void EVP_DigestSignUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;
Source:
public static int byteToDoubleToInt ( byte value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
protected void logw ( java.lang.String s , java.lang.Throwable tr ) { android.util.Log.w ( com.android.internal.telephony.gsm.SIMRecords.LOG_TAG , ( "[SIMRecords] " + s ) , tr ) ; }

Target:
protected void logw ( java.lang.String s , java.lang.Throwable tr ) { android.telephony.Rlog.w ( com.android.internal.telephony.gsm.SIMRecords.LOG_TAG , ( "[SIMRecords] " + s ) , tr ) ; }
Source:
public void notifyVoiceNetworkStateChanged ( ) { mVoiceNetworkStateRegistrants.notifyRegistrants ( ) ; }

Target:
public void notifyNetworkStateChanged ( ) { mNetworkStateRegistrants.notifyRegistrants ( ) ; }
Source:
private void unsljLogRet ( int response , java.lang.Object ret ) { riljLog ( ( ( ( "[UNSL]< " + ( com.android.internal.telephony.RIL.responseToString ( response ) ) ) + " " ) + ( retToString ( response , ret ) ) ) ) ; }

Target:
private void riljLog ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , ( msg + ( ( mInstanceId ) != null ? ( " [SUB" + ( mInstanceId ) ) + "]" : "" ) ) ) ; }
Source:
public void performReceive ( android.content.Intent intent , int resultCode , java.lang.String data , android.os.Bundle extras , boolean ordered , boolean sticky ) throws android.os.RemoteException { synchronized ( this ) { mDidUpdate = true ; } systemReady ( goingCallback ) ; }

Target:
public void run ( ) { synchronized ( this ) { mDidUpdate = true ; } com.android.server.am.ActivityManagerService.writeLastDonePreBootReceivers ( doneReceivers ) ; showBootMessage ( mContext.getText ( R.string.android_upgrading_complete ) , false ) ; systemReady ( goingCallback ) ; }
Source:
public static java.io.File createTempFile ( @ javax.annotation.Nonnull java.lang.String prefix , @ javax.annotation.Nonnull java.lang.String suffix ) throws java.io.IOException { java.io.File tmp = java.io.File.createTempFile ( prefix , suffix ) ; tmp.deleteOnExit ( ) ; return tmp ; }

Target:
public static java.io.File createTempFile ( @ javax.annotation.Nonnull java.lang.String prefix , @ javax.annotation.Nonnull java.lang.String suffix ) throws com.android.sched.util.file.CannotCreateFileException , com.android.sched.util.file.CannotSetPermissionException , com.android.sched.util.file.WrongPermissionException { java.io.File tmp = com.android.sched.util.file.Files.createTempFile ( ( ( com.android.jack.test.toolchain.AbstractTestTools.TMP_PREFIX ) + prefix ) , suffix ) ; tmp.deleteOnExit ( ) ; return tmp ; }
Source:
private void readIconData ( ) { android.os.Message msg = this . obtainMessage ( com.android.internal.telephony.gsm.stk.IconLoader.EVENT_READ_ICON_DONE ) ; mSimFH.loadEFImgTransparent ( mId.imageId , 0 , 0 , mId.length , msg ) ; }

Target:
private void readIconData ( ) { android.os.Message msg = this . obtainMessage ( com.android.internal.telephony.cat.IconLoader.EVENT_READ_ICON_DONE ) ; mSimFH.loadEFImgTransparent ( mId.imageId , 0 , 0 , mId.length , msg ) ; }
Source:
public int load ( android.content.res.AssetFileDescriptor afd , int priority ) { return 0 ; }

Target:
public int load ( java.io.FileDescriptor fd , long offset , long length , int priority ) { return 0 ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val , boolean mUseInc ) ;
Source:
public static float signum ( float f ) { return sun.misc.FpUtils.signum ( f ) ; }

Target:
public static float nextUp ( float f ) { return java.lang.Math.nextUp ( f ) ; }
Source:
private static int getDefaultSubscription ( ) { return android.telephony.SubscriptionManager.getDefaultSubId ( ) ; }

Target:
private int getSubId ( ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }
Source:
boolean revealLine ( java.lang.String fileName , int lineNumber , java.lang.String perspective ) ;

Target:
boolean revealMethod ( java.lang.String fqmn , java.lang.String fileName , int lineNumber , java.lang.String perspective ) ;
Source:
protected void connect ( final android.net.wifi.WifiConfiguration config , boolean isSavedNetwork ) { mMetricsFeatureProvider.action ( getActivity ( ) , MetricsEvent.ACTION_WIFI_CONNECT , isSavedNetwork ) ; mWifiManager.connect ( config , mConnectListener ) ; scrollToPreference ( mConnectedAccessPointPreferenceCategory ) ; }

Target:
protected void connect ( final android.net.wifi.WifiConfiguration config , boolean isSavedNetwork ) { mMetricsFeatureProvider.action ( getActivity ( ) , MetricsEvent.ACTION_WIFI_CONNECT , isSavedNetwork ) ; mWifiManager.connect ( config , mConnectListener ) ; mClickedConnect = true ; }
Source:
public com.android.jack.dx.io.ProtoId get ( int index ) { com.android.jack.dx.io.DexBuffer.checkBounds ( index , tableOfContents.protoIds.size ) ; return open ( ( ( tableOfContents.protoIds.off ) + ( ( com.android.jack.dx.dex.SizeOf.PROTO_ID_ITEM ) * index ) ) ) . readProtoId ( ) ; }

Target:
public com.android.jack.dx.io.ProtoId get ( int index ) { com.android.jack.dx.io.DexBuffer.checkBounds ( index , tableOfContents.protoIds.size ) ; return openInternal ( ( ( tableOfContents.protoIds.off ) + ( ( com.android.jack.dx.dex.SizeOf.PROTO_ID_ITEM ) * index ) ) ) . readProtoId ( ) ; }
Source:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }

Target:
public void testBridge001 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( BRIDGE001 ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }