auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private static synchronized void clearHidService ( ) { com.android.bluetooth.hid.HidService.sHidService = null ; }

Target:
private static synchronized void clearHidHostService ( ) { com.android.bluetooth.hid.HidHostService.sHidHostService = null ; }
Source:
public java.io.File [ ] getDefaultBootClasspath ( ) { return new java.io.File [ ] { new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , "jack-tests/libs/core-stubs-mini.jar" ) , new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , "jack-tests/libs/junit4.jar" ) } ; }

Target:
public java.io.File [ ] getDefaultBootClasspath ( ) { return new java.io.File [ ] { new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/prebuilts/core-stubs-mini.jar" ) , new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack-tests/libs/junit4.jar" ) } ; }
Source:
public boolean onClick ( ) { com.android.dialer.clipboard.ClipboardUtils.copyText ( context , null , originalNumber , true ) ; return false ; }

Target:
public boolean onClick ( ) { com.android.dialer.clipboard.ClipboardUtils.copyText ( context , null , normalizedNumber , true ) ; return false ; }
Source:
static long $opt$ByteToLong ( byte a ) { return ( ( long ) ( a ) ) ; }

Target:
static char $opt$IntToChar ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.IincInsnNode ( var , incr ) ; }

Target:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.IincInsnNode ( var , incr ) . cloneAnnotations ( this ) ; }
Source:
public static int ReturnIntMax ( ) { float imm = Main.$inline$float ( 1.0E34F ) ; return ( ( int ) ( imm ) ) ; }

Target:
public static double ReturnDouble34 ( ) { long imm = 34L ; return ( ( double ) ( imm ) ) ; }
Source:
boolean setUuids ( android.os.ParcelUuid [ ] uuids ) { synchronized ( mObject ) { return mService.setAdapterPropertyNative ( AbstractionLayer.BT_PROPERTY_UUIDS , com.android.bluetooth.Utils.uuidsToByteArray ( uuids ) ) ; } }

Target:
boolean setBluetoothClass ( byte [ ] bytes ) { synchronized ( mObject ) { return mService.setAdapterPropertyNative ( AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE , bytes ) ; } }
Source:
public void activateSmsFilter ( ) { com.android.dialer.common.Assert.checkArgument ( isValid ( ) ) ; com.android.voicemail.impl.TelephonyMangerCompat.setVisualVoicemailSmsFilterSettings ( context , getPhoneAccountHandle ( ) , new android.telephony.VisualVoicemailSmsFilterSettings.Builder ( ) . setClientPrefix ( getClientPrefix ( ) ) . build ( ) ) ; }

Target:
public void activateSmsFilter ( ) { com.android.dialer.common.Assert.checkArgument ( isValid ( ) ) ; context.getSystemService ( android.telephony.TelephonyManager.class ) . createForPhoneAccountHandle ( getPhoneAccountHandle ( ) ) . setVisualVoicemailSmsFilterSettings ( new android.telephony.VisualVoicemailSmsFilterSettings.Builder ( ) . setClientPrefix ( getClientPrefix ( ) ) . build ( ) ) ; }
Source:
public void replaceFile ( org.eclipse.core.resources.IFile file ) { mEditedFile = file ; mConfigComposite.replaceFile ( mEditedFile ) ; }

Target:
public void replaceFile ( org.eclipse.core.resources.IFile file ) { mEditedFile = file ; mConfigComposite.replaceFile ( mEditedFile ) ; computeSdkVersion ( ) ; }
Source:
public java.util.Map < java.lang.String , java.lang.String > getPostParams ( ) { java.util.Map < java.lang.String , java.lang.String > result = new java.util.HashMap < java.lang.String , java.lang.String > ( ) ; result.put ( "requestpost" , "foo" ) ; return result ; }

Target:
public java.util.Map < java.lang.String , java.lang.String > getParams ( ) { java.util.Map < java.lang.String , java.lang.String > result = new java.util.HashMap < java.lang.String , java.lang.String > ( ) ; result.put ( "requestpost" , "foo" ) ; return result ; }
Source:
public static boolean isApkPath ( java.lang.String path ) { return path.endsWith ( ".apk" ) ; }

Target:
public static boolean isApkPath ( java.lang.String path ) { return path.endsWith ( android.content.pm.PackageParser.APK_FILE_EXTENSION ) ; }
Source:
public boolean addToBlacklist ( java.lang.String bssid ) { if ( android.text.TextUtils.isEmpty ( bssid ) ) return false ; return doBooleanCommand ( ( "BLACKLIST " + bssid ) ) ; }

Target:
public boolean setBluetoothCoexistenceMode ( int mode ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setBtCoexistenceMode ( ( ( byte ) ( mode ) ) ) ; } else { return doBooleanCommand ( ( "DRIVER BTCOEXMODE " + mode ) ) ; } }
Source:
public void copyTo ( long [ ] d ) { validateIsInt64 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; copyTo ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public java.lang.String getSysroot ( org.gradle.nativeplatform.platform.Platform platform ) { return ( ( ( ( ndkDirectory ) + "/platforms/" ) + ( ndkExtension.getCompileSdkVersion ( ) ) ) + "/arch-" ) + ( com.android.build.gradle.ndk.internal.NdkHandler.ARCHITECTURE_STRING.get ( platform.getName ( ) ) ) ; }

Target:
public java.lang.String getSysroot ( org.gradle.nativeplatform.platform.NativePlatform platform ) { return ( ( ( ( ndkDirectory ) + "/platforms/" ) + ( ndkExtension.getCompileSdkVersion ( ) ) ) + "/arch-" ) + ( com.android.build.gradle.ndk.internal.NdkHandler.ARCHITECTURE_STRING.get ( platform.getName ( ) ) ) ; }
Source:
public void onActionClick ( long actionId ) { if ( actionId == ( com.android.tv.dvr.ui.DvrStopRecordingFragment.ACTION_STOP ) ) { com.android.tv.dvr.ScheduledRecording currentRecording = mDvrManager.getCurrentRecording ( currentChannel.getId ( ) ) ; if ( currentRecording != null ) { mDvrManager.stopRecording ( currentRecording ) ; } } }

Target:
public void onActionClick ( long actionId ) { if ( actionId == ( com.android.tv.dvr.ui.DvrStopRecordingFragment.ACTION_STOP ) ) { com.android.tv.dvr.data.ScheduledRecording currentRecording = mDvrManager.getCurrentRecording ( currentChannel.getId ( ) ) ; if ( currentRecording != null ) { mDvrManager.stopRecording ( currentRecording ) ; } } }
Source:
public com.android.build.gradle.internal.scope.AndroidTask getJacocoIntrumentTask ( ) { return jacocoIntrumentTask ; }

Target:
public com.android.build.gradle.internal.scope.AndroidTask < com.android.build.gradle.tasks.MergeAssets > getMergeAssetsTask ( ) { return mergeAssetsTask ; }
Source:
public synchronized void setOnInfoListener ( android.drm.DrmManagerClient.OnInfoListener infoListener ) { if ( null != infoListener ) { mOnInfoListener = infoListener ; } }

Target:
public synchronized void setOnInfoListener ( android.drm.DrmManagerClient.OnInfoListener infoListener ) { mOnInfoListener = infoListener ; if ( null != infoListener ) { createListeners ( ) ; } }
Source:
private void assertVerified ( java.lang.String apkFilenameInResources , java.lang.Integer minSdkVersionOverride ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( apkFilenameInResources , minSdkVersionOverride ) ) ; }

Target:
private ApkVerifier.Result verifyForMaxSdkVersion ( java.lang.String apkFilenameInResources , int maxSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null , maxSdkVersion ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; server = new com.google.mockwebserver.MockWebServer ( ) ; hostName = server.getHostName ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; server = new com.google.mockwebserver.MockWebServer ( ) ; hostName = server.getHostName ( ) ; testSSLContextsToClose = new java.util.ArrayList < > ( ) ; }
Source:
public boolean requestRouteToHost ( int networkType , int hostAddress ) { try { return mService.requestRouteToHost ( networkType , hostAddress ) ; } catch ( android.os.RemoteException e ) { return false ; } }

Target:
public boolean requestRouteToHost ( int networkType , int hostAddress ) { java.net.InetAddress inetAddress = android.net.NetworkUtils.intToInetAddress ( hostAddress ) ; if ( inetAddress == null ) { return false ; } return requestRouteToHostAddress ( networkType , inetAddress ) ; }
Source:
public proguard.evaluation.value.LongValue subtract ( proguard.evaluation.value.SpecificLongValue other ) { return this . equals ( other ) ? SpecificValueFactory.LONG_VALUE_0 : new proguard.evaluation.value.CompositeLongValue ( this , CompositeLongValue.SUBTRACT , other ) ; }

Target:
public proguard.evaluation.value.LongValue subtract ( proguard.evaluation.value.SpecificLongValue other ) { return this . equals ( other ) ? ParticularValueFactory.LONG_VALUE_0 : new proguard.evaluation.value.CompositeLongValue ( this , CompositeLongValue.SUBTRACT , other ) ; }
Source:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 6L ) ; b = Main.$inline$long ( 2L ) ; c = a - b ; return c ; }

Target:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = 6.0F ; b = 2.0F ; c = a - b ; return c ; }
Source:
public void accept ( int callType , com.android.ims.ImsStreamMediaProfile profile ) throws android.os.RemoteException { }

Target:
public void update ( int callType , android.telephony.ims.ImsStreamMediaProfile profile ) { this . update ( callType , profile ) ; }
Source:
public int getB ( ) { return 0 ; }

Target:
public int getD ( ) { return 0 ; }
Source:
public static int FloatGtNonmatCond_IntVarVar ( float a , float b , int x , int y ) { return a < b ? x : y ; }

Target:
public static float FloatGtNonmatCond_FloatVarVar ( float a , float b , float x , float y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a < b ? x : y ; }
Source:
public java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.emptyIterator ( ) ; }

Target:
public java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.ImmutableSet.of ( ) . iterator ( ) ; }
Source:
public void testSpecifiedLanguageOk ( ) throws java.lang.Exception { TranslationDetector.sCompleteRegions = false ; assertEquals ( "No warnings." , lintProject ( "res/values-es/strings.xml=>res/values-es/strings.xml" , "res/values-es-rUS/strings.xml" ) ) ; }

Target:
public void testSpecifiedLanguageOk ( ) throws java.lang.Exception { TranslationDetector.sCompleteRegions = false ; assertEquals ( "No warnings." , lintProject ( "res/values-es/strings.xml=>res/values/strings.xml" , "res/values-es/strings.xml=>res/values-es/strings.xml" , "res/values-es-rUS/strings.xml" ) ) ; }
Source:
private static com.google.currysrc.api.transform.TransformRule createHideOriginalDeprecatedClassesRule ( ) { java.util.List < com.google.currysrc.api.transform.ast.BodyDeclarationLocater > blacklist = com.google.currysrc.api.transform.ast.BodyDeclarationLocaters.createLocatersFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.INITIAL_DEPRECATED_SET ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.HideOriginalDeprecatedSet ( blacklist ) ) ; }

Target:
private static com.google.currysrc.api.process.Rule createHideOriginalDeprecatedClassesRule ( ) { java.util.List < com.google.currysrc.api.process.ast.BodyDeclarationLocator > blacklist = com.google.currysrc.api.process.ast.BodyDeclarationLocators.createLocatorsFromStrings ( com.android.icu4j.srcgen.Icu4jTransform.INITIAL_DEPRECATED_SET ) ; return com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.HideOriginalDeprecatedSet ( blacklist ) ) ; }
Source:
native void rsnScriptSetVarF ( long con , long id , int slot , float val ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val , boolean mUseInc ) ;
Source:
public java.util.Map < java.lang.String , com.android.tools.layoutlib.create.InjectMethodRunnable > getInjectedMethodsMap ( ) { return new java.util.HashMap < java.lang.String , com.android.tools.layoutlib.create.InjectMethodRunnable > ( 0 ) ; }

Target:
public java.util.Map < java.lang.String , com.android.tools.layoutlib.create.InjectMethodRunnable > getInjectedMethodsMap ( ) { return java.util.Collections.emptyMap ( ) ; }
Source:
public java.lang.ClassLoader getClassLoader ( ) { if ( this . isPrimitive ( ) ) { return null ; } java.lang.ClassLoader loader = getClassLoaderImpl ( ) ; if ( loader == null ) { loader = java.lang.BootClassLoader.getInstance ( ) ; } return loader ; }

Target:
public java.lang.ClassLoader getClassLoader ( ) { if ( this . isPrimitive ( ) ) { return null ; } final java.lang.ClassLoader loader = classLoader ; return loader == null ? java.lang.BootClassLoader.getInstance ( ) : loader ; }
Source:
private static android.net.Uri getContactUri ( android.database.Cursor cursor ) { long contactId = cursor.getLong ( Projections.PHONE_ID ) ; java.lang.String lookupKey = cursor.getString ( Projections.PHONE_LOOKUP_KEY ) ; return android.provider.ContactsContract.Contacts.getLookupUri ( contactId , lookupKey ) ; }

Target:
private static android.net.Uri getContactUri ( android.database.Cursor cursor ) { long contactId = cursor.getLong ( Projections.ID ) ; java.lang.String lookupKey = cursor.getString ( Projections.LOOKUP_KEY ) ; return android.provider.ContactsContract.Contacts.getLookupUri ( contactId , lookupKey ) ; }
Source:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimplePatternFormatter.compileToStringMinMaxPlaceholders ( value.getString ( ) , sb , 2 , 2 ) ) ; } }

Target:
public void put ( com.ibm.icu.impl.UResource.Key key , com.ibm.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , com.ibm.icu.impl.SimpleFormatterImpl.compileToStringMinMaxArguments ( value.getString ( ) , sb , 2 , 2 ) ) ; } }
Source:
public void test_providerCount ( ) { java.security.Provider [ ] providers = java.security.Security.getProviders ( ) ; assertTrue ( ( ( providers.length ) > 0 ) ) ; assertTrue ( ( ( providers.length ) < 10 ) ) ; }

Target:
public void tearDown ( ) { providers.clear ( ) ; }
Source:
public java.lang.String getDisplayName ( ) { return ( ( ( name ) + " (" ) + ( count ( ) ) ) + ")" ; }

Target:
public java.lang.String getDisplayName ( ) { return ( ( ( name ) + " (" ) + ( getDeviceConfigurationCount ( ) ) ) + ")" ; }
Source:
public void testSaveProperties ( ) { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( props ) ; java.util.Properties props2 = new java.util.Properties ( ) ; p.saveProperties ( props2 ) ; assertEquals ( props2 , props ) ; }

Target:
public void testSaveProperties ( ) { java.util.Properties expected = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( expected ) ; java.util.Properties actual = new java.util.Properties ( ) ; p.saveProperties ( actual ) ; assertEquals ( expected , actual ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { choices.getCallback ( ) . action ( choices , id , null ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { choices.getCallback ( ) . action ( choices , id , null ) ; updateSelection ( ) ; }
Source:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "prepare" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setAudioEncoder" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setAudioSource" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setOutputFormat" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "start" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "stop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setOnErrorListener" , args = { android.media.MediaRecorder.OnErrorListener.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setMaxFileSize" , args = { long . class } ) } ) public void testOnErrorListener ( ) throws java.lang.Exception { mMediaRecorder.setAudioSource ( MediaRecorder.AudioSource.DEFAULT ) ; mMediaRecorder.setOutputFormat ( MediaRecorder.OutputFormat.THREE_GPP ) ; mMediaRecorder.setAudioEncoder ( MediaRecorder.AudioEncoder.AMR_NB ) ; recordMedia ( android.media.cts.MediaRecorderTest.MAX_FILE_SIZE ) ; assertFalse ( mOnErrorCalled ) ; }

Target:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "prepare" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setAudioEncoder" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setAudioSource" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setOutputFormat" , args = { int . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "start" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "stop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setOnErrorListener" , args = { android.media.MediaRecorder.OnErrorListener.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , method = "setMaxFileSize" , args = { long . class } ) } ) public void testOnErrorListener ( ) throws java.lang.Exception { mMediaRecorder.setAudioSource ( MediaRecorder.AudioSource.DEFAULT ) ; mMediaRecorder.setOutputFormat ( MediaRecorder.OutputFormat.THREE_GPP ) ; mMediaRecorder.setAudioEncoder ( MediaRecorder.AudioEncoder.AMR_NB ) ; recordMedia ( android.media.cts.MediaRecorderTest.MAX_FILE_SIZE , mOutFile ) ; assertFalse ( mOnErrorCalled ) ; }
Source:
public java.lang.String getCompilerBuildId ( ) { return com.android.jack.Jack.getBuildId ( ) ; }

Target:
public java.lang.String getCompilerBuildId ( ) { return com.android.jack.Jack.getVersion ( ) . getBuildId ( ) ; }
Source:
public void setSimPowerState ( boolean powerUp ) { setSimPowerStateForSlot ( getDefaultSim ( ) , powerUp ) ; }

Target:
public boolean isDataEnabled ( ) { return getDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
public com.android.tools.lint.detector.api.Speed getSpeed ( ) { return com.android.tools.lint.detector.api.Speed.NORMAL ; }

Target:
public com.android.tools.lint.detector.api.Speed getSpeed ( @ java.lang.SuppressWarnings ( value = "UnusedParameters" ) com.android.tools.lint.detector.api.Issue issue ) { return issue == ( com.android.tools.lint.checks.GradleDetector.REMOTE_VERSION ) ? com.android.tools.lint.detector.api.Speed.REALLY_SLOW : com.android.tools.lint.detector.api.Speed.NORMAL ; }
Source:
public java.lang.String toString ( ) { return ( "Auth method VendorSpecificAuth, data = " + ( java.util.Arrays.toString ( mData ) ) ) + '\n' ; }

Target:
public java.lang.String toString ( ) { return ( "VendorSpecificAuth{mData=" + ( java.util.Arrays.toString ( mData ) ) ) + "}" ; }
Source:
public void test_minusDays_negativeAcrossYear ( ) { java.time.LocalDate t = TEST_2007_07_15.minusDays ( ( - 169 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 12 , 31 ) ) ; }

Target:
public void test_minusDays_negativeAcrossYear ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusDays ( ( - 169 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 12 , 31 ) ) ; }
Source:
void createNewUserLILPw ( int userHandle , java.io.File path ) { if ( ( mInstaller ) != null ) { mSettings.createNewUserLILPw ( this , mInstaller , userHandle , path ) ; } }

Target:
void createNewUserLILPw ( int userHandle , java.io.File path ) { if ( ( mInstaller ) != null ) { mInstaller.createUserConfig ( userHandle ) ; mSettings.createNewUserLILPw ( this , mInstaller , userHandle , path ) ; } }
Source:
public com.android.jack.ir.ast.cfg.JBasicBlockElement firstElement ( ) { throw new java.lang.AssertionError ( ) ; }

Target:
public com.android.jack.ir.ast.cfg.JBasicBlockElement getLastElement ( ) { throw new java.lang.AssertionError ( ) ; }
Source:
public void registrationConnected ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationConnected ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( ) ; } }

Target:
public void registrationServiceCapabilityChanged ( int serviceClass , int event ) { com.android.ims.ImsManager.log ( ( ( ( "registrationServiceCapabilityChanged :: serviceClass=" + serviceClass ) + ", event=" ) + event ) ) ; if ( ( mListener ) != null ) { mListener.onImsConnected ( ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN ) ; } }
Source:
public static native long openCollator ( java.lang.String locale ) ;

Target:
private static native long openCollator ( java.lang.String languageTag ) ;
Source:
public < T > T [ ] toArray ( T [ ] a ) { return asList ( ) . toArray ( a ) ; }

Target:
int copyIntoArray ( java.lang.Object [ ] dst , int offset ) { return offset ; }
Source:
public void onGuidedActionClicked ( android.support.v17.leanback.widget.GuidedAction action ) { if ( ( action.getId ( ) ) == ( com.android.tv.dvr.ui.DvrConflictFragment.ACTION_VIEW_SCHEDULES ) ) { com.android.tv.dvr.DvrUiHelper.startSchedulesActivityForOneTimeRecordingConflict ( getContext ( ) , getConflicts ( ) ) ; } dismissDialog ( ) ; }

Target:
public void onGuidedActionClicked ( android.support.v17.leanback.widget.GuidedAction action ) { if ( ( action.getId ( ) ) == ( com.android.tv.dvr.ui.DvrConflictFragment.ACTION_VIEW_SCHEDULES ) ) { com.android.tv.dvr.ui.DvrUiHelper.startSchedulesActivityForOneTimeRecordingConflict ( getContext ( ) , getConflicts ( ) ) ; } dismissDialog ( ) ; }
Source:
public boolean isBridge ( ) { return ( ( getModifiers ( ) ) & ( java.lang.reflect.Modifier.BRIDGE ) ) != 0 ; }

Target:
public boolean isBridge ( ) { return super . isBridgeMethodInternal ( ) ; }
Source:
public void test_RSA_size_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_size ( 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_private_decrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_decrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , org.conscrypt.NativeCryptoTest.NULL_EVP_PKEY , 0 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void exit ( ) { turnOffUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; stopListeningForSimChanges ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }

Target:
public void exit ( ) { unrequestUpstreamMobileConnection ( ) ; mUpstreamNetworkMonitor.stop ( ) ; simChange.stopListening ( ) ; notifyTetheredOfNewUpstreamIface ( null ) ; handleNewUpstreamNetworkState ( null ) ; }
Source:
public void onError ( int errorCode , @ android.annotation.Nullable java.lang.String message ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = errorCode ; args.arg2 = message ; mErrorCalls.add ( args ) ; }

Target:
public void onError ( int errorCode , @ android.annotation.Nullable java.lang.String message ) { mNumErrorCalls += 1 ; com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = errorCode ; args.arg2 = message ; mErrorCalls.add ( args ) ; }
Source:
public void test_U8_4_SCALE10_10_inRectangle ( ) { testReszie ( inX , inY , Element.DataType.UNSIGNED_8 , 4 , 1.0F , 1.0F ) ; }

Target:
public void test_U8_4_SCALE10_10_inRectangle ( ) { testResize ( inX , inY , Element.DataType.UNSIGNED_8 , 4 , 1.0F , 1.0F ) ; }
Source:
public boolean isVoicemailDonationEnabled ( android.content.Context context , android.telecom.PhoneAccountHandle account ) { return ( isVoicemailTranscriptionAvailable ( context ) ) && ( com.android.voicemail.impl.settings.VisualVoicemailSettingsUtil.isVoicemailDonationEnabled ( context , account ) ) ; }

Target:
public boolean isVoicemailTranscriptionEnabled ( android.content.Context context , android.telecom.PhoneAccountHandle account ) { return ( isVoicemailTranscriptionAvailable ( context , account ) ) && ( com.android.voicemail.impl.settings.VisualVoicemailSettingsUtil.isVoicemailTranscriptionEnabled ( context , account ) ) ; }
Source:
public void testE4 ( ) { dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_6 t = new dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_6 ( ) ; try { t.run ( ) ; fail ( "expected AbstractMethodError" ) ; } catch ( java.lang.AbstractMethodError iae ) { } }

Target:
public void testE4 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_virtual_range.d.T_invoke_virtual_range_6" , java.lang.AbstractMethodError.class ) ; }
Source:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a % b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a % b ; return c ; }
Source:
native void rsnScriptForEachClipped ( int con , int id , int slot , int ain , int aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }
Source:
public V setValue ( V value ) { if ( value == null ) throw new java.lang.NullPointerException ( ) ; V v = super . setValue ( value ) ; this . put ( getKey ( ) , value ) ; return v ; }

Target:
public V setValue ( V value ) { if ( value == null ) throw new java.lang.NullPointerException ( ) ; V v = val ; val = value ; map.put ( key , value ) ; return v ; }
Source:
protected void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , s ) ; }

Target:
protected final void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + s ) ) ; }
Source:
public static boolean isFileEncryptedNativeOnly ( ) { if ( ! ( android.os.storage.StorageManager.isEncrypted ( ) ) ) { return false ; } final java.lang.String status = android.os.SystemProperties.get ( "ro.crypto.type" , "" ) ; return "file" . equalsIgnoreCase ( status ) ; }

Target:
public static boolean isBlockEncrypted ( ) { if ( ! ( android.os.storage.StorageManager.isEncrypted ( ) ) ) { return false ; } return com.android.internal.os.RoSystemProperties.CRYPTO_BLOCK_ENCRYPTED ; }
Source:
boolean isEmpty ( ) { return ( ( trackingDefault.isEmpty ( ) ) && ( listening.isEmpty ( ) ) ) && ( requested.isEmpty ( ) ) ; }

Target:
boolean isEmpty ( ) { return ( ( ( trackingDefault.isEmpty ( ) ) && ( listening.isEmpty ( ) ) ) && ( requested.isEmpty ( ) ) ) && ( legacyTypeMap.isEmpty ( ) ) ; }
Source:
public void testConstructor1 ( ) { assertEquals ( jsr166.DelayQueueTest.NOCAP , new java.util.concurrent.DelayQueue ( ) . remainingCapacity ( ) ) ; }

Target:
public void testConstructor1 ( ) { assertEquals ( java.lang.Integer.MAX_VALUE , new java.util.concurrent.DelayQueue ( ) . remainingCapacity ( ) ) ; }
Source:
private static com.google.common.net.MediaType createConstant ( java.lang.String type , java.lang.String subtype ) { return new com.google.common.net.MediaType ( type , subtype , com.google.common.collect.ImmutableListMultimap.< java.lang.String , java.lang.String > of ( ) ) ; }

Target:
private static com.google.common.net.MediaType createConstant ( java.lang.String type , java.lang.String subtype ) { return com.google.common.net.MediaType.addKnownType ( new com.google.common.net.MediaType ( type , subtype , com.google.common.collect.ImmutableListMultimap.< java.lang.String , java.lang.String > of ( ) ) ) ; }
Source:
public java.lang.Object createFile ( ) { org.apache.tools.ant.types.Path path = new org.apache.tools.ant.types.Path ( getProject ( ) ) ; mFileList.add ( path ) ; return path ; }

Target:
public java.lang.Object createFile ( ) { java.lang.System.out.println ( ( "WARNING: Using deprecated <file> inner element in ApkBuilderTask." + "Use <dex path=...> instead." ) ) ; org.apache.tools.ant.types.Path path = new org.apache.tools.ant.types.Path ( getProject ( ) ) ; mFileList.add ( path ) ; return path ; }
Source:
public void selectionChanged ( ) { synchronized ( this ) { selectedNode = model.getSelected ( ) ; } redraw ( ) ; }

Target:
public void selectionChanged ( ) { synchronized ( this ) { selectedNode = model.getSelected ( ) ; } doRedraw ( ) ; }
Source:
protected android.uirendering.cts.testinfrastructure.TestCaseBuilder createTest ( ) { mTestCaseBuilder = new android.uirendering.cts.testinfrastructure.TestCaseBuilder ( ) ; mScreenshotter = null ; return mTestCaseBuilder ; }

Target:
protected android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder createTest ( ) { mTestCaseBuilder = new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder ( ) ; mScreenshotter = null ; return mTestCaseBuilder ; }
Source:
public java.lang.String getName ( ) { return ( "shrink" + ( com.android.utils.StringHelper.capitalize ( scope.getVariantConfiguration ( ) . getFullName ( ) ) ) ) + "MultiDexComponents" ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( "shrink" , "MultiDexComponents" ) ; }
Source:
public void testConstructor_NullSubjectDN_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , null , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when subjectDN is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullContext_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( null , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when context is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void setUp ( ) throws java.lang.Exception { org.chromium.base.library_loader.LibraryLoader.get ( LibraryProcessType.PROCESS_BROWSER ) . ensureInitialized ( ) ; org.chromium.base.metrics.RecordHistogram.initialize ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; org.chromium.base.library_loader.LibraryLoader.get ( LibraryProcessType.PROCESS_BROWSER ) . ensureInitialized ( getInstrumentation ( ) . getTargetContext ( ) ) ; org.chromium.base.metrics.RecordHistogram.initialize ( ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.rem_int_2addr.d.T_rem_int_2addr_1 t = new dot.junit.opcodes.rem_int_2addr.d.T_rem_int_2addr_1 ( ) ; try { t.run ( 1 , 0 ) ; fail ( "expected ArithmeticException" ) ; } catch ( java.lang.ArithmeticException ae ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.rem_int_2addr.d.T_rem_int_2addr_1" , java.lang.ArithmeticException.class , 1 , 0 ) ; }
Source:
public final native java.lang.Object compareAndExchangeRelease ( java.lang.Object ... args ) ;

Target:
public final native java.lang.Object compareAndExchange ( java.lang.Object ... args ) ;
Source:
void stateLogD ( java.lang.String msg ) { log ( ( ( ( getName ( ) ) + ": " ) + msg ) ) ; }

Target:
void stateLogI ( java.lang.String msg ) { logi ( ( ( ( ( ( getName ( ) ) + ": currentDevice=" ) + ( mDevice ) ) + ", msg=" ) + msg ) ) ; }
Source:
native long rsnScriptGroup2Create ( long con , long [ ] closures ) ;

Target:
native long rsnScriptGroup2Create ( long con , java.lang.String cachePath , long [ ] closures ) ;
Source:
public java.io.InputStream openRead ( ) throws java.io.IOException { return file.openRead ( ) ; }

Target:
public java.io.InputStream getInputStream ( ) throws com.android.sched.util.file.WrongPermissionException { return file.getInputStream ( ) ; }
Source:
public static double nextAfter ( double start , double direction ) { return sun.misc.FpUtils.nextAfter ( start , direction ) ; }

Target:
public static double nextAfter ( double start , double direction ) { return java.lang.Math.nextAfter ( start , direction ) ; }
Source:
private static com.android.build.SplitOutput getAbiOutput ( java.lang.String filter ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , filter ) ; }

Target:
private static com.android.build.SplitOutput getAbiOutput ( java.lang.String filter , int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , filter , versionCode ) ; }
Source:
private javax.crypto.MacSpi getSpi ( ) { return getSpi ( null ) ; }

Target:
private javax.crypto.MacSpi getSpi ( ) { try { return getSpi ( null ) ; } catch ( java.security.InvalidKeyException e ) { throw new java.lang.IllegalStateException ( "InvalidKeyException thrown when key == null" , e ) ; } }
Source:
final void putLong ( int offset , long value ) { sun.nio.ch.NativeObject.unsafe.putLong ( ( offset + ( address ) ) , value ) ; }

Target:
final void putLong ( int offset , long value ) { sun.nio.ch.NativeObject.unsafe.putLong$ ( ( offset + ( address ) ) , value ) ; }
Source:
public void selectNetworkManually ( com.android.internal.telephony.OperatorInfo network , android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "selectNetworkManually: not possible in CDMA" ) ; }

Target:
public void selectNetworkManually ( com.android.internal.telephony.OperatorInfo network , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "selectNetworkManually: not possible in CDMA" ) ; }
Source:
public void testGetServiceComponentBeforeConnection ( ) { mConnectionCallback.resetCounts ( ) ; createMediaBrowser ( android.media.cts.MediaBrowserTest.TEST_BROWSER_SERVICE ) ; try { android.content.ComponentName serviceComponent = mMediaBrowser.getServiceComponent ( ) ; fail ( ) ; } catch ( java.lang.IllegalStateException e ) { } }

Target:
protected boolean check ( ) { return ( ( ( mConnectionCallback.mConnectionFailedCount ) > 0 ) && ( ( mConnectionCallback.mConnectedCount ) == 0 ) ) && ( ( mConnectionCallback.mConnectionSuspendedCount ) == 0 ) ; }
Source:
public javax.net.ssl.SSLSocket createSocket ( java.net.Socket s , java.lang.String host , int port , boolean autoClose ) throws java.io.IOException { hostNameUsed.set ( host ) ; return ( ( javax.net.ssl.SSLSocket ) ( this . delegate.createSocket ( s , host , port , autoClose ) ) ) ; }

Target:
public void setReceiveBufferSize ( int size ) throws java.net.SocketException { delegate.setReceiveBufferSize ( size ) ; }
Source:
public void testEncodeDecodeVideoFromBufferToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , true ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public void testSubscribeSsiTooLong ( ) { doBadSubscribeConfiguration ( "correctservicename" , new byte [ ( com.android.server.wifi.nan.WifiNanServiceImplTest.MAX_LENGTH ) + 1 ] , null ) ; }

Target:
public void testSubscribeSsiTooLong ( ) { doBadSubscribeConfiguration ( "correctservicename" , new byte [ ( com.android.server.wifi.aware.WifiAwareServiceImplTest.MAX_LENGTH ) + 1 ] , null ) ; }
Source:
public boolean enableCellBroadcast ( int messageIdentifier ) { android.util.Log.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }

Target:
public boolean disableCellBroadcast ( int messageIdentifier ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }
Source:
public com.android.sched.util.config.AsapConfigBuilder setStandardOutput ( @ javax.annotation.Nonnull java.io.PrintStream printer ) { context.setStandardOutput ( printer ) ; return this ; }

Target:
public com.android.sched.util.codec.CodecContext getCodecContext ( ) { return context ; }
Source:
public void test_minusDays_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.plusYears ( 2 ) . minusDays ( ( 365 + 366 ) ) ; org.testng.Assert.assertEquals ( t , TEST_2007_07_15 ) ; }

Target:
public void test_minusDays_overLeapYears ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusYears ( 2 ) . minusDays ( ( 365 + 366 ) ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalDate.TEST_2007_07_15 ) ; }
Source:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsUintUint args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( int ) ( java.lang.Integer.numberOfLeadingZeros ( args.inValue ) ) ) ; }

Target:
public static void computeClz ( android.renderscript.cts.TestClz.ArgumentsIntInt args ) { args.out = ( ( int ) ( java.lang.Integer.numberOfLeadingZeros ( args.inValue ) ) ) ; }
Source:
public void authenticateServer ( java.lang.String callingPackage , java.lang.String matchingId , byte [ ] serverSigned1 , byte [ ] serverSignature1 , byte [ ] euiccCiPkIdToBeUsed , byte [ ] serverCertificate , com.android.internal.telephony.euicc.IAuthenticateServerCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( byte [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public boolean getAllowMultiple ( java.lang.reflect.Field field ) { return allowMultiple.get ( field ) ; }

Target:
public boolean getAllowMultiple ( com.google.devtools.common.options.OptionDefinition optionDefinition ) { return allowMultiple.get ( optionDefinition ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mLocationManager = ( ( android.location.LocationManager ) ( getContext ( ) . getSystemService ( Context.LOCATION_SERVICE ) ) ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mLocationManager = ( ( android.location.LocationManager ) ( getContext ( ) . getSystemService ( Context.LOCATION_SERVICE ) ) ) ; addTestProvider ( android.location.cts.LocationProviderTest.PROVIDER_NAME ) ; }
Source:
public void processFile ( java.io.File sourceFile ) throws java.io.IOException , java.lang.InterruptedException { mFiles.add ( sourceFile ) ; }

Target:
public void processFile ( @ com.android.annotations.NonNull java.io.File sourceFolder , @ com.android.annotations.NonNull java.io.File sourceFile ) throws java.io.IOException , java.lang.InterruptedException { mFiles.add ( sourceFile ) ; }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refreshTags ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { refresh ( true ) ; android.widget.Toast.makeText ( getContext ( ) , getContext ( ) . getString ( R.string.default_categories_restored ) , Toast.LENGTH_SHORT ) . show ( ) ; return true ; }
Source:
void setNextInstanceToGcRoot ( com.android.ahat.heapdump.AhatInstance inst , java.lang.String field ) { mNextInstanceToGcRoot = inst ; mNextInstanceToGcRootField = field ; }

Target:
void setNextInstanceToGcRoot ( com.android.ahat.heapdump.AhatInstance inst , java.lang.String field ) { if ( ( ( mNextInstanceToGcRoot ) == null ) && ( ! ( isRoot ( ) ) ) ) { mNextInstanceToGcRoot = inst ; mNextInstanceToGcRootField = field ; } }
Source:
private java.lang.String formatNsn ( java.lang.String number , com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata , com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat numberFormat ) { return formatNsn ( number , metadata , numberFormat , null ) ; }

Target:
private static boolean descHasPossibleNumberData ( com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc desc ) { return ( ( desc.getPossibleLengthCount ( ) ) != 1 ) || ( ( desc.getPossibleLength ( 0 ) ) != ( - 1 ) ) ; }
Source:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.sched.util.file.CannotCreateFileException ;

Target:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException ;
Source:
public void testConfigRequestBuilderMasterPrefNegative ( ) { android.net.wifi.nan.ConfigRequest.Builder builder = new android.net.wifi.nan.ConfigRequest.Builder ( ) ; builder.setMasterPreference ( ( - 1 ) ) ; }

Target:
public void testConfigRequestBuilderMasterPrefNegative ( ) { android.net.wifi.aware.ConfigRequest.Builder builder = new android.net.wifi.aware.ConfigRequest.Builder ( ) ; builder.setMasterPreference ( ( - 1 ) ) ; }
Source:
public void start ( java.lang.String callee , com.android.ims.ImsCallProfile profile ) { if ( mClosed ) { return ; } try { miSession.start ( callee , profile ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public void start ( java.lang.String callee , android.telephony.ims.ImsCallProfile profile ) { if ( mClosed ) { return ; } try { miSession.start ( callee , profile ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public void testWithRowBlob_ValueDoesNotMatch ( ) { assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowBlob ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_BLOB , "does not match" . getBytes ( ) ) . matches ( cursor ) ) ; }

Target:
public void withRowBlob_ValueDoesNotMatch ( ) { junit.framework.TestCase.assertFalse ( android.support.test.espresso.matcher.CursorMatchers.withRowBlob ( android.support.test.espresso.matcher.CursorMatchersTest.COLUMN_BLOB , "does not match" . getBytes ( ) ) . matches ( cursor ) ) ; }
Source:
public boolean cleanup ( ) { if ( com.android.bluetooth.map.BluetoothMapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.map.BluetoothMapService.TAG , "cleanup()" ) ; setState ( BluetoothMap.STATE_DISCONNECTED , BluetoothMap.RESULT_CANCELED ) ; closeService ( ) ; return true ; }

Target:
public boolean cleanup ( ) { if ( com.android.bluetooth.map.BluetoothMapService.DEBUG ) android.util.Log.d ( com.android.bluetooth.map.BluetoothMapService.TAG , "cleanup()" ) ; setState ( BluetoothMap.STATE_DISCONNECTED , BluetoothMap.RESULT_CANCELED ) ; sendShutdownMessage ( ) ; return true ; }
Source:
public void onSelectAll ( ) { mSelections.clear ( ) ; mAltSelection = null ; if ( ( mIsResultValid ) && ( ( mLastValidResult ) != null ) ) { selectAllViewInfos ( mLastValidViewInfoRoot ) ; redraw ( ) ; } }

Target:
public void onSelectAll ( ) { mSelections.clear ( ) ; mAltSelection = null ; if ( ( mIsResultValid ) && ( ( mLastValidResult ) != null ) ) { selectAllViewInfos ( mLastValidViewInfoRoot ) ; redraw ( ) ; } updateOulineSelection ( ) ; }
Source:
public java.lang.String get ( int index ) { com.android.dx.io.DexBuffer.checkBounds ( index , tableOfContents.stringIds.size ) ; return open ( ( ( tableOfContents.stringIds.off ) + ( index * ( com.android.dx.dex.SizeOf.STRING_ID_ITEM ) ) ) ) . readString ( ) ; }

Target:
public java.lang.String get ( int index ) { com.android.dex.Dex.checkBounds ( index , tableOfContents.stringIds.size ) ; return open ( ( ( tableOfContents.stringIds.off ) + ( index * ( SizeOf.STRING_ID_ITEM ) ) ) ) . readString ( ) ; }
Source:
public void setHttpAuthUsernamePassword ( java.lang.String host , java.lang.String realm , java.lang.String username , java.lang.String password ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setHttpAuthUsernamePassword=" + host ) ) ; mProvider.setHttpAuthUsernamePassword ( host , realm , username , password ) ; }

Target:
public void setHttpAuthUsernamePassword ( java.lang.String host , java.lang.String realm , java.lang.String username , java.lang.String password ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , ( "setHttpAuthUsernamePassword=" + host ) ) ; mProvider.setHttpAuthUsernamePassword ( host , realm , username , password ) ; }
Source:
public void testVFE4 ( ) { try { new dot.junit.opcodes.iget_boolean.d.T_iget_boolean_6 ( ) . run ( ) ; fail ( "expected an IllegalAccessError exception" ) ; } catch ( java.lang.IllegalAccessError e ) { } }

Target:
public void testVFE4 ( ) { loadAndRun ( "dot.junit.opcodes.iget_boolean.d.T_iget_boolean_6" , java.lang.IllegalAccessError.class ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new android.content.Intent ( "com.google.android.apps.tachyon.action.REGISTER" ) . setPackage ( DuoConstants.PACKAGE_NAME ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return new android.content.Intent ( com.android.dialer.duo.DuoConstants.DUO_ACTIVATE_ACTION ) . setPackage ( DuoConstants.PACKAGE_NAME ) ; }
Source:
public void testInRootUpdatesRef ( ) { initInteraction ( ) ; org.hamcrest.Matcher < android.support.test.espresso.Root > testMatcher = org.hamcrest.Matchers.nullValue ( android.support.test.espresso.Root.class ) ; testInteraction.inRoot ( testMatcher ) ; assertEquals ( testMatcher , rootMatcherRef.get ( ) ) ; }

Target:
public void inRoot_NullHandling ( ) { initInteraction ( ) ; expectedException.expect ( java.lang.NullPointerException.class ) ; testInteraction.inRoot ( null ) ; }
Source:
public void mouseDragged ( java.awt.event.MouseEvent event ) { if ( ! ( checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ) ) { paint ( event.getX ( ) , event.getY ( ) , currentButton ) ; } }

Target:
public void mouseMoved ( java.awt.event.MouseEvent event ) { checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ; }
Source:
public void updateCursor ( android.database.Cursor updatedCursor ) { deletedVoicemailPosition.clear ( ) ; this . cursor = updatedCursor ; notifyDataSetChanged ( ) ; }

Target:
public void updateCursor ( android.database.Cursor updatedCursor ) { com.android.dialer.common.LogUtil.enterBlock ( "NewVoicemailAdapter.updateCursor" ) ; deletedVoicemailPosition.clear ( ) ; this . cursor = updatedCursor ; updateHeaderPositions ( ) ; notifyDataSetChanged ( ) ; }