auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void updateDefaultChannel ( ) { if ( com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowInstance ( ) . isEAP ( ) ) { myState.UPDATE_CHANNEL_TYPE = ChannelStatus.EAP_CODE ; } }

Target:
private void updateDefaultChannel ( ) { if ( ( com.intellij.util.PlatformConfig.FORCE_EAP_UPDATE_CHANNEL ) && ( com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowInstance ( ) . isEAP ( ) ) ) { myState.UPDATE_CHANNEL_TYPE = ChannelStatus.EAP_CODE ; } }
Source:
public void removeTransportModeTransforms ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { removeTransportModeTransforms ( pfd , transform ) ; } }

Target:
public void removeTransportModeTransforms ( java.net.DatagramSocket socket , android.net.IpSecTransform transform ) throws java.io.IOException { removeTransportModeTransforms ( socket.getFileDescriptor$ ( ) , transform ) ; }
Source:
public void goingToSleep ( ) { this . goingToSleep ( ) ; }

Target:
public void setTestPssMode ( boolean enabled ) { synchronized ( this ) { mTestPssMode = enabled ; if ( enabled ) { requestPssAllProcsLocked ( android.os.SystemClock.uptimeMillis ( ) , true , true ) ; } } }
Source:
public static byte checkedCast ( long value ) { byte result = ( ( byte ) ( value ) ) ; com.google.common.base.Preconditions.checkArgument ( ( result == value ) , "Out of range: %s" , value ) ; return result ; }

Target:
public static byte checkedCast ( long value ) { byte result = ( ( byte ) ( value ) ) ; if ( result != value ) { throw new java.lang.IllegalArgumentException ( ( "Out of range: " + value ) ) ; } return result ; }
Source:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , 64 , 0 , inArray ) ; }

Target:
protected void fillRandomFloats ( long seed , float min , float max , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , 0.0F , 64.0F , inArray ) ; }
Source:
private java.lang.String getTargetPackage ( com.android.sdklib.xml.AndroidManifestParser.ManifestData manifestParser , java.lang.String runner ) { for ( com.android.sdklib.xml.AndroidManifestParser.Instrumentation instr : manifestParser.getInstrumentations ( ) ) { if ( instr.getName ( ) . equals ( runner ) ) { return instr.getTargetPackage ( ) ; } } return null ; }

Target:
private java.lang.String getTargetPackage ( com.android.sdklib.xml.ManifestData manifestParser , java.lang.String runner ) { for ( com.android.sdklib.xml.ManifestData.Instrumentation instr : manifestParser.getInstrumentations ( ) ) { if ( instr.getName ( ) . equals ( runner ) ) { return instr.getTargetPackage ( ) ; } } return null ; }
Source:
public static boolean isSyncPending ( android.accounts.Account account , java.lang.String authority ) { try { return android.content.ContentResolver.getContentService ( ) . isSyncPending ( account , authority ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( "the ContentService should always be reachable" , e ) ; } }

Target:
public static void setSyncAutomatically ( android.accounts.Account account , java.lang.String authority , boolean sync ) { android.content.ContentResolver.setSyncAutomaticallyAsUser ( account , authority , sync , android.os.UserHandle.myUserId ( ) ) ; }
Source:
public void run ( ) { try { rq.remove ( 1000L ) ; } catch ( java.lang.InterruptedException ie ) { isThrown = true ; } }

Target:
public void run ( ) { try { inBlock.countDown ( ) ; rq.remove ( 1000L ) ; } catch ( java.lang.InterruptedException ie ) { isThrown = true ; } outOfBlock.countDown ( ) ; }
Source:
public android.net.IpSecTransform.Builder setUnderlyingNetwork ( android.net.Network net ) { mConfig.network = net ; return this ; }

Target:
public android.net.IpSecTransform.Builder setAuthentication ( @ android.net.IpSecTransform.TransformDirection int direction , android.net.IpSecAlgorithm algo ) { mConfig.setAuthentication ( direction , algo ) ; return this ; }
Source:
public void onDestroy ( ) { com.android.internal.telephony.cat.CatLog.d ( com.android.stk.StkAppService.LOG_TAG , "onDestroy()" ) ; unregisterProcessObserver ( ) ; com.android.stk.StkAppService.sInstance = null ; waitForLooper ( ) ; mServiceLooper.quit ( ) ; }

Target:
public void onDestroy ( ) { com.android.internal.telephony.cat.CatLog.d ( com.android.stk.StkAppService.LOG_TAG , "onDestroy()" ) ; unregisterProcessObserver ( ) ; unregisterLocaleChangeReceiver ( ) ; com.android.stk.StkAppService.sInstance = null ; waitForLooper ( ) ; mServiceLooper.quit ( ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main st = new Main ( ) ; st.$noinline$f ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { java.lang.System.loadLibrary ( args [ 0 ] ) ; Main st = new Main ( ) ; st.$noinline$f ( ) ; }
Source:
public void setDefaultSmdpAddress ( java.lang.String callingPackage , java.lang.String address , com.android.internal.telephony.euicc.ISetDefaultSmdpAddressCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void setDefaultSmdpAddress ( java.lang.String callingPackage , java.lang.String cardId , java.lang.String address , com.android.internal.telephony.euicc.ISetDefaultSmdpAddressCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public com.android.internal.telephony.gsm.stk.Tone createFromParcel ( android.os.Parcel in ) { return com.android.internal.telephony.gsm.stk.Tone.values ( ) [ in.readInt ( ) ] ; }

Target:
public com.android.internal.telephony.cat.Tone createFromParcel ( android.os.Parcel in ) { return com.android.internal.telephony.cat.Tone.values ( ) [ in.readInt ( ) ] ; }
Source:
public static float BoolCond_FloatVarVar ( boolean cond , float x , float y ) { return cond ? x : y ; }

Target:
public static long BoolCond_LongVarVar ( boolean cond , long x , long y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return cond ? x : y ; }
Source:
protected java.lang.Iterable < ? extends com.android.dialer.rootcomponentgenerator.ProcessingStep > initSteps ( ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.rootcomponentgenerator.MetadataGeneratingStep ( processingEnv ) , new com.android.dialer.rootcomponentgenerator.RootComponentGeneratingStep ( processingEnv ) ) ; }

Target:
protected java.lang.Iterable < ? extends com.android.dialer.rootcomponentgenerator.ProcessingStep > initSteps ( ) { return com.google.common.collect.ImmutableList.of ( new com.android.dialer.rootcomponentgenerator.MetadataGeneratingStep ( processingEnv ) , new com.android.dialer.rootcomponentgenerator.DaggerApplicationGeneratingStep ( processingEnv ) , new com.android.dialer.rootcomponentgenerator.RootComponentGeneratingStep ( processingEnv ) ) ; }
Source:
public void visitLater ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance instance ) { if ( ! ( mSeen.contains ( instance.getId ( ) ) ) ) { mStack.push ( instance ) ; } }

Target:
public void visitLater ( com.android.tools.perflib.heap.Instance parent , @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance child ) { if ( ! ( mSeen.contains ( child.getId ( ) ) ) ) { mStack.push ( child ) ; } }
Source:
public com.android.sdklib.repository.MajorRevision getMajorRevision ( ) { return revision ; }

Target:
public static com.android.sdklib.repository.descriptors.PkgDesc.Builder newSource ( @ com.android.annotations.NonNull com.android.sdklib.AndroidVersion version , @ com.android.annotations.NonNull com.android.sdklib.repository.MajorRevision revision ) { com.android.sdklib.repository.descriptors.PkgDesc.Builder p = new com.android.sdklib.repository.descriptors.PkgDesc.Builder ( PkgType.PKG_SOURCES ) ; p.mAndroidVersion = version ; p.mMajorRevision = revision ; return p ; }
Source:
public void compileOmnibus ( ) throws java.lang.Exception { com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; toolchain.srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.getClasspathAsString ( com.android.jack.compile.androidtree.dalvik.omnibus.OmnibusCompilationTest.BOOTCLASSPATH ) , com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "out" , ".zip" ) , true , com.android.jack.TestTools.getArtTestFolder ( "003-omnibus-opcodes" ) ) ; }

Target:
public void compileOmnibus ( ) throws java.lang.Exception { com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; toolchain.addToClasspath ( com.android.jack.compile.androidtree.dalvik.omnibus.OmnibusCompilationTest.BOOTCLASSPATH ) . srcToExe ( com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "out" , ".zip" ) , true , com.android.jack.TestTools.getArtTestFolder ( "003-omnibus-opcodes" ) ) ; }
Source:
public final void putExtras ( java.lang.String connectionId , android.os.Bundle extras ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = extras ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_PUT_EXTRAS , args ) . sendToTarget ( ) ; }

Target:
public final void putExtras ( java.lang.String connectionId , android.os.Bundle extras , android.telecom.Logging.Session.Info sessionInfo ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = extras ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_PUT_EXTRAS , args ) . sendToTarget ( ) ; }
Source:
private static com.ibm.icu.util.IslamicCalendar newIslamic ( ) { com.ibm.icu.util.IslamicCalendar civilCalendar = new com.ibm.icu.util.IslamicCalendar ( ) ; civilCalendar.setType ( CalculationType.ISLAMIC ) ; return civilCalendar ; }

Target:
private static com.ibm.icu.util.IslamicCalendar newIslamic ( ) { com.ibm.icu.util.IslamicCalendar civilCalendar = new com.ibm.icu.util.IslamicCalendar ( ) ; civilCalendar.setCalculationType ( CalculationType.ISLAMIC ) ; return civilCalendar ; }
Source:
public void setListener ( com.android.ims.internal.IImsEcbmListener listener ) throws android.os.RemoteException { }

Target:
public void setListener ( com.android.ims.internal.IImsEcbmListener listener ) { mListener = listener ; }
Source:
public boolean isDone ( ) { return mDone ; }

Target:
public boolean isDoneSoFar ( ) { return ( mDone ) && ( ! ( mInProgress ) ) ; }
Source:
public com.google.mockwebserver.MockResponse setChunkedBody ( java.lang.String body , int maxChunkSize ) throws java.io.IOException { return setChunkedBody ( body.getBytes ( com.google.mockwebserver.MockWebServer.ASCII ) , maxChunkSize ) ; }

Target:
public com.google.mockwebserver.MockResponse setBody ( java.lang.String body ) { try { return setBody ( body.getBytes ( "UTF-8" ) ) ; } catch ( java.io.UnsupportedEncodingException e ) { throw new java.lang.AssertionError ( ) ; } }
Source:
public long getTotalStats ( int type ) { android.util.Slog.w ( com.android.server.net.NetworkStatsService.TAG , "calling native method from Stats Service" ) ; return com.android.server.net.NetworkStatsService.nativeGetTotalStat ( type ) ; }

Target:
public long getTotalStats ( int type ) { return com.android.server.net.NetworkStatsService.nativeGetTotalStat ( type , checkBpfStatsEnable ( ) ) ; }
Source:
public void carrierActionSetMeteredApnsEnabled ( boolean enabled ) { if ( ( mDcTracker ) != null ) { mDcTracker.setApnsEnabledByCarrier ( enabled ) ; } }

Target:
public void carrierActionSetRadioEnabled ( boolean enabled ) { mCarrierActionAgent.carrierActionSetRadioEnabled ( enabled ) ; }
Source:
public static final boolean isSurrogatePair ( char high , char low ) { return ( android.icu.lang.UCharacter.isHighSurrogate ( high ) ) && ( android.icu.lang.UCharacter.isLowSurrogate ( low ) ) ; }

Target:
public static final boolean isSurrogatePair ( char high , char low ) { return java.lang.Character.isSurrogatePair ( high , low ) ; }
Source:
public void getCellBroadcastSmsConfig ( android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] getCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }

Target:
public void getCellBroadcastSmsConfig ( android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.gsm.GSMPhone.LOG_TAG , "[GSMPhone] getCellBroadcastSmsConfig() is obsolete; use SmsManager" ) ; response.sendToTarget ( ) ; }
Source:
public void accept ( int callType , com.android.ims.ImsStreamMediaProfile profile ) { }

Target:
public void accept ( int callType , android.telephony.ims.ImsStreamMediaProfile profile ) { this . accept ( callType , profile ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { java.lang.String fName = openBrowseDialog ( ) ; if ( fName == null ) { return ; } mTraceFilePathText.setText ( fName ) ; validateAndSetMessage ( ) ; }

Target:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { validateAndSetMessage ( ) ; }
Source:
public void initLocalPort ( int localPort ) { this . localport = localPort ; }

Target:
public void onBind ( java.net.InetAddress localAddress , int localPort ) { localport = localPort ; }
Source:
private void addScheduleInternal ( java.lang.String inputId , long channelId , long startTime , long endTime ) { mDataManager.addScheduledRecording ( com.android.tv.dvr.ScheduledRecording.builder ( inputId , channelId , startTime , endTime ) . setPriority ( mScheduleManager.suggestNewPriority ( ) ) . build ( ) ) ; }

Target:
private void addScheduleInternal ( java.lang.String inputId , long channelId , long startTime , long endTime ) { mDataManager.addScheduledRecording ( com.android.tv.dvr.data.ScheduledRecording.builder ( inputId , channelId , startTime , endTime ) . setPriority ( mScheduleManager.suggestNewPriority ( ) ) . build ( ) ) ; }
Source:
public static com.google.common.base.Predicate < java.lang.CharSequence > containsPattern ( java.lang.String pattern ) { return new com.google.common.base.Predicates.ContainsPatternPredicate ( pattern ) ; }

Target:
public static com.google.common.base.Predicate < java.lang.CharSequence > containsPattern ( java.lang.String pattern ) { return new com.google.common.base.Predicates.ContainsPatternFromStringPredicate ( pattern ) ; }
Source:
void getAllItems ( android.icu.impl.ICUResource.Key key , android.icu.impl.ICUResourceBundleReader.ReaderValue readerValue , android.icu.impl.ICUResource.TableSink sink ) { android.icu.impl.ICUResourceBundleReader reader = wholeBundle.reader ; readerValue.reader = reader ; ( ( android.icu.impl.ICUResourceBundleReader.Table ) ( value ) ) . getAllItems ( reader , key , readerValue , sink ) ; }

Target:
void getAllItems ( android.icu.impl.UResource.Key key , android.icu.impl.ICUResourceBundleReader.ReaderValue readerValue , android.icu.impl.UResource.TableSink sink ) { android.icu.impl.ICUResourceBundleReader reader = wholeBundle.reader ; readerValue.reader = reader ; ( ( android.icu.impl.ICUResourceBundleReader.Table ) ( value ) ) . getAllItems ( reader , key , readerValue , sink ) ; }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }

Target:
public boolean getDataEnabled ( ) { return isUserMobileDataEnabled ( ) ; }
Source:
public void onComplete ( int resultCode ) { callback.onComplete ( resultCode , null ) ; }

Target:
public void onComplete ( int resultCode ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , null ) ) ; }
Source:
public static java.nio.DoubleBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.ReadWriteDoubleArrayBuffer ( capacity ) ; }

Target:
public static java.nio.DoubleBuffer allocate ( int capacity ) { if ( capacity < 0 ) { throw new java.lang.IllegalArgumentException ( ( "capacity < 0: " + capacity ) ) ; } return new java.nio.DoubleArrayBuffer ( new double [ capacity ] ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { if ( ( guard ) != null ) { guard.warnIfOpen ( ) ; } free ( ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { if ( ( guard ) != null ) { org.conscrypt.Platform.closeGuardWarnIfOpen ( guard ) ; } free ( ) ; } finally { super . finalize ( ) ; } }
Source:
private void saveScanInfo ( int id , android.telephony.NetworkScanRequest request , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { synchronized ( mScanInfo ) { mScanInfo.put ( id , new android.telephony.TelephonyScanManager.NetworkScanInfo ( request , callback ) ) ; } }

Target:
private void saveScanInfo ( int id , android.telephony.NetworkScanRequest request , java.util.concurrent.Executor executor , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { synchronized ( mScanInfo ) { mScanInfo.put ( id , new android.telephony.TelephonyScanManager.NetworkScanInfo ( request , executor , callback ) ) ; } }
Source:
static com.google.currysrc.api.transform.AstTransformRule createMandatoryRule ( com.google.currysrc.api.transform.AstTransformer transformer ) { return new com.google.currysrc.api.transform.AstTransformRule ( transformer , com.google.currysrc.api.match.SourceMatchers.all ( ) , true ) ; }

Target:
static com.google.currysrc.api.process.DefaultRule createMandatoryRule ( com.google.currysrc.api.process.Processor processor ) { return new com.google.currysrc.api.process.DefaultRule ( processor , com.google.currysrc.api.match.SourceMatchers.all ( ) , true ) ; }
Source:
public java.io.FileDescriptor getFileDescriptor ( ) { return fd ; }

Target:
public java.io.FileDescriptor getFD$ ( ) { return fd ; }
Source:
public boolean answer ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = 8 ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WifiScanningServiceTest.MAX_AP_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = 10 ; capabilities.max_hotlist_bssids = 0 ; capabilities.max_significant_wifi_change_aps = 0 ; return true ; }

Target:
public boolean answer ( com.android.server.wifi.WifiNative.ScanCapabilities capabilities ) { capabilities.max_scan_cache_size = java.lang.Integer.MAX_VALUE ; capabilities.max_scan_buckets = max_scan_buckets ; capabilities.max_ap_cache_per_scan = com.android.server.wifi.scanner.WifiScanningServiceTest.MAX_AP_PER_SCAN ; capabilities.max_rssi_sample_size = 8 ; capabilities.max_scan_reporting_threshold = 10 ; capabilities.max_hotlist_bssids = 0 ; capabilities.max_significant_wifi_change_aps = 0 ; return true ; }
Source:
protected org.eclipse.ui.IWorkbenchWizard instanciateWizard ( org.eclipse.jface.action.IAction action ) { return new com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard ( ) ; }

Target:
protected org.eclipse.ui.IWorkbenchWizard instanciateWizard ( org.eclipse.jface.action.IAction action ) { return new com.android.ide.eclipse.adt.internal.wizards.templates.NewProjectWizard ( ) ; }
Source:
public void testRunEnded ( long elapsedTime , java.util.Map < java.lang.String , java.lang.String > runMetrics ) { mRunResult.setRunComplete ( true ) ; generateDocument ( mReportDir , elapsedTime ) ; }

Target:
public void testRunFailed ( java.lang.String errorMessage ) { mRunResult.testRunFailed ( errorMessage ) ; }
Source:
protected org.bouncycastle.crypto.tls.TlsStreamCipher createRC4Cipher ( org.bouncycastle.crypto.tls.TlsContext context , int cipherKeySize , int macAlgorithm ) throws java.io.IOException { return new org.bouncycastle.crypto.tls.TlsStreamCipher ( context , createRC4StreamCipher ( ) , createRC4StreamCipher ( ) , createHMACDigest ( macAlgorithm ) , createHMACDigest ( macAlgorithm ) , cipherKeySize ) ; }

Target:
protected org.bouncycastle.crypto.tls.TlsAEADCipher createCipher_Camellia_GCM ( org.bouncycastle.crypto.tls.TlsContext context , int cipherKeySize , int macSize ) throws java.io.IOException { return new org.bouncycastle.crypto.tls.TlsAEADCipher ( context , createAEADBlockCipher_Camellia_GCM ( ) , createAEADBlockCipher_Camellia_GCM ( ) , cipherKeySize , macSize ) ; }
Source:
public void visitEnd ( ) { if ( ( ! ( isInterface ) ) && ( defaultMethodsDefined ( directInterfaces ) ) ) { recordInheritedMethods ( ) ; stubMissingDefaultMethods ( ) ; } super . visitEnd ( ) ; }

Target:
public void visitEnd ( ) { if ( ( ! ( isInterface ) ) && ( defaultMethodsDefined ( directInterfaces ) ) ) { recordInheritedMethods ( ) ; stubMissingDefaultAndBridgeMethods ( ) ; } super . visitEnd ( ) ; }
Source:
public void testExternalCallChangedToNonExternalCall ( ) { mCallsManagerListener.onExternalCallChanged ( ( ( com.android.server.telecom.Call ) ( mActiveCall ) ) , false ) ; waitForHandlerAction ( mFocusManagerUT.getHandler ( ) , com.android.server.telecom.tests.ConnectionServiceFocusManagerTest.CHECK_HANDLER_INTERVAL_MS ) ; assertTrue ( mFocusManagerUT.getAllCall ( ) . contains ( mActiveCall ) ) ; }

Target:
public void testExternalCallChangedToNonExternalCall ( ) { mCallsManagerListener.onExternalCallChanged ( ( ( com.android.server.telecom.Call ) ( mActiveCall ) ) , false ) ; waitForHandlerAction ( mFocusManagerUT.getHandler ( ) , com.android.server.telecom.tests.ConnectionServiceFocusManagerTest.CHECK_HANDLER_INTERVAL_MS ) ; org.junit.Assert.assertTrue ( mFocusManagerUT.getAllCall ( ) . contains ( mActiveCall ) ) ; }
Source:
private long getAssetsChecksum ( ) { android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; return sp.getLong ( com.android.providers.telephony.CarrierIdProvider.ASSETS_FILE_CHECKSUM_PREF_KEY , ( - 1 ) ) ; }

Target:
private void setAppliedVersion ( int version ) { final android.content.SharedPreferences sp = getContext ( ) . getSharedPreferences ( com.android.providers.telephony.CarrierIdProvider.PREF_FILE , Context.MODE_PRIVATE ) ; android.content.SharedPreferences.Editor editor = sp.edit ( ) ; editor.putInt ( com.android.providers.telephony.CarrierIdProvider.VERSION_PREF_KEY , version ) ; editor.apply ( ) ; }
Source:
void onPostDialChar ( java.lang.String callId , char nextChar ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialChar ( callId , nextChar ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void onPostDialChar ( java.lang.String callId , char nextChar ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialChar ( callId , nextChar , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
public void testTargetAnnotationInner ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiTargetTest2.java:32: Error: Call requires API level 14 (current min is 3): android.widget.GridLayout#<init> [NewApi]\n" + ( ( ( " new GridLayout(null, null, 0);\n" + " ~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest2.java.txt=>src/test/pkg/ApiTargetTest2.java" , "apicheck/ApiTargetTest2.class.data=>bin/classes/test/pkg/ApiTargetTest2.class" , "apicheck/ApiTargetTest2$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1.class" , "apicheck/ApiTargetTest2$1$2.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$2.class" , "apicheck/ApiTargetTest2$1$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$1.class" ) ) ; }

Target:
public void testTargetAnnotationInner ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/ApiTargetTest2.java:32: Error: Call requires API level 14 (current min is 3): new android.widget.GridLayout [NewApi]\n" + ( ( " new GridLayout(null, null, 0);\n" + " ~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk1.xml=>AndroidManifest.xml" , "apicheck/ApiTargetTest2.java.txt=>src/test/pkg/ApiTargetTest2.java" , "apicheck/ApiTargetTest2.class.data=>bin/classes/test/pkg/ApiTargetTest2.class" , "apicheck/ApiTargetTest2$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1.class" , "apicheck/ApiTargetTest2$1$2.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$2.class" , "apicheck/ApiTargetTest2$1$1.class.data=>bin/classes/test/pkg/ApiTargetTest2$1$1.class" ) ) ; }
Source:
native void rsnScriptReduceNew ( long con , long id , int slot , long [ ] ains , long aout , int [ ] limits ) ;

Target:
native void rsnScriptReduce ( long con , long id , int slot , long [ ] ains , long aout , int [ ] limits ) ;
Source:
public java.io.File getPrebuiltDirectory ( org.gradle.nativeplatform.platform.Platform platform ) { return new java.io.File ( ndkDirectory , ( "prebuilt/android-" + ( com.android.build.gradle.ndk.internal.NdkHandler.ARCHITECTURE_STRING.get ( platform.getName ( ) ) ) ) ) ; }

Target:
public java.io.File getPrebuiltDirectory ( org.gradle.nativeplatform.platform.NativePlatform platform ) { return new java.io.File ( ndkDirectory , ( "prebuilt/android-" + ( com.android.build.gradle.ndk.internal.NdkHandler.ARCHITECTURE_STRING.get ( platform.getName ( ) ) ) ) ) ; }
Source:
public static byte $opt$getByteField ( Main m ) { return m.byteField ; }

Target:
public static byte $opt$noinline$getByteField ( Main m ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return m.byteField ; }
Source:
public com.ibm.icu.text.SpoofChecker.Builder setRestrictionLevel ( com.ibm.icu.text.SpoofChecker.RestrictionLevel restrictionLevel ) { fRestrictionLevel = restrictionLevel ; fChecks |= com.ibm.icu.text.SpoofChecker.RESTRICTION_LEVEL ; return this ; }

Target:
public com.ibm.icu.text.SpoofChecker.Builder setRestrictionLevel ( com.ibm.icu.text.SpoofChecker.RestrictionLevel restrictionLevel ) { fRestrictionLevel = restrictionLevel ; fChecks |= ( com.ibm.icu.text.SpoofChecker.RESTRICTION_LEVEL ) | ( com.ibm.icu.text.SpoofChecker.MIXED_NUMBERS ) ; return this ; }
Source:
private static void printUsage ( ) { }

Target:
private static void printUsage ( ) { java.lang.System.err.println ( ( "Usage:\n" + ( ( "create <old_version_description> <new_version_description> <old_version_folder> <new_version_folder>" + " <patch_file_name> [ignored=file1;file2;...] [critical=file1;file2;...] [optional=file1;file2;...]\n" ) + "install [--exit0] <destination_folder> [log_directory]\n" ) ) ) ; }
Source:
public void testCompleteIfNextLineBraceStyle2 ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.NEXT_LINE ; doTest ( ) ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.END_OF_LINE ; }

Target:
public void testCompleteIfNextLineBraceStyle2 ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CommonCodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.NEXT_LINE ; doTest ( ) ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.END_OF_LINE ; }
Source:
public int compare ( com.android.ahat.heapdump.AhatInstance a , com.android.ahat.heapdump.AhatInstance b ) { return java.lang.Long.compare ( b.getRetainedSize ( mHeap ) , a.getRetainedSize ( mHeap ) ) ; }

Target:
public int compare ( com.android.ahat.heapdump.AhatInstance a , com.android.ahat.heapdump.AhatInstance b ) { return com.android.ahat.heapdump.Sort.SIZE_BY_SIZE.compare ( b.getRetainedSize ( mHeap ) , a.getRetainedSize ( mHeap ) ) ; }
Source:
public java.lang.String getOriginalPackageName ( ) { if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { return getPackageName ( ) ; } return getPackageFromManifest ( ) ; }

Target:
public java.lang.String getOriginalApplicationId ( ) { if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { return getApplicationId ( ) ; } return getPackageFromManifest ( ) ; }
Source:
public synchronized void setTextZoom ( int textZoom ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setTextZoom=" + textZoom ) ) ; mAwSettings.setTextZoom ( textZoom ) ; }

Target:
public synchronized void setTextZoom ( int textZoom ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setTextZoom=" + textZoom ) ) ; mAwSettings.setTextZoom ( textZoom ) ; }
Source:
public int getLteSignalStrenght ( ) { return mLteSignalStrength ; }

Target:
public int getLteSignalStrength ( ) { return mLteSignalStrength ; }
Source:
public boolean onCreateOptionsMenu ( com.android.internal.telephony.gsm.stk.Menu menu ) { super . onCreateOptionsMenu ( menu ) ; menu.add ( 0 , StkApp.MENU_ID_END_SESSION , 1 , R.string.menu_end_session ) ; menu.add ( 0 , StkApp.MENU_ID_HELP , 2 , R.string.help ) ; return true ; }

Target:
public boolean onCreateOptionsMenu ( com.android.internal.telephony.cat.Menu menu ) { super . onCreateOptionsMenu ( menu ) ; menu.add ( 0 , StkApp.MENU_ID_END_SESSION , 1 , R.string.menu_end_session ) ; menu.add ( 0 , StkApp.MENU_ID_HELP , 2 , R.string.help ) ; return true ; }
Source:
public void testEquals_NonCharsetObject ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c1 = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertFalse ( c1.equals ( "test" ) ) ; }

Target:
public void testEquals_NonCharsetObject ( ) { org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset c1 = new org.apache.harmony.tests.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; assertFalse ( c1.equals ( "test" ) ) ; }
Source:
static int mainIndexReturned ( int n ) { int i ; for ( i = 0 ; i < n ; i ++ ) ; return i ; }

Target:
static int mainIndexReturnedN ( int n ) { int i ; for ( i = 0 ; i < n ; i ++ ) ; return i ; }
Source:
private NetworkRequest.Builder newWifiRequestBuilder ( ) { return new android.net.NetworkRequest.Builder ( ) . addTransportType ( com.android.server.TRANSPORT_WIFI ) ; }

Target:
private NetworkRequest.Builder newWifiRequestBuilder ( ) { return new android.net.NetworkRequest.Builder ( ) . addTransportType ( android.net.NetworkCapabilities.TRANSPORT_WIFI ) ; }
Source:
public void deleteActivityContainer ( android.app.IActivityContainer container ) throws android.os.RemoteException { enforceCallingPermission ( android.Manifest.permission.MANAGE_ACTIVITY_STACKS , "deleteActivityContainer()" ) ; synchronized ( this ) { mStackSupervisor.deleteActivityContainer ( container ) ; } }

Target:
public void clearGrantedUriPermissions ( java.lang.String packageName , int userId ) { enforceCallingPermission ( android.Manifest.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS , "clearGrantedUriPermissions" ) ; removeUriPermissionsForPackageLocked ( packageName , userId , true ) ; }
Source:
public boolean equals ( java.lang.Object obj ) { return ( obj instanceof com.android.jack.library.InputLibraryLocation ) && ( ( ( com.android.jack.library.InputLibraryLocation ) ( obj ) ) . getInputLibrary ( ) . equals ( getInputLibrary ( ) ) ) ; }

Target:
public java.lang.String getDescription ( ) { return getVFSLocation ( ) . getDescription ( ) ; }
Source:
public void testMoveAppInternalToExternal ( ) { int installFlags = PackageManager.INSTALL_INTERNAL ; int moveFlags = PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = false ; int result = PackageManager.MOVE_SUCCEEDED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppForwardLocked ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int installFlags = android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ; int moveFlags = android.content.pm.PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = true ; int result = android.content.pm.PackageManager.MOVE_FAILED_FORWARD_LOCKED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
public static short floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }

Target:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }
Source:
public void enter ( ) { mTimeoutMessage = new com.android.internal.util.WakeupMessage ( mContext , getHandler ( ) , com.android.server.wifi.nan.WifiNanStateManager.HAL_COMMAND_TIMEOUT_TAG , com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_RESPONSE_TIMEOUT , mCurrentCommand.arg1 , mCurrentTransactionId ) ; mTimeoutMessage.schedule ( ( ( android.os.SystemClock.elapsedRealtime ( ) ) + ( com.android.server.wifi.nan.WifiNanStateManager.WifiNanStateMachine.WaitForResponseState.NAN_COMMAND_TIMEOUT ) ) ) ; }

Target:
public void enter ( ) { mTimeoutMessage = new com.android.internal.util.WakeupMessage ( mContext , getHandler ( ) , com.android.server.wifi.aware.WifiAwareStateManager.HAL_COMMAND_TIMEOUT_TAG , com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_RESPONSE_TIMEOUT , mCurrentCommand.arg1 , mCurrentTransactionId ) ; mTimeoutMessage.schedule ( ( ( android.os.SystemClock.elapsedRealtime ( ) ) + ( com.android.server.wifi.aware.WifiAwareStateManager.WifiAwareStateMachine.WaitForResponseState.AWARE_COMMAND_TIMEOUT ) ) ) ; }
Source:
public void close ( ) { mSpi = android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ; mCloseGuard.close ( ) ; }

Target:
public void close ( ) { try { mService.releaseSecurityParameterIndex ( mResourceId ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } mCloseGuard.close ( ) ; }
Source:
public void setCrosshairLocation ( int x , int y ) { synchronized ( this ) { crosshairLocation = new com.android.hierarchyviewerlib.models.PixelPerfectModel.Point ( x , y ) ; } notifyCrosshairMoved ( ) ; }

Target:
public void setCrosshairLocation ( int x , int y ) { synchronized ( this ) { crosshairLocation = new org.eclipse.swt.graphics.Point ( x , y ) ; } notifyCrosshairMoved ( ) ; }
Source:
public java.lang.String combineDateAndTime ( java.lang.String relativeDateString , java.lang.String timeString ) { return this . combinedDateAndTime.format ( new java.lang.Object [ ] { timeString , relativeDateString } , new java.lang.StringBuffer ( ) , null ) . toString ( ) ; }

Target:
public java.lang.String combineDateAndTime ( java.lang.String relativeDateString , java.lang.String timeString ) { return android.icu.impl.SimpleFormatterImpl.formatCompiledPattern ( combinedDateAndTime , timeString , relativeDateString ) ; }
Source:
private void pollStateDone ( ) { if ( mPhone.isPhoneTypeGsm ( ) ) { pollStateDoneGsm ( ) ; } else if ( mPhone.isPhoneTypeCdma ( ) ) { pollStateDoneCdma ( ) ; } else { pollStateDoneCdmaLte ( ) ; } }

Target:
public void onImsServiceStateChanged ( ) { sendMessage ( obtainMessage ( com.android.internal.telephony.ServiceStateTracker.EVENT_IMS_SERVICE_STATE_CHANGED ) ) ; }
Source:
private static java.net.Inet6Address localhost6 ( ) throws java.lang.Exception { return ( ( java.net.Inet6Address ) ( java.net.InetAddress.getByAddress ( "localhost" , libcore.java.net.InetAddressTest.LOOPBACK6_BYTES ) ) ) ; }

Target:
private static java.net.Inet6Address localhost6 ( ) throws java.lang.Exception { return ( ( java.net.Inet6Address ) ( java.net.InetAddress.getByAddress ( "ip6-localhost" , libcore.java.net.InetAddressTest.LOOPBACK6_BYTES ) ) ) ; }
Source:
public static void sendWifiScanAvailable ( android.content.BroadcastReceiver broadcastReceiver , android.content.Context context , int scanAvailable ) { android.content.Intent intent = new android.content.Intent ( android.net.wifi.WifiManager.WIFI_SCAN_AVAILABLE ) ; intent.putExtra ( WifiManager.EXTRA_SCAN_AVAILABLE , scanAvailable ) ; broadcastReceiver.onReceive ( context , intent ) ; }

Target:
public static void sendWifiApStateChanged ( android.content.BroadcastReceiver broadcastReceiver , android.content.Context context , int wifiApState ) { android.content.Intent intent = new android.content.Intent ( android.net.wifi.WifiManager.WIFI_AP_STATE_CHANGED_ACTION ) ; intent.putExtra ( WifiManager.EXTRA_WIFI_AP_STATE , wifiApState ) ; broadcastReceiver.onReceive ( context , intent ) ; }
Source:
void onVideoStateChanged ( com.android.server.telecom.Call call ) ;

Target:
void onVideoStateChanged ( com.android.server.telecom.Call call , int previousVideoState , int newVideoState ) ;
Source:
public int setProvisionedValue ( int item , int value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.FAILED ; }

Target:
public int setProvisionedStringValue ( int item , java.lang.String value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.FAILED ; }
Source:
public void test_F32_4_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 4 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_4_SCALE05_20_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 4 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public void testCanStart ( ) { if ( ( android.os.Looper.myLooper ( ) ) == null ) { android.os.Looper.prepare ( ) ; } com.android.bluetooth.avrcp.Avrcp a = com.android.bluetooth.avrcp.Avrcp.make ( getContext ( ) ) ; }

Target:
public void testCanStart ( ) { if ( ( android.os.Looper.myLooper ( ) ) == null ) { android.os.Looper.prepare ( ) ; } com.android.bluetooth.avrcp.Avrcp a = com.android.bluetooth.avrcp.Avrcp.make ( android.support.test.InstrumentationRegistry.getTargetContext ( ) ) ; }
Source:
protected void setUp ( ) { f = new java.io.File ( java.lang.System.getProperty ( "user.home" ) , "reader.tst" ) ; if ( f.exists ( ) ) { if ( ! ( f.delete ( ) ) ) { fail ( "Unable to delete test file" ) ; } } }

Target:
protected void setUp ( ) throws java.io.IOException { f = java.io.File.createTempFile ( "FileReaderTest" , "tst" ) ; }
Source:
public void dispose ( ) { super . dispose ( ) ; transform.dispose ( ) ; inverse.dispose ( ) ; }

Target:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { model.removeTreeChangeListener ( this ) ; transform.dispose ( ) ; inverse.dispose ( ) ; }
Source:
private void sendCvvmMessage ( java.lang.String request , android.app.PendingIntent sentIntent ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) . append ( request ) ; sb.append ( OmtpConstants.SMS_PREFIX_SEPARATOR ) ; appendField ( sb , "dt" , "15" ) ; sendSms ( sb.toString ( ) , sentIntent ) ; }

Target:
private void sendCvvmMessage ( java.lang.String request , android.app.PendingIntent sentIntent ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) . append ( request ) ; sb.append ( OmtpConstants.SMS_PREFIX_SEPARATOR ) ; appendField ( sb , "dt" , "6" ) ; sendSms ( sb.toString ( ) , sentIntent ) ; }
Source:
public void binderDied ( ) { android.util.Slog.v ( com.android.server.fingerprint.FingerprintService.TAG , "fingerprintd died" ) ; mDaemon = null ; handleError ( mHalDeviceId , FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE ) ; }

Target:
public void binderDied ( ) { android.util.Slog.v ( com.android.server.fingerprint.FingerprintService.TAG , "fingerprintd died" ) ; mDaemon = null ; mCurrentUserId = android.os.UserHandle.USER_CURRENT ; handleError ( mHalDeviceId , FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE ) ; }
Source:
public static com.android.internal.content.NativeLibraryHelper.Handle create ( android.content.pm.PackageParser.PackageLite lite ) throws java.io.IOException { return com.android.internal.content.NativeLibraryHelper.Handle.create ( lite.getAllCodePaths ( ) , lite.multiArch ) ; }

Target:
public static com.android.internal.content.NativeLibraryHelper.Handle create ( android.content.pm.PackageParser.PackageLite lite ) throws java.io.IOException { return com.android.internal.content.NativeLibraryHelper.Handle.create ( lite.getAllCodePaths ( ) , lite.multiArch , lite.extractNativeLibs ) ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int slotId , int featureType , int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { return null ; }

Target:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId ) { return null ; }
Source:
protected java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionnedElements ( ) { return jackServer.getInstalledJacks ( ) ; }

Target:
protected java.util.Collection < ? extends com.android.jack.server.HasVersion > getVersionedElements ( ) { return jackServer.getInstalledJacks ( ) ; }
Source:
private static void enableComponent ( android.content.Context context ) { context.getPackageManager ( ) . setComponentEnabledSetting ( new android.content.ComponentName ( context , "com.android.dialer.main.impl.MainActivity" ) , PackageManager.COMPONENT_ENABLED_STATE_ENABLED , PackageManager.DONT_KILL_APP ) ; }

Target:
private static void enableComponent ( android.content.Context context ) { context.getPackageManager ( ) . setComponentEnabledSetting ( new android.content.ComponentName ( context , com.android.dialer.app.MainComponent.getComponentName ( ) ) , PackageManager.COMPONENT_ENABLED_STATE_ENABLED , PackageManager.DONT_KILL_APP ) ; }
Source:
void writeSummaryFromParcelLocked ( android.os.Parcel out ) { out.writeInt ( mCount ) ; out.writeInt ( ( ( mCount ) - ( mLoadedCount ) ) ) ; }

Target:
void stepAtomic ( ) { mCount.incrementAndGet ( ) ; }
Source:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;

Target:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig , boolean mUseInc ) ;
Source:
public void stop ( ) { mUpstreamLinkProperties = null ; mHwInterface.stopOffloadControl ( ) ; mControlInitialized = false ; mConfigInitialized = false ; }

Target:
public void stop ( ) { final boolean wasStarted = started ( ) ; mUpstreamLinkProperties = null ; mHwInterface.stopOffloadControl ( ) ; mControlInitialized = false ; mConfigInitialized = false ; if ( wasStarted ) mLog.log ( "tethering offload stopped" ) ; }
Source:
public void onConferenceableCallsChanged ( android.telecom.Call call , java.util.List < android.telecom.Call > conferenceableCalls ) { android.util.Log.i ( android.telecom.cts.TAG , ( ( ( "onConferenceableCallsChanged, Call: " + call ) + ", Conferenceables: " ) + conferenceableCalls ) ) ; }

Target:
public void onConferenceableCallsChanged ( android.telecom.Call call , java.util.List < android.telecom.Call > conferenceableCalls ) { android.util.Log.i ( android.telecom.cts.TestUtils.TAG , ( ( ( "onConferenceableCallsChanged, Call: " + call ) + ", Conferenceables: " ) + conferenceableCalls ) ) ; }
Source:
public boolean enableNetworkWithoutConnect ( int netId ) { if ( com.android.server.wifi.WifiNative.DBG ) logDbg ( ( "enableNetworkWithoutConnect nid=" + ( java.lang.Integer.toString ( netId ) ) ) ) ; return doBooleanCommand ( ( ( ( "ENABLE_NETWORK " + netId ) + " " ) + "no-connect" ) ) ; }

Target:
public void setSystemSupportsFastBssTransition ( boolean supported ) { mWifiSupplicantControl.setSystemSupportsFastBssTransition ( supported ) ; }
Source:
public static com.android.jack.api.JackProvider.SubReleaseKind getSubReleaseKind ( ) { return com.android.jack.test.toolchain.JackApiToolchainBase.subReleaseKind ; }

Target:
public com.android.jack.api.JackProvider.SubReleaseKind getSubReleaseKind ( ) { return subReleaseKind ; }
Source:
public long getTotalSize ( ) { long total = 0 ; for ( int i = 0 ; i < ( mSizesByHeap.length ) ; i ++ ) { total += mSizesByHeap [ i ] ; } return total ; }

Target:
public com.android.ahat.heapdump.Size getTotalSize ( ) { com.android.ahat.heapdump.Size total = Size.ZERO ; for ( int i = 0 ; i < ( mSizesByHeap.length ) ; i ++ ) { total = total.plus ( mSizesByHeap [ i ] ) ; } return total ; }
Source:
public int getCnapNamePresentation ( ) { return 0 ; }

Target:
public int getCnapNamePresentation ( ) { return cnapNamePresentation ; }
Source:
private static com.android.ide.eclipse.gltrace.state.GLStateType getTextureUnitTargetName ( com.android.ide.eclipse.gldebugger.GLEnum target ) { if ( target == ( com.android.ide.eclipse.gldebugger.GLEnum.GL_TEXTURE_BINDING_CUBE_MAP ) ) { return com.android.ide.eclipse.gltrace.state.GLStateType.TEXTURE_BINDING_CUBE_MAP ; } else { return com.android.ide.eclipse.gltrace.state.GLStateType.TEXTURE_BINDING_2D ; } }

Target:
private static com.android.ide.eclipse.gltrace.state.GLStateType getTextureUnitTargetName ( com.android.ide.eclipse.gltrace.GLEnum target ) { if ( target == ( com.android.ide.eclipse.gltrace.GLEnum.GL_TEXTURE_BINDING_CUBE_MAP ) ) { return com.android.ide.eclipse.gltrace.state.GLStateType.TEXTURE_BINDING_CUBE_MAP ; } else { return com.android.ide.eclipse.gltrace.state.GLStateType.TEXTURE_BINDING_2D ; } }
Source:
com.android.ide.eclipse.adt.editors.layout.gscripts.Point canvasToControlPoint ( int canvasX , int canvasY ) { int x = mHScale.translate ( canvasX ) ; int y = mVScale.translate ( canvasY ) ; return new com.android.ide.eclipse.adt.editors.layout.gscripts.Point ( x , y ) ; }

Target:
com.android.ide.common.api.Point canvasToControlPoint ( int canvasX , int canvasY ) { int x = mHScale.translate ( canvasX ) ; int y = mVScale.translate ( canvasY ) ; return new com.android.ide.common.api.Point ( x , y ) ; }
Source:
static long $opt$NegLong ( long a ) { return - a ; }

Target:
private static long $opt$noinline$NegLong ( long a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
boolean isValid ( ) { return true ; }

Target:
boolean isFiltered ( @ com.android.annotations.NonNull com.android.build.gradle.tasks.annotations.ApiDatabase database ) { return ! ( database.hasClass ( containingClass ) ) ; }
Source:
public void testConstructor_NullEndDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , null , 0 ) ; fail ( "Should throw IllegalArgumentException when keystoreAlias is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullSerial_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , null , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void testDeleteSdcard ( ) { deleteFromRawResource ( PackageManager.INSTALL_EXTERNAL , 0 ) ; }

Target:
public void testDeleteSdcard ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } deleteFromRawResource ( PackageManager.INSTALL_EXTERNAL , 0 ) ; }
Source:
public java.util.List < java.io.File > getImportedJackLibrary ( ) { return options.getJayceImport ( ) ; }

Target:
public java.util.List < java.io.File > getImportedLibrary ( ) { return options.getJayceImport ( ) ; }
Source:
public java.io.File getAidlDir ( ) { return new java.io.File ( mRoot , "aidl" ) ; }

Target:
public java.util.Set < java.io.File > getAidlDirectories ( ) { return java.util.Collections.singleton ( new java.io.File ( mRoot , "aidl" ) ) ; }