auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onAdvertisingEnabled ( int advertiserId , boolean enabled , int status ) { if ( enabled == true ) { android.util.Log.e ( android.bluetooth.le.BluetoothLeAdvertiser.TAG , ( "Legacy advertiser should be only disabled on timeout," + " but was enabled!" ) ) ; return ; } stopAdvertising ( callback ) ; }

Target:
public void onAdvertisingEnabled ( android.bluetooth.le.AdvertisingSet advertisingSet , boolean enabled , int status ) { if ( enabled == true ) { android.util.Log.e ( android.bluetooth.le.BluetoothLeAdvertiser.TAG , ( "Legacy advertiser should be only disabled on timeout," + " but was enabled!" ) ) ; return ; } stopAdvertising ( callback ) ; }
Source:
public void setEnabledProtocols ( java.lang.String [ ] protocols ) { sslParameters.openSslEnabledProtocols = org.conscrypt.NativeCrypto.checkEnabledProtocols ( protocols ) ; }

Target:
public java.lang.String [ ] getEnabledProtocols ( ) { return sslParameters.getEnabledProtocols ( ) ; }
Source:
protected com.android.internal.telephony.IccCardApplicationStatus.AppState getCurrentUiccStateP ( ) { com.android.internal.telephony.UiccCardApplication uiccCardApplication = mUiccApplication.get ( ) ; if ( uiccCardApplication == null ) return com.android.internal.telephony.IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN ; return uiccCardApplication.getState ( ) ; }

Target:
public android.telephony.SignalStrength getSignalStrength ( ) { com.android.internal.telephony.ServiceStateTracker sst = getServiceStateTracker ( ) ; if ( sst == null ) { return new android.telephony.SignalStrength ( ) ; } else { return sst.getSignalStrength ( ) ; } }
Source:
public com.android.tools.perflib.heap.Instance getClassLoader ( ) { return mHeap.mSnapshot.findReference ( mClassLoaderId ) ; }

Target:
public com.android.tools.perflib.heap.Instance getClassLoader ( ) { return mHeap.mSnapshot.findInstance ( mClassLoaderId ) ; }
Source:
private void createScannerWithSwPnoScanSupport ( ) { mResources.setBoolean ( R.bool.config_wifi_background_scan_support , false ) ; mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mLooper.getLooper ( ) , mClock ) ; }

Target:
private void createScannerWithSwPnoScanSupport ( ) { mResources.setBoolean ( R.bool.config_wifi_background_scan_support , false ) ; mScanner = new com.android.server.wifi.scanner.SupplicantWifiScannerImpl ( mContext , mWifiNative , mWifiMonitor , mLooper.getLooper ( ) , mClock ) ; }
Source:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.util.List < java.io.IOException > suppressedExceptions ) { return dalvik.system.DexPathList.makeElements ( files , null , suppressedExceptions , true ) ; }

Target:
private static dalvik.system.DexPathList.Element [ ] makePathElements ( java.util.List < java.io.File > files , java.util.List < java.io.IOException > suppressedExceptions , java.lang.ClassLoader loader ) { return dalvik.system.DexPathList.makeElements ( files , null , suppressedExceptions , true , loader ) ; }
Source:
public com.android.bluetooth.hid.HidService getHidService ( ) { return com.android.bluetooth.hid.HidService.getHidService ( ) ; }

Target:
public com.android.bluetooth.hid.HidHostService getHidHostService ( ) { return com.android.bluetooth.hid.HidHostService.getHidHostService ( ) ; }
Source:
public static java.io.File getDalvikTestFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( "dalvik/tests/" + testName ) + "/src" ) ) ; }

Target:
public static java.io.File getArtTestFolder ( @ javax.annotation.Nonnull java.lang.String testName ) { return com.android.jack.TestTools.getFromAndroidTree ( ( ( "art/test/" + testName ) + "/src" ) ) ; }
Source:
public boolean isFreed ( ) { return ( address ) == 0 ; }

Target:
public void free ( ) { address = 0 ; freed = true ; }
Source:
public void setTagInternal ( int key , java.lang.Object tag ) { if ( ( key > > > 24 ) != 1 ) { throw new java.lang.IllegalArgumentException ( ( "The key must be a framework-specific " + "resource id." ) ) ; } android.view.View.setTagInternal ( this , key , tag ) ; }

Target:
public void setTagInternal ( int key , java.lang.Object tag ) { if ( ( key > > > 24 ) != 1 ) { throw new java.lang.IllegalArgumentException ( ( "The key must be a framework-specific " + "resource id." ) ) ; } setKeyedTag ( key , tag ) ; }
Source:
void tearDown ( ) { com.android.cts.verifier.notifications.MockListener.MockListener.resetListenerData ( mContext ) ; delay ( ) ; }

Target:
void tearDown ( ) { com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; }
Source:
public void sendDtmf ( char c , android.os.Message result ) { }

Target:
public void startDtmf ( char c ) { this . startDtmf ( c ) ; }
Source:
public final char getChar ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.CHAR ) ; return ( ( char ) ( this . block.peekShort ( ( ( offset ) + index ) , order ) ) ) ; }

Target:
public final char getChar ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.CHAR ) ; return ( ( char ) ( this . block.peekShort ( ( ( offset ) + index ) , order ) ) ) ; }
Source:
private native void gattClientConfigBatchScanStorageNative ( int client_if , int max_full_reports_percent , int max_truncated_reports_percent , int notify_threshold_percent ) ;

Target:
private native void gattClientConfigBatchScanStorageNative ( int clientIf , int maxFullReportsPercent , int maxTruncatedReportsPercent , int notifyThresholdPercent ) ;
Source:
private static javax.crypto.CryptoPermissions getAppPermissions ( java.net.URL callerCodeBase ) { try { return javax.crypto.JceSecurity.verifyExemptJar ( callerCodeBase ) ; } catch ( java.lang.Exception e ) { return null ; } }

Target:
javax.crypto.CryptoPermission getCryptoPermission ( java.lang.String alg ) { return null ; }
Source:
public final void appendPartiallyEncoded ( java.lang.StringBuilder builder , java.lang.String s ) { appendEncoded ( builder , s , Charsets.UTF_8 , true ) ; }

Target:
public final void appendPartiallyEncoded ( java.lang.StringBuilder builder , java.lang.String s ) { appendEncoded ( builder , s , java.nio.charset.StandardCharsets.UTF_8 , true ) ; }
Source:
private void unregisterEvent ( int event , int slotId ) { switch ( event ) { case com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants.IDLE_SCREEN_AVAILABLE_EVENT : unregisterProcessObserver ( AppInterface.CommandType.SET_UP_EVENT_LIST , slotId ) ; break ; case com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants.LANGUAGE_SELECTION_EVENT : default : break ; } }

Target:
private void unregisterEvent ( int event , int slotId ) { switch ( event ) { case com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants.USER_ACTIVITY_EVENT : unregisterUserActivityReceiver ( ) ; break ; case com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants.IDLE_SCREEN_AVAILABLE_EVENT : unregisterProcessObserver ( AppInterface.CommandType.SET_UP_EVENT_LIST , slotId ) ; break ; case com.android.internal.telephony.cat.CatCmdMessage.SetupEventListConstants.LANGUAGE_SELECTION_EVENT : default : break ; } }
Source:
public static int Xor0 ( int arg ) { return arg ^ 0 ; }

Target:
public static int $noinline$Xor0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg ^ 0 ; }
Source:
public void run ( ) { Main.sleep ( 200 ) ; SlowInit.printMsg ( "MethodThread message" ) ; }

Target:
public void run ( ) { Main.sleep ( 1000 ) ; SlowInit.printMsg ( "MethodThread message" ) ; }
Source:
private void assertPositionEquals ( float expected , android.support.test.espresso.action.GeneralLocation location , int axis ) { assertEquals ( expected , location.calculateCoordinates ( mockView ) [ axis ] , 0.1F ) ; }

Target:
private void assertPositionEquals ( float expected , android.support.test.espresso.action.GeneralLocation location , int axis ) { junit.framework.Assert.assertEquals ( expected , location.calculateCoordinates ( mockView ) [ axis ] , 0.1F ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { loadSkin ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { boolean listMode = mSkinListRadio.getSelection ( ) ; enableSkinWidgets ( listMode ) ; validatePage ( ) ; }
Source:
void finishAccept ( ) { initLocalAddressAndPort ( ) ; }

Target:
public void onAccept ( java.net.InetSocketAddress remoteAddress , boolean updateSocketState ) { onBind ( updateSocketState ) ; onConnectStatusChanged ( remoteAddress , java.nio.SocketChannelImpl.SOCKET_STATUS_CONNECTED , updateSocketState ) ; }
Source:
public static void setSocketOption ( java.io.FileDescriptor fd , int option , java.lang.Object value ) throws java.net.SocketException { try { libcore.io.IoBridge.setSocketOptionErrno ( fd , option , value ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }

Target:
public static void setSocketOption ( java.io.FileDescriptor fd , int option , java.lang.Object value ) throws java.net.SocketException { try { libcore.io.IoBridge.setSocketOptionErrno ( fd , option , value ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }
Source:
public java.util.Set < java.lang.String > handleGetKeys ( ) { loadLookupTablesIfNecessary ( ) ; return lookup.keySet ( ) ; }

Target:
protected java.util.Set < java.lang.String > handleKeySet ( ) { loadLookupTablesIfNecessary ( ) ; return lookup.keySet ( ) ; }
Source:
private static native long nativeSumNativeBinaries ( java.lang.String file , java.lang.String cpuAbi , java.lang.String cpuAbi2 ) ;

Target:
private static native long nativeOpenApk ( java.lang.String path ) ;
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteName ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }
Source:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; 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:
public java.net.InetAddress getAddress ( ) throws java.net.UnknownHostException { return java.net.InetAddress.getByName ( mDiscoveredPrinter.path.getHost ( ) ) ; }

Target:
public java.net.InetAddress getAddress ( ) { if ( ( mCapabilities ) != null ) { return mCapabilities.inetAddress ; } return null ; }
Source:
public long getPolicyLimitBytes ( android.net.NetworkTemplate template ) { return getPolicy ( template ) . limitBytes ; }

Target:
public long getPolicyLimitBytes ( android.net.NetworkTemplate template ) { final android.net.NetworkPolicy policy = getPolicy ( template ) ; return policy != null ? policy.limitBytes : android.net.NetworkPolicy.LIMIT_DISABLED ; }
Source:
public void start ( java.lang.String [ ] participants , com.android.ims.ImsCallProfile profile ) { if ( mClosed ) { return ; } try { miSession.startConference ( participants , profile ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void start ( java.lang.String [ ] participants , android.telephony.ims.ImsCallProfile profile ) { if ( mClosed ) { return ; } try { miSession.startConference ( participants , profile ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void test_U8_2_SCALE20_05_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; }

Target:
public void test_U8_2_SCALE20_05_inRectangle ( ) { testResize ( inX , inY , Element.DataType.UNSIGNED_8 , 2 , 2.0F , 0.5F ) ; }
Source:
private void updateIfaces ( ) { synchronized ( mStatsLock ) { mWakeLock.acquire ( ) ; try { updateIfacesLocked ( ) ; } finally { mWakeLock.release ( ) ; } } }

Target:
private void updateIfaces ( android.net.Network [ ] defaultNetworks ) { synchronized ( mStatsLock ) { mWakeLock.acquire ( ) ; try { updateIfacesLocked ( defaultNetworks ) ; } finally { mWakeLock.release ( ) ; } } }
Source:
protected void onRadioOffOrNotAvailable ( ) { countVoiceMessages = 0 ; mncLength = UNINITIALIZED ; iccid = null ; adnCache.reset ( ) ; recordsRequested = false ; }

Target:
protected void onRadioOffOrNotAvailable ( ) { countVoiceMessages = 0 ; mncLength = UNINITIALIZED ; iccid = null ; adnCache.reset ( ) ; phone.setSystemProperty ( com.android.internal.telephony.TelephonyProperties.PROPERTY_ICC_OPERATOR_NUMERIC , null ) ; phone.setSystemProperty ( com.android.internal.telephony.TelephonyProperties.PROPERTY_ICC_OPERATOR_ISO_COUNTRY , null ) ; recordsRequested = false ; }
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { super . unplug ( batteryUptime , batteryRealtime ) ; if ( mTrackingReportedValues ) { mUnpluggedReportedTotalTime = mCurrentReportedTotalTime ; mUnpluggedReportedCount = mCurrentReportedCount ; } mInDischarge = true ; }

Target:
public void unplug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { super . unplug ( elapsedRealtime , batteryUptime , batteryRealtime ) ; if ( mTrackingReportedValues ) { mUnpluggedReportedTotalTime = mCurrentReportedTotalTime ; mUnpluggedReportedCount = mCurrentReportedCount ; } mInDischarge = true ; }
Source:
public java.lang.String getIMSI ( ) { return mImsi ; }

Target:
private void setSimLanguageFromEF ( ) { android.content.res.Resources resource = android.content.res.Resources.getSystem ( ) ; if ( resource.getBoolean ( com.android.internal.R.bool.config_use_sim_language_file ) ) { setSimLanguage ( mEfLi , mEfPl ) ; } else { if ( DBG ) log ( "Not using EF LI/EF PL" ) ; } }
Source:
public void testE4 ( ) { dot.junit.opcodes.invoke_interface.d.T_invoke_interface_11 t = new dot.junit.opcodes.invoke_interface.d.T_invoke_interface_11 ( ) ; try { t.run ( ) ; fail ( "expected IncompatibleClassChangeError" ) ; } catch ( java.lang.IncompatibleClassChangeError e ) { } }

Target:
public void testE4_2 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface.d.T_invoke_interface_11" , java.lang.IncompatibleClassChangeError.class ) ; loadAndRun ( "dot.junit.opcodes.invoke_interface.d.T_invoke_interface_11" , java.lang.IncompatibleClassChangeError.class ) ; }
Source:
public boolean isInCall ( ) throws android.os.RemoteException { return false ; }

Target:
public boolean isMultiparty ( ) { return false ; }
Source:
public void streamMethodUpdated ( int methodType ) throws android.os.RemoteException { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mAppCallback.onStreamMethodUpdated ( methodType ) ; } } ) ; }

Target:
public void onStreamMethodUpdated ( int methodType ) throws android.os.RemoteException { if ( mIsStopped ) { return ; } mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { mAppCallback.onStreamMethodUpdated ( methodType ) ; } } ) ; }
Source:
public static native void SSL_use_PKCS8_PrivateKey_for_tls_channel_id ( int ssl , byte [ ] pkcs8EncodedPrivateKey ) throws javax.net.ssl.SSLException ;

Target:
public static native void SSL_use_PrivateKey ( long ssl , byte [ ] pkcs8EncodedPrivateKey ) ;
Source:
public void bind ( java.net.SocketAddress localAddr ) throws java.net.SocketException { if ( channelImpl.isConnected ( ) ) { throw new java.nio.channels.AlreadyConnectedException ( ) ; } super . bind ( localAddr ) ; channelImpl.isBound = true ; }

Target:
public void bind ( java.net.SocketAddress localAddr ) throws java.net.SocketException { if ( channelImpl.isConnected ( ) ) { throw new java.nio.channels.AlreadyConnectedException ( ) ; } super . bind ( localAddr ) ; channelImpl.onBind ( false ) ; }
Source:
public void onNumberSet ( int limit ) { mMmsRecycler.setMessageLimit ( this , limit ) ; setMmsDisplayLimit ( ) ; }

Target:
public void onNumberSet ( int limit ) { mSmsRecycler.setMessageLimit ( this , limit ) ; setSmsDisplayLimit ( ) ; }
Source:
static float $opt$LongToFloat ( long a ) { return ( ( float ) ( a ) ) ; }

Target:
static float $opt$LongToFloat ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mSource = new com.android.sdklib.internal.repository.sources.SdkRepoSourceTest.MockSdkRepoSource ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; java.lang.System.setProperty ( "THROW_DEEP_EXCEPTION_DURING_TESTING" , "1" ) ; mSource = new com.android.sdklib.internal.repository.sources.SdkRepoSourceTest.MockSdkRepoSource ( ) ; }
Source:
public void test_SingletonMap_merge ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . merge ( 1 , 5.0 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_computeIfAbsent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfAbsent ( 1 , ( k ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; getWindow ( ) . addFlags ( ( ( android.view.WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD ) | ( android.view.WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED ) ) ) ; }

Target:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; getWindow ( ) . addFlags ( ( ( ( android.view.WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD ) | ( android.view.WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON ) ) | ( android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON ) ) ) ; }
Source:
public void copySubMessage ( com.android.dialer.phonelookup.PhoneLookupInfo.Builder destination , com.android.dialer.phonelookup.PhoneLookupInfo source ) { destination.setCp2Info ( source.getCp2Info ( ) ) ; }

Target:
public void setSubMessage ( com.android.dialer.phonelookup.PhoneLookupInfo.Builder destination , com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info subMessage ) { destination.setCp2Info ( subMessage ) ; }
Source:
public void setLdLibs ( java.lang.String ldLibs ) { this . ldLibs = ldLibs ; }

Target:
public com.android.build.gradle.internal.dsl.NdkConfigDsl ldLibs ( java.lang.String ... libs ) { if ( ( ldLibs ) == null ) { ldLibs = com.google.common.collect.Sets.newHashSetWithExpectedSize ( libs.length ) ; } java.util.Collections.addAll ( ldLibs , libs ) ; return this ; }
Source:
public java.util.List < android.telecom.ParcelableCallAnalytics > dumpCallAnalytics ( ) { try { com.android.server.telecom.Log.startSession ( "TSI.dCA" ) ; enforcePermission ( android.Manifest.permission.DUMP ) ; return java.util.Arrays.asList ( com.android.server.telecom.Analytics.dumpToParcelableAnalytics ( ) ) ; } finally { com.android.server.telecom.Log.endSession ( ) ; } }

Target:
public java.util.List < android.telecom.ParcelableCallAnalytics > dumpCallAnalytics ( ) { try { android.telecom.Log.startSession ( "TSI.dCA" ) ; enforcePermission ( android.Manifest.permission.DUMP ) ; return java.util.Arrays.asList ( com.android.server.telecom.Analytics.dumpToParcelableAnalytics ( ) ) ; } finally { android.telecom.Log.endSession ( ) ; } }
Source:
public static com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory create ( int id , @ android.support.annotation.Nullable java.lang.String displayName , boolean supportsPhotos ) { return new com.android.dialer.searchfragment.remote.AutoValue_RemoteDirectoriesCursorLoader_Directory ( id , displayName , supportsPhotos ) ; }

Target:
public static com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory create ( int id , @ android.support.annotation.Nullable java.lang.String displayName , boolean supportsPhotos , @ android.support.annotation.Nullable java.lang.String authority ) { return new com.android.dialer.searchfragment.remote.AutoValue_RemoteDirectoriesCursorLoader_Directory ( id , displayName , supportsPhotos , authority ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , int [ ] data ) { validateIsInt32 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copyTo ( int [ ] d ) { validateIsInt32 ( ) ; copyTo ( d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { new android.icu.dev.test.format.TimeZoneFormatTest ( ) . run ( args ) ; }

Target:
public java.util.Set < java.lang.String > getAvailableMetaZoneIDs ( java.lang.String tzID ) { return null ; }
Source:
public static boolean isInternalMethodDescriptor ( java.lang.String internalDescriptor ) { return ( internalDescriptor.charAt ( 0 ) ) == ( proguard.classfile.ClassConstants.INTERNAL_METHOD_ARGUMENTS_OPEN ) ; }

Target:
public static boolean isInternalMethodDescriptor ( java.lang.String internalDescriptor ) { return ( internalDescriptor.charAt ( 0 ) ) == ( ClassConstants.METHOD_ARGUMENTS_OPEN ) ; }
Source:
public void readIntArray ( int [ ] dst , int dstOffset , int intCount ) { libcore.io.Memory.peekIntArray ( ( ( address ) + ( position ) ) , dst , dstOffset , intCount , swap ) ; position += ( SizeOf.INT ) * intCount ; }

Target:
public byte readByte ( ) { file.checkNotClosed ( ) ; libcore.io.NioBufferIterator.checkReadBounds ( position , length , 1 ) ; byte result = libcore.io.Memory.peekByte ( ( ( address ) + ( position ) ) ) ; ++ ( position ) ; return result ; }
Source:
public boolean isImsRegistered ( int subId ) { try { return getITelephony ( ) . isImsRegisteredForSubscriber ( subId ) ; } catch ( android.os.RemoteException ex ) { return false ; } catch ( java.lang.NullPointerException ex ) { return false ; } }

Target:
public boolean switchSlots ( int [ ] physicalSlots ) { try { com.android.internal.telephony.ITelephony telephony = getITelephony ( ) ; if ( telephony == null ) { return false ; } return telephony.switchSlots ( physicalSlots ) ; } catch ( android.os.RemoteException e ) { return false ; } }
Source:
public void run ( ) { com.android.uiautomator.UiAutomatorModel.getModel ( ) . toggleShowNaf ( ) ; setChecked ( com.android.uiautomator.UiAutomatorModel.getModel ( ) . shouldShowNafNodes ( ) ) ; }

Target:
public void run ( ) { mView.toggleShowNaf ( ) ; mView.redrawScreenshot ( ) ; setChecked ( mView.shouldShowNafNodes ( ) ) ; }
Source:
public int getIntCoreSetting ( java.lang.String key , int defaultValue ) { synchronized ( mPackages ) { if ( ( mCoreSettings ) != null ) { return mCoreSettings.getInt ( key , defaultValue ) ; } else { return defaultValue ; } } }

Target:
public int getIntCoreSetting ( java.lang.String key , int defaultValue ) { synchronized ( mResourcesManager ) { if ( ( mCoreSettings ) != null ) { return mCoreSettings.getInt ( key , defaultValue ) ; } return defaultValue ; } }
Source:
public void turnOffIms ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . turnOffIms ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsUt getUtInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getUtInterface ( mSlotId , mSupportedFeature ) ; } }
Source:
public static int intReverseCondition ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 42 > i ? 13 : 54 ; }

Target:
public static int $noinline$intReverseCondition ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 42 > i ? 13 : 54 ; }
Source:
public void setApplicationEnabledSetting ( java.lang.String packageName , int newState , int flags ) { try { mPM.setApplicationEnabledSetting ( packageName , newState , flags , mContext.getUserId ( ) , mContext.getBasePackageName ( ) ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void setApplicationEnabledSetting ( java.lang.String packageName , int newState , int flags ) { try { mPM.setApplicationEnabledSetting ( packageName , newState , flags , mContext.getUserId ( ) , mContext.getOpPackageName ( ) ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation ) { return visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotation ) ) ) ; }
Source:
public void test_getDefaultAdapter ( ) { assertNotNull ( android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ) ; }

Target:
public void test_getDefaultAdapter ( ) { if ( mHasBluetooth ) { assertNotNull ( android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ) ; } else { assertNull ( android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ) ; } }
Source:
public void copy1DRangeFrom ( int off , int count , short [ ] d ) { validateIsInt16 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public boolean isCspPlmnEnabled ( ) { return mIccRecords.isCspPlmnEnabled ( ) ; }

Target:
public boolean isCspPlmnEnabled ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.isCspPlmnEnabled ( ) : false ; }
Source:
public void validateSimCredentialWithoutIMSI ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = new android.net.wifi.hotspot2.pps.Credential ( ) ; cred.realm = "realm" ; cred.simCredential = new android.net.wifi.hotspot2.pps.Credential.SimCredential ( ) ; cred.simCredential.eapType = android.net.wifi.EAPConstants.EAP_SIM ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }

Target:
public void validateSimCredentialWithEapTls ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Credential cred = android.net.wifi.hotspot2.pps.CredentialTest.createCredentialWithSimCredential ( ) ; cred.getSimCredential ( ) . setEapType ( EAPConstants.EAP_TLS ) ; org.junit.Assert.assertFalse ( cred.validate ( ) ) ; }
Source:
public void imsNetworkStateChanged ( int var1 ) { }

Target:
public void imsNetworkStateChanged ( int indicationType ) { }
Source:
public void write ( java.io.DataOutput out ) throws java.io.IOException { com.intellij.util.io.DataInputOutputUtil.writeINT ( out , myContentId ) ; }

Target:
public void write ( java.io.DataOutput out ) throws java.io.IOException { out.writeInt ( myContentId ) ; }
Source:
public final int toFullTitle ( int c , android.icu.impl.UCaseProps.ContextIterator iter , java.lang.StringBuilder out , android.icu.util.ULocale locale , int [ ] locCache ) { return toUpperOrTitle ( c , iter , out , locale , locCache , false ) ; }

Target:
public final int toFullUpper ( int c , android.icu.impl.UCaseProps.ContextIterator iter , java.lang.Appendable out , int caseLocale ) { return toUpperOrTitle ( c , iter , out , caseLocale , true ) ; }
Source:
public void testOkLibraries ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/classes.jar=>libs/classes.jar" ) ) ; }

Target:
public void testNoWarningBeforeBuild ( ) throws java.lang.Exception { mScopes = null ; mEnabled = com.google.common.collect.Sets.newHashSet ( com.android.tools.lint.checks.MissingClassDetector.MISSING , com.android.tools.lint.checks.MissingClassDetector.INSTANTIATABLE , com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" ) ) ; }
Source:
public static final boolean isSurrogatePair ( char high , char low ) { return ( android.icu.lang.UCharacter.isHighSurrogate ( high ) ) && ( android.icu.lang.UCharacter.isLowSurrogate ( low ) ) ; }

Target:
public static final int toCodePoint ( char high , char low ) { return java.lang.Character.toCodePoint ( high , low ) ; }
Source:
void expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState state , com.android.server.ConnectivityServiceTest.MockNetworkAgent mockAgent ) { expectCallback ( state , mockAgent , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }

Target:
com.android.server.ConnectivityServiceTest.CallbackInfo expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState state , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { return expectCallback ( state , agent , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
public com.google.common.collect.ImmutableList < java.lang.String > getKeyAttributesNames ( ) { return com.google.common.collect.ImmutableList.of ( SdkConstants.ATTR_NAME , "glEsVersion" ) ; }

Target:
public com.google.common.collect.ImmutableList < java.lang.String > getKeyAttributesNames ( ) { return com.google.common.collect.ImmutableList.of ( SdkConstants.ATTR_NAME , AndroidManifest.ATTRIBUTE_GLESVERSION ) ; }
Source:
public void test00_noop ( ) throws java.lang.Exception { processTestFiles ( ) ; }

Target:
public static junit.framework.Test suite ( ) { junit.framework.TestSuite suite = new junit.framework.TestSuite ( ) ; suite.setName ( "ManifestMergerTestSuite" ) ; for ( java.lang.String fileName : com.android.manifmerger.ManifestMergerTest.sDataFiles ) { suite.addTest ( junit.framework.TestSuite.createTest ( com.android.manifmerger.ManifestMergerTest.class , fileName ) ) ; } return suite ; }
Source:
public void onVideoStateChanged ( com.android.server.telecom.Call call ) { for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onVideoStateChanged ( call ) ; } }

Target:
public void onVideoStateChanged ( com.android.server.telecom.Call call , int previousVideoState , int newVideoState ) { for ( com.android.server.telecom.CallsManager.CallsManagerListener listener : mListeners ) { listener.onVideoStateChanged ( call , previousVideoState , newVideoState ) ; } }
Source:
public java.lang.Object [ ] getFormats ( ) { return choiceFormats ; }

Target:
public java.lang.Object [ ] getFormats ( ) { java.lang.Object [ ] newFormats = java.util.Arrays.copyOf ( choiceFormats , choiceFormats.length ) ; return newFormats ; }
Source:
protected void visitMethod ( int type , int index ) { constantValue = getCstMethodRef ( dex , index ) ; }

Target:
protected void visitMethod ( int type , int index ) { assert ( cstIndexMap ) != null ; constantValue = cstIndexMap.getCstMethodRef ( index ) ; }
Source:
protected void finalize ( ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) log ( "UiccProfile finalized" ) ; }

Target:
protected void finalize ( ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) com.android.internal.telephony.uicc.UiccProfile.log ( "UiccProfile finalized" ) ; }
Source:
public K lowerKey ( K key ) { return getNearKey ( key , m.LT ) ; }

Target:
public java.util.Map.Entry < K , V > lowerEntry ( K key ) { return getNearEntry ( key , java.util.concurrent.ConcurrentSkipListMap.LT ) ; }
Source:
private java.util.regex.Matcher getMatcher ( java.lang.String value ) { java.util.regex.Matcher matcher = pattern.matcher ( value ) ; if ( ( matcher.matches ( ) ) && ( com.tonicsystems.jarjar.Wildcard.checkIdentifierChars ( value , "/" ) ) ) return matcher ; return null ; }

Target:
private java.util.regex.Matcher getMatcher ( java.lang.String value ) { java.util.regex.Matcher matcher = pattern.matcher ( value ) ; if ( ( matcher.matches ( ) ) && ( com.tonicsystems.jarjar.Wildcard.checkIdentifierChars ( value , "/-" ) ) ) return matcher ; return null ; }
Source:
public void getPreferredVoicePrivacy ( android.os.Message result ) { com.android.internal.telephony.RILRequest rr = com.android.internal.telephony.RILRequest.obtain ( com.android.internal.telephony.RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE , result ) ; send ( rr ) ; }

Target:
public void getPreferredVoicePrivacy ( android.os.Message result ) { com.android.internal.telephony.RILRequest rr = com.android.internal.telephony.RILRequest.obtain ( com.android.internal.telephony.RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE , result , mRILDefaultWorkSource ) ; send ( rr ) ; }
Source:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { sendRequestForNetwork ( null , networkCallback , 0 , android.net.ConnectivityManager.REQUEST , android.net.ConnectivityManager.TYPE_NONE ) ; }

Target:
public void registerDefaultNetworkCallback ( android.net.ConnectivityManager.NetworkCallback networkCallback ) { registerDefaultNetworkCallback ( networkCallback , getDefaultHandler ( ) ) ; }
Source:
public boolean clearBlacklist ( ) { return doBooleanCommand ( "BLACKLIST clear" ) ; }

Target:
public boolean setBluetoothCoexistenceMode ( int mode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( ( ( byte ) ( mode ) ) ) ; } else { return doBooleanCommand ( ( "DRIVER BTCOEXMODE " + mode ) ) ; } }
Source:
public java.lang.String print ( boolean shortFormat ) { return "file:" + ( shortFormat ? mFile.getName ( ) : mFile.getPath ( ) ) ; }

Target:
public java.lang.String print ( boolean shortFormat ) { return "file:" + ( shortFormat ? mName : ( ( mName ) + ":" ) + ( mFile.getPath ( ) ) ) ; }
Source:
public void addRegistrationListener ( int slotId , int featureType , int sessionId , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { }

Target:
public void removeRegistrationListener ( int slotId , int featureType , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { }
Source:
public final void dumpSubclasses ( ) { for ( com.android.tools.perflib.heap.Heap heap : mHeaps.values ( ) ) { java.lang.System.out.println ( ( "+------------------ subclasses for heap: " + ( heap.mName ) ) ) ; heap.dumpSubclasses ( ) ; } }

Target:
public java.util.Collection < com.android.tools.perflib.heap.Heap > getHeaps ( ) { return mHeaps ; }
Source:
public void onLayout ( int l , int t , int r , int b ) { mUi.hideNavScreen ( tix , true ) ; switchToTab ( tab ) ; }

Target:
public void onLayout ( int l , int t , int r , int b ) { final int pos = mUi.mTabControl.getTabPosition ( tab ) ; mUi.hideNavScreen ( pos , true ) ; switchToTab ( tab ) ; }
Source:
void replaceServer ( @ javax.annotation.Nonnull java.io.InputStream newServer , boolean forced ) throws com.android.jack.server.api.v01.NotInstalledException , com.android.jack.server.api.v01.ServerException , java.io.IOException ;

Target:
void replaceServer ( @ javax.annotation.Nonnull java.io.InputStream newServer , @ javax.annotation.Nonnull java.util.Map < java.lang.String , java.lang.Object > parameters , boolean forced ) throws com.android.jack.server.api.v01.NotInstalledException , com.android.jack.server.api.v01.ServerException , java.io.IOException ;
Source:
public final native java.lang.Object get ( java.lang.Object ... args ) ;

Target:
public final native java.lang.Object getAndBitwiseXorRelease ( java.lang.Object ... args ) ;
Source:
public void testDefault23 ( ) throws java.lang.Exception { assertNull ( getDevice ( ) . installPackage ( com.android.cts.migration.MigrationHelper.getTestFile ( mCtsBuild , android.appsecurity.cts.PermissionsHostTest.APK_23 ) , false , false ) ) ; runDeviceTests ( android.appsecurity.cts.PermissionsHostTest.PKG , "com.android.cts.usepermission.UsePermissionTest23" , "testDefault" ) ; }

Target:
public void testNoRuntimePrompt22 ( ) throws java.lang.Exception { assertNull ( getDevice ( ) . installPackage ( com.android.cts.migration.MigrationHelper.getTestFile ( mCtsBuild , android.appsecurity.cts.PermissionsHostTest.APK_22 ) , false , false ) ) ; runDeviceTests ( android.appsecurity.cts.PermissionsHostTest.USES_PERMISSION_PKG , "com.android.cts.usepermission.UsePermissionTest22" , "testNoRuntimePrompt" ) ; }
Source:
public android.net.LinkQualityInfo getLinkQualityInfo ( int networkType ) { try { android.net.LinkQualityInfo li = mService.getLinkQualityInfo ( networkType ) ; return li ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
public android.net.NetworkCapabilities [ ] getDefaultNetworkCapabilitiesForUser ( int userId ) { try { return mService.getDefaultNetworkCapabilitiesForUser ( userId ) ; } catch ( android.os.RemoteException e ) { return null ; } }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder margins ( int n ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginHeight = n ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginWidth = n ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginLeft = n ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginTop = n ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginRight = n ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginBottom = n ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder margins ( int n ) { mGL.marginHeight = n ; mGL.marginWidth = n ; mGL.marginLeft = n ; mGL.marginTop = n ; mGL.marginRight = n ; mGL.marginBottom = n ; return this ; }
Source:
public abstract com.android.tools.lint.client.api.JavaParser.TypeDescriptor getType ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) ;

Target:
public com.android.tools.lint.detector.api.Location getNameLocation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull com.intellij.psi.PsiElement element ) { com.intellij.psi.PsiElement nameNode = com.android.tools.lint.detector.api.JavaContext.findNameElement ( element ) ; if ( nameNode != null ) { element = nameNode ; } return getLocation ( context , element ) ; }
Source:
private void finishDisconnectedCall ( com.android.incallui.call.DialerCall call ) { if ( pendingDisconnectCalls.contains ( call ) ) { pendingDisconnectCalls.remove ( call ) ; } call.setState ( DialerCall.State.IDLE ) ; updateCallInMap ( call ) ; notifyGenericListeners ( ) ; }

Target:
private void finishDisconnectedCall ( com.android.incallui.call.DialerCall call ) { if ( pendingDisconnectCalls.contains ( call ) ) { pendingDisconnectCalls.remove ( call ) ; } call.setState ( DialerCall.State.IDLE ) ; updateCallInMap ( call ) ; notifyGenericListeners ( ) ; call.onDestroy ( ) ; }
Source:
private void handleRemovedCall ( com.android.server.telecom.ConnectionServiceFocusManager.CallFocus call ) { mCalls.remove ( call ) ; if ( call.equals ( mCurrentFocusCall ) ) { updateCurrentFocusCall ( ) ; } }

Target:
private void handleRemovedCall ( com.android.server.telecom.ConnectionServiceFocusManager.CallFocus call ) { android.telecom.Log.d ( this , "handleRemovedCall %s" , call ) ; mCalls.remove ( call ) ; if ( call.equals ( mCurrentFocusCall ) ) { updateCurrentFocusCall ( ) ; } }
Source:
public java.lang.String telephonyGetSubscriptionCarrierName ( ) { return mTelephonyManager.getSubscriptionCarrierName ( ) ; }

Target:
public void telephonySetSimPowerState ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "state" ) java.lang.Integer state ) { mTelephonyManager.setSimPowerState ( state ) ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , long [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public void breakpointShort ( short param ) { logWriter.println ( ( ( "breakpointShort(param=" + param ) + ")" ) ) ; }

Target:
public void breakpointShort ( short param ) { logWriter.println ( ( ( "breakpointShort(param=" + param ) + ")" ) ) ; synchronizeWithTest ( ) ; }
Source:
public java.text.Format.Field field ( ) { checkValid ( ) ; return libcore.icu.NativeDecimalFormat.FieldPositionIterator.fields [ data [ pos ] ] ; }

Target:
public java.text.Format.Field field ( ) { checkValid ( ) ; return libcore.icu.NativeDecimalFormat.ICU4C_FIELD_IDS [ data [ pos ] ] ; }
Source:
public void b_attach ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( android.jvmti.attaching.cts.AttachingTest.sAgentFile , "a" ) ; org.junit.Assert.assertTrue ( android.jvmti.attaching.cts.AttachingTest.isAttached ( ) ) ; }

Target:
public void b_attach ( ) throws java.lang.Exception { try { android.os.Debug.attachJvmtiAgent ( agentString , "a" , classLoader ) ; } catch ( java.lang.Throwable t ) { } org.junit.Assert.assertTrue ( isAttachedFn.call ( ) ) ; }
Source:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { transform.dispose ( ) ; inverse.dispose ( ) ; }

Target:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { model.removeTreeChangeListener ( this ) ; transform.dispose ( ) ; inverse.dispose ( ) ; if ( ( selectedNode ) != null ) { selectedNode.viewNode.dereferenceImage ( ) ; } }
Source:
public static long ReturnLong33 ( ) { int imm = 33 ; return ( ( long ) ( imm ) ) ; }

Target:
public static double ReturnDouble33 ( ) { int imm = Main.$inline$int ( 33 ) ; return ( ( double ) ( imm ) ) ; }
Source:
public boolean accept ( java.io.File file ) { return file.getPath ( ) . endsWith ( SdkConstants.DOT_9PNG ) ; }

Target:
public static java.util.Collection < java.lang.Object [ ] > getNinePatches ( ) { java.util.Collection < java.lang.Object [ ] > params = com.android.builder.png.NinePatchAaptProcessorTestUtils.getNinePatches ( ) ; com.android.builder.png.NinePatchAaptProcessorTest.sClassStartTime.set ( java.lang.System.currentTimeMillis ( ) ) ; return params ; }
Source:
public void validatePolicyWithInvalidPolicyUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.policyUpdate = new android.net.wifi.hotspot2.pps.UpdateParameter ( ) ; org.junit.Assert.assertFalse ( policy.validate ( ) ) ; }

Target:
public void validatePolicyWithoutPolicyUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.setPolicyUpdate ( null ) ; org.junit.Assert.assertFalse ( policy.validate ( ) ) ; }
Source:
protected static void setDebugLoggingEnabledForTestsInternal ( boolean enabled ) { com.android.voicemail.impl.mail.utils.LogUtils.sDebugLoggingEnabledForTests = java.lang.Boolean.valueOf ( enabled ) ; }

Target:
protected static void setDebugLoggingEnabledForTestsInternal ( boolean enabled ) { com.android.voicemail.impl.mail.utils.LogUtils.debugLoggingEnabledForTests = java.lang.Boolean.valueOf ( enabled ) ; }
Source:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { spiImpl.engineInit ( key , params , javax.crypto.KeyAgreement.RANDOM ) ; }

Target:
public final void init ( java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { getSpi ( key ) . engineInit ( key , params , random ) ; }
Source:
public com.android.jack.ir.ast.JAnnotation getDefined ( @ javax.annotation.Nonnull java.lang.String signature ) { return jackLookup.getAnnotation ( signature ) ; }

Target:
public com.android.jack.ir.ast.JAnnotationType getDefined ( @ javax.annotation.Nonnull java.lang.String signature ) { return jackLookup.getAnnotationType ( signature ) ; }
Source:
public java.lang.String getId ( ) { return ( ( mOwnerElement.getId ( ) ) + "@" ) + ( mXml.getName ( ) ) ; }

Target:
public com.android.manifmerger.NodeKey getId ( ) { return new com.android.manifmerger.NodeKey ( ( ( ( mOwnerElement.getId ( ) ) + "@" ) + ( mXml.getName ( ) ) ) ) ; }
Source:
void jarJarRuleFiles ( java.lang.Object ... files ) { jarJarRuleFiles.clear ( ) ; for ( java.lang.String file : files ) { jarJarRuleFiles.add ( project.file ( file ) ) ; } }

Target:
public void jarJarRuleFiles ( java.lang.Object ... files ) { getJarJarRuleFiles ( ) . clear ( ) ; for ( java.lang.Object file : files ) { getJarJarRuleFiles ( ) . add ( project.file ( file ) ) ; } }
Source:
public void getProcessStatesFromPids ( int [ ] pids , int [ ] states ) { mActivityManagerService.getProcessStatesForPIDs ( pids , states ) ; }

Target:
public void getProcessStatesFromPids ( int [ ] pids , int [ ] states ) { mActivityManagerService.getProcessStatesAndOomScoresForPIDs ( pids , states , null ) ; }
Source:
public org.bouncycastle.crypto.BlockCipher getUnderlyingCipher ( ) { return cipher ; }

Target:
protected byte calculateByte ( byte in ) throws java.lang.IllegalStateException , org.bouncycastle.crypto.DataLengthException { return encrypting ? encryptByte ( in ) : decryptByte ( in ) ; }
Source:
public void testRemoveTransportModeTransform ( ) throws java.lang.Exception { android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( new java.net.Socket ( ) ) ; mIpSecService.removeTransportModeTransform ( pfd , 1 ) ; org.mockito.Mockito.verify ( mMockNetd ) . ipSecRemoveTransportModeTransform ( pfd.getFileDescriptor ( ) ) ; }

Target:
public void testRemoveTransportModeTransform ( ) throws java.lang.Exception { android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromSocket ( new java.net.Socket ( ) ) ; mIpSecService.removeTransportModeTransforms ( pfd , 1 ) ; org.mockito.Mockito.verify ( mMockNetd ) . ipSecRemoveTransportModeTransform ( pfd.getFileDescriptor ( ) ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; context = getInstrumentation ( ) . getContext ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { context = android.support.test.InstrumentationRegistry.getInstrumentation ( ) . getContext ( ) ; }
Source:
public void initialize ( int keysize , java.security.SecureRandom random ) { primeBits = keysize ; }

Target:
public void initialize ( int keysize , java.security.SecureRandom random ) { prime = null ; primeBits = keysize ; generator = org.conscrypt.OpenSSLDHKeyPairGenerator.DEFAULT_GENERATOR ; }
Source:
private static native java.lang.String [ ] getClassNameList ( int cookie ) ;

Target:
private static native void closeDexFile ( long cookie ) ;
Source:
public final void scheduleSuicide ( ) { queueOrSendMessage ( android.app.ActivityThread.H.SUICIDE , null ) ; }

Target:
public final void scheduleSuicide ( ) { sendMessage ( android.app.ActivityThread.H.SUICIDE , null ) ; }
Source:
public void test_size ( ) { assertEquals ( "Returned incorrect size, " , ( ( tests.api.java.util.IdentityHashMap2Test.objArray.length ) + 2 ) , hm.size ( ) ) ; }

Target:
public void test_size ( ) { assertEquals ( "Returned incorrect size, " , objArray.length , hm.size ( ) ) ; }