auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static long LongAddition ( ) { long a ; long b ; long c ; a = 1L ; b = 2L ; c = a + b ; return c ; }

Target:
public static long LongAddition ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 1L ) ; b = Main.$inline$long ( 2L ) ; c = a + b ; return c ; }
Source:
protected void create ( ) throws java.net.SocketException { }

Target:
protected void close ( ) { }
Source:
protected void unregisterForRuimRecordEvents ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.unregisterForRecordsEvents ( this ) ; r.unregisterForRecordsLoaded ( this ) ; }

Target:
protected void registerForRuimRecordEvents ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.registerForRecordsEvents ( this , com.android.internal.telephony.cdma.EVENT_ICC_RECORD_EVENTS , null ) ; r.registerForRecordsLoaded ( this , com.android.internal.telephony.cdma.EVENT_RUIM_RECORDS_LOADED , null ) ; }
Source:
void assertNoCallback ( ) { waitForIdle ( ) ; com.android.server.ConnectivityServiceTest.CallbackInfo c = mCallbacks.peek ( ) ; assertNull ( ( "Unexpected callback: " + c ) , c ) ; }

Target:
void assertNoCallback ( ) { waitForIdle ( ) ; com.android.server.ConnectivityServiceTest.CallbackInfo c = mCallbacks.peek ( ) ; org.junit.Assert.assertNull ( ( "Unexpected callback: " + c ) , c ) ; }
Source:
public android.media.MediaDrm.CryptoSession getCryptoSession ( @ android.annotation.NonNull byte [ ] sessionId , @ android.annotation.NonNull java.lang.String cipherAlgorithm , @ android.annotation.NonNull java.lang.String macAlgorithm ) { return new android.media.MediaDrm.CryptoSession ( this , sessionId , cipherAlgorithm , macAlgorithm ) ; }

Target:
public boolean verify ( @ android.annotation.NonNull byte [ ] keyid , @ android.annotation.NonNull byte [ ] message , @ android.annotation.NonNull byte [ ] signature ) { return android.media.MediaDrm.verifyNative ( this , mSessionId , keyid , message , signature ) ; }
Source:
public void test_plus_Duration_null ( ) { TEST_2008_6_30_11_30_59_000000500.plus ( ( ( java.time.Duration ) ( null ) ) ) ; }

Target:
public void test_truncatedTo_null ( ) { tck.java.time.TCKOffsetDateTime.TEST_2008_6_30_11_30_59_000000500.truncatedTo ( null ) ; }
Source:
private void copyToClipboard ( java.lang.String str ) { android.text.ClipboardManager clip = ( ( android.text.ClipboardManager ) ( getSystemService ( Context.CLIPBOARD_SERVICE ) ) ) ; clip.setText ( str ) ; }

Target:
private void copyToClipboard ( java.lang.String str ) { android.content.ClipboardManager clipboard = ( ( android.content.ClipboardManager ) ( getSystemService ( Context.CLIPBOARD_SERVICE ) ) ) ; clipboard.setPrimaryClip ( android.content.ClipData.newPlainText ( null , str ) ) ; }
Source:
public void getLastPdpFailCause ( android.os.Message result ) { getLastDataCallFailCause ( result ) ; }

Target:
public void getLastPdpFailCause ( android.os.Message result ) { throw new java.lang.RuntimeException ( "getLastPdpFailCause not expected to be called" ) ; }
Source:
public void changeState ( com.android.tv.dvr.ScheduledRecording scheduledRecording , @ com.android.tv.dvr.ScheduledRecording.RecordingState int newState ) { if ( ( scheduledRecording.getState ( ) ) != newState ) { updateScheduledRecording ( com.android.tv.dvr.ScheduledRecording.buildFrom ( scheduledRecording ) . setState ( newState ) . build ( ) ) ; } }

Target:
public void changeState ( com.android.tv.dvr.data.ScheduledRecording scheduledRecording , @ com.android.tv.dvr.data.ScheduledRecording.RecordingState int newState ) { if ( ( scheduledRecording.getState ( ) ) != newState ) { updateScheduledRecording ( com.android.tv.dvr.data.ScheduledRecording.buildFrom ( scheduledRecording ) . setState ( newState ) . build ( ) ) ; } }
Source:
boolean runTests ( @ com.android.annotations.NonNull java.lang.String projectName , @ com.android.annotations.NonNull java.lang.String variantName , @ com.android.annotations.NonNull java.io.File testApk , @ com.android.annotations.Nullable java.io.File testedApk , @ com.android.annotations.NonNull com.android.builder.testing.TestData testData , @ com.android.annotations.NonNull java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > deviceList , int maxThreads , int timeout , @ com.android.annotations.NonNull java.io.File resultsDir , @ com.android.annotations.NonNull com.android.utils.ILogger logger ) throws com.android.builder.testing.api.TestException , java.lang.InterruptedException ;

Target:
boolean runTests ( @ com.android.annotations.NonNull java.lang.String projectName , @ com.android.annotations.NonNull java.lang.String variantName , @ com.android.annotations.NonNull java.io.File testApk , @ com.android.annotations.Nullable java.io.File testedApk , @ com.android.annotations.NonNull com.android.builder.testing.TestData testData , @ com.android.annotations.NonNull java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > deviceList , int maxThreads , int timeout , @ com.android.annotations.NonNull java.io.File resultsDir , @ com.android.annotations.NonNull java.io.File coverageDir , @ com.android.annotations.NonNull com.android.utils.ILogger logger ) throws com.android.builder.testing.api.TestException , java.lang.InterruptedException ;
Source:
public void testE1 ( ) { dot.junit.opcodes.aget_short.d.T_aget_short_1 t = new dot.junit.opcodes.aget_short.d.T_aget_short_1 ( ) ; short [ ] arr = new short [ 2 ] ; try { t.run ( arr , 2 ) ; fail ( "expected ArrayIndexOutOfBoundsException" ) ; } catch ( java.lang.ArrayIndexOutOfBoundsException aie ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aget_short.d.T_aget_short_1" , java.lang.NullPointerException.class , null , 2 ) ; }
Source:
private int getModuloHash ( java.lang.Object key , int length ) { return ( ( ( java.lang.System.identityHashCode ( key ) ) & 2147483647 ) % ( length / 2 ) ) * 2 ; }

Target:
private int getModuloHash ( java.lang.Object key , int length ) { return ( ( ( java.util.Collections.secondaryIdentityHash ( key ) ) & 2147483647 ) % ( length / 2 ) ) * 2 ; }
Source:
private void onNetworkState ( int state ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_NETWORK_STATE ) ; event.valueInt = state ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onInBandRing ( int in_band ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_IN_BAND_RING ) ; event.valueInt = in_band ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void testGetTestCaseNamesForTestSuiteWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.TestSuite testSuite = new android.test.TestCaseUtilTest.TwoTestsInTestSuite ( ) ; java.util.List < java.lang.String > testCaseNames = android.test.TestCaseUtil.getTestCaseNames ( testSuite , false ) ; assertEquals ( 0 , testCaseNames.size ( ) ) ; }

Target:
public void testGetTests_ForTestSuiteWithSuiteMethod ( ) throws java.lang.Exception { junit.framework.TestSuite testSuite = new android.test.TestCaseUtilTest.TwoTestsInTestSuite ( ) ; java.util.List < java.lang.String > testCaseNames = android.test.TestCaseUtilTest.getTestCaseNames ( testSuite ) ; assertEquals ( 0 , testCaseNames.size ( ) ) ; }
Source:
public boolean connectToStaSupplicant ( ) { if ( ( ! ( mSupplicantStaIfaceHal.isInitializationStarted ( ) ) ) && ( ! ( mSupplicantStaIfaceHal.initialize ( ) ) ) ) { return false ; } return mSupplicantStaIfaceHal.isInitializationComplete ( ) ; }

Target:
public boolean connectToSupplicant ( ) { if ( ( ! ( mSupplicantStaIfaceHal.isInitializationStarted ( ) ) ) && ( ! ( mSupplicantStaIfaceHal.initialize ( ) ) ) ) { return false ; } return mSupplicantStaIfaceHal.isInitializationComplete ( ) ; }
Source:
public abstract long id ( ) ;

Target:
public abstract java.lang.Long id ( ) ;
Source:
public static java.nio.ByteBuffer allocateDirect ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ) ; } return new java.nio.ReadWriteDirectByteBuffer ( capacity ) ; }

Target:
public static java.nio.ByteBuffer allocateDirect ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteDirectByteBuffer ( capacity ) ; }
Source:
protected final void doOKAction ( ) { doAction ( ) ; }

Target:
protected final void doOKAction ( ) { if ( com.intellij.openapi.project.DumbService.isDumb ( myProject ) ) { com.intellij.openapi.ui.Messages.showMessageDialog ( myProject , "Refactoring is not available while indexing is in progress" , "Indexing" , null ) ; return ; } doAction ( ) ; }
Source:
public void stopDtmf ( ) { logi ( "stopDtmf :: " ) ; synchronized ( mLockObj ) { if ( ( mSession ) != null ) { mSession.stopDtmf ( ) ; } } }

Target:
public void sendDtmf ( char c , android.os.Message result ) { logi ( ( "sendDtmf :: code=" + c ) ) ; synchronized ( mLockObj ) { if ( ( mSession ) != null ) { mSession.sendDtmf ( c , result ) ; } } }
Source:
public void getNetworkSelectionModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean var2 ) { }

Target:
public void getNetworkSelectionModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean selection ) { responseInts ( responseInfo , ( selection ? 1 : 0 ) ) ; }
Source:
public void onCharacteristicRead ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , byte [ ] value ) throws android.os.RemoteException { }

Target:
public void onCharacteristicRead ( java.lang.String address , int status , int handle , byte [ ] value ) throws android.os.RemoteException { }
Source:
public static native int SSL_set_alpn_protos ( long sslPointer , byte [ ] protos ) ;

Target:
public static native int ENGINE_SSL_write_heap ( long sslNativePointer , byte [ ] sourceJava , int sourceOffset , int sourceLength , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public int getCallStateForSlot ( int slotId ) { com.android.internal.telephony.Phone phone = com.android.internal.telephony.PhoneFactory.getPhone ( slotId ) ; return phone == null ? android.telephony.TelephonyManager.CALL_STATE_IDLE : com.android.internal.telephony.DefaultPhoneNotifier.convertCallState ( phone.getState ( ) ) ; }

Target:
public int getCallStateForSlot ( int slotIndex ) { com.android.internal.telephony.Phone phone = com.android.internal.telephony.PhoneFactory.getPhone ( slotIndex ) ; return phone == null ? android.telephony.TelephonyManager.CALL_STATE_IDLE : com.android.internal.telephony.DefaultPhoneNotifier.convertCallState ( phone.getState ( ) ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mOemHookProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; }
Source:
public static android.renderscript.RenderScript create ( android.content.Context ctx , int sdkVersion ) { return android.renderscript.RenderScript.create ( ctx , sdkVersion , android.renderscript.RenderScript.ContextType.NORMAL ) ; }

Target:
public static android.renderscript.RenderScript create ( android.content.Context ctx , int sdkVersion ) { return android.renderscript.RenderScript.create ( ctx , sdkVersion , android.renderscript.RenderScript.ContextType.NORMAL , android.renderscript.RenderScript.CREATE_FLAG_NONE ) ; }
Source:
public boolean getRenderscriptSupportMode ( ) { java.lang.Boolean value = mMergedFlavor.getRenderscriptSupportMode ( ) ; if ( value != null ) { return value ; } return false ; }

Target:
public boolean getRenderscriptSupportModeEnabled ( ) { java.lang.Boolean value = mMergedFlavor.getRenderscriptSupportModeEnabled ( ) ; if ( value != null ) { return value ; } return false ; }
Source:
public static void computeExp10 ( android.renderscript.cts.TestExp10.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 32 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp10 ( args.in , t ) ; }

Target:
public static void computeExp10 ( android.renderscript.cts.TestExp10.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 32 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp10 ( args.inX , t ) ; }
Source:
public void testOlderSdk ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/.classpath=>.classpath" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/AnnotatedObject.java.txt=>src/test/pkg/AnnotatedObject.java" , "bytecode/InheritsFromAnnotated.java.txt=>src/test/pkg/InheritsFromAnnotated.java" , "bytecode/NonAnnotatedObject.java.txt=>src/test/pkg/NonAnnotatedObject.java" , "bytecode/JavaScriptTest.java.txt=>src/test/pkg/JavaScriptTest.java" , "bytecode/AnnotatedObject.class.data=>bin/classes/test/pkg/AnnotatedObject.class" , "bytecode/InheritsFromAnnotated.class.data=>bin/classes/test/pkg/InheritsFromAnnotated.class" , "bytecode/JavaScriptTest.class.data=>bin/classes/test/pkg/JavaScriptTest.class" , "bytecode/NonAnnotatedObject.class.data=>bin/classes/test/pkg/NonAnnotatedObject.class" ) ) ; }

Target:
public void testOlderSdk ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( "bytecode/.classpath=>.classpath" , "project.properties19=>project.properties" , "bytecode/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/AnnotatedObject.java.txt=>src/test/pkg/AnnotatedObject.java" , "bytecode/InheritsFromAnnotated.java.txt=>src/test/pkg/InheritsFromAnnotated.java" , "bytecode/NonAnnotatedObject.java.txt=>src/test/pkg/NonAnnotatedObject.java" , "bytecode/JavaScriptTest.java.txt=>src/test/pkg/JavaScriptTest.java" , "bytecode/AnnotatedObject.class.data=>bin/classes/test/pkg/AnnotatedObject.class" , "bytecode/InheritsFromAnnotated.class.data=>bin/classes/test/pkg/InheritsFromAnnotated.class" , "bytecode/JavaScriptTest.class.data=>bin/classes/test/pkg/JavaScriptTest.class" , "bytecode/NonAnnotatedObject.class.data=>bin/classes/test/pkg/NonAnnotatedObject.class" ) ) ; }
Source:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return com.google.common.collect.ImmutableList.of ( "adb" , "shell" ) ; }

Target:
protected com.google.common.collect.ImmutableList < java.lang.String > targetProcessPrefix ( ) { return vogar.android.AdbTarget.TARGET_PROCESS_PREFIX ; }
Source:
public void onClick ( android.view.View v ) { doPauseResume ( ) ; }

Target:
public void onClick ( android.view.View v ) { if ( ( getMediaController ( ) ) == null ) return ; getMediaController ( ) . getTransportControls ( ) . skipToNext ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mCarQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.CAR ) ; mDeskQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.DESK ) ; mNoneQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.NONE ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mCarQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.CAR ) ; mDeskQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.DESK ) ; mTVQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.TELEVISION ) ; mNoneQualifier = new com.android.ide.common.resources.configuration.DockModeQualifier ( com.android.resources.DockMode.NONE ) ; }
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > everyItem ( final org.hamcrest.Matcher < T > elementMatcher ) { return org.hamcrest.CoreMatchers.everyItem ( elementMatcher ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > everyItem ( final org.hamcrest.Matcher < T > elementMatcher ) { return org.junit.internal.matchers.Each.each ( elementMatcher ) ; }
Source:
synchronized int nAllocationGetType ( int id ) { validate ( ) ; return rsnAllocationGetType ( mContext , id ) ; }

Target:
synchronized void nAllocationRead ( long id , int [ ] d ) { validate ( ) ; rsnAllocationRead ( mContext , id , d ) ; }
Source:
synchronized int nSamplerCreate ( int magFilter , int minFilter , int wrapS , int wrapT , int wrapR , float aniso ) { validate ( ) ; return rsnSamplerCreate ( mContext , magFilter , minFilter , wrapS , wrapT , wrapR , aniso ) ; }

Target:
synchronized long nScriptCCreate ( java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) { validate ( ) ; return rsnScriptCCreate ( mContext , resName , cacheDir , script , length ) ; }
Source:
public com.android.tools.lint.client.api.IDomParser getDomParser ( ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getDomParser ( ) ; }

Target:
public com.android.tools.lint.client.api.XmlParser getXmlParser ( ) { return new com.android.ide.eclipse.adt.internal.lint.EclipseLintClient ( null , null , null , false ) . getXmlParser ( ) ; }
Source:
public static long UShr60And7 ( long arg ) { return ( arg > > > 60 ) & 7 ; }

Target:
public static long $noinline$UShr60And7 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > > 60 ) & 7 ; }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { if ( rtlApplies ( context ) ) { return new com.android.tools.lint.checks.RtlDetector.IdentifierChecker ( context ) ; } return new lombok.ast.ForwardingAstVisitor ( ) { } ; }

Target:
public com.intellij.psi.JavaElementVisitor createPsiVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { if ( rtlApplies ( context ) ) { return new com.android.tools.lint.checks.RtlDetector.IdentifierChecker ( context ) ; } return null ; }
Source:
public java.net.HttpURLConnection connect ( com.google.mockwebserver.MockWebServer server , java.net.URL url ) throws java.io.IOException { }

Target:
public java.net.HttpURLConnection connect ( com.google.mockwebserver.MockWebServer server , java.net.URL url ) throws java.io.IOException { return ( ( java.net.HttpURLConnection ) ( url.openConnection ( server.toProxyAddress ( ) ) ) ) ; }
Source:
private static void checkPendingIntent ( android.app.PendingIntent intent ) { com.android.internal.util.Preconditions.checkArgument ( ( intent != null ) , "PendingIntent cannot be null." ) ; }

Target:
private static void checkPendingIntentNotNull ( android.app.PendingIntent intent ) { com.android.internal.util.Preconditions.checkNotNull ( intent , "PendingIntent cannot be null." ) ; }
Source:
static float $opt$LongToFloat ( long a ) { return ( ( float ) ( a ) ) ; }

Target:
static float $opt$CharToFloat ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
private void notifyReliableWriteCompleted ( ) { showMessage ( "Reliable write compelte" ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_RELIABLE_WRITE_COMPLETED ) ; sendBroadcast ( intent ) ; }

Target:
private void notifyReliableWriteCompleted ( ) { showMessage ( "Reliable write complete" ) ; android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleClientService.BLE_RELIABLE_WRITE_COMPLETED ) ; sendBroadcast ( intent ) ; }
Source:
public final java.security.AlgorithmParameters getParameters ( ) { return spiImpl.engineGetParameters ( ) ; }

Target:
public final java.security.AlgorithmParameters getParameters ( ) { return getSpi ( ) . engineGetParameters ( ) ; }
Source:
public native void setByte ( java.lang.Object object , byte value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setByte ( java.lang.Object object , byte value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static int intToDoubleToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static int $noinline$intToDoubleToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
private void enforceNotifyPermissionOrCarrierPrivilege ( java.lang.String method ) { if ( checkNotifyPermission ( ) ) { return ; } enforceCarrierPrivilege ( ) ; }

Target:
private void enforceNotifyPermissionOrCarrierPrivilege ( java.lang.String method ) { if ( checkNotifyPermission ( ) ) { return ; } com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , method ) ; }
Source:
public static void addMultiTransformationResults ( CommonClassDefinition ... defs ) throws java.lang.Exception { for ( CommonClassDefinition d : defs ) { Main.addCommonTransformationResult ( d.target.getCanonicalName ( ) , d.class_file_bytes , d.dex_file_bytes ) ; } }

Target:
private static Redefinition.CommonClassDefinition mapCCD ( CommonClassDefinition d ) { return new art.Redefinition.CommonClassDefinition ( d.target , d.class_file_bytes , d.dex_file_bytes ) ; }
Source:
public java.lang.String getName ( ) { if ( ( mMode ) == ( com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringRefactoring.Mode.SELECT_ID ) ) { return "Create or USe Android String" ; } else if ( ( mMode ) == ( com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringRefactoring.Mode.SELECT_NEW_ID ) ) { return "Create New Android String" ; } return "Extract Android String" ; }

Target:
public java.lang.String getName ( ) { if ( ( mMode ) == ( com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringRefactoring.Mode.SELECT_ID ) ) { return "Create or Use Android String" ; } else if ( ( mMode ) == ( com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringRefactoring.Mode.SELECT_NEW_ID ) ) { return "Create New Android String" ; } return "Extract Android String" ; }
Source:
private static java.lang.String getTypeDescription ( java.lang.reflect.Field optionsField , com.google.devtools.common.options.OptionsData optionsData ) { return optionsData.getConverter ( optionsField ) . getTypeDescription ( ) ; }

Target:
private static java.lang.String getTypeDescription ( com.google.devtools.common.options.OptionDefinition optionsField , com.google.devtools.common.options.OptionsData optionsData ) { return optionsData.getConverter ( optionsField ) . getTypeDescription ( ) ; }
Source:
public final com.android.jack.test.toolchain.Toolchain setAnnotationProcessorClass ( @ javax.annotation.Nonnull java.lang.Class < ? extends javax.annotation.processing.Processor > annotationProcessorClass ) { this . annotationProcessorClass = annotationProcessorClass ; return this ; }

Target:
public final com.android.jack.test.toolchain.Toolchain setAnnotationProcessorClasses ( @ javax.annotation.Nonnull java.util.List < java.lang.String > annotationProcessorClasses ) { this . annotationProcessorClasses = annotationProcessorClasses ; return this ; }
Source:
public static native int EVP_SignFinal ( long ctx , byte [ ] signature , int offset , long key ) ;

Target:
public static native void EVP_SignUpdate ( org.conscrypt.OpenSSLDigestContext ctx , byte [ ] buffer , int offset , int length ) ;
Source:
public void testGeomagneticRotationVector_fastest_flush ( ) throws java.lang.Throwable { runFlushSensorTest ( Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_10S ) ; }

Target:
public void testGeomagneticRotationVector_50hz_batching ( ) throws java.lang.Throwable { runBatchingSensorTest ( Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR , android.hardware.cts.SensorBatchingTests.RATE_50HZ , android.hardware.cts.SensorBatchingTests.BATCHING_PERIOD ) ; }
Source:
public byte [ ] getPubkey ( java.lang.String key ) { return getPubkey ( android.security.KeyStore.getKeyBytes ( key ) ) ; }

Target:
public byte [ ] getPubkey ( java.lang.String key ) { try { return mBinder.get_pubkey ( key ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return null ; } }
Source:
public native long getLength ( java.io.File f ) ;

Target:
public long getLastModifiedTime ( java.io.File f ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onReadFromDisk ( ) ; return getLastModifiedTime0 ( f ) ; }
Source:
private void setMobileDataAlwaysOn ( boolean enable ) { android.content.ContentResolver cr = mServiceContext.getContentResolver ( ) ; Settings.Global.putInt ( cr , Settings.Global.MOBILE_DATA_ALWAYS_ON , ( enable ? 1 : 0 ) ) ; mService.updateMobileDataAlwaysOn ( ) ; mService.waitForIdle ( ) ; }

Target:
private void setCaptivePortalMode ( int mode ) { android.content.ContentResolver cr = mServiceContext.getContentResolver ( ) ; Settings.Global.putInt ( cr , Settings.Global.CAPTIVE_PORTAL_MODE , mode ) ; }
Source:
public void visitLineNumberTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LineNumberTableAttribute lineNumberTableAttribute ) { if ( accepted ( clazz , lineNumberTableAttribute ) ) { lineNumberTableAttribute.accept ( clazz , method , codeAttribute , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleTypeAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleTypeAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleTypeAnnotationsAttribute ( clazz , field , runtimeVisibleTypeAnnotationsAttribute ) ; } }
Source:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { updateAppliedFilters ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { selectContext ( ( ( mContextSwitchCombo.getSelectionIndex ( ) ) - 1 ) ) ; }
Source:
private void doTestGoog ( java.lang.String mimeType , int w , int h ) throws java.lang.Exception { mTestConfig.mTestPixels = false ; mTestConfig.mTestResult = true ; mTestConfig.mTotalFrames = 3000 ; mTestConfig.mNumberOfRepeat = 2 ; doTest ( true , mimeType , w , h ) ; }

Target:
private void doTestGoog ( java.lang.String mimeType , int w , int h , long testTimeoutMs ) throws java.lang.Exception { mTestConfig.mTestPixels = false ; mTestConfig.mTestResult = true ; mTestConfig.mTotalFrames = 3000 ; mTestConfig.mNumberOfRepeat = 2 ; doTest ( true , mimeType , w , h , testTimeoutMs ) ; }
Source:
public boolean visitEnter ( com.android.tools.perflib.heap.Instance instance ) ;

Target:
public void visitArrayInstance ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.ArrayInstance instance ) ;
Source:
public void execute ( org.w3c.dom.Element element ) { renderCompositeResults ( element , results.getResultsPerDevices ( ) , "Devices" ) ; }

Target:
public void doExecute ( org.gradle.api.internal.html.SimpleHtmlWriter writer ) throws java.io.IOException { renderCompositeResults ( writer , results.getResultsPerDevices ( ) , "Devices" ) ; }
Source:
public java.io.File getAssetsDir ( ) { return getAssets ( ) . getDirectory ( ) ; }

Target:
public java.util.Set < java.io.File > getAssetsDirectories ( ) { return getAssets ( ) . getDirectories ( ) ; }
Source:
public com.android.jack.test.toolchain.JackCliToolchain setVerbose ( boolean isVerbose ) { super . setVerbose ( isVerbose ) ; verbosityLevel = ( isVerbose ) ? com.android.jack.Options.VerbosityLevel.INFO : com.android.jack.Options.VerbosityLevel.WARNING ; return this ; }

Target:
public com.android.jack.test.toolchain.JackCliToolchain setVerbose ( boolean isVerbose ) { super . setVerbose ( isVerbose ) ; verbosityLevel = ( isVerbose ) ? com.android.jack.VerbosityLevel.INFO : com.android.jack.VerbosityLevel.WARNING ; return this ; }
Source:
public void testPlayAudio ( ) throws java.lang.InterruptedException { playAV ( INPUT_RESOURCE_ID , 5000 , true , false , 10000 ) ; }

Target:
public void testPlayAudio ( ) throws java.lang.InterruptedException { if ( ! ( hasAudioOutput ( ) ) ) { android.util.Log.w ( android.media.cts.MediaSyncTest.LOG_TAG , ( "AUDIO_OUTPUT feature not found. This system might not have a valid " + "audio output HAL" ) ) ; return ; } playAV ( INPUT_RESOURCE_ID , 5000 , true , false , 10000 ) ; }
Source:
public android.telephony.ims.internal.stub.ImsRegistrationImplBase getRegistration ( int slotId ) { return new android.telephony.ims.internal.stub.ImsRegistrationImplBase ( ) ; }

Target:
public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration ( int slotId ) { return new android.telephony.ims.stub.ImsRegistrationImplBase ( ) ; }
Source:
native void rsnScriptInvokeV ( long con , long id , int slot , byte [ ] params ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig , boolean mUseInc ) ;
Source:
private static com.ibm.icu.text.DecimalFormat getCannedDecimalFormat ( java.lang.String pattern , com.ibm.icu.util.ULocale uloc ) { return new com.ibm.icu.text.DecimalFormat ( pattern , com.ibm.icu.dev.test.serializable.FormatTests.getCannedDecimalFormatSymbols ( uloc ) ) ; }

Target:
private static com.ibm.icu.text.DecimalFormat getCannedDecimalFormat ( java.lang.String pattern , com.ibm.icu.util.ULocale uloc ) { return new com.ibm.icu.text.DecimalFormat ( pattern , com.ibm.icu.dev.test.serializable.FormatHandler.getCannedDecimalFormatSymbols ( uloc ) ) ; }
Source:
public boolean isNumberGeographical ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType numberType , int countryCallingCode ) { return ( ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) || ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE_OR_MOBILE ) ) ) || ( ( com.google.i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES.contains ( countryCallingCode ) ) && ( numberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.MOBILE ) ) ) ; }

Target:
public boolean isNumberGeographical ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType phoneNumberType , int countryCallingCode ) { return ( ( phoneNumberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE ) ) || ( phoneNumberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.FIXED_LINE_OR_MOBILE ) ) ) || ( ( com.google.i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES.contains ( countryCallingCode ) ) && ( phoneNumberType == ( com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType.MOBILE ) ) ) ; }
Source:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = strings ; response.sendToTarget ( ) ; } }

Target:
public void setLogicalToPhysicalSlotMapping ( int [ ] physicalSlots , android.os.Message result ) { unimplemented ( result ) ; }
Source:
public java.lang.String getFullMethodPath ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; getFullMethodPath ( sb ) ; return sb.toString ( ) ; }

Target:
public java.lang.String getFullMethodPath ( boolean truncatePath ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; getFullMethodPath ( sb , truncatePath ) ; return sb.toString ( ) ; }
Source:
public int getShutdownDelay ( ) { return getDelay ( com.android.jack.server.ConfigFile.SHUTDOWN_PROPERTY , com.android.jack.server.ConfigFile.CONFIG_TIME_DISABLED_VALUE ) ; }

Target:
public int getShutdownDelay ( ) { return getDelay ( com.android.jack.server.ConfigFile.SHUTDOWN_PROPERTY , ( ( 6 * 60 ) * 60 ) ) ; }
Source:
public int updateCOLR ( int presentation ) throws android.os.RemoteException { return - 1 ; }

Target:
public int queryCallForward ( int condition , java.lang.String number ) { return - 1 ; }
Source:
public boolean matches ( final java.lang.String s ) { return pattern.matcher ( s ) . matches ( ) ; }

Target:
public boolean apply ( final java.lang.String s ) { return pattern.matcher ( s ) . matches ( ) ; }
Source:
public void visitMethodHandleConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.MethodHandleConstant methodHandleConstant ) { methodHandleConstant.javaLangInvokeMethodHandleClass = findClass ( clazz.getName ( ) , ClassConstants.INTERNAL_NAME_JAVA_LANG_INVOKE_METHOD_HANDLE ) ; }

Target:
public void visitInvokeDynamicConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.InvokeDynamicConstant invokeDynamicConstant ) { invokeDynamicConstant.referencedClasses = findReferencedClasses ( clazz.getName ( ) , invokeDynamicConstant.getType ( clazz ) ) ; }
Source:
public static com.google.common.hash.HashCode hash ( java.io.File file , com.google.common.hash.HashFunction hashFunction ) throws java.io.IOException { return com.google.common.io.ByteStreams.hash ( com.google.common.io.Files.newInputStreamSupplier ( file ) , hashFunction ) ; }

Target:
public static com.google.common.hash.HashCode hash ( java.io.File file , com.google.common.hash.HashFunction hashFunction ) throws java.io.IOException { return com.google.common.io.Files.asByteSource ( file ) . hash ( hashFunction ) ; }
Source:
public void setUp ( ) { users = new com.google.gct.login.Users ( ) ; user1 = new com.google.gct.login.User ( "user1" ) ; user2 = new com.google.gct.login.User ( "user2" ) ; user3 = new com.google.gct.login.User ( "user3" ) ; }

Target:
public void setUp ( ) { users = new com.google.gct.login.CredentialedUserRoster ( ) ; user1 = new com.google.gct.login.CredentialedUser ( "user1" ) ; user2 = new com.google.gct.login.CredentialedUser ( "user2" ) ; user3 = new com.google.gct.login.CredentialedUser ( "user3" ) ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public android.telephony.ServiceState getServiceState ( ) { return mSST.mSS ; }

Target:
public android.telephony.ServiceState getServiceState ( ) { if ( ( mSST ) != null ) { return mSST.mSS ; } else { return new android.telephony.ServiceState ( ) ; } }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation x ) { trace ( x.getType ( ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JReinterpretCastOperation x ) { trace ( x.getType ( ) ) ; }
Source:
public final native int addAssetPath ( java.lang.String path ) ;

Target:
public final int addAssetPath ( java.lang.String path ) { int res = addAssetPathNative ( path ) ; return res ; }
Source:
public void setSigningStoreLocation ( java.lang.String signingStoreLocation ) { mSigningStoreLocation = signingStoreLocation ; }

Target:
public com.android.builder.ProductFlavor setSigningStoreLocation ( java.lang.String signingStoreLocation ) { mSigningStoreLocation = signingStoreLocation ; return this ; }
Source:
public java.lang.String [ ] getSupportedCipherSuites ( ) { if ( ( instantiationException ) != null ) { return libcore.util.EmptyArray.STRING ; } return org.conscrypt.CipherSuite.getSupportedCipherSuiteNames ( ) ; }

Target:
public java.lang.String [ ] getSupportedCipherSuites ( ) { if ( ( instantiationException ) != null ) { return org.conscrypt.util.EmptyArray.STRING ; } return org.conscrypt.CipherSuite.getSupportedCipherSuiteNames ( ) ; }
Source:
public static boolean isDeveloperOptionsEnabled ( android.app.Instrumentation instrumentation ) throws android.support.test.uiautomator.UiObjectNotFoundException { return com.android.devtools.systemimage.uitest.utils.SettingsUtil.scrollToItem ( instrumentation , "Developer options" ) ; }

Target:
public static boolean isDeveloperOptionsEnabled ( final android.app.Instrumentation instrumentation ) throws android.support.test.uiautomator.UiObjectNotFoundException { com.android.devtools.systemimage.uitest.utils.SettingsUtil.findItem ( instrumentation , "Developer options" ) . waitForExists ( java.util.concurrent.TimeUnit.MILLISECONDS.convert ( 5L , java.util.concurrent.TimeUnit.SECONDS ) ) ; return com.android.devtools.systemimage.uitest.utils.SettingsUtil.scrollToItem ( instrumentation , "Developer options" ) ; }
Source:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createRequestFocus ( ) { java.lang.String xml_name = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.REQUEST_FOCUS ; return new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xml_name , xml_name , xml_name , "Requests focus for the parent element or one of its descendants" , null , null , null , null , false ) ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createRequestFocus ( ) { java.lang.String xmlName = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.REQUEST_FOCUS ; return new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xmlName , xmlName , xmlName , "Requests focus for the parent element or one of its descendants" , null , null , null , null , false ) ; }
Source:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "[CDMAPhone] setCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }

Target:
public void setCellBroadcastSmsConfig ( int [ ] configValuesArray , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "[CDMAPhone] setCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }
Source:
private boolean shouldAdjustKeySizes ( ) { return isLandscapeMode ( ) ? shouldAdjustKeyWidths ( ) : shouldAdjustDigitKeyHeights ( ) ; }

Target:
private boolean shouldAdjustKeySizes ( ) { return mIsLandscapeMode ? shouldAdjustKeyWidths ( ) : shouldAdjustDigitKeyHeights ( ) ; }
Source:
public void destroy ( ) { android.telecom.Log.addEvent ( this , LogUtils.Events.DESTROYED ) ; }

Target:
public void destroy ( ) { if ( ( mCallerInfo ) != null ) { mCallerInfo.cachedPhotoIcon = null ; mCallerInfo.cachedPhoto = null ; } android.telecom.Log.addEvent ( this , LogUtils.Events.DESTROYED ) ; }
Source:
private static com.android.sdklib.util.Pair < org.eclipse.core.resources.IFile , org.eclipse.jface.text.IRegion > findIdInDocument ( java.lang.String id , org.eclipse.core.resources.IFile file , org.w3c.dom.Document document ) { java.lang.String targetAttribute = "@+id/" + id ; return com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.findIdInElement ( document.getDocumentElement ( ) , file , targetAttribute ) ; }

Target:
private static com.android.sdklib.util.Pair < org.eclipse.core.resources.IFile , org.eclipse.jface.text.IRegion > findIdInDocument ( java.lang.String id , org.eclipse.core.resources.IFile file , org.w3c.dom.Document document ) { java.lang.String targetAttribute = ( com.android.ide.common.layout.LayoutConstants.NEW_ID_PREFIX ) + id ; return com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.findIdInElement ( document.getDocumentElement ( ) , file , targetAttribute ) ; }
Source:
protected com.intellij.execution.configurations.ModuleBasedConfiguration createInstance ( ) { return new com.google.gct.idea.appengine.run.AppEngineRunConfiguration ( getName ( ) , getProject ( ) , getFactory ( ) ) ; }

Target:
protected com.google.gct.idea.appengine.run.ModuleBasedConfiguration createInstance ( ) { return new com.google.gct.idea.appengine.run.AppEngineRunConfiguration ( getName ( ) , getProject ( ) , getFactory ( ) ) ; }
Source:
public java.lang.String convertToString ( android.database.Cursor cursor ) { return cursor.getString ( 5 ) ; }

Target:
public java.lang.String convertToString ( android.database.Cursor cursor ) { return cursor.getString ( com.example.android.apis.view.AutoComplete4.COLUMN_DISPLAY_NAME ) ; }
Source:
public android.util.Pair < java.lang.String , android.media.MediaFormat > readTrackInfoFile ( boolean isAudio ) { return null ; }

Target:
public java.util.List < com.android.tv.tuner.exoplayer.buffer.BufferManager.TrackFormat > readTrackInfoFiles ( boolean isAudio ) { return null ; }
Source:
protected abstract void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message , @ javax.annotation.Nonnull com.android.jack.ir.sourceinfo.SourceInfo sourceInfo ) ;

Target:
protected abstract void printFilteredProblem ( @ javax.annotation.Nonnull com.android.jack.reporting.Reportable.ProblemLevel problemLevel , @ javax.annotation.Nonnull java.lang.String message , @ javax.annotation.CheckForNull com.android.sched.util.location.Location location ) ;
Source:
public final java.lang.String toString ( ) { java.lang.String result = cachedToStringResult ; return result == null ? cachedToStringResult = toNewString ( ) : result ; }

Target:
public final java.lang.String toString ( ) { java.lang.String result = cachedToStringResult ; if ( result == null ) { result = cachedToStringResult = java.util.Locale.toNewString ( languageCode , countryCode , variantCode ) ; } return result ; }
Source:
native void rsnAllocationElementData1D ( int con , int id , int xoff , int mip , int compIdx , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , byte [ ] d , int sizeBytes ) ;
Source:
private android.os.RegistrantList getRegistrantsFromAction ( int action ) { switch ( action ) { case com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_SET_METERED_APNS_ENABLED : return mMeteredApnEnableRegistrants ; case com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_SET_RADIO_ENABLED : return mRadioEnableRegistrants ; default : loge ( ( "Unsupported action: " + action ) ) ; return null ; } }

Target:
private android.os.RegistrantList getRegistrantsFromAction ( int action ) { switch ( action ) { case com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_SET_METERED_APNS_ENABLED : return mMeteredApnEnableRegistrants ; case com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_SET_RADIO_ENABLED : return mRadioEnableRegistrants ; case com.android.internal.telephony.CarrierActionAgent.CARRIER_ACTION_REPORT_DEFAULT_NETWORK_STATUS : return mDefaultNetworkReportRegistrants ; default : loge ( ( "Unsupported action: " + action ) ) ; return null ; } }
Source:
protected void setProgressBarVisible ( boolean visible ) { if ( ( mProgressHeader ) != null ) { mProgressHeader.setVisibility ( ( visible ? android.view.View.VISIBLE : android.view.View.INVISIBLE ) ) ; } }

Target:
protected void setProgressBarVisible ( boolean visible ) { if ( ( mProgressHeader ) != null ) { mProgressHeader.setVisibility ( ( visible ? android.view.View.VISIBLE : android.view.View.GONE ) ) ; } }
Source:
public static native void EVP_VerifyUpdate ( long ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native int EVP_SignFinal ( org.conscrypt.OpenSSLDigestContext ctx , byte [ ] signature , int offset , long key ) ;
Source:
public abstract com.google.common.collect.ImmutableSet < C > columnKeySet ( ) ;

Target:
final com.google.common.collect.UnmodifiableIterator < com.google.common.collect.Table.Cell < R , C , V > > cellIterator ( ) { throw new java.lang.AssertionError ( "should never be called" ) ; }
Source:
private void skipClass ( ) { while ( true ) { char c = descriptor.charAt ( ( ( index ) ++ ) ) ; switch ( c ) { case proguard.classfile.ClassConstants.INTERNAL_TYPE_GENERIC_START : skipGeneric ( ) ; break ; case proguard.classfile.ClassConstants.INTERNAL_TYPE_CLASS_END : return ; } } }

Target:
private void skipClass ( ) { while ( true ) { char c = descriptor.charAt ( ( ( index ) ++ ) ) ; switch ( c ) { case proguard.classfile.ClassConstants.TYPE_GENERIC_START : skipGeneric ( ) ; break ; case proguard.classfile.ClassConstants.TYPE_CLASS_END : return ; } } }
Source:
public void testHasImeActionNoInputConnection ( ) { android.widget.Button button = new android.widget.Button ( context ) ; assertFalse ( android.support.test.espresso.matcher.ViewMatchers.hasImeAction ( 0 ) . matches ( button ) ) ; }

Target:
public void hasImeActionNoInputConnection ( ) { android.widget.Button button = new android.widget.Button ( context ) ; org.junit.Assert.assertFalse ( android.support.test.espresso.matcher.ViewMatchers.hasImeAction ( 0 ) . matches ( button ) ) ; }
Source:
public boolean isHalStarted ( ) { return ( mIWifiStaIface ) != null ; }

Target:
public boolean isHalStarted ( ) { return ( ( mIWifiStaIface ) != null ) || ( ( mIWifiApIface ) != null ) ; }
Source:
public boolean hasResourcesOfType ( @ com.android.annotations.NonNull com.android.resources.ResourceType type ) { ensureInitialized ( ) ; java.util.Map < java.lang.String , com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ( items.size ( ) ) > 0 ) ; }

Target:
public boolean hasResourcesOfType ( @ com.android.annotations.NonNull com.android.resources.ResourceType type ) { ensureInitialized ( ) ; java.util.Map < java.lang.String , com.android.ide.common.resources.ResourceItem > items = mResourceMap.get ( type ) ; return ( items != null ) && ( ! ( items.isEmpty ( ) ) ) ; }
Source:
public void clearHistory ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { clearHistory ( ) ; } } ) ; return ; } mAwContents.clearHistory ( ) ; }

Target:
public void clearFormData ( ) { if ( checkNeedsPost ( ) ) { mRunQueue.addTask ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { clearFormData ( ) ; } } ) ; return ; } mAwContents.hideAutofillPopup ( ) ; }
Source:
public void testFlagIEF ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( ( PackageManager.INSTALL_FORWARD_LOCK ) | ( PackageManager.INSTALL_INTERNAL ) ) | ( PackageManager.INSTALL_EXTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }

Target:
public void testFlagIE ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( android.content.pm.PackageManager.INSTALL_EXTERNAL ) | ( android.content.pm.PackageManager.INSTALL_INTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }