auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public int getSimState ( int slotIdx ) { int simState = android.telephony.SubscriptionManager.getSimStateForSlotIdx ( slotIdx ) ; return simState ; }

Target:
public int getSimState ( int slotIndex ) { int simState = android.telephony.SubscriptionManager.getSimStateForSlotIndex ( slotIndex ) ; return simState ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUcharUcharUchar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.max ( ( ( args.inV1 ) & 255 ) , ( ( args.inV2 ) & 255 ) ) ) ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsUintUintUint args ) { args.out = android.renderscript.cts.CoreMathVerifier.minU32 ( args.inV1 , args.inV2 ) ; }
Source:
public abstract void resolveReferences ( com.android.tools.perflib.heap.State state ) ;

Target:
public com.android.tools.perflib.heap.ClassObj getClassObj ( ) { return mClass ; }
Source:
public boolean isEnabled ( ) { return false ; }

Target:
public boolean isEnabled ( @ android.support.annotation.NonNull android.content.Context context ) { return false ; }
Source:
public static float nextAfter ( float start , double direction ) { return sun.misc.FpUtils.nextAfter ( start , direction ) ; }

Target:
public static float nextAfter ( float start , double direction ) { return java.lang.Math.nextAfter ( start , direction ) ; }
Source:
public void testIsAssignableFrom_plainView ( ) { android.view.View v = new android.view.View ( context ) ; assertTrue ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.view.View.class ) . matches ( v ) ) ; }

Target:
public void isAssignableFrom_plainView ( ) { android.view.View v = new android.view.View ( context ) ; org.junit.Assert.assertTrue ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.view.View.class ) . matches ( v ) ) ; }
Source:
public boolean contains ( java.lang.Object o ) { return com.google.common.collect.Maps.containsEntryImpl ( delegate ( ) , o ) ; }

Target:
public static < K , V > java.util.Map < K , java.util.Collection < V > > asMap ( com.google.common.collect.Multimap < K , V > multimap ) { return multimap.asMap ( ) ; }
Source:
public static native byte [ ] EC_GROUP_get_order ( long groupCtx ) ;

Target:
public static native long EC_POINT_new ( org.conscrypt.NativeRef.EC_GROUP groupRef ) ;
Source:
public static < T > org.junit.internal.matchers.CombinableMatcher < T > either ( org.hamcrest.Matcher < T > matcher ) { return new org.junit.internal.matchers.CombinableMatcher < T > ( matcher ) ; }

Target:
public static < T extends java.lang.Throwable > org.hamcrest.Matcher < T > isThrowable ( org.hamcrest.Matcher < T > throwableMatcher ) { return org.junit.internal.matchers.StacktracePrintingMatcher.isThrowable ( throwableMatcher ) ; }
Source:
public void visitLocalVariableTypeTableAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.CodeAttribute codeAttribute , proguard.classfile.attribute.visitor.LocalVariableTypeTableAttribute localVariableTypeTableAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { localVariableTypeTableAttribute.accept ( clazz , method , codeAttribute , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , method , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public void getVoiceRadioTechnologyResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void getAvailableBandModesResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < java.lang.Integer > bandModes ) { responseIntArrayList ( responseInfo , bandModes ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.b2296099Test ( ) ; Main.b2302318Test ( ) ; Main.b2487514Test ( ) ; Main.b5884080Test ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.b2296099Test ( ) ; Main.b2302318Test ( ) ; Main.b2487514Test ( ) ; Main.b5884080Test ( ) ; Main.zeroTest ( ) ; }
Source:
public boolean isTypeUnConditional ( ) { return ( ( serviceType ) == ( com.android.ims.ImsSsData.SS_CFU ) ) || ( ( serviceType ) == ( com.android.ims.ImsSsData.SS_CF_ALL ) ) ; }

Target:
public boolean isTypeUnConditional ( ) { return ( ( serviceType ) == ( android.telephony.ims.ImsSsData.SS_CFU ) ) || ( ( serviceType ) == ( android.telephony.ims.ImsSsData.SS_CF_ALL ) ) ; }
Source:
public org.chromium.mojo.system.Watcher getWatcher ( ) { return new org.chromium.mojo.system.impl.WatcherImpl ( ) ; }

Target:
private org.chromium.mojo.system.impl.CoreImpl.AsyncWaiterCancellableImpl newAsyncWaiterCancellableImpl ( long id , long dataPtr ) { return new org.chromium.mojo.system.impl.CoreImpl.AsyncWaiterCancellableImpl ( id , dataPtr ) ; }
Source:
public git4idea.branch.VcsCommitStyle getStyle ( int commitIndex , boolean isSelected ) { return git4idea.branch.VcsCommitStyle.foreground ( ( ! ( myNonPickedCommits.contains ( commitIndex ) ) ? com.intellij.ui.JBColor.GRAY : null ) ) ; }

Target:
public git4idea.branch.VcsCommitStyle getStyle ( int commitIndex , boolean isSelected ) { return git4idea.branch.VcsCommitStyleFactory.foreground ( ( ! ( myNonPickedCommits.contains ( commitIndex ) ) ? com.intellij.ui.JBColor.GRAY : null ) ) ; }
Source:
private void readObject ( java.io.ObjectInputStream stream ) throws java.io.IOException , java.lang.ClassNotFoundException { stream.defaultReadObject ( ) ; if ( ( digits ) == null ) { setZeroDigit ( zeroDigit ) ; } decimalBuf = new char [ 20 ] ; }

Target:
private void readObject ( java.io.ObjectInputStream stream ) throws java.io.IOException , java.lang.ClassNotFoundException { stream.defaultReadObject ( ) ; if ( ( digits ) == null ) { setZeroDigit ( zeroDigit ) ; } decimalBuf = new char [ com.ibm.icu.impl.DateNumberFormat.DECIMAL_BUF_SIZE ] ; }
Source:
public int setBluetoothA2dpDeviceConnectionState ( android.bluetooth.BluetoothDevice device , int state , int profile ) { if ( mAudioHandler.hasMessages ( com.android.server.audio.AudioService.MSG_SET_A2DP_SINK_CONNECTION_STATE , device ) ) { return 0 ; } return setBluetoothA2dpDeviceConnectionStateInt ( device , state , profile , AudioSystem.DEVICE_NONE ) ; }

Target:
public int setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent ( android.bluetooth.BluetoothDevice device , int state , int profile , boolean suppressNoisyIntent ) { if ( mAudioHandler.hasMessages ( com.android.server.audio.AudioService.MSG_SET_A2DP_SINK_CONNECTION_STATE , device ) ) { return 0 ; } return setBluetoothA2dpDeviceConnectionStateInt ( device , state , profile , suppressNoisyIntent , AudioSystem.DEVICE_NONE ) ; }
Source:
void unhold ( ) { com.android.internal.util.Preconditions.checkNotNull ( mConnectionService ) ; if ( ( mState ) == ( CallState.ON_HOLD ) ) { mConnectionService.unhold ( this ) ; com.android.server.telecom.Log.event ( this , Log.Events.REQUEST_UNHOLD ) ; } }

Target:
void unhold ( ) { com.android.internal.util.Preconditions.checkNotNull ( mConnectionService ) ; if ( ( mState ) == ( CallState.ON_HOLD ) ) { mConnectionService.unhold ( this ) ; android.telecom.Log.addEvent ( this , LogUtils.Events.REQUEST_UNHOLD ) ; } }
Source:
public int compareTo ( com.android.dx.dex.TableOfContents.Section section ) { if ( ( off ) != ( section.off ) ) { return ( off ) < ( section.off ) ? - 1 : 1 ; } return 0 ; }

Target:
public int compareTo ( com.android.dex.TableOfContents.Section section ) { if ( ( off ) != ( section.off ) ) { return ( off ) < ( section.off ) ? - 1 : 1 ; } return 0 ; }
Source:
android.net.Uri getAddress ( android.telecom.PhoneAccountHandle handle ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { if ( entry.getPhoneAccountHandle ( ) . equals ( handle ) ) { return entry.mAccount.getAddress ( ) ; } } return null ; }

Target:
android.net.Uri getAddress ( android.telecom.PhoneAccountHandle handle ) { synchronized ( mAccountsLock ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { if ( entry.getPhoneAccountHandle ( ) . equals ( handle ) ) { return entry.mAccount.getAddress ( ) ; } } } return null ; }
Source:
public static synchronized com.google.i18n.phonenumbers.PhoneNumberUtil getInstance ( ) { if ( ( com.google.i18n.phonenumbers.PhoneNumberUtil.instance ) == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.setInstance ( com.google.i18n.phonenumbers.PhoneNumberUtil.createInstance ( com.google.i18n.phonenumbers.PhoneNumberUtil.DEFAULT_METADATA_LOADER ) ) ; } return com.google.i18n.phonenumbers.PhoneNumberUtil.instance ; }

Target:
public static synchronized com.google.i18n.phonenumbers.PhoneNumberUtil getInstance ( ) { if ( ( com.google.i18n.phonenumbers.PhoneNumberUtil.instance ) == null ) { com.google.i18n.phonenumbers.PhoneNumberUtil.setInstance ( com.google.i18n.phonenumbers.PhoneNumberUtil.createInstance ( MetadataManager.DEFAULT_METADATA_LOADER ) ) ; } return com.google.i18n.phonenumbers.PhoneNumberUtil.instance ; }
Source:
public void addIncludedService ( int serverIf , int srvcType , int srvcInstanceId , android.os.ParcelUuid srvcId ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.addIncludedService ( serverIf , srvcType , srvcInstanceId , srvcId.getUuid ( ) ) ; }

Target:
public void removeService ( int serverIf , int handle ) { com.android.bluetooth.gatt.GattService service = getService ( ) ; if ( service == null ) return ; service.removeService ( serverIf , handle ) ; }
Source:
public void dispose ( ) { if ( ( mThumbnail ) != null ) { mThumbnail.dispose ( ) ; mThumbnail = null ; } if ( ( mJob ) != null ) { mJob.cancel ( ) ; mJob = null ; } }

Target:
void disposeThumbnail ( ) { if ( ( mThumbnail ) != null ) { mThumbnail.dispose ( ) ; mThumbnail = null ; } }
Source:
public com.android.sched.vfs.OutputVDir getOutputVDir ( ) { return outputVDir ; }

Target:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException { return outputVDir.createOutputVFile ( new com.android.sched.vfs.VPath ( ( ( typePath.getPathAsString ( '/' ) ) + ( com.android.jack.backend.jayce.JayceFileImporter.JAYCE_FILE_EXTENSION ) ) , '/' ) ) ; }
Source:
public void loadData ( java.lang.String data , java.lang.String mimeType , java.lang.String encoding ) { loadUrlOnUiThread ( org.chromium.content.browser.LoadUrlParams.createLoadDataParams ( com.android.webview.chromium.WebViewChromium.fixupData ( data ) , com.android.webview.chromium.WebViewChromium.fixupMimeType ( mimeType ) , com.android.webview.chromium.WebViewChromium.isBase64Encoded ( encoding ) ) ) ; }

Target:
public void loadData ( java.lang.String data , java.lang.String mimeType , java.lang.String encoding ) { loadUrlOnUiThread ( org.chromium.content_public.browser.LoadUrlParams.createLoadDataParams ( com.android.webview.chromium.WebViewChromium.fixupData ( data ) , com.android.webview.chromium.WebViewChromium.fixupMimeType ( mimeType ) , com.android.webview.chromium.WebViewChromium.isBase64Encoded ( encoding ) ) ) ; }
Source:
public void destroy ( ) { com.android.server.telecom.Log.event ( this , Log.Events.DESTROYED ) ; }

Target:
public void destroy ( ) { android.telecom.Log.addEvent ( this , LogUtils.Events.DESTROYED ) ; }
Source:
protected void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { }

Target:
protected void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { }
Source:
public void testExitProximity ( ) throws java.lang.Exception { doTestEnterProximity ( ( - 1 ) ) ; mIntentReceiver.clearReceivedIntents ( ) ; updateLocation ( 20 , 20 ) ; waitForReceiveBroadcast ( ) ; assertProximityType ( false ) ; }

Target:
public void testExitProximity ( ) throws java.lang.Exception { doTestEnterProximity ( ( - 1 ) ) ; mIntentReceiver.clearReceivedIntents ( ) ; java.lang.Thread.sleep ( 2000 ) ; updateLocation ( 20 , 20 ) ; waitForReceiveBroadcast ( ) ; assertProximityType ( false ) ; }
Source:
public static com.android.dx.rop.annotation.Annotation makeEnclosingClass ( com.android.dx.rop.cst.CstType clazz ) { com.android.dx.rop.annotation.Annotation result = new com.android.dx.rop.annotation.Annotation ( com.android.dx.dex.file.AnnotationUtils.ENCLOSING_CLASS_TYPE , SYSTEM ) ; result.put ( new com.android.dx.rop.annotation.NameValuePair ( com.android.dx.dex.file.AnnotationUtils.VALUE_STRING , clazz ) ) ; result.setImmutable ( ) ; return result ; }

Target:
public static com.android.dx.rop.annotation.Annotation makeEnclosingClass ( com.android.dx.rop.cst.CstType clazz ) { com.android.dx.rop.annotation.Annotation result = new com.android.dx.rop.annotation.Annotation ( com.android.dx.dex.file.AnnotationUtils.ENCLOSING_CLASS_TYPE , com.android.dx.rop.annotation.AnnotationVisibility.SYSTEM ) ; result.put ( new com.android.dx.rop.annotation.NameValuePair ( com.android.dx.dex.file.AnnotationUtils.VALUE_STRING , clazz ) ) ; result.setImmutable ( ) ; return result ; }
Source:
public void callSessionUpdated ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionUpdated ( imsCallProfile ) ; }

Target:
public void callSessionHandoverFailed ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mNewListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; }
Source:
public void setVariants ( com.android.build.gradle.internal.tasks.Collection < com.android.build.gradle.internal.variant.BaseVariantData > variants ) { this . variants.addAll ( variants ) ; }

Target:
public void setVariants ( @ com.android.annotations.NonNull java.util.Collection < com.android.build.gradle.internal.variant.BaseVariantData > variants ) { this . variants.addAll ( variants ) ; }
Source:
public int startSession ( android.app.PendingIntent incomingCallIntent , com.android.ims.internal.IImsRegistrationListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . startSession ( mSlotId , mSupportedFeature , incomingCallIntent , listener ) ; } }

Target:
private java.lang.Integer retrieveFeatureStatus ( ) { if ( ( mBinder ) != null ) { try { return getServiceInterface ( mBinder ) . getFeatureStatus ( mSlotId , mSupportedFeature ) ; } catch ( android.os.RemoteException e ) { } } return null ; }
Source:
public java.lang.String getHandshakeApplicationProtocol​() { return delegate.getHandshakeApplicationProtocol​(); }

Target:
public java.lang.String getHandshakeApplicationProtocol ( ) { return delegate.getHandshakeApplicationProtocol ( ) ; }
Source:
public void onPostDialContinue ( java.lang.String callId , boolean proceed ) throws android.os.RemoteException { }

Target:
public void onPostDialContinue ( java.lang.String callId , boolean proceed , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
public void wifiStartTrackingStateChange ( ) { mService.registerReceiver ( mStateChangeReceiver , mStateChangeFilter ) ; mService.registerReceiver ( mTetherStateReceiver , mTetherFilter ) ; mTrackingWifiStateChange = true ; }

Target:
public void wifiStartTrackingTetherStateChange ( ) { mService.registerReceiver ( mTetherStateReceiver , mTetherFilter ) ; mTrackingTetherStateChange = true ; }
Source:
public static com.android.ide.eclipse.adt.internal.wizards.newxmlfile.ResourceNameValidator create ( boolean allowXmlExtension , com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType type ) { boolean isFileType = type != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ; return new com.android.ide.eclipse.adt.internal.wizards.newxmlfile.ResourceNameValidator ( allowXmlExtension , null , isFileType ) ; }

Target:
public static com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator create ( boolean allowXmlExtension , com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType type ) { boolean isFileType = type != ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolderType.VALUES ) ; return new com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator ( allowXmlExtension , null , isFileType ) ; }
Source:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; scheduleMediaUpdate ( ) ; }

Target:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "onMetadataChanged" ) ; updateCurrentMediaState ( false ) ; }
Source:
public void testNoWarningBeforeBuild ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestWrongRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" ) ) ; }

Target:
public void testOkLibraries ( ) throws java.lang.Exception { mScopes = null ; mEnabled = com.google.common.collect.Sets.newHashSet ( com.android.tools.lint.checks.MissingClassDetector.MISSING , com.android.tools.lint.checks.MissingClassDetector.INSTANTIATABLE , com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ; assertEquals ( "No warnings." , lintProject ( "bytecode/AndroidManifestRegs.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "bytecode/classes.jar=>libs/classes.jar" ) ) ; }
Source:
public void stop ( ) { mRetryCounter = 0 ; mHandler.removeCallbacks ( mRunnable ) ; }

Target:
public void start ( ) { mRetryCounter = 0 ; mCurrentDelayMs = mStartDelayMs ; mHandlerAdapter.removeCallbacks ( mRunnable ) ; mHandlerAdapter.postDelayed ( mRunnable , mCurrentDelayMs ) ; }
Source:
public E next ( ) { if ( hasNext ( ) ) return it.next ( ) ; else throw new java.util.NoSuchElementException ( ) ; }

Target:
public E previous ( ) { if ( ( index ) > ( from ) ) { return ( ( E ) ( snapshot [ ( -- ( index ) ) ] ) ) ; } else { throw new java.util.NoSuchElementException ( ) ; } }
Source:
public void testDeleteSdcardRetainData ( ) { deleteFromRawResource ( PackageManager.INSTALL_EXTERNAL , PackageManager.DONT_DELETE_DATA ) ; }

Target:
public void testDeleteSdcardRetainData ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } deleteFromRawResource ( PackageManager.INSTALL_EXTERNAL , PackageManager.DONT_DELETE_DATA ) ; }
Source:
public boolean containsAll ( java.util.Collection < ? > collection ) { for ( java.lang.Object element : collection ) { if ( ! ( contains ( element ) ) ) { return false ; } } return true ; }

Target:
public boolean remove ( java.lang.Object element ) { return ( contains ( element ) ) && ( unfiltered.remove ( element ) ) ; }
Source:
private void enforceModifyPermissionOrCarrierPrivilege ( int subId ) { int permission = mApp.checkCallingOrSelfPermission ( android.Manifest.permission.MODIFY_PHONE_STATE ) ; if ( permission == ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { return ; } com.android.phone.PhoneInterfaceManager.log ( "No modify permission, check carrier privilege next." ) ; enforceCarrierPrivilege ( subId ) ; }

Target:
public int getSubscriptionCarrierId ( int subId ) { final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; return phone == null ? android.telephony.TelephonyManager.UNKNOWN_CARRIER_ID : phone.getCarrierId ( ) ; }
Source:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; props.setProperty ( PkgProps.PKG_MAJOR_REV , java.lang.Integer.toString ( mRevision.getMajor ( ) ) ) ; }

Target:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; props.setProperty ( PkgProps.PKG_REVISION , mRevision.toString ( ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; android.net.ConnectivityManager mCM = getContext ( ) . getSystemService ( android.net.ConnectivityManager.class ) ; mNetwork = mCM.getActiveNetwork ( ) ; }

Target:
public void setUp ( ) throws java.lang.Exception { mNetwork = new android.net.Network ( ConnectivityManager.NETID_UNSET ) ; mServer = new android.net.SntpClientTest.SntpTestServer ( ) ; mClient = new android.net.SntpClient ( ) ; }
Source:
public final void scheduleSleeping ( android.os.IBinder token , boolean sleeping ) { queueOrSendMessage ( android.app.ActivityThread.H.SLEEPING , token , ( sleeping ? 1 : 0 ) ) ; }

Target:
public final void scheduleSleeping ( android.os.IBinder token , boolean sleeping ) { sendMessage ( android.app.ActivityThread.H.SLEEPING , token , ( sleeping ? 1 : 0 ) ) ; }
Source:
public void onClick ( android.view.View view ) { delegate.swapSimClicked ( ) ; }

Target:
public void onClick ( android.view.View view ) { android.graphics.drawable.AnimationDrawable drawable = ( ( android.graphics.drawable.AnimationDrawable ) ( button.getIconDrawable ( ) ) ) ; drawable.stop ( ) ; drawable.start ( ) ; delegate.swapSimClicked ( ) ; }
Source:
public java.lang.String getVersionNameFromManifest ( ) { java.io.File manifestLocation = mDefaultSourceProvider.getManifestFile ( ) ; return com.android.builder.core.VariantConfiguration.sManifestParser.getVersionName ( manifestLocation ) ; }

Target:
public java.lang.String getVersionNameFromManifest ( ) { java.io.File manifestLocation = mDefaultSourceProvider.getManifestFile ( ) ; return sManifestParser.getVersionName ( manifestLocation ) ; }
Source:
public java.lang.String getSettingsValue ( ) { final android.content.ContentResolver resolver = mContext.getContentResolver ( ) ; return Settings.Global.getString ( resolver , android.provider.Settings.Global.NETWORK_AVOID_BAD_WIFI ) ; }

Target:
public java.lang.String getSettingsValue ( ) { return Settings.Global.getString ( mResolver , android.provider.Settings.Global.NETWORK_AVOID_BAD_WIFI ) ; }
Source:
public boolean isDirty ( android.content.Context appContext ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; return ! ( com.android.dialer.storage.StorageComponent.get ( appContext ) . unencryptedSharedPrefs ( ) . contains ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED ) ) ; }

Target:
private boolean isDirtyInternal ( android.content.Context appContext ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; return ! ( com.android.dialer.storage.StorageComponent.get ( appContext ) . unencryptedSharedPrefs ( ) . contains ( com.android.dialer.calllog.datasources.systemcalllog.SystemCallLogDataSource.PREF_LAST_TIMESTAMP_PROCESSED ) ) ; }
Source:
public void testDataPathResponderNoConfirmationTimeoutFail ( ) throws java.lang.Exception { testDataPathInitiatorUtility ( false , true , true , false ) ; }

Target:
public void testDataPathResponderNoConfirmationTimeoutFail ( ) throws java.lang.Exception { testDataPathResponderUtility ( false , true , true , false ) ; }
Source:
private com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor createElement ( java.lang.String xmlName ) { return createElement ( xmlName , null , false ) ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor createElement ( java.lang.String xmlName ) { return createElement ( xmlName , null , Mandatory.NOT_MANDATORY ) ; }
Source:
public V getValue ( ) { return node.value ; }

Target:
public java.util.List < java.util.Map.Entry < K , V > > entries ( ) { return ( ( java.util.List < java.util.Map.Entry < K , V > > ) ( super . entries ( ) ) ) ; }
Source:
public abstract int getSerializedSize ( ) ;

Target:
public int getSerializedSize ( ) { cachedSize = 0 ; return 0 ; }
Source:
public com.android.tools.perflib.heap.Heap setToDefaultHeap ( ) { return setHeapTo ( 0 , "default" ) ; }

Target:
public com.android.tools.perflib.heap.Heap setToDefaultHeap ( ) { return setHeapTo ( com.android.tools.perflib.heap.Snapshot.DEFAULT_HEAP_ID , "default" ) ; }
Source:
public static native long EVP_PKEY_new_DH ( byte [ ] p , byte [ ] g , byte [ ] pub_key , byte [ ] priv_key ) ;

Target:
public static native void EVP_PKEY_CTX_set_rsa_padding ( long ctx , int pad ) ;
Source:
boolean isValid ( java.lang.String value ) { return android.icu.impl.locale.KeyTypeData.CodepointsTypeHandler.pat.matcher ( value ) . matches ( ) ; }

Target:
boolean isWellFormed ( java.lang.String value ) { return android.icu.impl.locale.KeyTypeData.CodepointsTypeHandler.pat.matcher ( value ) . matches ( ) ; }
Source:
public java.util.Set < java.io.File > getJniDirectories ( ) { return java.util.Collections.singleton ( new java.io.File ( mRoot , "jni" ) ) ; }

Target:
public java.util.Set < java.io.File > getCDirectories ( ) { return java.util.Collections.singleton ( new java.io.File ( mRoot , "jni" ) ) ; }
Source:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }

Target:
java.io.OutputStream openWrite ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) throws com.android.sched.util.file.WrongPermissionException { return openWrite ( file , false ) ; }
Source:
public void addMatrix ( android.support.v8.renderscript.Matrix3f v ) { mN.addMatrix ( new android.support.v8.renderscript.Matrix3f ( v.getArray ( ) ) ) ; }

Target:
public void addMatrix ( android.support.v8.renderscript.Matrix3f v ) { mN.addMatrix ( new android.support.v8.renderscript.Matrix3f ( v.getArray ( ) ) ) ; mPos += ( 3 * 3 ) * 4 ; }
Source:
org.eclipse.core.resources.IProject getProject ( ) { if ( ( mChooseAssetPage ) != null ) { return mChooseAssetPage.getProject ( ) ; } else { return mInitialProject ; } }

Target:
public void addPages ( ) { mValues.project = mInitialProject ; mChooseAssetPage = new com.android.ide.eclipse.adt.internal.assetstudio.ChooseAssetTypePage ( mValues ) ; mConfigureAssetPage = new com.android.ide.eclipse.adt.internal.assetstudio.ConfigureAssetSetPage ( mValues ) ; addPage ( mChooseAssetPage ) ; addPage ( mConfigureAssetPage ) ; }
Source:
public com.android.internal.telephony.ims.IsimRecords getIsimRecords ( ) { android.util.Log.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "getIsimRecords() is only supported on LTE devices" ) ; return null ; }

Target:
public com.android.internal.telephony.ims.IsimRecords getIsimRecords ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , "getIsimRecords() is only supported on LTE devices" ) ; return null ; }
Source:
private void writeCharacteristic ( android.bluetooth.BluetoothGattCharacteristic characteristic , java.lang.String writeValue ) { if ( characteristic != null ) { characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; } }

Target:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.CHARACTERISTIC_UUID ) ; if ( characteristic == null ) return ; characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; }
Source:
public void annotateTo ( com.android.jack.dx.dex.file.DexFile file , com.android.jack.dx.util.AnnotatedOutput out , java.lang.String prefix ) { throw new java.lang.RuntimeException ( "unsupported" ) ; }

Target:
public void annotateTo ( com.android.jack.dx.dex.file.DexFile file , com.android.jack.dx.util.AnnotatedOutput out , java.lang.String prefix ) { out.annotate ( " debug info not available (imported)" ) ; }
Source:
public android.view.CompatibilityInfoHolder getCompatibilityInfo ( int displayId ) { return displayId == ( android.view.Display.DEFAULT_DISPLAY ) ? mPackageInfo.mCompatibilityInfo : null ; }

Target:
public android.view.DisplayAdjustments getDisplayAdjustments ( int displayId ) { return mDisplayAdjustments ; }
Source:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; zoom = model.getZoom ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; zoom = model.getZoom ( ) ; overlayImage = model.getOverlayImage ( ) ; } }
Source:
public int getSubId ( ) { return com.android.internal.telephony.SubscriptionController.getInstance ( ) . getSubIdUsingPhoneId ( mPhoneId ) ; }

Target:
public int getSubId ( ) { if ( ( com.android.internal.telephony.SubscriptionController.getInstance ( ) ) == null ) { android.telephony.Rlog.e ( com.android.internal.telephony.Phone.LOG_TAG , "SubscriptionController.getInstance = null! Returning default subId" ) ; return android.telephony.SubscriptionManager.DEFAULT_SUBSCRIPTION_ID ; } return com.android.internal.telephony.SubscriptionController.getInstance ( ) . getSubIdUsingPhoneId ( mPhoneId ) ; }
Source:
public boolean password ( java.lang.String password ) { return password ( android.security.KeyStore.getPasswordBytes ( password ) ) ; }

Target:
public boolean password ( java.lang.String password ) { try { return ( mBinder.password ( password ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
private void waitForStagedStatus ( java.lang.String requiredStatus , java.lang.String versionString ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.waitForCondition ( ( ) -> isStagedStatus ( requiredStatus , versionString ) ) ; }

Target:
private void waitForStagedUninstall ( ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.waitForCondition ( ( ) -> isStagedUninstall ( ) ) ; }
Source:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return libcore.reflect.AnnotationAccess.getParameterAnnotations ( declaringClassOfOverriddenMethod , dexMethodIndex ) ; }

Target:
private native java.lang.annotation.Annotation [ ] [ ] getParameterAnnotationsNative ( ) ;
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = 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:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
void unregisterAdvertiser ( int advertiserId ) { mAdvertiseNative.unregisterAdvertiserNative ( advertiserId ) ; }

Target:
void unregisterAdvertiser ( int advertiserId ) { com.android.bluetooth.gatt.AdvertiseClient client = getAdvertiseClient ( advertiserId ) ; if ( ( client != null ) && ( mAdvertiseClients.contains ( client ) ) ) { mAdvertiseClients.remove ( client ) ; } mAdvertiseNative.unregisterAdvertiserNative ( advertiserId ) ; }
Source:
public void onTargetLoaded ( com.android.sdklib.IAndroidTarget target ) { org.eclipse.core.resources.IProject project = getProject ( ) ; if ( ( target != null ) && ( target.equals ( com.android.ide.eclipse.adt.internal.sdk.Sdk.getCurrent ( ) . getTarget ( project ) ) ) ) { updateEditor ( ) ; } }

Target:
public void onTargetLoaded ( com.android.sdklib.IAndroidTarget loadedTarget ) { com.android.sdklib.IAndroidTarget target = getRenderingTarget ( ) ; if ( ( target != null ) && ( target.equals ( loadedTarget ) ) ) { updateEditor ( ) ; } }
Source:
public java.lang.String [ ] getPeerSupportedSignatureAlgorithms ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public java.lang.String [ ] getPeerSupportedSignatureAlgorithms ( ) { return new java.lang.String [ ] { "SHA1withRSA" , "SHA1withECDSA" } ; }
Source:
public void deleteSmsOnRuimResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getCDMASubscriptionResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String mdn , java.lang.String hSid , java.lang.String hNid , java.lang.String min , java.lang.String prl ) { responseStrings ( responseInfo , mdn , hSid , hNid , min , prl ) ; }
Source:
public boolean accept ( java.io.File pathname ) { return ! ( pathname.getName ( ) . startsWith ( extractedFilePrefix ) ) ; }

Target:
public boolean accept ( java.io.File pathname ) { java.lang.String name = pathname.getName ( ) ; return ! ( ( name.startsWith ( extractedFilePrefix ) ) || ( name.equals ( android.support.multidex.MultiDexExtractor.LOCK_FILENAME ) ) ) ; }
Source:
public boolean finishConnect ( ) throws java.io.IOException { return false ; }

Target:
public boolean isConnected ( ) { return false ; }
Source:
public void addStaticField ( com.android.tools.perflib.heap.Type type , java.lang.String name , com.android.tools.perflib.heap.Value value ) { mStaticFields.put ( new com.android.tools.perflib.heap.Field ( type , name ) , value ) ; }

Target:
java.lang.Object getStaticField ( com.android.tools.perflib.heap.Type type , java.lang.String name ) { return getStaticFieldValues ( ) . get ( new com.android.tools.perflib.heap.Field ( type , name ) ) ; }
Source:
public com.android.ide.common.blame.SourcePosition getPosition ( @ com.android.annotations.NonNull org.w3c.dom.Node node ) { return getPosition ( node , ( - 1 ) , ( - 1 ) ) ; }

Target:
public static com.android.ide.common.blame.SourcePosition getPosition ( @ com.android.annotations.NonNull org.w3c.dom.Node node ) { return com.android.utils.PositionXmlParser.getPosition ( node , ( - 1 ) , ( - 1 ) ) ; }
Source:
public void realRun ( ) throws java.lang.InterruptedException { threadStarted.countDown ( ) ; assertEquals ( 1 , p.getPoolSize ( ) ) ; done.await ( ) ; }

Target:
public void realRun ( ) throws java.lang.InterruptedException { threadStarted.countDown ( ) ; assertEquals ( 0 , p.getCompletedTaskCount ( ) ) ; threadProceed.await ( ) ; threadDone.countDown ( ) ; }
Source:
public void supplyPuk2 ( java.lang.String puk2 , java.lang.String newPin2 , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPuk2 ( puk2 , newPin2 , onComplete ) ; } }

Target:
public void supplyPin ( java.lang.String pin , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPinForApp ( pin , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_PIN1_PUK1_DONE , onComplete ) ) ; } }
Source:
public java.lang.String getMsisdn ( ) { return mIccRecords.getMsisdnNumber ( ) ; }

Target:
protected void unregisterForRuimRecordEvents ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r == null ) { return ; } r.unregisterForNewSms ( this ) ; super . unregisterForRuimRecordEvents ( ) ; }
Source:
private static void verifySingleScanCompletedRecieved ( org.mockito.InOrder order , android.os.Handler handler , int listenerId ) { android.os.Message completedMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_SINGLE_SCAN_COMPLETED ) ; com.android.server.wifi.scanner.WifiScanningServiceTest.assertSingleScanCompletedMessage ( listenerId , completedMessage ) ; }

Target:
private static void verifySingleScanCompletedReceived ( org.mockito.InOrder order , android.os.Handler handler , int listenerId ) { android.os.Message completedMessage = com.android.server.wifi.scanner.WifiScanningServiceTest.verifyHandleMessageAndGetMessage ( order , handler , WifiScanner.CMD_SINGLE_SCAN_COMPLETED ) ; com.android.server.wifi.scanner.WifiScanningServiceTest.assertSingleScanCompletedMessage ( listenerId , completedMessage ) ; }
Source:
public boolean get ( ) { android.net.NetworkCapabilities.NetworkCapabilities caps = mCm.getNetworkCapabilities ( getNetwork ( ) ) ; return ( caps != null ) && ( caps.hasCapability ( com.android.server.NET_CAPABILITY_CAPTIVE_PORTAL ) ) ; }

Target:
public android.os.ConditionVariable getPreventReconnectReceived ( ) { return mPreventReconnectReceived ; }
Source:
void cleanup ( ) { if ( ( com.android.bluetooth.btservice.RemoteDevices.mSdpTracker ) != null ) com.android.bluetooth.btservice.RemoteDevices.mSdpTracker.clear ( ) ; if ( ( mDevices ) != null ) mDevices.clear ( ) ; if ( ( mDeviceQueue ) != null ) mDeviceQueue.clear ( ) ; }

Target:
void reset ( ) { if ( ( com.android.bluetooth.btservice.RemoteDevices.mSdpTracker ) != null ) com.android.bluetooth.btservice.RemoteDevices.mSdpTracker.clear ( ) ; if ( ( mDevices ) != null ) mDevices.clear ( ) ; if ( ( mDeviceQueue ) != null ) mDeviceQueue.clear ( ) ; }
Source:
void clearClientList ( ) { synchronized ( mClients ) { mClients.clear ( ) ; } }

Target:
public java.lang.String getClientName ( int pid ) { return mClientInfo.get ( java.lang.Integer.valueOf ( pid ) ) ; }
Source:
public void setError ( int code , java.lang.String msg ) { returnCode = code ; returnMsg = msg ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg ) ; }

Target:
public void setError ( int code , java.lang.String msg ) { setReturnCode ( code ) ; setReturnMessage ( msg ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg ) ; }
Source:
public static native java.lang.String toUpperCase ( java.lang.String s , java.lang.String localeName ) ;

Target:
private static native java.lang.String getDisplayCountryNative ( java.lang.String targetLanguageTag , java.lang.String languageTag ) ;
Source:
public void testNotifyOtaspChanged ( ) throws java.lang.Exception { mDefaultPhoneNotifierUT.notifyOtaspChanged ( mPhone , ServiceStateTracker.OTASP_NEEDED ) ; org.mockito.Mockito.verify ( mTelephonyRegisteryMock ) . notifyOtaspChanged ( ServiceStateTracker.OTASP_NEEDED ) ; mDefaultPhoneNotifierUT.notifyOtaspChanged ( mPhone , ServiceStateTracker.OTASP_UNKNOWN ) ; org.mockito.Mockito.verify ( mTelephonyRegisteryMock ) . notifyOtaspChanged ( ServiceStateTracker.OTASP_UNKNOWN ) ; }

Target:
public void testNotifyOtaspChanged ( ) throws java.lang.Exception { mDefaultPhoneNotifierUT.notifyOtaspChanged ( mPhone , TelephonyManager.OTASP_NEEDED ) ; org.mockito.Mockito.verify ( mTelephonyRegisteryMock ) . notifyOtaspChanged ( TelephonyManager.OTASP_NEEDED ) ; mDefaultPhoneNotifierUT.notifyOtaspChanged ( mPhone , TelephonyManager.OTASP_UNKNOWN ) ; org.mockito.Mockito.verify ( mTelephonyRegisteryMock ) . notifyOtaspChanged ( TelephonyManager.OTASP_UNKNOWN ) ; }
Source:
private void onDeviceProvisionedChange ( ) { if ( getDataEnabled ( ) ) { mDataEnabledSettings.setUserDataEnabled ( true ) ; teardownRestrictedMeteredConnections ( ) ; onTrySetupData ( Phone.REASON_DATA_ENABLED ) ; } else { mDataEnabledSettings.setUserDataEnabled ( false ) ; onCleanUpAllConnections ( Phone.REASON_DATA_SPECIFIC_DISABLED ) ; } }

Target:
private void onDeviceProvisionedChange ( ) { if ( getDataEnabled ( ) ) { mDataEnabledSettings.setUserDataEnabled ( true ) ; reevaluateDataConnections ( ) ; onTrySetupData ( Phone.REASON_DATA_ENABLED ) ; } else { mDataEnabledSettings.setUserDataEnabled ( false ) ; onCleanUpAllConnections ( Phone.REASON_DATA_SPECIFIC_DISABLED ) ; } }
Source:
protected java.lang.String getCapitalizedBuildTypeName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getBuildType ( ) . getName ( ) ) ; }

Target:
public java.lang.String getPackageName ( ) { return variantConfiguration.getApplicationId ( ) ; }
Source:
public final void activityIdle ( android.os.IBinder token , android.content.res.Configuration config ) { final long origId = android.os.Binder.clearCallingIdentity ( ) ; activityIdleInternal ( token , false , config ) ; android.os.Binder.restoreCallingIdentity ( origId ) ; }

Target:
public final void activityIdle ( android.os.IBinder token , android.content.res.Configuration config ) { final long origId = android.os.Binder.clearCallingIdentity ( ) ; mMainStack.activityIdleInternal ( token , false , config ) ; android.os.Binder.restoreCallingIdentity ( origId ) ; }
Source:
public static native int EVP_DigestFinal ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] hash , int offset ) ;

Target:
public static native int EVP_DigestFinal_ex ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] hash , int offset ) ;
Source:
public java.lang.String getName ( ) { return java.lang.reflect.ArtMethod.getMethodName ( artMethod ) ; }

Target:
public java.lang.String getName ( ) { java.lang.reflect.ArtMethod nonProxyMethod = java.lang.Class.findOverriddenMethodIfProxy ( artMethod ) ; return java.lang.reflect.ArtMethod.getMethodName ( nonProxyMethod ) ; }
Source:
public int inverseTranslate ( int screenX ) { return ( ( int ) ( ( ( screenX - ( IMAGE_MARGIN ) ) + ( mTranslate ) ) / ( mScale ) ) ) ; }

Target:
public int inverseTranslate ( int screenX ) { return ( ( int ) ( ( ( screenX - ( mMargin ) ) + ( mTranslate ) ) / ( mScale ) ) ) ; }
Source:
protected boolean addFile ( com.intellij.openapi.vfs.VirtualFile file ) { if ( file.isDirectory ( ) ) return false ; myFiles.add ( file ) ; return true ; }

Target:
protected boolean addFile ( com.intellij.openapi.vfs.VirtualFile file ) { if ( ( file instanceof com.intellij.openapi.vfs.newvfs.impl.StubVirtualFile ) || ( file.isDirectory ( ) ) ) return false ; myFiles.add ( file ) ; return true ; }
Source:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleServerService.CHARACTERISTIC_UUID ) ; if ( characteristic != null ) return ; characteristic.setValue ( writeValue ) ; }

Target:
private void notifyAdvertiseUnsupported ( ) { if ( com.android.cts.verifier.bluetooth.BleServerService.DEBUG ) { android.util.Log.d ( com.android.cts.verifier.bluetooth.BleServerService.TAG , "notifyAdvertiseUnsupported" ) ; } android.content.Intent intent = new android.content.Intent ( com.android.cts.verifier.bluetooth.BleServerService.BLE_ADVERTISE_UNSUPPORTED ) ; sendBroadcast ( intent ) ; }
Source:
private boolean upgradeAudioFocus ( ) { return ( mAudioManager.requestAudioFocus ( mAudioFocusListener , AudioManager.STREAM_MUSIC , AudioManager.AUDIOFOCUS_GAIN ) ) == ( android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED ) ; }

Target:
private int requestAudioFocus ( ) { int focusRequestStatus = mAudioManager.requestAudioFocus ( mAudioFocusListener , AudioManager.STREAM_MUSIC , AudioManager.AUDIOFOCUS_GAIN ) ; if ( focusRequestStatus == ( android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED ) ) { startAvrcpUpdates ( ) ; startFluorideStreaming ( ) ; mAudioFocus = android.media.AudioManager.AUDIOFOCUS_GAIN ; } return focusRequestStatus ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , long [ ] data ) { validateIsInt64 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; copyTo ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public boolean isConnected ( int callSessionType , int callType ) { return false ; }

Target:
public boolean queryCapabilityConfiguration ( @ android.telephony.ims.internal.feature.MmTelFeature.MmTelCapabilities.MmTelCapability int capability , @ android.telephony.ims.internal.stub.ImsRegistrationImplBase.ImsRegistrationTech int radioTech ) { return false ; }
Source:
public com.android.ims.internal.IImsConfig getConfigInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getConfigInterface ( mSlotId , mSupportedFeature ) ; } }

Target:
public com.android.ims.internal.IImsCallSession getPendingCallSession ( int sessionId , java.lang.String callId ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getPendingCallSession ( mSlotId , mSupportedFeature , sessionId , callId ) ; } }
Source:
public void setCarrierInfoForImsiEncryption ( java.security.PublicKey publicKey , java.lang.String keyIdentifier , android.os.Message result ) { }

Target:
public void setCarrierInfoForImsiEncryption ( android.telephony.ImsiEncryptionInfo imsiEncryptionInfo , android.os.Message result ) { }
Source:
private final void moveTaskBackwardsLocked ( int task ) { android.util.Log.e ( com.android.server.am.ActivityManagerService.TAG , "moveTaskBackwards not yet implemented!" ) ; }

Target:
private final void moveTaskBackwardsLocked ( int task ) { android.util.Slog.e ( com.android.server.am.ActivityManagerService.TAG , "moveTaskBackwards not yet implemented!" ) ; }
Source:
public static void loop6 ( boolean incoming ) { while ( true ) { java.lang.System.out.println ( incoming ) ; while ( ( java.lang.Runtime.getRuntime ( ) ) != null ) { } } }

Target:
public static void loop7 ( boolean incoming ) { while ( ( java.lang.Runtime.getRuntime ( ) ) != null ) { java.lang.System.out.println ( incoming ) ; while ( incoming ) { } java.lang.System.nanoTime ( ) ; } }
Source:
public android.telephony.mbms.DownloadStatus getDownloadStatus ( java.lang.String appName , android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { return null ; }

Target:
public java.util.List < android.telephony.mbms.DownloadRequest > listPendingDownloads ( java.lang.String appName , int subscriptionId ) throws android.os.RemoteException { return null ; }
Source:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = mEmptyNowPlayingList ; mMediaInterface = null ; mLastTrackIdSent = android.media.session.MediaSession.QueueItem.UNKNOWN_ID ; }

Target:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = mEmptyNowPlayingList ; mMediaInterface = null ; mLastTrackIdSent = android.media.session.MediaSession.QueueItem.UNKNOWN_ID ; mNowPlayingListUpdated = false ; }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor putShort ( short data ) { mTlvImpl.putShort ( 0 , data ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor putShort ( short data ) { mTlvImpl.putShort ( 0 , data ) ; return this ; }
Source:
public int registerStateCallback ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.DownloadStateCallback listener ) throws android.os.RemoteException { return android.telephony.mbms.MbmsErrors.SUCCESS ; }

Target:
public int download ( android.telephony.mbms.DownloadRequest downloadRequest ) { mReceivedRequests.add ( downloadRequest ) ; return android.telephony.mbms.MbmsErrors.SUCCESS ; }
Source:
public void run ( ) { goBackOrForward ( steps ) ; }

Target:
public java.lang.Boolean call ( ) { return canGoBackOrForward ( steps ) ; }
Source:
static double $opt$IntToDouble ( int a ) { return ( ( double ) ( a ) ) ; }

Target:
static double $opt$IntToDouble ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }