auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onNewIncomingConnection ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection connection ) { if ( connection.getExtras ( ) . getBoolean ( connectionTag ) ) { com.android.dialer.common.LogUtil.i ( "SimulatorVoiceCall.onNewIncomingConnection" , "connection created" ) ; handleNewConnection ( connection ) ; } }

Target:
private boolean isMyConnection ( @ android.support.annotation.NonNull android.telecom.Connection connection ) { return connection.getExtras ( ) . getBoolean ( connectionTag ) ; }
Source:
public void testRunStarted ( int testCount ) { mTotalTestCount = testCount ; }

Target:
public void testRunStarted ( java.lang.String ignoredRunName , int testCount ) { mTotalTestCount = testCount ; }
Source:
public void ensureAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded , @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { ensureAnnotations ( loaded ) ; }

Target:
public void ensureAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded , @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { ensureAnnotations ( loaded ) ; }
Source:
public void prepareFullBuild ( org.eclipse.core.resources.IProject project , java.util.List < org.eclipse.core.runtime.IPath > sourceFolders ) { mDeltaVisitor.reset ( ) ; buildCompilationList ( project , sourceFolders ) ; }

Target:
public final void saveState ( org.eclipse.core.resources.IProject project ) { com.android.ide.eclipse.adt.internal.project.ProjectHelper.saveStringProperty ( project , getSavePropertyName ( ) , java.lang.Boolean.toString ( ( ( getToCompile ( ) . size ( ) ) > 0 ) ) ) ; }
Source:
public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature ( @ android.telephony.ims.feature.ImsFeature.FeatureType int feature ) { mConfig.addFeature ( feature ) ; return this ; }

Target:
public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature ( int slotId , @ android.telephony.ims.feature.ImsFeature.FeatureType int featureType ) { mConfig.addFeature ( slotId , featureType ) ; return this ; }
Source:
public void invokeConstructor ( final org.objectweb.asm.Type type , final org.objectweb.asm.commons.Method method ) { invokeInsn ( Opcodes.INVOKESPECIAL , type , method ) ; }

Target:
public void invokeVirtual ( final org.objectweb.asm.Type owner , final org.objectweb.asm.commons.Method method ) { invokeInsn ( Opcodes.INVOKEVIRTUAL , owner , method , false ) ; }
Source:
public boolean onMenuItemClick ( android.view.MenuItem item ) { openTab ( extra , mTabControl.getCurrentTab ( ) , true , true ) ; return false ; }

Target:
public boolean onMenuItemClick ( android.view.MenuItem item ) { com.android.browser.Controller.sharePage ( mActivity , null , extra , null , null ) ; return true ; }
Source:
void process ( ) { for ( com.android.jack.dx.ssa.SsaBasicBlock block : blocks ) { pruneRedundantConditionalBranch ( block ) ; } }

Target:
public void visitBlock ( com.android.jack.dx.ssa.SsaBasicBlock block , com.android.jack.dx.ssa.SsaBasicBlock parent ) { pruneRedundantConditionalBranch ( block ) ; }
Source:
public static float FloatRemainder ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a % b ; return c ; }

Target:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 8.0F ) ; b = Main.$inline$float ( 2.5F ) ; c = a / b ; return c ; }
Source:
int waitForAnyCallback ( ) { try { boolean noTimeout = mBlocker.await ( android.net.wifi.aware.cts.SingleDeviceTest.WAIT_FOR_AWARE_CHANGE , java.util.concurrent.TimeUnit.SECONDS ) ; if ( noTimeout ) { return mCallbackCalled ; } else { return android.net.wifi.aware.cts.SingleDeviceTest.AttachCallbackTest.ERROR ; } } catch ( java.lang.InterruptedException e ) { return android.net.wifi.aware.cts.SingleDeviceTest.AttachCallbackTest.ERROR ; } }

Target:
int waitForAnyCallback ( ) { try { boolean noTimeout = mBlocker.await ( android.net.wifi.aware.cts.SingleDeviceTest.WAIT_FOR_AWARE_CHANGE_SECS , java.util.concurrent.TimeUnit.SECONDS ) ; if ( noTimeout ) { return mCallbackCalled ; } else { return android.net.wifi.aware.cts.SingleDeviceTest.AttachCallbackTest.ERROR ; } } catch ( java.lang.InterruptedException e ) { return android.net.wifi.aware.cts.SingleDeviceTest.AttachCallbackTest.ERROR ; } }
Source:
public void onSelected ( boolean newState ) { rescale ( ( - 1 ) ) ; }

Target:
public void onSelected ( boolean newState ) { rescaleToFit ( ) ; }
Source:
public void disableOptionalCodecs ( ) { if ( android.bluetooth.BluetoothA2dp.DBG ) android.util.Log.d ( android.bluetooth.BluetoothA2dp.TAG , "disableOptionalCodecs" ) ; enableDisableOptionalCodecs ( false ) ; }

Target:
public void enableOptionalCodecs ( android.bluetooth.BluetoothDevice device ) { if ( android.bluetooth.BluetoothA2dp.DBG ) android.util.Log.d ( android.bluetooth.BluetoothA2dp.TAG , ( ( "enableOptionalCodecs(" + device ) + ")" ) ) ; enableDisableOptionalCodecs ( device , true ) ; }
Source:
java.io.ObjectStreamClass getSuperDesc ( ) { return superDesc ; }

Target:
java.io.ObjectStreamClass getSuperDesc ( ) { requireInitialized ( ) ; return superDesc ; }
Source:
public void testVP8EncodeDecodeVideoFromBufferToBufferQVGA ( ) throws java.lang.Exception { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 ) ; encodeDecodeVideoFromBuffer ( false ) ; }

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 void testNewInstance_ClassLoader ( ) { java.lang.String subclassSig = getClassSignature ( NewInstanceTagDebuggee.MyClassLoader.class ) ; checkNewInstanceTag ( subclassSig , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , JDWPConstants.Tag.CLASS_LOADER_TAG ) ; }

Target:
public void testNewInstance_Thread ( ) { checkNewInstanceTag ( "Ljava/lang/Thread;" , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , new org.apache.harmony.jpda.tests.jdwp.ClassType.Checker ( JDWPConstants.Tag.THREAD_TAG ) ) ; }
Source:
protected void tearDown ( ) { objArray = null ; myobjArray = null ; ll = null ; myll = null ; reversedLinkedList = null ; myReversedLinkedList = null ; s = null ; mys = null ; hm = null ; }

Target:
private static void testKeySet ( java.util.Set < java.lang.String > referenceKeySet , java.util.Set < java.lang.String > keySet ) { org.apache.harmony.tests.java.util.CollectionsTest.MapTestSupport.testKeySetContents ( referenceKeySet ) ; org.apache.harmony.tests.java.util.CollectionsTest.MapTestSupport.testKeySetContents ( keySet ) ; org.apache.harmony.tests.java.util.CollectionsTest.MapTestSupport.crossCheckOrdering ( referenceKeySet , keySet , java.lang.String.class ) ; }
Source:
public void enter ( ) { android.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering SIM CALL state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( AudioManager.MODE_IN_CALL ) ; mMostRecentMode = android.media.AudioManager.MODE_IN_CALL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.HAS_FOCUS ) ; }

Target:
public void enter ( ) { android.telecom.Log.i ( com.android.server.telecom.CallAudioModeStateMachine.LOG_TAG , "Audio focus entering SIM CALL state" ) ; mAudioManager.requestAudioFocusForCall ( AudioManager.STREAM_VOICE_CALL , AudioManager.AUDIOFOCUS_GAIN_TRANSIENT ) ; mAudioManager.setMode ( AudioManager.MODE_IN_CALL ) ; mMostRecentMode = android.media.AudioManager.MODE_IN_CALL ; mCallAudioManager.setCallAudioRouteFocusState ( CallAudioRouteStateMachine.ACTIVE_FOCUS ) ; }
Source:
public static boolean isSyntheticSwitchMapClass ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass cls ) { java.lang.String shortName = cls.getName ( ) ; return shortName.contains ( com.android.jack.transformations.enums.opt.SyntheticClassManager.SyntheticSwitchmapClassNamePrefix ) ; }

Target:
public static boolean isSyntheticSwitchMapClass ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass cls ) { return cls.getName ( ) . startsWith ( com.android.jack.transformations.enums.opt.SyntheticClassManager.SyntheticSwitchmapClassNamePrefix ) ; }
Source:
boolean destroyLayer ( boolean valid ) { return false ; }

Target:
public void setLayerPaint ( android.graphics.Paint paint ) { setLayerType ( 0 , paint ) ; }
Source:
public void testReadAfterWriteWithNoUserStore ( ) throws java.lang.Exception { com.android.server.wifi.WifiConfigStoreData writeData = createSingleOpenNetworkStoreData ( ) ; mWifiConfigStore.write ( true , writeData ) ; com.android.server.wifi.WifiConfigStoreData readData = mWifiConfigStore.read ( ) ; com.android.server.wifi.WifiConfigStoreDataTest.assertConfigStoreDataEqual ( writeData , readData ) ; }

Target:
public void testReadShareStoreContainedUnknownData ( ) throws java.lang.Exception { java.lang.String storeFileData = "<?xml version=\'1.0\' encoding=\'utf-8\' standalone=\'yes\' ?>\n" + ( ( ( ( "<WifiConfigStoreData>\n" + "<int name=\"Version\" value=\"1\" />\n" ) + "<UnknownTag>\n" ) + "</UnknownTag>\n" ) + "</WifiConfigStoreData>\n" ) ; mSharedStore.storeRawDataToWrite ( storeFileData.getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ) ; mWifiConfigStore.read ( ) ; }
Source:
public int dpToPx ( int dp ) { fail ( "Not supported in tests yet" ) ; return 0 ; }

Target:
public int screenToLayout ( int pixels ) { fail ( "Not supported in tests yet" ) ; return pixels ; }
Source:
public void test_U8_4_SCALE05_20_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 4 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_4_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 4 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public void rejectWithMessage ( java.lang.String callId , java.lang.String message ) throws android.os.RemoteException { }

Target:
public void rejectWithMessage ( java.lang.String callId , java.lang.String message , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
public java.lang.String getSymbol ( ) { return getSymbol ( java.util.Locale.getDefault ( java.util.Locale.Category.DISPLAY ) ) ; }

Target:
public java.lang.String toString ( ) { return icuCurrency.toString ( ) ; }
Source:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return libcore.reflect.AnnotationAccess.getDeclaredAnnotation ( this , annotationType ) ; }

Target:
public boolean isAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return isAnnotationPresentNative ( annotationType ) ; }
Source:
public java.io.File getFile ( ) { return fileResolver.resolve ( source ) ; }

Target:
public java.io.File getSrcFile ( ) { return fileResolver.resolve ( source ) ; }
Source:
public static native boolean ensureInInterpreter ( ) ;

Target:
public static native void ensureHasOsrCode ( java.lang.String methodName ) ;
Source:
public void testValidationFailure ( ) throws ManifestMerger2.MergeFailureException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + " <activity android:name=\"activityOne\" " ) + " tools:replace=\"exported\"/>\n" ) + "\n" ) + "</manifest>" ) ; java.io.File tmpFile = inputAsFile ( "ManifestMerger2Test_testValidationFailure" , input ) ; assertTrue ( tmpFile.exists ( ) ) ; try { com.android.manifmerger.MergingReport mergingReport = com.android.manifmerger.ManifestMerger2.newInvoker ( tmpFile , mockLog ) . merge ( ) ; assertEquals ( MergingReport.Result.ERROR , mergingReport.getResult ( ) ) ; assertStringPresenceInLogRecords ( mergingReport , "tools:replace" ) ; assertFalse ( mergingReport.getMergedDocument ( ) . isPresent ( ) ) ; } finally { assertTrue ( tmpFile.delete ( ) ) ; } }

Target:
public void testValidationFailure ( ) throws ManifestMerger2.MergeFailureException , java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + " <activity android:name=\"activityOne\" " ) + " tools:replace=\"exported\"/>\n" ) + "\n" ) + "</manifest>" ) ; java.io.File tmpFile = com.android.manifmerger.ManifestMerger2SmallTest.inputAsFile ( "ManifestMerger2Test_testValidationFailure" , input ) ; assertTrue ( tmpFile.exists ( ) ) ; try { com.android.manifmerger.MergingReport mergingReport = com.android.manifmerger.ManifestMerger2.newMerger ( tmpFile , mockLog , ManifestMerger2.MergeType.APPLICATION ) . merge ( ) ; assertEquals ( MergingReport.Result.ERROR , mergingReport.getResult ( ) ) ; com.android.manifmerger.ManifestMerger2SmallTest.assertStringPresenceInLogRecords ( mergingReport , "tools:replace" ) ; assertFalse ( mergingReport.getMergedDocument ( ) . isPresent ( ) ) ; } finally { assertTrue ( tmpFile.delete ( ) ) ; } }
Source:
protected abstract void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException ;

Target:
protected abstract void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException ;
Source:
public void checkValidity ( ) { super . checkValidity ( ) ; }

Target:
public void replaceWith ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock block ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public boolean isValid ( ) { return ( ( mValue1 ) != ( com.android.ide.eclipse.adt.internal.resources.configurations.ScreenDimensionQualifier.DEFAULT_SIZE ) ) && ( ( mValue2 ) != ( com.android.ide.eclipse.adt.internal.resources.configurations.ScreenDimensionQualifier.DEFAULT_SIZE ) ) ; }

Target:
public boolean isValid ( ) { return ( ( mValue1 ) != ( com.android.ide.common.resources.configuration.ScreenDimensionQualifier.DEFAULT_SIZE ) ) && ( ( mValue2 ) != ( com.android.ide.common.resources.configuration.ScreenDimensionQualifier.DEFAULT_SIZE ) ) ; }
Source:
public void now_Clock_tooBig ( ) { java.time.Clock clock = java.time.Clock.fixed ( MAX_INSTANT.plusSeconds ( ( ( 24 * 60 ) * 60 ) ) , java.time.ZoneOffset.UTC ) ; java.time.LocalDate.now ( clock ) ; }

Target:
public void now_Clock_tooBig ( ) { java.time.Clock clock = java.time.Clock.fixed ( tck.java.time.TCKLocalDate.MAX_INSTANT.plusSeconds ( ( ( 24 * 60 ) * 60 ) ) , java.time.ZoneOffset.UTC ) ; java.time.LocalDate.now ( clock ) ; }
Source:
native void rsnScriptSetVarI ( int con , int id , int slot , int val ) ;

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }
Source:
public void testVFE4 ( ) { try { new dot.junit.opcodes.invoke_direct.d.T_invoke_direct_6 ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE10 ( ) { load ( "dot.junit.opcodes.invoke_direct.d.T_invoke_direct_25" , java.lang.VerifyError.class ) ; }
Source:
public static void runString ( java.lang.String script ) { com.android.monkeyrunner.ScriptRunner.initPython ( ) ; org.python.util.PythonInterpreter python = new org.python.util.PythonInterpreter ( ) ; python.exec ( script ) ; }

Target:
public static void runString ( java.lang.String executablePath , java.lang.String script ) { com.android.monkeyrunner.ScriptRunner.initPython ( executablePath ) ; org.python.util.PythonInterpreter python = new org.python.util.PythonInterpreter ( ) ; python.exec ( script ) ; }
Source:
public org.bouncycastle.operator.jcajce.JceSymmetricKeyWrapper setProvider ( java.security.Provider provider ) { this . helper = new org.bouncycastle.operator.jcajce.OperatorHelper ( new org.bouncycastle.jcajce.ProviderJcaJceHelper ( provider ) ) ; return this ; }

Target:
public org.bouncycastle.operator.jcajce.JceSymmetricKeyWrapper setProvider ( java.security.Provider provider ) { this . helper = new org.bouncycastle.operator.jcajce.OperatorHelper ( new org.bouncycastle.jcajce.util.ProviderJcaJceHelper ( provider ) ) ; return this ; }
Source:
public void setStreamMute ( int streamType , boolean state , android.os.IBinder cb ) { if ( mUseFixedVolume ) { return ; } if ( isStreamAffectedByMute ( streamType ) ) { mStreamStates [ streamType ] . mute ( cb , state ) ; } }

Target:
public int getMasterStreamType ( ) { return mStreamVolumeAlias [ AudioSystem.STREAM_SYSTEM ] ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JLongLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JLongLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getValue ( ) ) == ( other.getValue ( ) ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNullLiteral expr ) { performCommonChecks ( expr ) ; otherOrMe ( expr ) ; }
Source:
public int compareTo ( com.android.jack.dx.rop.type.Type other ) { return descriptor.compareTo ( other.descriptor ) ; }

Target:
protected int compareTo0 ( com.android.jack.dx.rop.cst.Constant other ) { assert other instanceof com.android.jack.dx.rop.type.Type ; return descriptor.compareTo ( ( ( com.android.jack.dx.rop.type.Type ) ( other ) ) . descriptor ) ; }
Source:
private java.io.File createEmptyLibrary ( ) throws java.io.IOException , java.lang.Exception { java.io.File emptyLib = com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "empty" , ".jack" ) ; com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; toolchain.srcToLib ( null , emptyLib , true ) ; return emptyLib ; }

Target:
private java.io.File createEmptyLibrary ( ) throws java.io.IOException , java.lang.Exception { com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; java.io.File emptyLib = com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "empty" , toolchain.getLibraryExtension ( ) ) ; toolchain.srcToLib ( emptyLib , true ) ; return emptyLib ; }
Source:
public com.android.server.wifi.BaseWifiDiagnostics makeWifiDiagnostics ( com.android.server.wifi.WifiNative wifiNative ) { if ( mUseRealLogger ) { return new com.android.server.wifi.WifiDiagnostics ( mContext , this , mWifiStateMachine , wifiNative , mBuildProperties ) ; } else { return new com.android.server.wifi.BaseWifiDiagnostics ( ) ; } }

Target:
public com.android.server.wifi.BaseWifiDiagnostics makeWifiDiagnostics ( com.android.server.wifi.WifiNative wifiNative ) { if ( mUseRealLogger ) { return new com.android.server.wifi.WifiDiagnostics ( mContext , this , mWifiStateMachine , wifiNative , mBuildProperties , new com.android.server.wifi.LastMileLogger ( this ) ) ; } else { return new com.android.server.wifi.BaseWifiDiagnostics ( ) ; } }
Source:
public void getFacilityLockForAppResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void getOperatorResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String longName , java.lang.String shortName , java.lang.String numeric ) { responseStrings ( responseInfo , longName , shortName , numeric ) ; }
Source:
public void setPhoneType ( int phoneType ) { android.util.Log.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; }

Target:
public void setPhoneType ( int phoneType ) { android.telephony.Rlog.w ( com.android.internal.telephony.test.SimulatedCommands.LOG_TAG , "CDMA not implemented in SimulatedCommands" ) ; }
Source:
private void expectNetworkStatsSummary ( android.net.NetworkStats summary ) throws java.lang.Exception { org.mockito.Mockito.when ( mConnManager.getAllVpnInfo ( ) ) . thenReturn ( new com.android.internal.net.VpnInfo [ 0 ] ) ; expectNetworkStatsSummaryDev ( summary ) ; expectNetworkStatsSummaryXt ( summary ) ; }

Target:
private void expectNetworkStatsSummary ( android.net.NetworkStats summary ) throws java.lang.Exception { expectNetworkStatsSummary ( summary , new android.net.NetworkStats ( 0L , 0 ) ) ; }
Source:
public android.net.INetworkStatsSession openSessionForUsageStats ( final java.lang.String callingPackage ) { return createSession ( callingPackage , true ) ; }

Target:
public android.net.INetworkStatsSession openSession ( ) { return openSessionInternal ( NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN , null ) ; }
Source:
public com.android.dx.ssa.RegisterSpecList getSources ( ) { return insn.getSources ( ) ; }

Target:
public com.android.dx.rop.code.RegisterSpecList getSources ( ) { return insn.getSources ( ) ; }
Source:
public void testNonMatchingDomainsRejected ( ) 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;domain=google.com" ) ) ; assertEquals ( java.util.Collections.< java.net.HttpCookie > emptyList ( ) , cookieStore.cookies ) ; }

Target:
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/" ) , libcore.java.net.CookiesTest.cookieHeaders ( "a=android" ) ) ; assertEquals ( "android.com" , cookieStore.getCookie ( "a" ) . getDomain ( ) ) ; }
Source:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { listener.onSetFeatureResponse ( feature , network , value , ImsConfig.OperationStatusConstants.SUCCESS ) ; }

Target:
public void setConfigValue ( int item , int value ) { replaceConfig ( new com.android.phone.testapps.imstestapp.TestImsConfigImpl.ConfigItem ( item , value ) ) ; notifyProvisionedValueChanged ( item , value ) ; }
Source:
protected void rebootAndWaitUntilReady ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . rebootUntilOnline ( ) ; assertTrue ( "Device failed to boot" , getDevice ( ) . waitForBootComplete ( 60000 ) ) ; }

Target:
protected void rebootAndWaitUntilReady ( ) throws com.android.tradefed.device.DeviceNotAvailableException { getDevice ( ) . executeShellCommand ( "reboot" ) ; assertTrue ( "Device failed to boot" , getDevice ( ) . waitForBootComplete ( 60000 ) ) ; }
Source:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 7L ) ; b = Main.$inline$long ( 3L ) ; c = a * b ; return c ; }

Target:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = 7.0F ; b = 3.0F ; c = a * b ; return c ; }
Source:
private void verifyTimeServiceTimeWasNotSet ( ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 0 ) ) . setDeviceTime ( org.mockito.ArgumentMatchers.anyLong ( ) ) ; }

Target:
private void verifyTimeServiceTimeZoneWasNotSet ( ) { org.mockito.Mockito.verify ( mTimeServiceHelper , org.mockito.Mockito.times ( 0 ) ) . setDeviceTimeZone ( org.mockito.ArgumentMatchers.any ( java.lang.String.class ) ) ; }
Source:
public void testAllocateJavaPixelRefIntOverflow ( ) { java.io.InputStream exploitImage = mContext.getResources ( ) . openRawResource ( R.raw.cve_2015_1531_b_19270126 ) ; android.graphics.BitmapFactory.decodeStream ( exploitImage ) ; }

Target:
public void testAllocateJavaPixelRefIntOverflow ( ) { java.io.InputStream exploitImage = mContext.getResources ( ) . openRawResource ( R.raw.cve_2015_1531_b_19270126 ) ; try { android.graphics.BitmapFactory.decodeStream ( exploitImage ) ; } catch ( java.lang.IllegalArgumentException e ) { assertTrue ( e.getMessage ( ) . equals ( "bitmap size exceeds 32 bits" ) ) ; } }
Source:
public void onClick ( android.view.View view ) { onInfoClicked ( row ) ; }

Target:
public void onClick ( android.view.View view ) { if ( isInfoClickable ( row ) ) { onInfoClicked ( row ) ; } }
Source:
public java.lang.String [ ] saw ( java.lang.String prefix , int uid ) { try { return mBinder.saw ( prefix , uid ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }

Target:
public java.lang.String [ ] list ( java.lang.String prefix , int uid ) { try { return mBinder.list ( prefix , uid ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }
Source:
private boolean isCallerActiveNwScorer ( int uid ) { return mWifiPermissionsWrapper.isCallerActiveNwScorer ( uid ) ; }

Target:
private boolean isCallerActiveNwScorer ( int uid ) { return mNetworkScorerAppManager.isCallerActiveScorer ( uid ) ; }
Source:
public static native void attachAgent ( java.lang.String agent ) throws java.io.IOException ;

Target:
public static void attachAgent ( java.lang.String agent ) throws java.io.IOException { dalvik.system.VMDebug.attachAgent ( agent , null ) ; }
Source:
public java.util.Collection < V > get ( java.lang.Object key ) { java.util.Collection < V > collection = unmodifiableMap.get ( key ) ; return collection == null ? null : com.google.common.collect.Multimaps.unmodifiableValueCollection ( collection ) ; }

Target:
public java.util.Collection < V > apply ( java.util.Collection < V > collection ) { return com.google.common.collect.Multimaps.unmodifiableValueCollection ( collection ) ; }
Source:
private static native void nativeUnref ( int native_instance ) ;

Target:
private static native int nativeGetStyle ( long native_instance ) ;
Source:
public static int ror_int_constant_c_negc ( int value ) { return ( value > > > 2 ) | ( value << ( - 2 ) ) ; }

Target:
public static int $opt$inline$IntConstantM2 ( ) { return - 2 ; }
Source:
public com.android.ide.common.res2.MergingException addFile ( @ com.android.annotations.NonNull java.io.File file ) { mFilePositions.add ( new com.android.ide.common.blame.FilePosition ( file , com.android.ide.common.blame.SourceFragmentPositionRange.UNKNOWN ) ) ; return this ; }

Target:
public com.android.ide.common.res2.MergingException addFile ( @ com.android.annotations.NonNull java.io.File file ) { mFilePositions.add ( new com.android.ide.common.blame.FilePosition ( file , com.android.ide.common.blame.SourcePosition.UNKNOWN ) ) ; return this ; }
Source:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mockCharset00" , new java.lang.String [ ] { "mockCharset01" , "mockCharset02" } ) ) ; return v.iterator ( ) ; }

Target:
public java.util.Iterator charsets ( ) { java.util.Vector v = new java.util.Vector ( ) ; v.add ( new tests.api.java.nio.charset.CharsetTest.MockCharset ( "US-ASCII" , new java.lang.String [ ] { "ASCII" } ) ) ; return v.iterator ( ) ; }
Source:
private void setButtonClickListeners ( ) { findViewById ( R.id.organization_info_set_button ) . setOnClickListener ( this ) ; findViewById ( R.id.go_button ) . setOnClickListener ( this ) ; }

Target:
private void setButtonClickListeners ( ) { findViewById ( R.id.organization_info_settings_button ) . setOnClickListener ( this ) ; findViewById ( R.id.organization_info_set_button ) . setOnClickListener ( this ) ; findViewById ( R.id.go_button ) . setOnClickListener ( this ) ; }
Source:
public void onDismiss ( android.content.DialogInterface dialog ) { if ( com.android.internal.policy.impl.GlobalActions.SHOW_SILENT_TOGGLE ) { mContext.unregisterReceiver ( mRingerModeReceiver ) ; } }

Target:
public void onDismiss ( android.content.DialogInterface dialog ) { if ( com.android.internal.policy.impl.GlobalActions.SHOW_SILENT_TOGGLE ) { try { mContext.unregisterReceiver ( mRingerModeReceiver ) ; } catch ( java.lang.IllegalArgumentException ie ) { android.util.Log.w ( com.android.internal.policy.impl.GlobalActions.TAG , ie ) ; } } }
Source:
public static native void SSL_check_private_key ( int ssl ) throws javax.net.ssl.SSLException ;

Target:
public static native long create_BIO_InputStream ( org.apache.harmony.xnet.provider.jsse.OpenSSLBIOInputStream is ) ;
Source:
public java.lang.String toPattern ( boolean escapeUnprintable ) { java.lang.StringBuffer result = new java.lang.StringBuffer ( ) ; return _toPattern ( result , escapeUnprintable ) . toString ( ) ; }

Target:
public java.lang.String toPattern ( boolean escapeUnprintable ) { if ( ( ( pat ) != null ) && ( ! escapeUnprintable ) ) { return pat ; } java.lang.StringBuilder result = new java.lang.StringBuilder ( ) ; return _toPattern ( result , escapeUnprintable ) . toString ( ) ; }
Source:
void visitLater ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance instance ) ;

Target:
void visitLater ( com.android.tools.perflib.heap.Instance parent , @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance child ) ;
Source:
public void test_connect_unknownhost ( ) throws java.lang.Exception { java.net.Socket socket = new java.net.Socket ( ) ; try { socket.connect ( new java.net.InetSocketAddress ( "unknownhost.invalid" , 12345 ) ) ; fail ( ) ; } catch ( java.net.UnknownHostException expected ) { } }

Target:
public void test_connect_unknownhost ( ) throws java.lang.Exception { java.net.Socket socket = new java.net.Socket ( ) ; try { socket.connect ( new java.net.InetSocketAddress ( "1.2.3.4hello" , 12345 ) ) ; fail ( ) ; } catch ( java.net.UnknownHostException expected ) { } }
Source:
public com.android.dx.io.Code readCode ( com.android.dx.io.ClassData.Method method ) { int offset = method.getCodeOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return open ( offset ) . readCode ( ) ; }

Target:
public com.android.dex.Code readCode ( com.android.dex.ClassData.Method method ) { int offset = method.getCodeOffset ( ) ; if ( offset == 0 ) { throw new java.lang.IllegalArgumentException ( "offset == 0" ) ; } return open ( offset ) . readCode ( ) ; }
Source:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.eclipse.adt.internal.resources.configurations.NetworkCodeQualifier.DEFAULT_CODE ) ) && ( code >= 1 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( "mnc%1$d" , code ) ; } return "" ; }

Target:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.common.resources.configuration.NetworkCodeQualifier.DEFAULT_CODE ) ) && ( code >= 1 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( "mnc%1$d" , code ) ; } return "" ; }
Source:
protected void onStop ( ) { mSensorManager.unregisterListener ( mListener ) ; super . onStop ( ) ; }

Target:
protected void onResume ( ) { super . onResume ( ) ; mSensorManager.registerListener ( mListener , mSensor , SensorManager.SENSOR_DELAY_FASTEST ) ; if ( android.util.Config.LOGD ) android.util.Log.d ( TAG , ( "resume " + ( mSensorManager ) ) ) ; }
Source:
public com.android.manifmerger.XmlDocument reparse ( ) { return new com.android.manifmerger.XmlDocument ( mPositionXmlParser , mSourceLocation , mSelectors , mSystemPropertyResolver , mRootElement , mType ) ; }

Target:
public com.android.manifmerger.XmlDocument reparse ( ) { return new com.android.manifmerger.XmlDocument ( mPositionXmlParser , mSourceLocation , mSelectors , mSystemPropertyResolver , mRootElement , mType , mMainManifestPackageName ) ; }
Source:
public void update ( ) { if ( ! ( areModifiersChanged ( ) ) ) { return ; } myHighlighter.setGutterIconRenderer ( createRenderer ( ) ) ; }

Target:
public void update ( boolean force ) { if ( ( ! force ) && ( ! ( areModifiersChanged ( ) ) ) ) { return ; } if ( myHighlighter.isValid ( ) ) myHighlighter.setGutterIconRenderer ( createRenderer ( ) ) ; }
Source:
public void remove ( ) { com.google.common.base.Preconditions.checkState ( ( ( lastReturned ) != null ) ) ; this . remove ( lastReturned.getKey ( ) ) ; lastReturned = null ; }

Target:
public void remove ( ) { com.google.common.collect.CollectPreconditions.checkRemove ( ( ( lastReturned ) != null ) ) ; this . remove ( lastReturned.getKey ( ) ) ; lastReturned = null ; }
Source:
public void deleteProfile ( java.lang.String callingPackage , java.lang.String iccid , com.android.internal.telephony.euicc.IDeleteProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void run ( ) { clearMatches ( ) ; }

Target:
public void run ( ) { documentHasImages ( response ) ; }
Source:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.server.pm.Installer.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw com.android.server.pm.Installer.InstallerException.from ( e ) ; } }
Source:
private byte [ ] getAuthKey ( int bitLength ) { return java.util.Arrays.copyOf ( android.net.cts.IpSecManagerTest.AUTH_KEY , ( bitLength / 8 ) ) ; }

Target:
private static byte [ ] getKey ( int bitLength ) { return java.util.Arrays.copyOf ( android.net.cts.IpSecManagerTest.KEY_DATA , ( bitLength / 8 ) ) ; }
Source:
public com.android.dx.io.EncodedValue adjustEncodedValue ( com.android.dx.io.EncodedValue encodedValue ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 32 ) ; new com.android.dx.merge.IndexMap.EncodedValueTransformer ( encodedValue , out ) . readValue ( ) ; return new com.android.dx.io.EncodedValue ( out.toByteArray ( ) ) ; }

Target:
public com.android.dx.io.EncodedValue adjustEncodedValue ( com.android.dx.io.EncodedValue encodedValue ) { com.android.dx.util.ByteArrayAnnotatedOutput out = new com.android.dx.util.ByteArrayAnnotatedOutput ( 32 ) ; new com.android.dx.merge.IndexMap.EncodedValueTransformer ( out ) . transform ( new com.android.dx.io.EncodedValueReader ( encodedValue ) ) ; return new com.android.dx.io.EncodedValue ( out.toByteArray ( ) ) ; }
Source:
final long getLong ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getLong ( ( offset + ( address ) ) ) ; }

Target:
final long getLong ( int offset ) { return sun.nio.ch.NativeObject.unsafe.getLong$ ( ( offset + ( address ) ) ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copy1DRangeFrom" ) ; validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , short [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
protected void onListItemClick ( android.widget.ListView listView , android.view.View view , int position , long id ) { super . onListItemClick ( listView , view , position , id ) ; android.content.Intent intent = getIntent ( position ) ; startActivity ( intent ) ; }

Target:
protected void onListItemClick ( android.widget.ListView listView , android.view.View view , int position , long id ) { super . onListItemClick ( listView , view , position , id ) ; android.content.Intent intent = getIntent ( position ) ; startActivityForResult ( intent , com.android.cts.verifier.TestListActivity.LAUNCH_TEST_REQUEST_CODE ) ; }
Source:
public static boolean isMultiprocessEnabled ( ) { return ( android.webkit.WebViewZygote.sMultiprocessEnabled ) && ( ( android.webkit.WebViewZygote.sPackage ) != null ) ; }

Target:
public static boolean isMultiprocessEnabled ( ) { synchronized ( android.webkit.WebViewZygote.sLock ) { return ( android.webkit.WebViewZygote.sMultiprocessEnabled ) && ( ( android.webkit.WebViewZygote.sPackage ) != null ) ; } }
Source:
public static android.net.Uri getUriForSubscriptionId ( int subscriptionId ) { return android.provider.Telephony.CarrierIdentification.CONTENT_URI.buildUpon ( ) . appendEncodedPath ( java.lang.String.valueOf ( subscriptionId ) ) . build ( ) ; }

Target:
public static android.net.Uri getUriForSubscriptionId ( int subscriptionId ) { return android.provider.Telephony.CarrierId.CONTENT_URI.buildUpon ( ) . appendEncodedPath ( java.lang.String.valueOf ( subscriptionId ) ) . build ( ) ; }
Source:
public void verifyCertificateChain ( long [ ] certificateChainRefs , java.lang.String authMethod ) throws java.security.cert.CertificateException ;

Target:
public void verifyCertificateChain ( long sslSessionNativePtr , long [ ] certificateChainRefs , java.lang.String authMethod ) throws java.security.cert.CertificateException ;
Source:
public static long OrIntLong ( ) { int lhs = 10 ; long rhs = 3 ; return lhs | rhs ; }

Target:
public static long OrLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs | rhs ; }
Source:
public static com.android.server.wifi.ScanResults createOverflowing ( int id , int maxResults , com.android.server.wifi.ScanDetail ... nativeResults ) { return new com.android.server.wifi.ScanResults ( id , maxResults , nativeResults ) ; }

Target:
public static com.android.server.wifi.ScanResults create ( int id , boolean allChannelsScanned , com.android.server.wifi.ScanDetail ... nativeResults ) { return new com.android.server.wifi.ScanResults ( id , allChannelsScanned , ( - 1 ) , nativeResults ) ; }
Source:
private static synchronized void setHeadsetService ( com.android.bluetooth.hfp.HeadsetService instance ) { if ( com.android.bluetooth.hfp.HeadsetService.DBG ) { android.util.Log.d ( com.android.bluetooth.hfp.HeadsetService.TAG , ( "setHeadsetService(): set to: " + instance ) ) ; } com.android.bluetooth.hfp.HeadsetService.sHeadsetService = instance ; }

Target:
private static synchronized void setHeadsetService ( com.android.bluetooth.hfp.HeadsetService instance ) { com.android.bluetooth.hfp.HeadsetService.logD ( ( "setHeadsetService(): set to: " + instance ) ) ; com.android.bluetooth.hfp.HeadsetService.sHeadsetService = instance ; }
Source:
static byte [ ] asBytes ( long [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.crypto.util.Pack.longToBigEndian ( x , z , 0 ) ; return z ; }

Target:
public static byte [ ] asBytes ( long [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.util.Pack.longToBigEndian ( x , z , 0 ) ; return z ; }
Source:
com.android.build.gradle.managed.FilePattern getCppFilePattern ( ) ;

Target:
void setLdLibs ( @ com.android.annotations.NonNull java.util.List < java.lang.String > ldLibs ) ;
Source:
protected java.util.concurrent.ScheduledExecutorService executor ( ) { return java.util.concurrent.Executors.newSingleThreadScheduledExecutor ( ) ; }

Target:
public void failed ( com.google.common.util.concurrent.Service.State from , java.lang.Throwable failure ) { executor.shutdown ( ) ; }
Source:
com.android.sched.vfs.BaseVFile getVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileException { return changeVFS ( vfs.getVFile ( parent , name ) ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.getVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
public final void errln ( java.lang.String message ) { msg ( message , com.ibm.icu.dev.test.ERR , true , true ) ; }

Target:
public static final void errln ( java.lang.String message ) { org.junit.Assert.fail ( message ) ; }
Source:
public void readFrom ( com.android.dx.io.DexBuffer buffer ) throws java.io.IOException { readHeader ( buffer.open ( 0 ) ) ; readMap ( buffer.open ( mapList.off ) ) ; computeSizesFromOffsets ( ) ; }

Target:
public void readFrom ( com.android.dex.Dex dex ) throws java.io.IOException { readHeader ( dex.open ( 0 ) ) ; readMap ( dex.open ( mapList.off ) ) ; computeSizesFromOffsets ( ) ; }
Source:
protected byte [ ] engineDigest ( ) { ensureDigestInitializedInContext ( ) ; final byte [ ] result = new byte [ size ] ; org.conscrypt.NativeCrypto.EVP_DigestFinal ( ctx , result , 0 ) ; digestInitializedInContext = false ; return result ; }

Target:
protected byte [ ] engineDigest ( ) { ensureDigestInitializedInContext ( ) ; final byte [ ] result = new byte [ size ] ; org.conscrypt.NativeCrypto.EVP_DigestFinal_ex ( ctx , result , 0 ) ; digestInitializedInContext = false ; return result ; }
Source:
public void getDataCallListResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.SetupDataCallResult > dcResponse ) { responseDataCallList ( responseInfo , dcResponse ) ; }

Target:
public void getDataCallListResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.SetupDataCallResult > dataCallResultList ) { responseDataCallList ( responseInfo , dataCallResultList ) ; }
Source:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimplePatternFormatter.compileMinMaxPlaceholders ( value.getString ( ) , 2 , 2 ) ) ; } }

Target:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimplePatternFormatter.compileToStringMinMaxPlaceholders ( value.getString ( ) , sb , 2 , 2 ) ) ; } }
Source:
public java.lang.String getSubscriberId ( ) { return mIccRecords.getIMSI ( ) ; }

Target:
public java.lang.String getMsisdn ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.getMsisdnNumber ( ) : null ; }
Source:
public void describeTo ( org.hamcrest.Description description ) { description.appendText ( this . description ) ; }

Target:
public void describeTo ( org.hamcrest.Description description ) { description.appendText ( message ) ; }
Source:
public void setUp ( ) throws com.android.tradefed.device.DeviceNotAvailableException , java.lang.Exception { mIsBackupSupported = mDevice.hasFeature ( ( "feature:" + ( android.cts.backup.BaseBackupHostSideTest.FEATURE_BACKUP ) ) ) ; org.junit.Assume.assumeTrue ( mIsBackupSupported ) ; }

Target:
public void setUp ( ) throws com.android.tradefed.device.DeviceNotAvailableException , java.lang.Exception { mIsBackupSupported = mDevice.hasFeature ( ( "feature:" + ( android.cts.backup.BaseBackupHostSideTest.FEATURE_BACKUP ) ) ) ; if ( ! ( mIsBackupSupported ) ) { com.android.tradefed.log.LogUtil.CLog.i ( "android.software.backup feature is not supported on this device" ) ; return ; } }
Source:
public int hashCode ( ) { return getHandle ( ) ; }

Target:
public int getHandle ( ) { if ( ( ( mHandle ) & 4294967295L ) != ( mHandle ) ) { throw new java.lang.UnsupportedOperationException ( ) ; } return ( ( int ) ( mHandle ) ) ; }
Source:
public void logWarning ( java.lang.String msg ) { com.google.gct.login.GoogleLogin.GOOGLE_LOGIN_LOG.warn ( msg ) ; }

Target:
public void logWarning ( java.lang.String msg ) { com.google.gct.login.GoogleLogin.LOG.warn ( msg ) ; }
Source:
public void run ( ) { if ( ( mOnFinishedListener ) != null ) { mOnFinishedListener.onFinished ( this ) ; } }

Target:
public void run ( ) { synchronized ( mLock ) { mNextFrameToDecode = - 1 ; mState = 0 ; } if ( ( mOnFinishedListener ) != null ) { mOnFinishedListener.onFinished ( this ) ; } }
Source:
public boolean hasNext ( ) throws java.io.IOException { reader.mark ( 1 ) ; int next = reader.read ( ) ; reader.reset ( ) ; return next != ( - 1 ) ; }

Target:
private int peek ( ) throws java.io.IOException { reader.mark ( 1 ) ; int next = reader.read ( ) ; reader.reset ( ) ; return next ; }
Source:
public boolean hasBuildId ( ) { return ( ( bitField0_ ) & 16 ) == 16 ; }

Target:
public boolean hasTarget ( ) { return ( ( bitField0_ ) & 16 ) == 16 ; }
Source:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }

Target:
synchronized long nIncAllocationCreateTyped ( long alloc , long type ) { validate ( ) ; return rsnIncAllocationCreateTyped ( mContext , mIncCon , alloc , type ) ; }
Source:
public static int $noinline$floatToDoubleToInt ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { return ( ( short ) ( value ) ) ; }
Source:
public static void setDefaultHostnameVerifier ( javax.net.ssl.HostnameVerifier v ) { if ( v == null ) { throw new java.lang.IllegalArgumentException ( "HostnameVerifier is null" ) ; } javax.net.ssl.HttpsURLConnection.defaultHostnameVerifier = v ; }

Target:
public static void setDefaultHostnameVerifier ( javax.net.ssl.HostnameVerifier v ) { if ( v == null ) { throw new java.lang.IllegalArgumentException ( "HostnameVerifier is null" ) ; } javax.net.ssl.HttpsURLConnection.NoPreloadHolder.defaultHostnameVerifier = v ; }
Source:
public < T > void setExtension ( com.google.protobuf.nano.Extension < T > extension , T value ) { if ( ( unknownFieldData ) == null ) { unknownFieldData = new java.util.ArrayList < com.google.protobuf.nano.UnknownFieldData > ( ) ; } com.google.protobuf.nano.WireFormatNano.setExtension ( extension , value , unknownFieldData ) ; }

Target:
public final < T > M setExtension ( com.google.protobuf.nano.Extension < M , T > extension , T value ) { unknownFieldData = extension.setValueTo ( value , unknownFieldData ) ; @ java.lang.SuppressWarnings ( value = "unchecked" ) M typedThis = ( ( M ) ( this ) ) ; return typedThis ; }
Source:
public void setCustomTimeout ( long timeout ) { mTimeout = timeout ; }

Target:
public void setTimeout ( long timeout ) { mTimeout = timeout ; }