auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String getAnonymousIdentity ( ) { return getFieldValue ( android.net.wifi.WifiEnterpriseConfig.ANON_IDENTITY_KEY , "" ) ; }

Target:
public void setPassword ( java.lang.String password ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.PASSWORD_KEY , password ) ; }
Source:
public void onChange ( boolean selfChange ) { if ( isNsdEnabled ( ) ) { mNsdStateMachine.sendMessage ( NsdManager.ENABLE ) ; } else { mNsdStateMachine.sendMessage ( NsdManager.DISABLE ) ; } }

Target:
public void onChange ( boolean selfChange ) { notifyEnabled ( isNsdEnabled ( ) ) ; }
Source:
private static native long nativeSumNativeBinaries ( long handle , java.lang.String cpuAbi ) ;

Target:
private static native long nativeSumNativeBinaries ( long handle , java.lang.String cpuAbi , boolean debuggable ) ;
Source:
private com.android.jack.ir.ast.JMethodId getOrCreateMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation type , @ javax.annotation.Nonnull java.lang.String name ) { return type.getOrCreateMethodId ( name , java.util.Collections.< com.android.jack.ir.ast.JType > emptyList ( ) , MethodKind.INSTANCE_VIRTUAL ) ; }

Target:
private com.android.jack.ir.ast.JMethodId getOrCreateMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType type , @ javax.annotation.Nonnull java.lang.String name ) { return type.getOrCreateMethodId ( name , java.util.Collections.< com.android.jack.ir.ast.JType > emptyList ( ) , MethodKind.INSTANCE_VIRTUAL ) ; }
Source:
private static void test_directGetResourceAsStream ( dalvik.system.DexClassLoaderTest.Configuration config ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_directGetResourceAsStream ( config , "test/Resource1.txt" , "Muffins are tasty!\n" ) ; }

Target:
public void test_oneJar_getResourceAsStream ( ) throws java.lang.Exception { createLoaderAndCallMethod ( "test.TestMethods" , "test_getResourceAsStream" , jar1 ) ; }
Source:
public static java.util.List < java.lang.String > readLines ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.CharStreams.readLines ( com.google.common.io.Files.newReaderSupplier ( file , charset ) ) ; }

Target:
public static java.lang.String readFirstLine ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.Files.asCharSource ( file , charset ) . readFirstLine ( ) ; }
Source:
public com.android.internal.telephony.sip.DisconnectCause getDisconnectCause ( ) { return mCause ; }

Target:
public com.android.internal.telephony.sip.DisconnectCause getDisconnectCause ( ) { if ( com.android.internal.telephony.sip.SipConnectionBase.VDBG ) log ( ( "getDisconnectCause: ret=" + ( mCause ) ) ) ; return mCause ; }
Source:
native void rsnScriptSetVarF ( int con , int id , int slot , float val ) ;

Target:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;
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 , float [ ] d , int sizeBytes ) ;
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , byte [ ] data ) { validateIsInt8 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; copyTo ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public java.lang.Boolean wifiIsNanAvailable ( ) throws android.os.RemoteException { synchronized ( mLock ) { return mMgr.isAvailable ( ) ; } }

Target:
public java.lang.Boolean wifiIsAwareAvailable ( ) throws android.os.RemoteException { synchronized ( mLock ) { return mMgr.isAvailable ( ) ; } }
Source:
public void stopRtt ( ) { try { mAdapter.stopRtt ( ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void setRttMode ( java.lang.String callId , int mode ) { try { mAdapter.setRttMode ( callId , mode ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void run ( ) { FinalizerTest ft = new FinalizerTest ( "wahoo" ) ; wimp [ 0 ] = new java.lang.ref.WeakReference ( ft ) ; ft = null ; }

Target:
public void run ( ) { Main.FinalizerTest ft = new Main.FinalizerTest ( "wahoo" ) ; wimp.add ( new java.lang.ref.WeakReference < Main.FinalizerTest > ( ft ) ) ; ft = null ; }
Source:
private com.android.rs.test.Short4 pack_s4 ( short [ ] val ) { assert ( val.length ) == 4 ; return new com.android.rs.test.Short4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }

Target:
private android.renderscript.Short4 pack_s4 ( short [ ] val ) { assert ( val.length ) == 4 ; return new android.renderscript.Short4 ( val [ 0 ] , val [ 1 ] , val [ 2 ] , val [ 3 ] ) ; }
Source:
public void enter ( ) { mLastOperationMode = mOperationalMode ; }

Target:
public void enter ( ) { mLastOperationMode = mOperationalMode ; mWifiStateTracker.updateState ( WifiStateTracker.SCAN_MODE ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { Settings.Global.putInt ( mFakeContentResolver , Settings.Global.AIRPLANE_MODE_ON , 0 ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { Settings.Global.putInt ( mFakeContentResolver , Settings.Global.AIRPLANE_MODE_ON , 0 ) ; mCarrierActionAgentHandler.quit ( ) ; super . tearDown ( ) ; }
Source:
public static native byte [ ] i2d_PUBKEY ( int pkey ) ;

Target:
public static native int RSA_size ( long pkey ) ;
Source:
static Main.InstanceMemEater blowup ( ) { Main.InstanceMemEater memEater ; try { memEater = new Main.InstanceMemEater ( ) ; } catch ( java.lang.OutOfMemoryError e ) { memEater = null ; } return memEater ; }

Target:
static Main.InstanceMemEater allocate ( ) { try { return new Main.InstanceMemEater ( ) ; } catch ( java.lang.OutOfMemoryError e ) { Main.InstanceMemEater.sawOome = true ; return null ; } }
Source:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } java.lang.String languageTag = locale.toLanguageTag ( ) ; java.util.Locale.defaultLocale = locale ; libcore.icu.ICU.setDefaultLocale ( languageTag ) ; }

Target:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } java.lang.String languageTag = locale.toLanguageTag ( ) ; java.util.Locale.NoImagePreloadHolder.defaultLocale = locale ; libcore.icu.ICU.setDefaultLocale ( languageTag ) ; }
Source:
private void createStore ( ) { store = new org.conscrypt.TrustedCertificateStore ( org.conscrypt.TrustedCertificateStoreTest.DIR_SYSTEM , org.conscrypt.TrustedCertificateStoreTest.DIR_ADDED , org.conscrypt.TrustedCertificateStoreTest.DIR_DELETED ) ; }

Target:
private void createStore ( ) { store = new org.conscrypt.TrustedCertificateStore ( dirSystem , dirAdded , dirDeleted ) ; }
Source:
public void startActivityForResult ( android.content.Intent intent , int requestCode ) { if ( requestCode >= 0 ) { mWaitingForSubActivity = true ; } super . startActivityForResult ( intent , requestCode ) ; }

Target:
public void startActivityForResult ( android.content.Intent intent , int requestCode ) { if ( requestCode >= 0 ) { mWaitingForSubActivity = true ; } if ( mIsKeyboardOpen ) { hideKeyboard ( ) ; } super . startActivityForResult ( intent , requestCode ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { key = new javax.crypto.spec.SecretKeySpec ( aesKeyBytes , "AES" ) ; iv = new javax.crypto.spec.IvParameterSpec ( aesIvBytes ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { key = new javax.crypto.spec.SecretKeySpec ( aesKeyBytes , "AES" ) ; rc4Key = new javax.crypto.spec.SecretKeySpec ( aesKeyBytes , "RC4" ) ; iv = new javax.crypto.spec.IvParameterSpec ( aesIvBytes ) ; }
Source:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.UNSAFE.compareAndSwapInt ( this , com.google.common.cache.Striped64.busyOffset , 0 , 1 ) ; }

Target:
final boolean casBase ( long cmp , long val ) { return com.google.common.cache.Striped64.baseUpdater.compareAndSet ( this , cmp , val ) ; }
Source:
public void onDestroy ( ) { super . onDestroy ( ) ; com.android.internal.telephony.cat.CatLog.d ( this , "onDestroy" ) ; }

Target:
public void onDestroy ( ) { getListView ( ) . setOnCreateContextMenuListener ( null ) ; super . onDestroy ( ) ; com.android.internal.telephony.cat.CatLog.d ( this , "onDestroy" ) ; }
Source:
public final void update ( byte [ ] input ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } if ( input != null ) { spiImpl.engineUpdate ( input , 0 , input.length ) ; } }

Target:
public final byte [ ] doFinal ( ) throws java.lang.IllegalStateException { if ( ! ( isInitMac ) ) { throw new java.lang.IllegalStateException ( ) ; } return getSpi ( ) . engineDoFinal ( ) ; }
Source:
private boolean isWrongOkPosition ( org.w3c.dom.Element element ) { return isWrongPosition ( element , false ) ; }

Target:
private boolean isWrongOkPosition ( org.w3c.dom.Element element ) { return com.android.tools.lint.checks.ButtonDetector.isWrongPosition ( element , false ) ; }
Source:
public com.android.internal.telephony.dataconnection.DcTracker makeDcTracker ( com.android.internal.telephony.Phone phone ) { return new com.android.internal.telephony.dataconnection.DcTracker ( phone ) ; }

Target:
public com.android.internal.telephony.dataconnection.DcTracker makeDcTracker ( com.android.internal.telephony.Phone phone ) { return new com.android.internal.telephony.dataconnection.DcTracker ( phone , android.telephony.AccessNetworkConstants.TransportType.WWAN ) ; }
Source:
org.eclipse.swt.dnd.DragSourceListener getDragSourceListener ( ) { return mDragSourceListener ; }

Target:
org.eclipse.swt.dnd.DragSourceListener getDragListener ( ) { return mDragSourceListener ; }
Source:
public void supplyMessenger ( int networkType , android.os.Messenger messenger ) { try { mService.supplyMessenger ( networkType , messenger ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public static android.net.ConnectivityManager getInstance ( ) { if ( ( android.net.ConnectivityManager.sInstance ) == null ) { throw new java.lang.IllegalStateException ( "No ConnectivityManager yet constructed" ) ; } return android.net.ConnectivityManager.sInstance ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef parameterRef ) { expression = new com.android.jack.ir.ast.JParameterRef ( parameterRef.getSourceInfo ( ) , getNewParameter ( parameterRef.getParameter ( ) ) ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameterRef parameterRef ) { expression = getNewParameter ( parameterRef.getParameter ( ) ) . makeRef ( parameterRef.getSourceInfo ( ) ) ; return false ; }
Source:
public final com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile ) { return createCallSession ( sessionId , profile , null ) ; }

Target:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { return this . startSession ( incomingCallIntent , listener ) ; } }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
com.google.common.collect.Multimap < K , V > multimap ( ) { return this ; }

Target:
java.util.Map < K , java.util.Collection < V > > createAsMap ( ) { return new com.google.common.collect.Multimaps.AsMap < K , V > ( this ) ; }
Source:
public final boolean isRecordingNotStarted ( ) { return ( ( mSchedule ) != null ) && ( ( mSchedule.getState ( ) ) == ( com.android.tv.dvr.ScheduledRecording.STATE_RECORDING_NOT_STARTED ) ) ; }

Target:
public final boolean isRecordingNotStarted ( ) { return ( ( mSchedule ) != null ) && ( ( mSchedule.getState ( ) ) == ( com.android.tv.dvr.data.ScheduledRecording.STATE_RECORDING_NOT_STARTED ) ) ; }
Source:
public static void assertEquals ( java.lang.String message , boolean expected , boolean actual ) { junit.framework.Assert.assertEquals ( message , new java.lang.Boolean ( expected ) , new java.lang.Boolean ( actual ) ) ; }

Target:
public static void assertEquals ( java.lang.String message , boolean expected , boolean actual ) { junit.framework.Assert.assertEquals ( message , java.lang.Boolean.valueOf ( expected ) , java.lang.Boolean.valueOf ( actual ) ) ; }
Source:
public static long NegNeg3 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - ( - arg ) ; }

Target:
public static long $noinline$NegNeg3 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - ( - arg ) ; }
Source:
private static native boolean isPic ( ) ;

Target:
private static native boolean needsRelocation ( ) ;
Source:
private static native int nativeSetOperationParameter ( long nativeInstance , int type , float [ ] floatValues , int [ ] intValues ) ;

Target:
private static native int nativeSetOperationParameter ( long nativeInstance , int handle , int type , float [ ] floatValues , int [ ] intValues ) ;
Source:
public android.content.ComponentName startService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return startServiceAsUser ( service , mUser ) ; }

Target:
public android.content.ComponentName startService ( android.content.Intent service ) { warnIfCallingFromSystemProcess ( ) ; return startServiceCommon ( service , mUser ) ; }
Source:
private void init ( java.lang.String pattern ) { this . icuDecimalFormat = new java.text.DecimalFormat ( pattern , symbols.getIcuDecimalFormatSymbols ( ) ) ; updateFieldsFromIcu ( ) ; }

Target:
private void initPattern ( java.lang.String pattern ) { this . icuDecimalFormat = new java.text.DecimalFormat ( pattern , symbols.getIcuDecimalFormatSymbols ( ) ) ; updateFieldsFromIcu ( ) ; }
Source:
public static java.lang.Iterable < java.lang.Object [ ] > bitstreams ( ) { return android.media.cts.bitstreams.MediaBitstreamsTest.bitstreams ( "hevc/yuv420" ) ; }

Target:
public static java.lang.Iterable < java.lang.Object [ ] > bitstreams ( ) { return android.media.cts.bitstreams.MediaBitstreamsTest.bitstreams ( "hevc/yuv420" , BitstreamPackage.STANDARD ) ; }
Source:
public java.lang.String getcFlags ( ) { return ndkConfig.getCFlags ( ) ; }

Target:
public java.lang.String getcFlags ( ) { return com.google.common.base.Joiner.on ( ' ' ) . join ( ndkConfig.getCFlags ( ) ) ; }
Source:
public org.eclipse.swt.graphics.Image getImage ( java.lang.Object element ) { return null ; }

Target:
protected boolean canEdit ( java.lang.Object element ) { return true ; }
Source:
public static native byte [ ] EVP_DigestSignFinal ( long evp_md_ctx ) ;

Target:
public static native int EVP_SignInit ( org.conscrypt.OpenSSLDigestContext ctx , long evpRef ) ;
Source:
private static < T extends java.lang.Throwable > void sneakyThrow2 ( java.lang.Throwable t ) throws T { throw ( ( T ) ( t ) ) ; }

Target:
private static < T extends java.lang.Throwable > void sneakyThrow_ ( java.lang.Throwable t ) throws T { throw ( ( T ) ( t ) ) ; }
Source:
public void setPermissionPolicy ( @ android.annotation.NonNull android.content.ComponentName admin , int policy ) { throwIfParentInstance ( "setPermissionPolicy" ) ; try { mService.setPermissionPolicy ( admin , policy ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }

Target:
public android.app.admin.SystemUpdateInfo getPendingSystemUpdate ( @ android.annotation.NonNull android.content.ComponentName admin ) { throwIfParentInstance ( "getPendingSystemUpdate" ) ; try { return mService.getPendingSystemUpdate ( admin ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }
Source:
void placeLightbringerCall ( java.lang.String phoneNumber ) ;

Target:
void placeDuoVideoCall ( java.lang.String phoneNumber ) ;
Source:
public void notifyIconDone ( long bssid , com.android.server.wifi.hotspot2.IconEvent iconEvent ) { mHandler.notifyIconDone ( bssid , iconEvent ) ; }

Target:
public void setProviderIndex ( long providerIndex ) { mProviderIndex = providerIndex ; }
Source:
protected java.util.concurrent.ScheduledExecutorService executor ( ) { return java.util.concurrent.Executors.newSingleThreadScheduledExecutor ( ) ; }

Target:
public java.lang.Thread newThread ( java.lang.Runnable runnable ) { return com.google.common.util.concurrent.MoreExecutors.newThread ( serviceName ( ) , runnable ) ; }
Source:
public void testInitDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainOne ( "u:r:init:s0" , "/init" ) ; }

Target:
public void testInitDomain ( ) throws com.android.tradefed.device.DeviceNotAvailableException { assertDomainHasExecutable ( "u:r:init:s0" , "/init" ) ; assertDomainHasExecutable ( "u:r:vendor_init:s0" , "/init" ) ; assertExecutableHasDomain ( "/init" , "u:r:init:s0" , "u:r:vendor_init:s0" ) ; }
Source:
com.android.manifmerger.AttributeModel getAttributeModel ( java.lang.String attributeLocalName ) { for ( com.android.manifmerger.AttributeModel attributeModel : mAttributeModels ) { if ( attributeModel.getName ( ) . equals ( attributeLocalName ) ) { return attributeModel ; } } return null ; }

Target:
com.android.manifmerger.AttributeModel getAttributeModel ( com.android.manifmerger.XmlNode.NodeName attributeName ) { for ( com.android.manifmerger.AttributeModel attributeModel : mAttributeModels ) { if ( attributeModel.getName ( ) . equals ( attributeName ) ) { return attributeModel ; } } return null ; }
Source:
public void testOrientation_50hz_batching ( ) throws java.lang.Throwable { runBatchingSensorTest ( Sensor.TYPE_ORIENTATION , android.hardware.cts.SensorBatchingTests.RATE_50HZ , android.hardware.cts.SensorBatchingTests.BATCHING_10S ) ; }

Target:
public void testOrientation_fastest_batching ( ) throws java.lang.Throwable { runBatchingSensorTest ( Sensor.TYPE_ORIENTATION , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_PERIOD ) ; }
Source:
protected void resetDeviceIdleSettings ( ) throws java.lang.Exception { executeShellCommand ( "settings delete global device_idle_constants" ) ; }

Target:
protected void setPendingIntentWhitelistDuration ( int durationMs ) throws java.lang.Exception { executeSilentShellCommand ( java.lang.String.format ( "settings put global %s %s=%d" , mDeviceIdleConstantsSetting , "notification_whitelist_duration" , durationMs ) ) ; }
Source:
public boolean onKey ( android.view.View v , int keyCode , android.view.KeyEvent event ) { final boolean res = mTermKeys.onKey ( v , keyCode , event ) ; if ( res && ( com.android.terminal.TerminalView.SCROLL_ON_INPUT ) ) { scrollToBottom ( true ) ; } return res ; }

Target:
public void onMoveRect ( int destStartRow , int destEndRow , int destStartCol , int destEndCol , int srcStartRow , int srcEndRow , int srcStartCol , int srcEndCol ) { post ( mDamageRunnable ) ; }
Source:
public boolean dispatchPopulateAccessibilityEvent ( android.view.accessibility.AccessibilityEvent event ) { return mDelegate.dispatchPopulateAccessibilityEvent ( event ) ; }

Target:
public boolean dispatchPopulateAccessibilityEventInternal ( android.view.accessibility.AccessibilityEvent event ) { return mDelegate.dispatchPopulateAccessibilityEvent ( event ) ; }
Source:
public java.util.List < android.telephony.TelephonyHistogram > getTelephonyHistograms ( ) { enforceModifyPermissionOrCarrierPrivilege ( getDefaultSubscription ( ) ) ; return com.android.internal.telephony.RIL.getTelephonyRILTimingHistograms ( ) ; }

Target:
public java.util.List < android.telephony.TelephonyHistogram > getTelephonyHistograms ( ) { com.android.internal.telephony.TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege ( mApp , getDefaultSubscription ( ) , "getTelephonyHistograms" ) ; return com.android.internal.telephony.RIL.getTelephonyRILTimingHistograms ( ) ; }
Source:
public void multiplyAlpha ( float alpha ) { junit.framework.Assert.assertTrue ( ( ( alpha >= 0 ) && ( alpha <= 1 ) ) ) ; mAlpha *= alpha ; }

Target:
public void multiplyAlpha ( float alpha ) { com.android.gallery3d.common.Utils.assertTrue ( ( ( alpha >= 0 ) && ( alpha <= 1 ) ) ) ; mAlpha *= alpha ; }
Source:
protected final void configureEVP_PKEY_CTX ( long ctx ) { org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_padding ( ctx , NativeConstants.RSA_PKCS1_PSS_PADDING ) ; org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_mgf1_md ( ctx , getContentDigest ( ) ) ; org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_pss_saltlen ( ctx , saltSizeBytes ) ; }

Target:
protected final void configureEVP_PKEY_CTX ( long ctx ) { org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_padding ( ctx , NativeConstants.RSA_PKCS1_PSS_PADDING ) ; org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_mgf1_md ( ctx , mgf1EvpMdRef ) ; org.conscrypt.NativeCrypto.EVP_PKEY_CTX_set_rsa_pss_saltlen ( ctx , saltSizeBytes ) ; }
Source:
public boolean accept ( java.io.File pathname ) { return ( pathname.isFile ( ) ) && ( pathname.getName ( ) . endsWith ( com.android.jack.server.JackHttpServer.DELETED_JAR_SUFFIX ) ) ; }

Target:
public java.lang.String getLogPattern ( ) { return com.android.jack.server.ServerLogConfiguration.getLogFilePattern ( ( ( ( serverDir.getAbsolutePath ( ) . replace ( java.io.File.separatorChar , '/' ) ) + '/' ) + ( com.android.jack.server.JackHttpServer.LOG_FILE_PATTERN ) ) ) ; }
Source:
java.util.Map < K , V > map ( ) { return this ; }

Target:
public java.lang.String toString ( ) { return standardToString ( ) ; }
Source:
private void sendSms ( int messageRef , java.lang.String format , java.lang.String smsc , boolean isRetry , byte [ ] pdu ) { getSmsImplementation ( ) . sendSms ( messageRef , format , smsc , isRetry , pdu ) ; }

Target:
private void acknowledgeSmsReport ( int token , int messageRef , @ android.telephony.ims.internal.SmsImplBase.StatusReportResult int result ) { getSmsImplementation ( ) . acknowledgeSmsReport ( token , messageRef , result ) ; }
Source:
public static long LongDivision ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a / b ; return c ; }

Target:
public static long LongRemainder ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a % b ; return c ; }
Source:
protected void shutdownInput ( ) throws java.io.IOException { shutdownInput = true ; try { Libcore.os.shutdown ( fd , java.net.SHUT_RD ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }

Target:
protected void shutdownInput ( ) throws java.io.IOException { shutdownInput = true ; try { Libcore.os.shutdown ( fd , java.net.SHUT_RD ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsSocketException ( ) ; } }
Source:
public final void init ( int opmode , java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkMode ( opmode ) ; spiImpl.engineInit ( opmode , key , params , random ) ; mode = opmode ; }

Target:
public final void init ( int opmode , java.security.Key key , java.security.spec.AlgorithmParameterSpec params , java.security.SecureRandom random ) throws java.security.InvalidAlgorithmParameterException , java.security.InvalidKeyException { checkMode ( opmode ) ; getSpi ( key ) . engineInit ( opmode , key , params , random ) ; mode = opmode ; }
Source:
protected void collectInitializationErrors ( java.util.List < java.lang.Throwable > errors ) { org.junit.internal.runners.rules.RuleFieldValidator.RULE_VALIDATOR.validate ( getTestClass ( ) , errors ) ; for ( java.lang.Throwable throwable : errors ) throwable.printStackTrace ( ) ; }

Target:
protected void collectInitializationErrors ( java.util.List < java.lang.Throwable > errors ) { super . validateFields ( errors ) ; for ( java.lang.Throwable throwable : errors ) throwable.printStackTrace ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main rm = new Main ( ) ; rm.f ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( args [ 0 ] ) ; Main rm = new Main ( ) ; rm.f ( ) ; }
Source:
private void dispatchActiveDeviceChanged ( com.android.settingslib.bluetooth.CachedBluetoothDevice activeDevice , int bluetoothProfile ) { synchronized ( mCallbacks ) { for ( com.android.settingslib.bluetooth.BluetoothCallback callback : mCallbacks ) { callback.onActiveDeviceChanged ( activeDevice , bluetoothProfile ) ; } } }

Target:
private void dispatchActiveDeviceChanged ( com.android.settingslib.bluetooth.CachedBluetoothDevice activeDevice , int bluetoothProfile ) { mDeviceManager.onActiveDeviceChanged ( activeDevice , bluetoothProfile ) ; synchronized ( mCallbacks ) { for ( com.android.settingslib.bluetooth.BluetoothCallback callback : mCallbacks ) { callback.onActiveDeviceChanged ( activeDevice , bluetoothProfile ) ; } } }
Source:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a / b ; return c ; }

Target:
public static int IntDivision ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 8 ) ; b = Main.$inline$int ( 3 ) ; c = a / b ; return c ; }
Source:
public void dragFinished ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . stopDrag ( ) ; }

Target:
public void dragFinished ( org.eclipse.swt.dnd.DragSourceEvent e ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GlobalCanvasDragInfo.getInstance ( ) . stopDrag ( ) ; mElements = null ; }
Source:
public static void startMethodTracingDdms ( int bufferSize , int flags ) { dalvik.system.VMDebug.startMethodTracingNative ( null , null , bufferSize , flags ) ; }

Target:
private static int checkBufferSize ( int bufferSize ) { if ( bufferSize == 0 ) { bufferSize = ( 8 * 1024 ) * 1024 ; } if ( bufferSize < 1024 ) { throw new java.lang.IllegalArgumentException ( ( "buffer size < 1024: " + bufferSize ) ) ; } return bufferSize ; }
Source:
private static native java.lang.String formatDateInterval ( java.lang.String skeleton , java.lang.String localeName , java.lang.String timeZoneName , long fromDate , long toDate ) ;

Target:
private static native long createDateIntervalFormat ( java.lang.String skeleton , java.lang.String localeName , java.lang.String tzName ) ;
Source:
private static boolean cpuHasNxSupport ( ) { if ( ( android.os.cts.CpuFeatures.isArmCpu ( ) ) && ( ! ( android.os.cts.CpuFeatures.isArm7Compatible ( ) ) ) ) { return false ; } return true ; }

Target:
private static boolean cpuHasNxSupport ( ) { if ( ( android.os.cts.CpuFeatures.isArmCpu ( ) ) && ( ! ( android.os.cts.CpuFeatures.isArm7Compatible ( ) ) ) ) { return false ; } if ( android.os.cts.CpuFeatures.isMipsCpu ( ) ) { return false ; } return true ; }
Source:
public void onReject ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onReject" ) ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.REJECT ) ) ; }

Target:
public void onReject ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onReject" ) ; simulatorConnectionsBank.remove ( this ) ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.REJECT ) ) ; }
Source:
public void wifiForgetNetwork ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "wifiSSID" ) java.lang.Integer networkId ) { com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , com.googlecode.android_scripting.facade.wifi.WifiConstants.WIFI_FORGET_NETWORK_CALLBACK ) ; mWifi.forget ( networkId , listener ) ; }

Target:
public void wifiForgetNetwork ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "wifiSSID" ) java.lang.Integer networkId ) { com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , WifiConstants.WIFI_FORGET_NETWORK_CALLBACK ) ; mWifi.forget ( networkId , listener ) ; }
Source:
public void doWork ( ) throws android.os.RemoteException { mService.addAcount ( this . mResponse , accountType , authTokenType , requiredFeatures , ( activity != null ) , optionsIn ) ; }

Target:
public void doWork ( ) throws android.os.RemoteException { mService.addAccount ( mResponse , accountType , authTokenType , requiredFeatures , ( activity != null ) , optionsIn ) ; }
Source:
private void removeRequestMap ( int clientId , int globalId , com.android.server.NsdService.ClientInfo clientInfo ) { clientInfo.mClientIds.remove ( clientId ) ; mIdToClientInfoMap.remove ( globalId ) ; }

Target:
private void removeRequestMap ( int clientId , int globalId , com.android.server.NsdService.ClientInfo clientInfo ) { clientInfo.mClientIds.remove ( clientId ) ; clientInfo.mClientRequests.remove ( clientId ) ; mIdToClientInfoMap.remove ( globalId ) ; }
Source:
public void testConfigRequestBuilderClusterLowLargerThanHigh ( ) { new android.net.wifi.nan.ConfigRequest.Builder ( ) . setClusterLow ( 100 ) . setClusterHigh ( 5 ) . build ( ) ; }

Target:
public void testConfigRequestBuilderClusterLowLargerThanHigh ( ) { new android.net.wifi.aware.ConfigRequest.Builder ( ) . setClusterLow ( 100 ) . setClusterHigh ( 5 ) . build ( ) ; }
Source:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { synchronized ( mLock ) { if ( com.android.internal.telephony.uicc.UiccCardApplication.DBG ) log ( "changeIccLockPassword" ) ; mCi.changeIccPinForApp ( oldPassword , newPassword , mAid , onComplete ) ; } }

Target:
public void supplyPin2 ( java.lang.String pin2 , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPin2ForApp ( pin2 , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_PIN2_PUK2_DONE , onComplete ) ) ; } }
Source:
public void testCanEncodeCharSequence() { assertTrue(encoder.canEncode("")); assertFalse(encoder.canEncode("\ud800\udb00")); assertFalse(encoder.canEncode("\ud800")); }

Target:
public void testCanEncodeCharSequence() { assertTrue(encoder.canEncode("")); assertTrue(encoder.canEncode("\ud800\udc00")); assertFalse(encoder.canEncode("\ud800\udb00")); }
Source:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; }

Target:
public void testCipher_Success ( ) throws java.lang.Exception { for ( java.lang.String provider : libcore.javax.crypto.CipherTest.AES_PROVIDERS ) { testCipher_Success ( provider ) ; } testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.DES_CIPHER_TEST_PARAMS ) ; testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired ( libcore.javax.crypto.CipherTest.ARC4_CIPHER_TEST_PARAMS ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mTestImsService = null ; mTestImsServiceBinder = null ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mMockContext = null ; mTestCallback = null ; mTestImsService = null ; mTestImsServiceBinder = null ; }
Source:
public boolean onMove ( int oldPosition , int newPosition ) { mOnMoveReturnValue = super . onMove ( oldPosition , newPosition ) ; mOldPosition = oldPosition ; mNewPosition = newPosition ; return mOnMoveReturnValue ; }

Target:
public boolean onMove ( int oldPosition , int newPosition ) { mOnMoveReturnValue = super . onMove ( oldPosition , newPosition ) ; mOldPosition = oldPosition ; mNewPosition = newPosition ; mRowsMovedSum += java.lang.Math.abs ( ( newPosition - oldPosition ) ) ; return mOnMoveReturnValue ; }
Source:
public boolean phoneStateChange ( com.android.bluetooth.hfp.HeadsetCallState callState ) { return phoneStateChangeNative ( callState.mNumActive , callState.mNumHeld , callState.mCallState , callState.mNumber , callState.mType ) ; }

Target:
public boolean phoneStateChange ( android.bluetooth.BluetoothDevice device , com.android.bluetooth.hfp.HeadsetCallState callState ) { return phoneStateChangeNative ( callState.mNumActive , callState.mNumHeld , callState.mCallState , callState.mNumber , callState.mType , com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }
Source:
public int [ ] getSharedElementIds ( ) { return new int [ ] { R.id.action_fragment_background , R.id.done_button_container } ; }

Target:
public int [ ] getSharedElementIds ( ) { return new int [ ] { android.support.v17.leanback.R.id.action_fragment_background , R.id.done_button_container } ; }
Source:
public void writeSources ( java.io.File sourceDir ) throws java.io.IOException { for ( com.android.test.common.fixture.app.TestSourceFile srcFile : getAllSourceFiles ( ) ) { srcFile.writeToDir ( sourceDir ) ; } }

Target:
public void writeSources ( java.io.File sourceDir ) throws java.io.IOException { for ( com.android.build.gradle.integration.common.fixture.app.TestSourceFile srcFile : getAllSourceFiles ( ) ) { srcFile.writeToDir ( sourceDir ) ; } }
Source:
public void onChanged ( com.android.internal.widget.NumberPicker picker , int oldVal , int newVal ) { mYear = newVal ; adjustMaxDay ( ) ; if ( ( mOnDateChangedListener ) != null ) { mOnDateChangedListener.onDateChanged ( this , mYear , mMonth , mDay ) ; } updateDaySpinner ( ) ; }

Target:
public void onChanged ( com.android.internal.widget.NumberPicker picker , int oldVal , int newVal ) { mYear = newVal ; adjustMaxDay ( ) ; notifyDateChanged ( ) ; updateDaySpinner ( ) ; }
Source:
public native float getFloat ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native long getLong ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
private android.net.NetworkCapabilities getCopyNetworkCapabilities ( ) throws java.lang.Exception { java.lang.reflect.Method method = com.android.internal.telephony.dataconnection.DataConnection.class . getDeclaredMethod ( "getCopyNetworkCapabilities" ) ; method.setAccessible ( true ) ; return ( ( android.net.NetworkCapabilities ) ( method.invoke ( mDc ) ) ) ; }

Target:
private android.net.NetworkCapabilities getNetworkCapabilities ( ) throws java.lang.Exception { java.lang.reflect.Method method = com.android.internal.telephony.dataconnection.DataConnection.class . getDeclaredMethod ( "getNetworkCapabilities" ) ; method.setAccessible ( true ) ; return ( ( android.net.NetworkCapabilities ) ( method.invoke ( mDc ) ) ) ; }
Source:
public boolean isAnonymous ( ) { return com.android.jack.ir.ast.JModifier.isAnonymousType ( getModifier ( ) ) ; }

Target:
public boolean isAnonymous ( ) { return com.android.jack.ir.naming.TypeName.getSimpleName ( this ) . isEmpty ( ) ; }
Source:
public java.lang.String getRules ( boolean fullrules ) { if ( ! fullrules ) { return tailoring.rules ; } return ( android.icu.impl.coll.CollationLoader.getRootRules ( ) ) + ( tailoring.rules ) ; }

Target:
public java.lang.String getRules ( boolean fullrules ) { if ( ! fullrules ) { return tailoring.getRules ( ) ; } return ( android.icu.impl.coll.CollationLoader.getRootRules ( ) ) + ( tailoring.getRules ( ) ) ; }
Source:
private void onEnterCarMode ( ) { if ( ! ( mIsCarMode ) ) { com.android.server.telecom.Log.i ( this , "Entering carmode" ) ; mIsCarMode = true ; notifyCarMode ( ) ; } }

Target:
private void onEnterCarMode ( ) { if ( ! ( mIsCarMode ) ) { android.telecom.Log.i ( this , "Entering carmode" ) ; mIsCarMode = true ; notifyCarMode ( ) ; } }
Source:
public long getSize ( com.android.ahat.heapdump.PathElement element , com.android.ahat.heapdump.AhatHeap heap ) { if ( element == null ) { return heap.getSize ( ) ; } if ( element.isDominator ) { return element.instance.getRetainedSize ( heap ) ; } return 0 ; }

Target:
public long getSize ( com.android.ahat.heapdump.PathElement element , com.android.ahat.heapdump.AhatHeap heap ) { if ( element == root ) { return heap.getSize ( ) ; } if ( element.isDominator ) { return element.instance.getRetainedSize ( heap ) ; } return 0 ; }
Source:
public void testE2 ( ) { try { dot.junit.opcodes.instance_of.d.T_instance_of_3 tt = new dot.junit.opcodes.instance_of.d.T_instance_of_3 ( ) ; tt.run ( ) ; fail ( "expected IllegalAccessError" ) ; } catch ( java.lang.IllegalAccessError e ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.instance_of.d.T_instance_of_3" , java.lang.IllegalAccessError.class ) ; }
Source:
protected final long getPublicKeyAlgorithmContext ( ) { return evpPkeyCtx ; }

Target:
protected final long getEVP_PKEY_CTX ( ) { return evpPkeyCtx ; }
Source:
public float getCurrVelocity ( ) { float squaredNorm = ( mScrollerX.mCurrVelocity ) * ( mScrollerX.mCurrVelocity ) ; squaredNorm += ( mScrollerY.mCurrVelocity ) * ( mScrollerY.mCurrVelocity ) ; return android.util.FloatMath.sqrt ( squaredNorm ) ; }

Target:
public float getCurrVelocity ( ) { return ( ( float ) ( java.lang.Math.hypot ( mScrollerX.mCurrVelocity , mScrollerY.mCurrVelocity ) ) ) ; }
Source:
public int compare ( com.android.jack.ir.ast.JAnnotationLiteral annotation1 , com.android.jack.ir.ast.JAnnotationLiteral annotation2 ) { return com.android.jack.Jack.getLookupFormatter ( ) . getName ( annotation1.getType ( ) ) . compareTo ( com.android.jack.Jack.getLookupFormatter ( ) . getName ( annotation2.getType ( ) ) ) ; }

Target:
public int compare ( com.android.jack.ir.ast.JAnnotation annotation1 , com.android.jack.ir.ast.JAnnotation annotation2 ) { return com.android.jack.Jack.getLookupFormatter ( ) . getName ( annotation1.getType ( ) ) . compareTo ( com.android.jack.Jack.getLookupFormatter ( ) . getName ( annotation2.getType ( ) ) ) ; }
Source:
private static boolean isWrap ( java.lang.String algorithm ) { return algorithm.endsWith ( "WRAP" ) ; }

Target:
private static boolean isOnlyWrappingAlgorithm ( java.lang.String algorithm ) { return algorithm.endsWith ( "WRAP" ) ; }
Source:
public void setDone ( boolean done ) { mDone = done ; }

Target:
public void setDone ( boolean done ) { if ( mHaveSetDone ) { mDone &= done ; } else { mDone = done ; } mHaveSetDone = true ; if ( mDone ) { mNotExecuted = 0 ; } }
Source:
public synchronized void assertAdded ( boolean expected ) throws java.lang.InterruptedException { wait ( 100 ) ; assertEquals ( expected , flagAdded ) ; }

Target:
public synchronized void assertAdded ( boolean expected ) throws java.lang.InterruptedException { if ( ! ( flagAdded ) ) { wait ( ( expected ? libcore.java.util.prefs.OldAbstractPreferencesTest.ACTION_EXPECTED_TIMEOUT : libcore.java.util.prefs.OldAbstractPreferencesTest.NO_ACTION_EXPECTED_TIMEOUT ) ) ; } assertEquals ( expected , flagAdded ) ; }
Source:
public void setDefaultSmdpAddress ( java.lang.String callingPackage , java.lang.String address , com.android.internal.telephony.euicc.ISetDefaultSmdpAddressCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onException ( java.lang.Throwable e ) { try { callback.onComplete ( getResultCode ( e ) ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public final int toFullUpper ( int c , com.ibm.icu.impl.UCaseProps.ContextIterator iter , java.lang.StringBuilder out , com.ibm.icu.util.ULocale locale , int [ ] locCache ) { return toUpperOrTitle ( c , iter , out , locale , locCache , true ) ; }

Target:
public final int toFullTitle ( int c , com.ibm.icu.impl.UCaseProps.ContextIterator iter , java.lang.Appendable out , int caseLocale ) { return toUpperOrTitle ( c , iter , out , caseLocale , false ) ; }
Source:
public static int booleanFieldNotEqualOne ( ) { return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$booleanFieldNotEqualOne ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( Main.booleanField ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
public void write ( int oneByte ) throws java.io.IOException { libcore.io.Streams.writeSingleByte ( this , oneByte ) ; }

Target:
public void write ( int oneByte ) throws java.io.IOException { byte [ ] buffer = new byte [ 1 ] ; buffer [ 0 ] = ( ( byte ) ( oneByte & 255 ) ) ; write ( buffer ) ; }
Source:
public static com.android.server.NetworkManagementService create ( android.content.Context context ) throws java.lang.InterruptedException { return com.android.server.NetworkManagementService.create ( context , com.android.server.NetworkManagementService.NETD_SERVICE_NAME ) ; }

Target:
public static com.android.server.NetworkManagementService create ( android.content.Context context ) throws java.lang.InterruptedException { return com.android.server.NetworkManagementService.create ( context , com.android.server.NetworkManagementService.NETD_SERVICE_NAME , new com.android.server.NetworkManagementService.SystemServices ( ) ) ; }
Source:
public void onAnswer ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onAnswer" ) ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.ANSWER ) ) ; }

Target:
public void onAnswer ( int videoState ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onAnswer" ) ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.ANSWER , java.lang.Integer.toString ( videoState ) , null ) ) ; }
Source:
void onActionModeStateChanged ( boolean isEnabled ) ;

Target:
void onActionModeStateChanged ( android.view.ActionMode mode , boolean isEnabled ) ;
Source:
public void setName ( @ javax.annotation.Nonnull java.lang.String name ) { this . name = com.android.jack.ir.StringInterner.get ( ) . intern ( name ) ; }

Target:
public void setName ( @ javax.annotation.Nonnull java.lang.String name ) { if ( ( enclosingPackage ) != null ) { enclosingPackage.removeItemWithName ( this ) ; } this . name = com.android.jack.ir.StringInterner.get ( ) . intern ( name ) ; }
Source:
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 ; }

Target:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }
Source:
public void close ( ) throws java.io.IOException { jarFile.close ( ) ; }

Target:
public void close ( ) throws java.io.IOException { strictJarFile.close ( ) ; if ( ( jarFile ) != null ) { jarFile.close ( ) ; } }
Source:
private static void testDeadInternedString ( ) { java.lang.ref.WeakReference < java.lang.String > strRef = InternedString.makeWeakString ( ) ; java.lang.System.gc ( ) ; Main.assertTrue ( ( ( strRef.get ( ) ) == null ) ) ; }

Target:
private static void testDeadInternedString ( ) { java.lang.ref.WeakReference < java.lang.String > strRef = InternedString.makeWeakString ( ) ; java.lang.Runtime.getRuntime ( ) . gc ( ) ; Main.assertTrue ( ( ( strRef.get ( ) ) == null ) ) ; }
Source:
public void callSessionHandoverFailed ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionMayHandover ( int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }
Source:
char getDialpadNumericCharacter ( char ch ) ;

Target:
protected boolean isValidDialpadNumericChar ( char ch ) { return ( '0' <= ch ) && ( ch <= '9' ) ; }
Source:
public static void addDate ( org.jetbrains.io.HttpResponse response ) { if ( ! ( response.headers ( ) . contains ( org.jetbrains.io.DATE ) ) ) { org.jetbrains.io.Responses.addDate ( response , java.util.Calendar.getInstance ( ) . getTime ( ) ) ; } }

Target:
public static void addDate ( org.jetbrains.io.HttpResponse response ) { if ( ! ( response.headers ( ) . contains ( HttpHeaders.Names.DATE ) ) ) { org.jetbrains.io.Responses.addDate ( response , java.util.Calendar.getInstance ( ) . getTime ( ) ) ; } }
Source:
com.android.jack.api01.Api01Config setConfigJarjarFile ( @ javax.annotation.Nonnull java.io.File file ) throws com.android.jack.api01.ConfigurationException ;

Target:
void setJarJarConfigFile ( @ javax.annotation.Nonnull java.io.File jarjarConfigFile ) throws com.android.jack.api01.ConfigurationException ;
Source:
public java.lang.reflect.Type [ ] getGenericParameterTypes ( ) { initGenericTypes ( ) ; return org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray ( genericParameterTypes ) ; }

Target:
public int getDexMethodIndex ( ) { return methodDexIndex ; }
Source:
public static void setDefaultSSLSocketFactory ( javax.net.ssl.SSLSocketFactory sf ) { if ( sf == null ) { throw new java.lang.IllegalArgumentException ( "SSLSocketFactory is null" ) ; } javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory = sf ; }

Target:
public static void setDefaultSSLSocketFactory ( javax.net.ssl.SSLSocketFactory sf ) { if ( sf == null ) { throw new java.lang.IllegalArgumentException ( "SSLSocketFactory is null" ) ; } javax.net.ssl.HttpsURLConnection.NoPreloadHolder.defaultSSLSocketFactory = sf ; }
Source:
private void refresh ( ) { com.android.traceur.Receiver.updateTracing ( getContext ( ) , false ) ; }

Target:
public void onResume ( ) { super . onResume ( ) ; getActivity ( ) . registerReceiver ( mRefreshReceiver , new android.content.IntentFilter ( com.android.traceur.MainFragment.ACTION_REFRESH_TAGS ) ) ; com.android.traceur.Receiver.updateTracing ( getContext ( ) ) ; }
Source:
public void setScanInterval ( int scanInterval ) { doBooleanCommand ( ( "SCAN_INTERVAL " + scanInterval ) ) ; }

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 static void decode ( com.android.tools.rpclib.rpc.Decoder d , com.android.tools.rpclib.rpc.ClassIdInfo o ) throws java.io.IOException { o.Name = d.string ( ) ; o.Kind = com.android.tools.rpclib.rpc.TypeKind.decode ( d ) ; o.Klass = ( ( com.android.tools.rpclib.rpc.ClassInfo ) ( d.object ( ) ) ) ; }

Target:
public static void decode ( com.android.tools.rpclib.rpc.Decoder d , com.android.tools.rpclib.rpc.AtomRangeTimer o ) throws java.io.IOException { o.FromAtomId = d.uint64 ( ) ; o.ToAtomId = d.uint64 ( ) ; o.Nanoseconds = d.uint64 ( ) ; }
Source:
public static int IntAddition1 ( ) { int a ; int b ; int c ; a = 1 ; b = 2 ; c = a + b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a % b ; return c ; }
Source:
public static boolean hasCameraPrivacyToastShown ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.util.DialerUtils.getDefaultSharedPreferenceForDeviceProtectedStorageContext ( context ) . getBoolean ( com.android.dialer.util.PermissionsUtil.PREFERENCE_CAMERA_ALLOWED_BY_USER , false ) ; }

Target:
public static boolean hasCameraPrivacyToastShown ( @ android.support.annotation.NonNull android.content.Context context ) { return com.android.dialer.storage.StorageComponent.get ( context ) . unencryptedSharedPrefs ( ) . getBoolean ( com.android.dialer.util.PermissionsUtil.PREFERENCE_CAMERA_ALLOWED_BY_USER , false ) ; }