auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void loggedRun ( ) { if ( ! ( isBluetoothAudioConnected ( ) ) ) { com.android.server.telecom.Log.v ( this , ( "Bluetooth audio inexplicably disconnected within 5 seconds of " + "connection. Updating UI." ) ) ; } updateListenerOfBluetoothState ( false ) ; }

Target:
public void loggedRun ( ) { if ( ! ( isBluetoothAudioConnected ( ) ) ) { android.telecom.Log.v ( this , ( "Bluetooth audio inexplicably disconnected within 5 seconds of " + "connection. Updating UI." ) ) ; } updateListenerOfBluetoothState ( false ) ; }
Source:
public void processFile ( java.io.File sourceFile ) throws java.io.IOException , java.lang.InterruptedException { mFolders.add ( sourceFile.getParentFile ( ) ) ; }

Target:
public void processFile ( java.io.File sourceFile ) throws java.io.IOException , java.lang.InterruptedException { mFiles.add ( sourceFile ) ; }
Source:
protected abstract com.android.jack.test.toolchain.JackBasedToolchain setVerbosityLevel ( @ javax.annotation.Nonnull com.android.jack.Options.VerbosityLevel level ) ;

Target:
public abstract com.android.jack.test.toolchain.JackBasedToolchain setSanityChecks ( boolean sanityChecks ) ;
Source:
protected byte [ ] engineGetEncoded ( java.lang.String format ) throws java.io.IOException { }

Target:
protected byte [ ] engineGetEncoded ( java.lang.String format ) throws java.io.IOException { if ( ! ( isASN1FormatString ( format ) ) ) { throw new java.io.IOException ( "unknown format specified" ) ; } return gcmParams.getEncoded ( ) ; }
Source:
public final void testCreate ( ) throws java.lang.Exception { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.SystemImagePackage p = createSystemImagePackage ( props ) ; testCreatedSystemImagePackage ( p ) ; }

Target:
public final void testCreate ( ) throws java.lang.Exception { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.SystemImagePackage p = createSystemImagePackage ( props ) ; testCreatedSystemImagePackage ( p ) ; }
Source:
public boolean isEmpty ( ) { return multimap ( ) . isEmpty ( ) ; }

Target:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap.removeAll ( key ) : null ; }
Source:
public void getGsmBroadcastConfigResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < android.hardware.radio.V1_0.GsmBroadcastSmsConfigInfo > var2 ) { }

Target:
public void stopDtmfResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { responseVoid ( responseInfo ) ; }
Source:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification [ ] notifications ) { callback.onComplete ( resultCode , notifications ) ; }

Target:
public void onComplete ( int resultCode , byte [ ] response ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , response ) ) ; }
Source:
void preClose ( java.io.FileDescriptor fd ) throws java.io.IOException { sun.nio.ch.FileDispatcherImpl.preClose0 ( fd ) ; }

Target:
static void preCloseImpl ( java.io.FileDescriptor fd ) throws java.io.IOException { if ( fd.isSocket$ ( ) ) { try { dalvik.system.SocketTagger.get ( ) . untag ( fd ) ; } catch ( java.net.SocketException ignored ) { } } sun.nio.ch.FileDispatcherImpl.preClose0 ( fd ) ; }
Source:
private void sendMessageReceivedEvent ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > messages ) { for ( com.android.ddmuilib.logcat.ILogCatMessageEventListener l : mLogCatMessageListeners ) { l.messageReceived ( messages ) ; } }

Target:
private void sendLogChangedEvent ( java.util.List < com.android.ddmuilib.logcat.LogCatMessage > addedMessages , java.util.List < com.android.ddmuilib.logcat.LogCatMessage > deletedMessages ) { for ( com.android.ddmuilib.logcat.ILogCatBufferChangeListener l : mLogCatMessageListeners ) { l.bufferChanged ( addedMessages , deletedMessages ) ; } }
Source:
private java.lang.String targetToString ( com.android.sdklib.IAndroidTarget target ) { return target.getFullName ( ) . replace ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationComposite.ConfigState.SEP , "" ) ; }

Target:
private java.lang.String targetToString ( com.android.sdklib.IAndroidTarget target ) { return target.getFullName ( ) . replace ( com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationComposite.SEP , "" ) ; }
Source:
public static void clearOne ( android.content.Context context , java.lang.String tag , int code ) { com.android.cts.verifier.notifications.MockListener.sendCommand ( context , com.android.cts.verifier.notifications.MockListener.SERVICE_CLEAR_ONE , tag , code ) ; }

Target:
protected java.lang.String getKeyForTag ( java.lang.String tag ) { return mNotificationKeys.get ( tag ) ; }
Source:
public boolean put ( java.lang.String key , byte [ ] value ) { return put ( key , value , ( - 1 ) ) ; }

Target:
public boolean put ( java.lang.String key , byte [ ] value ) { return put ( key , value , android.security.KeyStore.UID_SELF ) ; }
Source:
public void testPerformanceSummaryGroupedNormal ( ) throws java.io.FileNotFoundException , java.io.IOException { setUp ( true ) ; java.lang.String output = com.android.vts.servlet.VtsPerformanceJobServlet.getPerformanceSummary ( "test" , dailySummaries , legendLabels ) ; com.android.vts.servlet.VtsPerformanceJobServletTest.compareToBaseline ( output , "performanceSummary4.html" ) ; }

Target:
public void testPerformanceSummaryGroupedNormal ( ) throws java.io.FileNotFoundException , java.io.IOException { setUp ( true ) ; java.lang.String output = com.android.vts.job.VtsPerformanceJobServlet.getPerformanceSummary ( "test" , dailySummaries , legendLabels ) ; com.android.vts.job.VtsPerformanceJobServletTest.compareToBaseline ( output , "performanceSummary4.html" ) ; }
Source:
public void test_U8_3_SCALE10_10_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.UNSIGNED_8 , 3 , 1.0F , 1.0F ) ; }

Target:
public void test_U8_3_SCALE10_10_inRectangle ( ) { testResize ( inX , inY , Element.DataType.UNSIGNED_8 , 3 , 1.0F , 1.0F ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs ) { requestNetwork ( request , networkCallback , timeoutMs , inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , android.os.Handler handler ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; requestNetwork ( request , networkCallback , 0 , legacyType , cbHandler ) ; }
Source:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.io.InputStream openRead ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) throws com.android.sched.util.file.WrongPermissionException { return vfs.openRead ( file.getWrappedFile ( ) ) ; }
Source:
private int getAppliedVersion ( ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; return sp.getInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_PREF_KEY , ( - 1 ) ) ; }

Target:
private int getAppliedVersion ( ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; return sp.getInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_KEY , ( - 1 ) ) ; }
Source:
public void createOatDir ( java.lang.String oatDir , java.lang.String dexInstructionSet ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "createoatdir" , oatDir , dexInstructionSet ) ; }

Target:
public void clearAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.clearAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public com.android.internal.telephony.uicc.UiccSlot getUiccSlotForPhone ( int phoneId ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { int slotId = getSlotIdFromPhoneId ( phoneId ) ; if ( isValidSlotIndex ( slotId ) ) { return mUiccSlots [ slotId ] ; } return null ; } }

Target:
public com.android.internal.telephony.uicc.UiccSlot getUiccSlotForPhone ( int phoneId ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { if ( isValidPhoneIndex ( phoneId ) ) { int slotId = getSlotIdFromPhoneId ( phoneId ) ; if ( isValidSlotIndex ( slotId ) ) { return mUiccSlots [ slotId ] ; } } return null ; } }
Source:
public void setSoWriteTimeout ( int writeTimeoutMilliseconds ) throws java.net.SocketException { this . writeTimeoutMilliseconds = writeTimeoutMilliseconds ; org.conscrypt.Platform.setSocketTimeout ( this , writeTimeoutMilliseconds ) ; }

Target:
public void setSoWriteTimeout ( int writeTimeoutMilliseconds ) throws java.net.SocketException { this . writeTimeoutMilliseconds = writeTimeoutMilliseconds ; org.conscrypt.Platform.setSocketWriteTimeout ( this , writeTimeoutMilliseconds ) ; }
Source:
static byte [ ] asBytes ( int [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.crypto.util.Pack.intToBigEndian ( x , z , 0 ) ; return z ; }

Target:
public static byte [ ] asBytes ( int [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.util.Pack.intToBigEndian ( x , z , 0 ) ; return z ; }
Source:
private static com.android.ahat.heapdump.PathElement getNextPathElementToGcRoot ( com.android.ahat.heapdump.AhatInstance inst ) { com.android.ahat.heapdump.AhatInstance parent = inst.mNextInstanceToGcRoot ; if ( parent == null ) { return null ; } return new com.android.ahat.heapdump.PathElement ( inst.mNextInstanceToGcRoot , inst.mNextInstanceToGcRootField ) ; }

Target:
private static com.android.ahat.heapdump.PathElement getNextPathElementToGcRoot ( com.android.ahat.heapdump.AhatInstance inst ) { if ( inst.isRoot ( ) ) { return null ; } return new com.android.ahat.heapdump.PathElement ( inst.mNextInstanceToGcRoot , inst.mNextInstanceToGcRootField ) ; }
Source:
private void createWifiConfigManager ( ) { mWifiConfigManager = new com.android.server.wifi.WifiConfigManagerNew ( mContext , mFrameworkFacade , mClock , mUserManager , mWifiKeyStore , mWifiConfigStore , mWifiConfigStoreLegacy ) ; mWifiConfigManager.enableVerboseLogging ( 1 ) ; }

Target:
private void createWifiConfigManager ( ) { mWifiConfigManager = new com.android.server.wifi.WifiConfigManagerNew ( mContext , mFrameworkFacade , mClock , mUserManager , mTelephonyManager , mWifiKeyStore , mWifiConfigStore , mWifiConfigStoreLegacy ) ; mWifiConfigManager.enableVerboseLogging ( 1 ) ; }
Source:
public java.lang.String toString ( ) { return java.lang.String.format ( "SystemImage ABI=%s, location %s='%s'" , mAbiType , mLocationtype.toString ( ) . replace ( '_' , ' ' ) . toLowerCase ( java.util.Locale.US ) , mLocation ) ; }

Target:
public java.lang.String toString ( ) { return java.lang.String.format ( "SystemImage tag=%s, ABI=%s, location %s='%s'" , mTag.getId ( ) , mAbiType , mLocationtype.toString ( ) . replace ( '_' , ' ' ) . toLowerCase ( java.util.Locale.US ) , mLocation ) ; }
Source:
public com.google.common.base.Optional < java.lang.Boolean > supportsUpgrade ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.Nullable java.lang.String number ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( context ) ; return com.google.common.base.Optional.of ( false ) ; }

Target:
public com.google.common.base.Optional < java.lang.Boolean > supportsUpgrade ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.Nullable java.lang.String number , @ android.support.annotation.Nullable android.telecom.PhoneAccountHandle phoneAccountHandle ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( context ) ; return com.google.common.base.Optional.of ( false ) ; }
Source:
public native char getChar ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native byte getByte ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void test_withMinute_minuteTooLow ( ) { TEST_12_30_40_987654321.withMinute ( ( - 1 ) ) ; }

Target:
public void test_withMinute_minuteTooLow ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.withMinute ( ( - 1 ) ) ; }
Source:
public boolean hasNext ( ) throws java.io.IOException { reader.mark ( 1 ) ; int next = reader.read ( ) ; reader.reset ( ) ; return next != ( - 1 ) ; }

Target:
public boolean hasNext ( ) throws java.io.IOException { return ( peek ( ) ) != ( - 1 ) ; }
Source:
private native void gattClientGetCharacteristicNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb ) ;

Target:
private native void gattClientGetGattDbNative ( int conn_id ) ;
Source:
private void onExitCarMode ( ) { if ( mIsCarMode ) { com.android.server.telecom.Log.i ( this , "Exiting carmode" ) ; mIsCarMode = false ; notifyCarMode ( ) ; } }

Target:
private void onExitCarMode ( ) { if ( mIsCarMode ) { android.telecom.Log.i ( this , "Exiting carmode" ) ; mIsCarMode = false ; notifyCarMode ( ) ; } }
Source:
public void addJavascriptInterface ( java.lang.Object obj , java.lang.String interfaceName ) { java.util.HashMap arg = new java.util.HashMap ( ) ; arg.put ( "object" , obj ) ; arg.put ( "interfaceName" , interfaceName ) ; mWebViewCore.sendMessage ( EventHub.ADD_JS_INTERFACE , arg ) ; }

Target:
public void addJavascriptInterface ( java.lang.Object obj , java.lang.String interfaceName ) { android.webkit.WebViewCore.JSInterfaceData arg = new android.webkit.WebViewCore.JSInterfaceData ( ) ; arg.mObject = obj ; arg.mInterfaceName = interfaceName ; mWebViewCore.sendMessage ( EventHub.ADD_JS_INTERFACE , arg ) ; }
Source:
synchronized long nScriptFieldIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptFieldIDCreate ( mContext , sid , slot ) ; }

Target:
synchronized long nIncAllocationCreateTyped ( long alloc , long type ) { validate ( ) ; return rsnIncAllocationCreateTyped ( mContext , mIncCon , alloc , type ) ; }
Source:
native void rsnScriptSetVarV ( int con , int id , int slot , byte [ ] val ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig ) ;
Source:
public void setAllowScansWithTraffic ( int enabled ) { mWifiConfigManager.mAlwaysEnableScansWhileAssociated.set ( enabled ) ; }

Target:
public void setAllowScansWithTraffic ( int enabled ) { mAlwaysEnableScansWhileAssociated = enabled ; }
Source:
private native void nativeRun ( long runLoopID ) ;

Target:
private native void nativeRunUntilIdle ( ) ;
Source:
public boolean connect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.connect ( device ) ; }

Target:
public boolean connect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hid.HidHostService service = getService ( ) ; if ( service == null ) { return false ; } return service.connect ( device ) ; }
Source:
public int getDataNetworkType ( ) { return rilRadioTechnologyToNetworkType ( mRilDataRadioTechnology ) ; }

Target:
public int getDataNetworkType ( ) { return android.telephony.ServiceState.rilRadioTechnologyToNetworkType ( mRilDataRadioTechnology ) ; }
Source:
public long getTimeCacheMaxAge ( ) { return getSecureLong ( android.provider.Settings.Secure.NETSTATS_TIME_CACHE_MAX_AGE , android.text.format.DateUtils.DAY_IN_MILLIS ) ; }

Target:
public long getTimeCacheMaxAge ( ) { return getGlobalLong ( android.provider.Settings.Global.NETSTATS_TIME_CACHE_MAX_AGE , android.text.format.DateUtils.DAY_IN_MILLIS ) ; }
Source:
public void onLooperPrepared ( ) { mDct = new com.android.internal.telephony.dataconnection.DcTracker ( mPhone ) ; setReady ( true ) ; }

Target:
public void onLooperPrepared ( ) { mDct = new com.android.internal.telephony.dataconnection.DcTracker ( mPhone , android.telephony.AccessNetworkConstants.TransportType.WWAN ) ; setReady ( true ) ; }
Source:
public void iccCloseLogicalChannel ( int channel , android.os.Message response ) { loglocal ( ( "Close Logical Channel: " + channel ) ) ; mCi.iccCloseLogicalChannel ( channel , obtainMessage ( com.android.internal.telephony.uicc.UiccProfile.EVENT_CLOSE_LOGICAL_CHANNEL_DONE , response ) ) ; }

Target:
public void iccCloseLogicalChannel ( int channel , android.os.Message response ) { loglocal ( ( "iccCloseLogicalChannel: " + channel ) ) ; mCi.iccCloseLogicalChannel ( channel , obtainMessage ( com.android.internal.telephony.uicc.UiccProfile.EVENT_CLOSE_LOGICAL_CHANNEL_DONE , response ) ) ; }
Source:
private int changeCapability ( int capabilities , int capability , boolean enabled ) { if ( enabled ) { return capabilities | capability ; } else { return capabilities & ( ~ capability ) ; } }

Target:
private int changeBitmask ( int bitmask , int bitfield , boolean enabled ) { if ( enabled ) { return bitmask | bitfield ; } else { return bitmask & ( ~ bitfield ) ; } }
Source:
public static int shortToLongToInt ( short value ) { return ( ( int ) ( ( long ) ( value ) ) ) ; }

Target:
public static int $noinline$byteToDoubleToInt ( byte value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public void verifyParcelWithoutPolicy ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.policy = null ; android.net.wifi.hotspot2.PasspointConfigurationTest.verifyParcel ( config ) ; }

Target:
public void validateConfigWithoutPolicy ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setPolicy ( null ) ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }
Source:
android.content.Intent getIntent ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) ;

Target:
com.google.common.base.Optional < com.android.dialer.duo.Duo.IntentType > getIntentType ( android.content.Intent intent ) ;
Source:
public static java.lang.String getProbeName ( int probeType ) { return android.net.metrics.ValidationProbeEvent.Decoder.constants.get ( probeType , "PROBE_???" ) ; }

Target:
public static java.lang.String getProbeName ( int probeType ) { return android.net.metrics.ValidationProbeEvent.Decoder.constants.get ( ( probeType & 255 ) , "PROBE_???" ) ; }
Source:
public static int floatToDoubleToInt ( float value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }
Source:
private static boolean verifyWifi ( android.support.test.uiautomator.UiDevice device ) { boolean isTrue = device.wait ( android.support.test.uiautomator.Until.hasObject ( android.support.test.uiautomator.By.res ( com.android.devtools.systemimage.uitest.utils.NetworkUtil.WIFI_ICONS_RES ) ) , java.util.concurrent.TimeUnit.MILLISECONDS.convert ( 3L , java.util.concurrent.TimeUnit.SECONDS ) ) ; return isTrue ; }

Target:
private static boolean verifyWifi ( android.support.test.uiautomator.UiDevice device ) { boolean isTrue = device.wait ( android.support.test.uiautomator.Until.hasObject ( android.support.test.uiautomator.By.res ( Res.WIFI_ICONS_RES ) ) , java.util.concurrent.TimeUnit.MILLISECONDS.convert ( 3L , java.util.concurrent.TimeUnit.SECONDS ) ) ; return isTrue ; }
Source:
static com.ibm.icu.text.PluralRules.StandardPluralCategories forString ( java.lang.String s ) { com.ibm.icu.text.PluralRules.StandardPluralCategories a ; try { a = com.ibm.icu.text.PluralRules.StandardPluralCategories.valueOf ( s ) ; } catch ( java.lang.Exception e ) { return null ; } return a ; }

Target:
public static final com.ibm.icu.text.PluralRules.StandardPluralCategories getCategoryOrOther ( java.lang.CharSequence keyword ) { com.ibm.icu.text.PluralRules.StandardPluralCategories cat = com.ibm.icu.text.PluralRules.StandardPluralCategories.getCategoryOrNull ( keyword ) ; return cat != null ? cat : com.ibm.icu.text.PluralRules.StandardPluralCategories.other ; }
Source:
private static dalvik.system.PathClassLoader createSystemServerClassLoader ( java.lang.String systemServerClasspath , int targetSdkVersion ) { java.lang.String libraryPath = java.lang.System.getProperty ( "java.library.path" ) ; return com.android.internal.os.PathClassLoaderFactory.createClassLoader ( systemServerClasspath , libraryPath , libraryPath , java.lang.ClassLoader.getSystemClassLoader ( ) , targetSdkVersion , true ) ; }

Target:
static dalvik.system.PathClassLoader createPathClassLoader ( java.lang.String classPath , int targetSdkVersion ) { java.lang.String libraryPath = java.lang.System.getProperty ( "java.library.path" ) ; return com.android.internal.os.PathClassLoaderFactory.createClassLoader ( classPath , libraryPath , libraryPath , java.lang.ClassLoader.getSystemClassLoader ( ) , targetSdkVersion , true ) ; }
Source:
public int hashCode ( ) { return name.toUpperCase ( ) . hashCode ( ) ; }

Target:
public int hashCode ( ) { return name.toUpperCase ( java.util.Locale.ENGLISH ) . hashCode ( ) ; }
Source:
public boolean onLongClick ( android.view.View view ) { listener.onLongClick ( photoView , speedDialUiItem ) ; return true ; }

Target:
public boolean onLongClick ( android.view.View view ) { listener.showContextMenu ( photoView , speedDialUiItem ) ; return true ; }
Source:
public void removeReferences ( ) { mSmsStorageMonitor = null ; mSmsUsageMonitor = null ; mSMS = null ; mIccRecords = null ; mIccCard.set ( null ) ; mDataConnectionTracker = null ; }

Target:
public void dispose ( ) { synchronized ( PhoneProxy.lockForRadioTechnologyChange ) { mCM.unSetOnCallRing ( this ) ; mDataConnectionTracker.cleanUpAllConnections ( null ) ; mIsTheCurrentActivePhone = false ; mSmsStorageMonitor.dispose ( ) ; mSmsUsageMonitor.dispose ( ) ; mUiccController.unregisterForIccChanged ( this ) ; } }
Source:
synchronized long nContextCreate ( long dev , int ver , int sdkVer , int contextType ) { return rsnContextCreate ( dev , ver , sdkVer , contextType ) ; }

Target:
synchronized long nContextCreate ( long dev , int ver , int sdkVer , int contextType , java.lang.String nativeLibDir ) { return rsnContextCreate ( dev , ver , sdkVer , contextType , nativeLibDir ) ; }
Source:
public final int onSetCapabilityValues ( android.telephony.ims.internal.feature.CapabilityConfiguration capabilities ) { return onSetCapabilityValues ( new android.telephony.ims.internal.feature.MmTelFeature.MmTelCapabilityConfiguration ( capabilities ) ) ; }

Target:
private void setSmsListener ( android.telephony.ims.internal.aidl.IImsSmsListener listener ) { getSmsImplementation ( ) . registerSmsListener ( listener ) ; }
Source:
public void onFinish ( ) { mTimerText.setTextColor ( Color.RED ) ; mTimerText.setText ( "Time is up!" ) ; }

Target:
public void onFinish ( ) { mTimerText.setTextColor ( getResources ( ) . getColor ( R.color.red ) ) ; mTimerText.setText ( "Time is up!" ) ; }
Source:
public java.util.Collection < java.io.File > getJavaDirectories ( ) { return sourceSet.getAllJava ( ) . getSrcDirs ( ) ; }

Target:
public java.util.Collection < java.io.File > getJavaDirectories ( ) { return sourceSet.getJava ( ) . getSrcDirs ( ) ; }
Source:
com.google.common.base.Ticker getTicker ( ) { return com.google.common.base.Objects.firstNonNull ( ticker , com.google.common.base.Ticker.systemTicker ( ) ) ; }

Target:
com.google.common.base.Ticker getTicker ( ) { return com.google.common.base.MoreObjects.firstNonNull ( ticker , com.google.common.base.Ticker.systemTicker ( ) ) ; }
Source:
protected void handleDestroy ( ) { setListening ( false ) ; mCallbacks.clear ( ) ; }

Target:
protected void handleDestroy ( ) { if ( ( mListeners.size ( ) ) != 0 ) { setListening ( false ) ; } mCallbacks.clear ( ) ; }
Source:
protected void onError ( com.android.internal.telephony.sip.DisconnectCause cause ) { if ( com.android.internal.telephony.sip.SipPhone.DEBUG ) android.util.Log.d ( com.android.internal.telephony.sip.SipPhone.LOG_TAG , ( "SIP error: " + cause ) ) ; onCallEnded ( cause ) ; }

Target:
protected void onError ( com.android.internal.telephony.sip.DisconnectCause cause ) { if ( com.android.internal.telephony.sip.SipPhone.DEBUG ) android.telephony.Rlog.d ( com.android.internal.telephony.sip.SipPhone.LOG_TAG , ( "SIP error: " + cause ) ) ; onCallEnded ( cause ) ; }
Source:
public void test ( ) { java.lang.Exception e = new java.lang.Exception ( ) ; java.security.PrivilegedActionException pae = new java.security.PrivilegedActionException ( e ) ; org.junit.Assert.assertSame ( e , pae.getException ( ) ) ; org.junit.Assert.assertSame ( e , pae.getCause ( ) ) ; }

Target:
public void testGetException ( ) { java.lang.Exception e = new java.lang.Exception ( ) ; java.security.PrivilegedActionException pae = new java.security.PrivilegedActionException ( e ) ; org.junit.Assert.assertSame ( e , pae.getException ( ) ) ; org.junit.Assert.assertSame ( e , pae.getCause ( ) ) ; }
Source:
public java.lang.Object clone ( ) { try { return super . clone ( ) ; } catch ( java.lang.CloneNotSupportedException e ) { throw new java.lang.AssertionError ( ) ; } }

Target:
public boolean isTypeValue ( ) { return false ; }
Source:
public void test_plus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.plus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 5 , 40 , 987654321 ) ) ; }

Target:
public void test_plus_longTemporalUnit_negativeMinutes ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.plus ( ( - 25 ) , java.time.temporal.ChronoUnit.MINUTES ) ; org.testng.Assert.assertEquals ( t , java.time.LocalTime.of ( 12 , 5 , 40 , 987654321 ) ) ; }
Source:
public java.lang.String toString ( ) { return com.google.common.base.Objects.toStringHelper ( this ) . addValue ( toParsableString ( ) ) . toString ( ) ; }

Target:
public java.lang.String toString ( ) { return com.google.common.base.MoreObjects.toStringHelper ( this ) . addValue ( toParsableString ( ) ) . toString ( ) ; }
Source:
public static android.net.MacAddress createRandomUnicastAddress ( ) { return android.net.MacAddress.createRandomUnicastAddress ( android.net.MacAddress.BASE_GOOGLE_MAC , new java.util.Random ( ) ) ; }

Target:
public static android.net.MacAddress createRandomUnicastAddressWithGoogleBase ( ) { return android.net.MacAddress.createRandomUnicastAddress ( android.net.MacAddress.BASE_GOOGLE_MAC , new java.security.SecureRandom ( ) ) ; }
Source:
public void iccTransmitApduLogicalChannelResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult var2 ) { }

Target:
public void iccTransmitApduLogicalChannelResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult result ) { responseIccIo ( responseInfo , result ) ; }
Source:
static char $opt$ByteToChar ( byte a ) { return ( ( char ) ( a ) ) ; }

Target:
static int $opt$FloatToInt ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
final synchronized void ensureReadParams ( ) { if ( fetchedParams ) { return ; } readParams ( org.conscrypt.NativeCrypto.get_RSA_private_params ( key.getPkeyContext ( ) ) ) ; fetchedParams = true ; }

Target:
final synchronized void ensureReadParams ( ) { if ( fetchedParams ) { return ; } readParams ( org.conscrypt.NativeCrypto.get_RSA_private_params ( key.getNativeRef ( ) ) ) ; fetchedParams = true ; }
Source:
public java.lang.String getPath ( ) { return null ; }

Target:
public java.lang.String getPath ( ) { if ( ( mCustomPath ) != null ) { return mCustomPath.getPath ( this ) ; } else { return mPath ; } }
Source:
public java.lang.String getShortDescription ( ) { java.lang.String s = java.lang.String.format ( "%1$s, revision %2$d%3$s" , getDisplayName ( ) , getRevision ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; return s ; }

Target:
public java.lang.String getShortDescription ( ) { java.lang.String s = java.lang.String.format ( "%1$s, revision %2$s%3$s" , getDisplayName ( ) , getRevision ( ) . toShortString ( ) , ( isObsolete ( ) ? " (Obsolete)" : "" ) ) ; return s ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JArrayLength x ) { com.android.jack.ir.ast.JExpression instance = x.getInstance ( ) ; parenPush ( x , instance ) ; accept ( instance ) ; parenPop ( x , instance ) ; print ( ".length" ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x ) { printTypeFlags ( x ) ; print ( com.android.jack.ir.impl.CHARS_INTERFACE ) ; printTypeName ( x ) ; return false ; }
Source:
public static void unboost ( ) { ( lockedregioncodeinjection.TestTarget.unboostCount ) ++ ; }

Target:
public static void unboost ( ) { if ( lockedregioncodeinjection.TestTarget.nextUnboostThrows ) { lockedregioncodeinjection.TestTarget.nextUnboostThrows = false ; throw new java.lang.RuntimeException ( ) ; } ( lockedregioncodeinjection.TestTarget.unboostCount ) ++ ; }
Source:
public void update ( int callType , com.android.ims.ImsStreamMediaProfile profile ) { }

Target:
public void accept ( int callType , android.telephony.ims.ImsStreamMediaProfile profile ) { this . accept ( callType , profile ) ; }
Source:
public boolean isLayout ( ) { return mCanvasViewInfo.getUiViewNode ( ) . getDescriptor ( ) . hasChildren ( ) ; }

Target:
public boolean isLayout ( ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode node = mCanvasViewInfo.getUiViewNode ( ) ; if ( node != null ) { return node.getDescriptor ( ) . hasChildren ( ) ; } else { return false ; } }
Source:
public static java.lang.String map2OID ( java.lang.String algName ) { return org.apache.harmony.security.utils.AlgNameMapper.alg2OidMap.get ( algName.toUpperCase ( java.util.Locale.US ) ) ; }

Target:
public static java.lang.String map2OID ( java.lang.String algName ) { final java.lang.String result = org.apache.harmony.security.utils.AlgNameMapper.alg2OidMap.get ( algName.toUpperCase ( java.util.Locale.US ) ) ; if ( result != null ) { return result ; } return org.apache.harmony.xnet.provider.jsse.NativeCrypto.OBJ_txt2nid_oid ( algName ) ; }
Source:
public boolean isMemberClass ( ) { return ( ( getSimpleBinaryName ( ) ) != null ) && ( ! ( isLocalOrAnonymousClass ( ) ) ) ; }

Target:
public boolean isMemberClass ( ) { return ( getDeclaringClass ( ) ) != null ; }
Source:
public boolean isRevocable ( ) { return false ; }

Target:
public boolean isRevocable ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) { return false ; }
Source:
void addScanEvent ( com.android.bluetooth.btservice.BluetoothProto.ScanEvent event ) { synchronized ( mScanEvents ) { if ( ( mScanEvents.size ( ) ) == ( com.android.bluetooth.gatt.GattService.NUM_SCAN_EVENTS_KEPT ) ) { mScanEvents.remove ( 0 ) ; } mScanEvents.add ( event ) ; } }

Target:
public void dumpProto ( com.android.bluetooth.BluetoothMetricsProto.BluetoothLog.Builder builder ) { synchronized ( mScanEvents ) { builder.addAllScanEvent ( mScanEvents ) ; } }
Source:
public void testEncodeDecodeVideoFromSurfaceToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testEncodeDecodeVideoFromSurfaceToSurfaceQVGA ( ) throws java.lang.Throwable { setParameters ( 320 , 240 , 2000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }
Source:
private com.android.jill.backend.jayce.JayceWriter createWriter ( @ javax.annotation.Nonnull java.io.OutputStream os ) { com.android.jill.backend.jayce.JayceWriter writer = new com.android.jill.backend.jayce.JayceWriter ( os ) ; return writer ; }

Target:
private com.android.jill.backend.jayce.JayceWriter createWriter ( @ javax.annotation.Nonnull java.io.OutputStream os ) { com.android.jill.backend.jayce.JayceWriter writer = new com.android.jill.backend.jayce.JayceWriter ( os ) ; setJayceProperties ( ) ; return writer ; }
Source:
public boolean visitConstructorInvocation ( lombok.ast.ConstructorInvocation node ) { lombok.ast.NormalTypeBody anonymous = node.astAnonymousClassBody ( ) ; if ( anonymous != null ) { mFoundInnerClass = true ; } return super . visitConstructorInvocation ( node ) ; }

Target:
public void visitNewExpression ( com.intellij.psi.PsiNewExpression expression ) { if ( ( expression.getAnonymousClass ( ) ) != null ) { mFoundInnerClass = true ; } super . visitNewExpression ( expression ) ; }
Source:
public final int getSize ( ) { return ( mLength ) * ( mType.getSize ( ) ) ; }

Target:
public final int getSize ( ) { return ( mLength ) * ( mHeap.mSnapshot.getTypeSize ( mType ) ) ; }
Source:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.ERROR ) { android.util.Log.e ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; } }

Target:
public static void w ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.WARN ) { android.util.Slog.w ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) ) ; } }
Source:
public boolean isBlocked ( android.content.Context context , java.lang.String number ) { return com.android.internal.telephony.BlockChecker.isBlocked ( context , number ) ; }

Target:
public boolean isBlocked ( android.content.Context context , java.lang.String number , android.os.Bundle extras ) { return com.android.internal.telephony.BlockChecker.isBlocked ( context , number , extras ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( "arttest" ) ; JniTest.testFindClassOnAttachedNativeThread ( ) ; JniTest.testFindFieldOnAttachedNativeThread ( ) ; JniTest.testCallStaticVoidMethodOnSubClass ( ) ; JniTest.testGetMirandaMethod ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { java.lang.System.loadLibrary ( "arttest" ) ; JniTest.testFindClassOnAttachedNativeThread ( ) ; JniTest.testFindFieldOnAttachedNativeThread ( ) ; JniTest.testCallStaticVoidMethodOnSubClass ( ) ; JniTest.testGetMirandaMethod ( ) ; JniTest.testZeroLengthByteBuffers ( ) ; }
Source:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . compileAndRunTest ( ) ; }

Target:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTarget ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 8 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
native long rsnScriptGroup2Create ( long con , java.lang.String cachePath , long [ ] closures ) ;

Target:
synchronized long nScriptGroup2Create ( java.lang.String name , java.lang.String cachePath , long [ ] closures ) { validate ( ) ; return rsnScriptGroup2Create ( mContext , name , cachePath , closures ) ; }
Source:
public boolean setPreferredNetworkTypeToGlobal ( ) { return setPreferredNetworkType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA ) ; }

Target:
public java.lang.String sendEnvelopeWithStatus ( java.lang.String content ) { return sendEnvelopeWithStatus ( getSubId ( ) , content ) ; }
Source:
public final native void setRelease ( java.lang.Object ... args ) ;

Target:
public final native java.lang.Object getAcquire ( java.lang.Object ... args ) ;
Source:
private native void nativeRunUntilIdle ( ) ;

Target:
private native void nativeRun ( long runLoopID ) ;
Source:
public com.android.jack.test.toolchain.LegacyToolchain build ( ) { return new com.android.jack.test.toolchain.LegacyToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "legacy-java-compiler" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuiltsAsClasspath ( "legacy-java-compiler.bootclasspath" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "dx" ) ) ; }

Target:
public com.android.jack.test.toolchain.LegacyToolchain build ( ) { return new com.android.jack.test.toolchain.LegacyToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "legacy-java-compiler" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuiltsAsClasspath ( "legacy-java-compiler.bootclasspath" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "dx" ) , isDesugarEnabled ) ; }
Source:
public void beforeTextChanged ( java.lang.CharSequence s , int start , int count , int after ) { }

Target:
public void onTextChanged ( java.lang.CharSequence s , int start , int before , int count ) { onUserInteraction ( ) ; }
Source:
public void testInnerClassStatic ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/Foo.java:8: Warning: This inner class should be static (test.pkg.Foo.Baz) [Instantiatable]\n" + ( ( " public class Baz extends Activity {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Foo.java.txt=>src/test/pkg/Foo.java" , "registration/Foo.class.data=>bin/classes/test/pkg/Foo.class" , "registration/Foo$Bar.class.data=>bin/classes/test/pkg/Foo$Bar.class" , "registration/Foo$Baz.class.data=>bin/classes/test/pkg/Foo$Baz.class" ) ) ; }

Target:
public void testInnerClassStatic ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "src/test/pkg/Foo.java:8: Warning: This inner class should be static (test.pkg.Foo.Baz) [Instantiatable]\n" + ( ( " public class Baz extends Activity {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifest.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Foo.java.txt=>src/test/pkg/Foo.java" , "registration/Foo.class.data=>bin/classes/test/pkg/Foo.class" , "registration/Foo$Bar.class.data=>bin/classes/test/pkg/Foo$Bar.class" , "registration/Foo$Baz.class.data=>bin/classes/test/pkg/Foo$Baz.class" ) ) ; }
Source:
public static boolean EqualBoolVsIntConst ( boolean arg ) { return ( arg ? 0 : 1 ) != 2 ; }

Target:
public static boolean $noinline$EqualBoolVsIntConst ( boolean arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg ? 0 : 1 ) != 2 ; }
Source:
public void queryRemoteConnectionServices ( com.android.internal.telecom.RemoteServiceCallback callback ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_QUERY_REMOTE_CALL_SERVICES , callback ) . sendToTarget ( ) ; }

Target:
public void queryRemoteConnectionServices ( com.android.internal.telecom.RemoteServiceCallback callback , android.telecom.Logging.Session.Info sessionInfo ) { mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_QUERY_REMOTE_CALL_SERVICES , callback ) . sendToTarget ( ) ; }
Source:
org.eclipse.swt.graphics.Image getFlagImage ( @ com.android.annotations.Nullable com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale locale ) { if ( locale != null ) { return locale.getFlagImage ( ) ; } return com.android.ide.eclipse.adt.internal.editors.layout.configuration.LocaleManager.getGlobeIcon ( ) ; }

Target:
org.eclipse.swt.graphics.Image getFlagImage ( @ com.android.annotations.Nullable com.android.ide.eclipse.adt.internal.editors.layout.configuration.Locale locale ) { if ( locale != null ) { return locale.getFlagImage ( ) ; } return com.android.ide.eclipse.adt.internal.editors.layout.configuration.FlagManager.getGlobeIcon ( ) ; }
Source:
public java.lang.String getDisplayScript ( ) { return getDisplayScript ( java.util.Locale.getDefault ( ) ) ; }

Target:
public java.lang.String getDisplayScript ( ) { return getDisplayScript ( java.util.Locale.getDefault ( java.util.Locale.Category.DISPLAY ) ) ; }
Source:
public com.android.sdklib.internal.repository.ITaskMonitor createSubMonitor ( int tickCount ) { assert ( mSubCoef ) > 0 ; assert tickCount > 0 ; return new com.android.sdkuilib.internal.repository.UpdateNoWindow.ConsoleSubTaskMonitor ( mRoot , this , mSubValue , ( tickCount * ( mSubCoef ) ) ) ; }

Target:
public com.android.sdklib.internal.repository.ITaskMonitor createSubMonitor ( int tickCount ) { assert ( mSubCoef ) > 0 ; assert tickCount > 0 ; return new com.android.sdkuilib.internal.repository.SdkUpdaterNoWindow.ConsoleSubTaskMonitor ( mRoot , this , mSubValue , ( tickCount * ( mSubCoef ) ) ) ; }
Source:
public boolean isOpened ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . isOpened ( ) ; } }

Target:
public java.lang.String getSmsFormat ( ) { synchronized ( mLock ) { return this . getSmsFormat ( ) ; } }
Source:
private com.android.sdklib.IAndroidTarget getSelectedTarget ( ) { return ( ( com.android.sdklib.IAndroidTarget ) ( mTargetCombo.getData ( ) ) ) ; }

Target:
private com.android.sdklib.IAndroidTarget getSelectedTarget ( ) { if ( ! ( mTargetCombo.isDisposed ( ) ) ) { return ( ( com.android.sdklib.IAndroidTarget ) ( mTargetCombo.getData ( ) ) ) ; } return null ; }
Source:
public void test_dropSourceSpecific_twice_IPv4 ( ) throws java.lang.Exception { test_dropSourceSpecific_twice ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; }

Target:
public void test_joinAnySource_nonMulticastGroupAddress_IPv4 ( ) throws java.lang.Exception { for ( java.net.NetworkInterface networkInterface : ipv4networkInterfaces ) { test_joinAnySource_illegalArgumentExpected ( networkInterface , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; } }
Source:
public static void w ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.WARN ) { android.util.Log.w ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( prefix , format , args ) ) ; } }

Target:
public static void w ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.w ( prefix , format , args ) ; }
Source:
public com.android.build.gradle.AndroidSourceSet resources ( groovy.lang.Closure configureClosure ) { org.gradle.util.ConfigureUtil.configure ( configureClosure , getResources ( ) ) ; return this ; }

Target:
public com.android.build.gradle.AndroidSourceSet res ( groovy.lang.Closure configureClosure ) { org.gradle.util.ConfigureUtil.configure ( configureClosure , getRes ( ) ) ; return this ; }
Source:
private void inlinedForNull ( java.lang.Iterable it ) { if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
private void inlinedForNull ( java.lang.Iterable it ) { if ( it != null ) { it.iterator ( ) ; } }
Source:
java.lang.String getStoreLocation ( ) { com.android.build.gradle.internal.tasks.File f = signingConfig.getStoreFile ( ) ; if ( f != null ) { return f.absolutePath ; } return null ; }

Target:
public java.lang.String getStoreLocation ( ) { java.io.File f = signingConfig.getStoreFile ( ) ; if ( f != null ) { return f.getAbsolutePath ( ) ; } return null ; }
Source:
public void testRefactor1 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "* Refactoring Application package name\n" ) + "\n" ) + " * MainActivity2.java - /testRefactor1/src/com/example/refactoringtest/MainActivity2.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + " * MainActivity.java - /testRefactor1/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + " * Make Manifest edits - /testRefactor1/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }

Target:
public void testRefactor1 ( ) throws java.lang.Exception { renamePackage ( com.android.ide.eclipse.adt.internal.refactorings.renamepackage.TEST_PROJECT , "my.pkg.name" , ( "CHANGES:\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "-------\n" + "[x] MainActivity2.java - /testRefactor1/src/com/example/refactoringtest/MainActivity2.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] MainActivity.java - /testRefactor1/src/com/example/refactoringtest/MainActivity.java\n" ) + " @@ -7 +7\n" ) + " + import my.pkg.name.R;\n" ) + "\n" ) + "\n" ) + "[x] Make Manifest edits - /testRefactor1/AndroidManifest.xml\n" ) + " @@ -3 +3\n" ) + " - package=\"com.example.refactoringtest\"\n" ) + " + package=\"my.pkg.name\"\n" ) + " @@ -25 +25\n" ) + " - android:name=\".MainActivity2\"\n" ) + " + android:name=\"com.example.refactoringtest.MainActivity2\"" ) ) ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature getEmergencyMMTelFeatureAndListen ( int slotId , com.android.ims.internal.IImsServiceFeatureCallback callback ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . getEmergencyMMTelFeatureAndListen ( slotId , callback ) ; }

Target:
public android.telephony.ims.aidl.IImsMmTelFeature getMmTelFeatureAndListen ( int slotId , com.android.ims.internal.IImsServiceFeatureCallback callback ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . getMmTelFeatureAndListen ( slotId , callback ) ; }
Source:
public void putNoFallback ( android.icu.impl.ICUResource.Key key ) { if ( ! ( keyToLoader.containsKey ( key ) ) ) { keyToLoader.put ( key.clone ( ) , android.icu.impl.TimeZoneNamesImpl.ZNamesLoader.DUMMY_LOADER ) ; } }

Target:
public void putNoFallback ( android.icu.impl.UResource.Key key ) { if ( ! ( keyToLoader.containsKey ( key ) ) ) { keyToLoader.put ( key.clone ( ) , android.icu.impl.TimeZoneNamesImpl.ZNamesLoader.DUMMY_LOADER ) ; } }