auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void testInstallWithNewerBundleVersion ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TzDataBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TzDataBundleInstallerTest.NEW_RULES_VERSION , "001" ) . setBundleVersionForTests ( "002.001" ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstallWithNewerBundleVersion ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . setBundleVersionForTests ( "002.001" ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
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 ) ; }

Target:
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 ( ) ; }
Source:
public void run ( ) { if ( mKeyguardDelegate.isDismissable ( ) ) { mKeyguardDelegate.keyguardDone ( false , true ) ; } else { mKeyguardDelegate.dismiss ( ) ; } }

Target:
public void startKeyguardExitAnimation ( long startTime , long fadeoutDuration ) { if ( ( mKeyguardDelegate ) != null ) { mKeyguardDelegate.startKeyguardExitAnimation ( startTime , fadeoutDuration ) ; } }
Source:
public libcore.tzdata.update2.tools.TzDataBundleBuilder setBundleVersionForTests ( java.lang.String bundleVersion ) { this . bundleFormatVersion = bundleVersion ; return this ; }

Target:
public libcore.tzdata.update2.tools.TimeZoneBundleBuilder setBundleVersionForTests ( java.lang.String bundleVersion ) { this . bundleFormatVersion = bundleVersion ; return this ; }
Source:
public void wifiNanConnect ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "nanConfig" ) org.json.JSONObject nanConfig ) throws android.os.RemoteException , org.json.JSONException { mMgr.connect ( null , com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getConfigRequest ( nanConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanEventCallbackPostsEvents ( ) ) ; }

Target:
public java.lang.Integer wifiNanConnect ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "nanConfig" ) org.json.JSONObject nanConfig ) throws android.os.RemoteException , org.json.JSONException { synchronized ( mLock ) { int sessionId = getNextSessionId ( ) ; mMgr.connect ( null , com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.getConfigRequest ( nanConfig ) , new com.googlecode.android_scripting.facade.wifi.WifiNanManagerFacade.NanEventCallbackPostsEvents ( sessionId ) ) ; return sessionId ; } }
Source:
protected void emptyFolder ( java.io.File folder ) { getLogger ( ) . info ( ( ( ( "deleteDir(" + folder ) + ") returned: " ) + ( com.android.utils.FileUtils.deleteFolder ( folder ) ) ) ) ; folder.mkdirs ( ) ; }

Target:
protected com.android.sdklib.BuildToolInfo getBuildTools ( ) { com.android.builder.sdk.TargetInfo targetInfo = getBuilder ( ) . getTargetInfo ( ) ; com.google.common.base.Preconditions.checkState ( ( targetInfo != null ) , "androidBuilder.targetInfo required for task '%s'." , getName ( ) ) ; return targetInfo.getBuildTools ( ) ; }
Source:
int pread ( java.io.FileDescriptor fd , long address , int len , long position ) throws java.io.IOException { return sun.nio.ch.FileDispatcherImpl.pread0 ( fd , address , len , position ) ; }

Target:
int pread ( java.io.FileDescriptor fd , long address , int len , long position ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onReadFromDisk ( ) ; return sun.nio.ch.FileDispatcherImpl.pread0 ( fd , address , len , position ) ; }
Source:
public java.util.List < java.lang.String > targetProcessPrefix ( java.io.File workingDirectory ) { return java.util.Collections.emptyList ( ) ; }

Target:
public java.util.List < java.lang.String > targetProcessPrefix ( ) { return com.google.common.collect.ImmutableList.of ( "sh" , "-c" ) ; }
Source:
public K ceilingKey ( K key ) { return getNearKey ( key , ( ( m.GT ) | ( m.EQ ) ) ) ; }

Target:
public K ceilingKey ( K key ) { return getNearKey ( key , ( ( java.util.concurrent.ConcurrentSkipListMap.GT ) | ( java.util.concurrent.ConcurrentSkipListMap.EQ ) ) ) ; }
Source:
public void onDismiss ( android.content.DialogInterface dialog ) { finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { finish ( ) ; }
Source:
public boolean setLine1NumberForDisplay ( java.lang.String alphaTag , java.lang.String number ) { return setLine1NumberForDisplayForSubscriber ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , alphaTag , number ) ; }

Target:
public java.lang.String getSimSerialNumber ( ) { return getSimSerialNumber ( getSubId ( ) ) ; }
Source:
protected void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannel ( ) ; HEAD ( 616632 ) ; }

Target:
protected void tearDown ( ) { mNm.cancelAll ( ) ; deleteChannel ( ) ; if ( ( com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) ) != null ) { com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; } }
Source:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir getInputVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileOrDirectoryException { return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir ( dir.getInputVDir ( path ) ) ; }

Target:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir getInputVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileOrDirectoryException { com.android.sched.vfs.VPath newPathToRoot = pathToRoot.clone ( ) ; newPathToRoot.appendPath ( path ) ; return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVDir ( dir.getInputVDir ( path ) , newPathToRoot ) ; }
Source:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter param ) { return getOrCreateRegisterSpec ( new com.android.jack.ir.ast.JSsaVariableRef ( param.getSourceInfo ( ) , param , 0 , null , true ) ) ; }

Target:
com.android.jack.dx.rop.code.RegisterSpec getOrCreateRegisterSpec ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JParameter param ) { return getOrCreateRegisterSpec ( new com.android.jack.ir.ast.JSsaVariableDefRef ( param.getSourceInfo ( ) , param , 0 ) ) ; }
Source:
public static java.util.Collection ipSecConfigs ( ) { return java.util.Arrays.asList ( new java.lang.Object [ ] [ ] { new java.lang.Object [ ] { "1.2.3.4" , "8.8.4.4" } , new java.lang.Object [ ] { "2601::2" , "2601::10" } } ) ; }

Target:
public static java.util.Collection ipSecConfigs ( ) { return java.util.Arrays.asList ( new java.lang.Object [ ] [ ] { new java.lang.Object [ ] { "1.2.3.4" , "8.8.4.4" , "10.0.1.1/24" } , new java.lang.Object [ ] { "2601::2" , "2601::10" , "2001:db8::1/64" } } ) ; }
Source:
public byte [ ] getExtnValue ( ) { return extnValue ; }

Target:
public byte [ ] getValue ( ) { return extnValue ; }
Source:
public void toSession_Type2_Valid_Success ( ) throws java.lang.Exception { org.junit.Assert.assertNotNull ( org.conscrypt.AbstractSessionContextTest.clientCtx.toSession ( org.conscrypt.AbstractSessionContextTest.getType2 ( ) . build ( ) , "www.google.com" , 443 ) ) ; }

Target:
public void toSession_Type2_Valid_Success ( ) throws java.lang.Exception { org.conscrypt.AbstractSessionContextTest.assertValidSession ( org.conscrypt.AbstractSessionContextTest.getType2 ( ) . build ( ) ) ; }
Source:
public void test_containsValueLjava_lang_Object ( ) { assertTrue ( "Returned false for valid value" , hm.containsValue ( tests.api.java.util.IdentityHashMap2Test.objArray [ 19 ] ) ) ; assertTrue ( "Returned true for invalid valie" , ( ! ( hm.containsValue ( new java.lang.Integer ( ( - 9 ) ) ) ) ) ) ; }

Target:
public void test_containsValueLjava_lang_Object ( ) { assertTrue ( "Returned false for valid value" , hm.containsValue ( objArray [ 19 ] ) ) ; assertTrue ( "Returned true for invalid valie" , ( ! ( hm.containsValue ( new java.lang.Integer ( ( - 9 ) ) ) ) ) ) ; }
Source:
protected void init ( ) throws java.lang.Exception { android.icu.dev.test.format.DateFormatRegressionTestJ.sdf_ = new android.icu.text.SimpleDateFormat ( "yyyy/MM/dd HH:mm:ss" ) ; }

Target:
public void init ( ) throws java.lang.Exception { sdf_ = new android.icu.text.SimpleDateFormat ( "yyyy/MM/dd HH:mm:ss" ) ; }
Source:
public org.gradle.api.tasks.compile.JavaCompile getJavaCompile ( ) { return ( getVariantData ( ) . javaCompileTask ) instanceof org.gradle.api.tasks.compile.JavaCompile ? ( ( org.gradle.api.tasks.compile.JavaCompile ) ( getVariantData ( ) . javaCompileTask ) ) : null ; }

Target:
public org.gradle.api.tasks.compile.JavaCompile getJavaCompile ( ) { return getVariantData ( ) . javacTask ; }
Source:
public void onDialerCallUpdate ( ) { if ( ( call.getState ( ) ) != ( com.android.incallui.call.DialerCall.State.INCOMING ) ) { com.android.dialer.common.LogUtil.i ( "AnswerProximitySensor.onDialerCallUpdate" , "no longer incoming, cleaning up" ) ; cleanup ( ) ; } }

Target:
public void onDialerCallUpdate ( ) { if ( ( call.getState ( ) ) != ( com.android.incallui.call.state.DialerCallState.INCOMING ) ) { com.android.dialer.common.LogUtil.i ( "AnswerProximitySensor.onDialerCallUpdate" , "no longer incoming, cleaning up" ) ; cleanup ( ) ; } }
Source:
public int getDefaultSim ( ) { int slotIndex = android.telephony.SubscriptionManager.getSlotIndex ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; if ( slotIndex == ( SubscriptionManager.SIM_NOT_INSERTED ) ) { slotIndex = SubscriptionManager.DEFAULT_SIM_SLOT_INDEX ; } return slotIndex ; }

Target:
public int getSlotIndex ( ) { int slotIndex = android.telephony.SubscriptionManager.getSlotIndex ( getSubId ( ) ) ; if ( slotIndex == ( SubscriptionManager.SIM_NOT_INSERTED ) ) { slotIndex = SubscriptionManager.DEFAULT_SIM_SLOT_INDEX ; } return slotIndex ; }
Source:
public boolean getFlagNoUI ( ) { return ( ( java.lang.Boolean ) ( getValue ( null , null , com.android.sdkmanager.SdkCommandLine.KEY_NO_UI ) ) ) . booleanValue ( ) ; }

Target:
public boolean getFlagNoUI ( java.lang.String verb ) { return ( ( java.lang.Boolean ) ( getValue ( verb , null , com.android.sdkmanager.SdkCommandLine.KEY_NO_UI ) ) ) . booleanValue ( ) ; }
Source:
public static com.android.build.gradle.ndk.internal.NativeToolSpecification create ( com.android.build.gradle.internal.NdkHandler ndkHandler , org.gradle.nativeplatform.BuildType buildType , org.gradle.nativeplatform.platform.NativePlatform platform ) { return ndkHandler.getToolchain ( ) . equals ( Toolchain.GCC ) ? new com.android.build.gradle.ndk.internal.GccNativeToolSpecification ( buildType , platform ) : new com.android.build.gradle.ndk.internal.ClangNativeToolSpecification ( ndkHandler , buildType , platform ) ; }

Target:
public static com.android.build.gradle.ndk.internal.NativeToolSpecification create ( com.android.build.gradle.internal.NdkHandler ndkHandler , org.gradle.nativeplatform.platform.NativePlatform platform , boolean isDebugBuild ) { return ndkHandler.getToolchain ( ) . equals ( Toolchain.GCC ) ? new com.android.build.gradle.ndk.internal.GccNativeToolSpecification ( platform , isDebugBuild ) : new com.android.build.gradle.ndk.internal.ClangNativeToolSpecification ( ndkHandler , platform , isDebugBuild ) ; }
Source:
public long getInclusiveThreadTime ( ) { return com.google.common.primitives.UnsignedInts.toLong ( ( ( mExitThreadTime ) - ( mEntryThreadTime ) ) ) ; }

Target:
public long getInclusiveTime ( com.android.tools.perflib.vmtrace.ClockType clockType ) { return clockType == ( ClockType.THREAD ) ? com.google.common.primitives.UnsignedInts.toLong ( ( ( mExitThreadTime ) - ( mEntryThreadTime ) ) ) : com.google.common.primitives.UnsignedInts.toLong ( ( ( mExitGlobalTime ) - ( mEntryGlobalTime ) ) ) ; }
Source:
public void setupDataCall ( int radioTechnology , int profile , java.lang.String apn , java.lang.String user , java.lang.String password , int authType , java.lang.String protocol , android.os.Message result ) { }

Target:
public void setupDataCall ( int radioTechnology , com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , android.os.Message result ) { }
Source:
public int getStreamingServices ( java.lang.String appName , int subId , java.util.List < java.lang.String > serviceClasses ) throws android.os.RemoteException { return 0 ; }

Target:
public int getStreamingServices ( java.lang.String appName , int subscriptionId , java.util.List < java.lang.String > serviceClasses ) throws android.os.RemoteException { return 0 ; }
Source:
protected native void connect0 ( java.net.InetAddress address , int port ) throws java.net.SocketException ;

Target:
protected void connect0 ( java.net.InetAddress address , int port ) throws java.net.SocketException { if ( isClosed ( ) ) { throw new java.net.SocketException ( "Socket closed" ) ; } libcore.io.IoBridge.connect ( fd , address , port ) ; }
Source:
public static java.lang.String toUnicode ( java.lang.String input ) { return java.net.IDN.toUnicode ( input , 0 ) ; }

Target:
public static java.lang.String toASCII ( java.lang.String input , int flags ) { return libcore.icu.NativeIDN.toASCII ( input , flags ) ; }
Source:
public java.lang.String getName ( ) { return "proguard" + ( com.android.utils.StringHelper.capitalize ( scope.getVariantData ( ) . getVariantConfiguration ( ) . getFullName ( ) ) ) ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( "proguard" ) ; }
Source:
public java.util.Collection < V > values ( ) { java.util.Collection < V > vs = values ; return vs != null ? vs : ( values = new Values ( ) ) ; }

Target:
public java.util.Collection < V > values ( ) { java.util.concurrent.ConcurrentHashMap.ValuesView < K , V > vs ; return ( vs = values ) != null ? vs : ( values = new java.util.concurrent.ConcurrentHashMap.ValuesView < K , V > ( this ) ) ; }
Source:
public java.nio.file.FileVisitResult visitFile ( java.nio.file.Path file , java.nio.file.attribute.BasicFileAttributes attrs ) throws java.io.IOException { java.nio.file.Files.delete ( file ) ; return java.nio.file.FileVisitResult.CONTINUE ; }

Target:
public void deleteTempDir ( ) throws java.lang.Exception { com.android.tradefed.util.FileUtil.recursiveDelete ( mTempDir ) ; }
Source:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification notification ) { callback.onComplete ( resultCode , notification ) ; }

Target:
public void onComplete ( int resultCode , android.telephony.euicc.EuiccNotification notification ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , notification ) ) ; }
Source:
public void testVFE15 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_16 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected NoSuchMethodError" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE15 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_16" , java.lang.NoSuchMethodError.class , new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; }
Source:
public com.android.sdklib.internal.repository.SdkSource getSource ( ) { if ( ( mState ) == ( com.android.sdkuilib.internal.repository.PackagesPage.PkgState.NEW_AVAILABLE ) ) { return mPkg.getParentSource ( ) ; } else { return null ; } }

Target:
public com.android.sdklib.internal.repository.SdkSource getSource ( ) { if ( ( mState ) == ( com.android.sdkuilib.internal.repository.PackagesPage.PkgState.NEW ) ) { return mPkg.getParentSource ( ) ; } else { return null ; } }
Source:
public java.lang.String toString ( ) { return "PrefixedFS >> " + ( vfs.toString ( ) ) ; }

Target:
public java.lang.String toString ( ) { return "prefixedFS >> " + ( vfs.toString ( ) ) ; }
Source:
public static java.lang.String getPackage ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; return xPath.evaluate ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_PACKAGE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; }

Target:
public static java.lang.String getPackage ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { return com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_PACKAGE ) ) ) ; }
Source:
public void testSubsequentJoiningAndUnexpectedTextRemoval ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) ; settings.setDefaultRightMargin ( 50 ) ; settings.CALL_PARAMETERS_WRAP = com.intellij.psi.codeStyle.CommonCodeStyleSettings.WRAP_AS_NEEDED ; doTest ( 2 ) ; }

Target:
public void testSubsequentJoiningAndUnexpectedTextRemoval ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) ; settings.setDefaultRightMargin ( 50 ) ; settings.getCommonSettings ( JavaLanguage.INSTANCE ) . CALL_PARAMETERS_WRAP = com.intellij.psi.codeStyle.CommonCodeStyleSettings.WRAP_AS_NEEDED ; doTest ( 2 ) ; }
Source:
public void TestGreekUNGEGN ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new com.ibm.icu.dev.test.translit.RoundTripTest.Test ( "Latin-Greek/UNGEGN" ) . test ( "[a-zA-Z]" , getGreekSet ( ) , "[µͺϐ-￿{Μπ}]" , this , new com.ibm.icu.dev.test.translit.RoundTripTest.LegalGreek ( false ) ) ; showElapsed ( start , "TestGreekUNGEGN" ) ; }

Target:
public void TestGreekUNGEGN ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new com.ibm.icu.dev.test.translit.RoundTripTest.TransliterationTest ( "Latin-Greek/UNGEGN" ) . test ( "[a-zA-Z]" , getGreekSet ( ) , "[µͺϐ-￿{Μπ}]" , this , new com.ibm.icu.dev.test.translit.RoundTripTest.LegalGreek ( false ) ) ; showElapsed ( start , "TestGreekUNGEGN" ) ; }
Source:
public static double random ( ) { return java.lang.Math.INSTANCE.nextDouble ( ) ; }

Target:
public static double random ( ) { return java.lang.Math.NoImagePreloadHolder.INSTANCE.nextDouble ( ) ; }
Source:
boolean isExpansion ( ) { com.google.devtools.common.options.Option option = field.getAnnotation ( com.google.devtools.common.options.Option.class ) ; return ( option.expansion ( ) . length ) > 0 ; }

Target:
boolean isExpansion ( ) { com.google.devtools.common.options.Option option = field.getAnnotation ( com.google.devtools.common.options.Option.class ) ; return ( ( option.expansion ( ) . length ) > 0 ) || ( com.google.devtools.common.options.OptionsData.usesExpansionFunction ( option ) ) ; }
Source:
void continueProcessingIfPossible ( com.android.server.telecom.CreateConnectionResponse response , android.telecom.DisconnectCause disconnectCause ) { com.android.server.telecom.Log.v ( this , "continueProcessingIfPossible" ) ; mCallResponse = response ; mLastErrorDisconnectCause = disconnectCause ; attemptNextPhoneAccount ( ) ; }

Target:
void continueProcessingIfPossible ( com.android.server.telecom.CreateConnectionResponse response , android.telecom.DisconnectCause disconnectCause ) { android.telecom.Log.v ( this , "continueProcessingIfPossible" ) ; mCallResponse = response ; mLastErrorDisconnectCause = disconnectCause ; attemptNextPhoneAccount ( ) ; }
Source:
public native T get ( ) ;

Target:
private final native T getReferent ( ) ;
Source:
public void a_attachInvalidPath ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( ( ( android.jvmti.attaching.cts.AttachingTest.sAgentFile ) + ".invalid" ) , null ) ; }

Target:
public void a_attachInvalidPath ( ) throws java.lang.Exception { android.os.Debug.attachJvmtiAgent ( ( ( agentString ) + ".invalid" ) , null , classLoader ) ; }
Source:
public libcore.io.StructStatFs fstatfs ( java.io.FileDescriptor fd ) throws libcore.io.ErrnoException ;

Target:
public libcore.io.StructStatVfs fstatvfs ( java.io.FileDescriptor fd ) throws libcore.io.ErrnoException ;
Source:
public java.lang.String getShortDisplayValue ( ) { com.android.sdklib.resources.ResourceEnum value = getEnumValue ( ) ; if ( value != null ) { return value.getShortDisplayValue ( ) ; } return "" ; }

Target:
public java.lang.String getShortDisplayValue ( ) { com.android.resources.ResourceEnum value = getEnumValue ( ) ; if ( value != null ) { return value.getShortDisplayValue ( ) ; } return "" ; }
Source:
public void dereferenceAllSuccessors ( ) { for ( com.android.jack.ir.ast.cfg.JBasicBlock successor : new java.util.HashSet < > ( getSuccessors ( ) ) ) { replaceAllSuccessors ( successor , this ) ; } }

Target:
public void detach ( ) { if ( ! ( this . predecessors.isEmpty ( ) ) ) { throw new java.lang.IllegalStateException ( "The basic block must not have predecessors" ) ; } for ( com.android.jack.ir.ast.cfg.JBasicBlock successor : getSuccessors ( ) ) { replaceAllSuccessors ( successor , this ) ; } }
Source:
public void copyFrom ( short [ ] d ) { validateIsInt16 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_16 , d.length ) ; }

Target:
public void copyFrom ( short [ ] d ) { validateIsInt16OrFloat16 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( ( "StructUcred[pid=" + ( pid ) ) + ",uid=" ) + ( uid ) ) + ",gid=" ) + ( gid ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return libcore.util.Objects.toString ( this ) ; }
Source:
public void testMoveAppInternalToInternal ( ) { int installFlags = PackageManager.INSTALL_INTERNAL ; int moveFlags = PackageManager.MOVE_INTERNAL ; boolean fail = true ; int result = PackageManager.MOVE_FAILED_INVALID_LOCATION ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppForwardLocked ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int installFlags = android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ; int moveFlags = android.content.pm.PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = true ; int result = android.content.pm.PackageManager.MOVE_FAILED_FORWARD_LOCKED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
native void rsnScriptSetVarF ( long con , long id , int slot , float val ) ;

Target:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot , boolean mUseInc ) ;
Source:
void expect ( java.lang.String rules , java.lang.String source , java.lang.String expectedResult ) { expect ( rules , source , expectedResult , null ) ; }

Target:
static void expect ( java.lang.String rules , java.lang.String source , java.lang.String expectedResult ) { com.ibm.icu.dev.test.translit.TransliteratorTest.expect ( rules , source , expectedResult , null ) ; }
Source:
public static native void registerAppInfo ( java.lang.String packageName , java.lang.String appDir , java.lang.String [ ] codePaths ) ;

Target:
public static native void registerAppInfo ( java.lang.String packageName , java.lang.String appDir , java.lang.String [ ] codePaths , java.lang.String foreignDexProfileDir ) ;
Source:
public void run ( ) { boolean deleted = tempFile.delete ( ) ; if ( ! deleted ) { throw new com.android.jack.JackIOException ( ( "Failed to delete temporary file " + tempFile ) ) ; } }

Target:
public void run ( ) { boolean deleted = tempFile.delete ( ) ; if ( ! deleted ) { throw new com.android.jack.JackIOException ( ( "Failed to delete temporary file " + ( tempFile.getPath ( ) ) ) ) ; } }
Source:
int getConnectionState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hearingaid.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; }

Target:
int getConnectionState ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hearingaid.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; synchronized ( mStateMachines ) { com.android.bluetooth.hearingaid.HearingAidStateMachine sm = mStateMachines.get ( device ) ; if ( sm == null ) { return android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; } return sm.getConnectionState ( ) ; } }
Source:
public boolean startScan ( ) { try { final android.os.WorkSource workSource = null ; mService.startScan ( workSource ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }

Target:
public java.util.List < android.net.wifi.WifiChannel > getChannelList ( ) { try { return mService.getChannelList ( ) ; } catch ( android.os.RemoteException e ) { return null ; } }
Source:
public java.lang.String getSimpleNameLocal2 ( ) { class I { } I i = new I ( ) { } ; return i.getClass ( ) . getSimpleName ( ) ; }

Target:
public boolean isAnonymousLocal2 ( ) { class I { } I i = new I ( ) { } ; return i.getClass ( ) . isAnonymousClass ( ) ; }
Source:
public com.android.internal.telephony.Connection dial ( com.android.internal.telephony.Phone phone , java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState ) throws com.android.internal.telephony.CallStateException { return phone.dial ( dialString , uusInfo , videoState , null ) ; }

Target:
public com.android.internal.telephony.Connection dial ( com.android.internal.telephony.Phone phone , java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState ) throws com.android.internal.telephony.CallStateException { return phone.dial ( dialString , new com.android.internal.telephony.PhoneInternalInterface.DialArgs.Builder < > ( ) . setUusInfo ( uusInfo ) . setVideoState ( videoState ) . build ( ) ) ; }
Source:
public void setPlatformNotificationsEnabled ( boolean enable ) { }

Target:
public android.net.Uri [ ] parseFileChooserResult ( int resultCode , android.content.Intent intent ) { return com.android.webview.chromium.FileChooserParamsAdapter.parseFileChooserResult ( resultCode , intent ) ; }
Source:
public void testE1 ( ) { dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_1 t = new dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_1 ( ) ; try { t.run ( 12345678912345L , 0 ) ; fail ( "expected ArithmeticException" ) ; } catch ( java.lang.ArithmeticException ae ) { } }

Target:
public void testE1 ( ) { loadAndRun ( "dot.junit.opcodes.div_long_2addr.d.T_div_long_2addr_1" , java.lang.ArithmeticException.class , 12345678912345L , 0 ) ; }
Source:
public void changeIccLockPassword ( java.lang.String oldPassword , java.lang.String newPassword , android.os.Message onComplete ) { synchronized ( mLock ) { if ( com.android.internal.telephony.uicc.UiccCardApplication.DBG ) log ( "changeIccLockPassword" ) ; mCi.changeIccPinForApp ( oldPassword , newPassword , mAid , onComplete ) ; } }

Target:
public void supplyPuk ( java.lang.String puk , java.lang.String newPin , android.os.Message onComplete ) { synchronized ( mLock ) { mCi.supplyIccPukForApp ( puk , newPin , mAid , mHandler.obtainMessage ( com.android.internal.telephony.uicc.UiccCardApplication.EVENT_PIN1_PUK1_DONE , onComplete ) ) ; } }
Source:
public void testWildcardMatchesWildcardSuffix ( ) { assertTrue ( verifier.verifyHostName ( "b.c.d" , "*.b.c.d" ) ) ; assertTrue ( verifier.verifyHostName ( "imap.google.com" , "*.imap.google.com" ) ) ; }

Target:
public void testWildcardMatchingSubstring ( ) { assertTrue ( verifyWithDomainNamePattern ( "b.c.d" , "b*.c.d" ) ) ; assertTrue ( verifyWithDomainNamePattern ( "imap.google.com" , "ima*.google.com" ) ) ; }
Source:
protected void engineInitSign ( java.security.PrivateKey privateKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPrivateKey ( privateKey ) ) ; }

Target:
protected void engineInitSign ( java.security.PrivateKey privateKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPrivateKey ( privateKey ) ) ; signing = true ; }
Source:
public static final boolean isSupplementaryCodePoint ( int cp ) { return ( cp >= ( android.icu.text.UTF16.SUPPLEMENTARY_MIN_VALUE ) ) && ( cp <= ( android.icu.text.UTF16.CODEPOINT_MAX_VALUE ) ) ; }

Target:
public static final boolean isSupplementaryCodePoint ( int cp ) { return java.lang.Character.isSupplementaryCodePoint ( cp ) ; }
Source:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDynamicCastOperation expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JDynamicCastOperation other = otherOrMe ( expr ) ; ensure ( equal ( expr.getTypes ( ) , other.getTypes ( ) ) ) ; }

Target:
public void endVisit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JIntLiteral expr ) { performCommonChecks ( expr ) ; com.android.jack.ir.ast.JIntLiteral other = otherOrMe ( expr ) ; ensure ( ( ( expr.getValue ( ) ) == ( other.getValue ( ) ) ) ) ; }
Source:
public static boolean isHighSurrogate ( char ch ) { return ( ch >= ( android.icu.lang.UCharacter.MIN_HIGH_SURROGATE ) ) && ( ch <= ( android.icu.lang.UCharacter.MAX_HIGH_SURROGATE ) ) ; }

Target:
public static boolean isLowSurrogate ( char ch ) { return java.lang.Character.isLowSurrogate ( ch ) ; }
Source:
public void unregisterForIccChanged ( android.os.Handler h ) { mIccChangedRegistrants.remove ( h ) ; }

Target:
public void unregisterForIccChanged ( android.os.Handler h ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { mIccChangedRegistrants.remove ( h ) ; } }
Source:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call ) { }

Target:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call , boolean didRttChange ) { }
Source:
public void compareToNonLocalDate ( ) { java.lang.Comparable c = TEST_2007_07_15 ; c.compareTo ( new java.lang.Object ( ) ) ; }

Target:
public void compareToNonLocalDate ( ) { java.lang.Comparable c = tck.java.time.TCKLocalDate.TEST_2007_07_15 ; c.compareTo ( new java.lang.Object ( ) ) ; }
Source:
public void broadcastP2pProvisionDiscoveryPbcRequest ( java.lang.String iface , android.net.wifi.p2p.WifiP2pProvDiscEvent event ) { if ( event != null ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.P2P_PROV_DISC_PBC_REQ_EVENT , event ) ; } }

Target:
public void broadcastTargetBssidEvent ( java.lang.String iface , java.lang.String bssid ) { sendMessage ( iface , WifiStateMachine.CMD_TARGET_BSSID , 0 , 0 , bssid ) ; }
Source:
java.lang.String printTime ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; sb.append ( " rt=" ) . append ( android.os.SystemClock.uptimeMillis ( ) ) ; sb.append ( "/" ) . append ( android.os.SystemClock.elapsedRealtime ( ) ) ; return sb.toString ( ) ; }

Target:
java.lang.String printTime ( ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; sb.append ( " rt=" ) . append ( mClock.getUptimeSinceBootMillis ( ) ) ; sb.append ( "/" ) . append ( mClock.getElapsedSinceBootMillis ( ) ) ; return sb.toString ( ) ; }
Source:
public void onDeactivateDataCallComplete ( @ android.telephony.data.DataServiceCallback.ResultCode int resultCode ) { if ( com.android.internal.telephony.dataconnection.DataServiceManager.DBG ) log ( ( "onDeactivateDataCallComplete. resultCode = " + resultCode ) ) ; android.os.Message msg = mMessageMap.remove ( this ) ; sendCompleteMessage ( msg , resultCode ) ; }

Target:
public void onDeactivateDataCallComplete ( @ android.telephony.data.DataServiceCallback.ResultCode int resultCode ) { if ( com.android.internal.telephony.dataconnection.DataServiceManager.DBG ) log ( ( "onDeactivateDataCallComplete. resultCode = " + resultCode ) ) ; android.os.Message msg = mMessageMap.remove ( asBinder ( ) ) ; sendCompleteMessage ( msg , resultCode ) ; }
Source:
public void onDismiss ( android.content.DialogInterface dialog ) { mButtonDataRoam.setChecked ( mOkClicked ) ; }

Target:
public void onPositiveButtonClick ( android.app.DialogFragment dialog ) { mPhone.setDataRoamingEnabled ( true ) ; mButtonDataRoam.setChecked ( true ) ; }
Source:
public com.google.common.collect.ImmutableMap < K , V > build ( ) { return com.google.common.collect.ImmutableMap.Builder.fromEntryList ( entries ) ; }

Target:
private void ensureCapacity ( int minCapacity ) { if ( minCapacity > ( entries.length ) ) { entries = com.google.common.collect.ObjectArrays.arraysCopyOf ( entries , com.google.common.collect.ImmutableCollection.Builder.expandedCapacity ( entries.length , minCapacity ) ) ; } }
Source:
public void autoConnectToNetwork ( int networkId , java.lang.String bssid ) { synchronized ( mWifiReqCountLock ) { if ( hasConnectionRequests ( ) ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_AUTO_CONNECT , networkId , 0 , bssid ) ; } } }

Target:
public void startConnectToNetwork ( int networkId , java.lang.String bssid ) { synchronized ( mWifiReqCountLock ) { if ( hasConnectionRequests ( ) ) { sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_START_CONNECT , networkId , 0 , bssid ) ; } } }
Source:
public boolean hasIccCard ( ) { return hasIccCard ( getDefaultSim ( ) ) ; }

Target:
public boolean hasIccCard ( ) { return hasIccCard ( getSlotIndex ( ) ) ; }
Source:
public void runWithSecurityManagerWithPermissions ( java.lang.Runnable r , java.security.Permission ... permissions ) { r.run ( ) ; }

Target:
public void runWithPermissions ( java.lang.Runnable r , java.security.Permission ... permissions ) { java.lang.SecurityManager sm = java.lang.System.getSecurityManager ( ) ; if ( sm == null ) { r.run ( ) ; } runWithSecurityManagerWithPermissions ( r , permissions ) ; }
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 callSessionMergeStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { mNewListener.callSessionMergeStarted ( newSession , profile ) ; }
Source:
V transform ( java.util.Map.Entry < K , V > entry ) { return entry.getValue ( ) ; }

Target:
public java.lang.Object apply ( java.util.Map.Entry < ? , ? > entry ) { return entry.getValue ( ) ; }
Source:
public android.net.LocalSocket accept ( ) throws java.io.IOException { android.net.LocalSocketImpl acceptedImpl = new android.net.LocalSocketImpl ( ) ; impl.accept ( acceptedImpl ) ; return new android.net.LocalSocket ( acceptedImpl , LocalSocket.SOCKET_UNKNOWN ) ; }

Target:
public android.net.LocalSocket accept ( ) throws java.io.IOException { android.net.LocalSocketImpl acceptedImpl = new android.net.LocalSocketImpl ( ) ; impl.accept ( acceptedImpl ) ; return android.net.LocalSocket.createLocalSocketForAccept ( acceptedImpl , LocalSocket.SOCKET_UNKNOWN ) ; }
Source:
public boolean grant ( java.lang.String key , int uid ) { return grant ( android.security.KeyStore.getKeyBytes ( key ) , android.security.KeyStore.getUidBytes ( uid ) ) ; }

Target:
public long getmtime ( java.lang.String key ) { try { return mBinder.getmtime ( key ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return - 1L ; } }
Source:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { unit = com.ibm.icu.util.MeasureUnit.internalGetInstance ( type , key.toString ( ) ) ; patternSink.countToFormat = null ; return patternSink ; }

Target:
public UResource.TableSink getOrCreateTableSink ( com.ibm.icu.impl.UResource.Key key , int initialSize ) { unit = com.ibm.icu.util.MeasureUnit.internalGetInstance ( type , key.toString ( ) ) ; patternSink.patterns = null ; return patternSink ; }
Source:
public void onResume ( ) { super . onResume ( ) ; com.android.music.MusicUtils.setSpinnerState ( this ) ; com.android.music.MusicUtils.updateNowPlaying ( this ) ; }

Target:
public void onDestroy ( ) { setListAdapter ( null ) ; mAdapter = null ; super . onDestroy ( ) ; }
Source:
public long write ( java.nio.ByteBuffer [ ] buffers , int offset , int length ) throws java.io.IOException { return channel.write ( buffers , offset , length ) ; }

Target:
public int write ( java.nio.ByteBuffer buffer ) throws java.io.IOException { return channel.write ( buffer ) ; }
Source:
com.android.ahat.heapdump.Site add ( com.android.tools.perflib.heap.StackFrame [ ] frames , int depth , com.android.ahat.heapdump.AhatInstance inst ) { return com.android.ahat.heapdump.Site.add ( this , frames , depth , inst ) ; }

Target:
com.android.ahat.heapdump.Site getSite ( com.android.tools.perflib.heap.StackFrame [ ] frames ) { return frames == null ? this : com.android.ahat.heapdump.Site.getSite ( this , frames ) ; }
Source:
public void start ( android.net.Uri startPlayingVoicemailUri ) { com.android.dialer.common.Assert.checkArgument ( startPlayingVoicemailUri.equals ( voicemailUriLastPreparedOrPreparingToPlay ) , "uri:%s was not prepared before calling start. Uri that is currently prepared: %s" , startPlayingVoicemailUri , getLastPreparedOrPreparingToPlayVoicemailUri ( ) ) ; mediaPlayer.start ( ) ; voicemailLastPlayedOrPlayingUri = startPlayingVoicemailUri ; pausedUri = null ; }

Target:
public void start ( android.net.Uri startPlayingVoicemailUri ) { com.android.dialer.common.Assert.checkArgument ( startPlayingVoicemailUri.equals ( voicemailUriLastPreparedOrPreparingToPlay ) , "uri:%s was not prepared before calling start. Uri that is currently prepared: %s" , startPlayingVoicemailUri , getLastPreparedOrPreparingToPlayVoicemailUri ( ) ) ; mediaPlayer.start ( ) ; voicemailLastPlayedOrPlayingUri = startPlayingVoicemailUri ; pausedUri = null ; voicemailRequestedToDownload = null ; }
Source:
private boolean hasConnectedClassicDevices ( ) { return ( ! ( mA2dpConnectedDevices.isEmpty ( ) ) ) || ( ! ( mHfpConnectedDevices.isEmpty ( ) ) ) ; }

Target:
private void resetState ( ) { mA2dpConnectedDevices.clear ( ) ; mA2dpActiveDevice = null ; mHfpConnectedDevices.clear ( ) ; mHfpActiveDevice = null ; mHearingAidActiveDevice = null ; }
Source:
public static native void SSL_check_private_key ( int ssl ) throws javax.net.ssl.SSLException ;

Target:
public static native long SSL_get_mode ( long ssl ) ;
Source:
public void run ( ) { synchronized ( this ) { tree = model.getTree ( ) ; selectedNode = model.getSelection ( ) ; setBounds ( ) ; setTransform ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { tree = model.getTree ( ) ; selectedNode = model.getSelection ( ) ; viewport = model.getViewport ( ) ; setBounds ( ) ; setTransform ( ) ; } }
Source:
public java.lang.Object Clone ( ) throws java.lang.CloneNotSupportedException { throw new java.lang.CloneNotSupportedException ( ) ; }

Target:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { throw new java.lang.CloneNotSupportedException ( ) ; }
Source:
private WifiScanner.ScanSettings generateValidScanSettings ( ) { return createRequest ( WifiScanner.WIFI_BAND_BOTH , 30000 , 0 , 20 , WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN ) ; }

Target:
private WifiScanner.ScanSettings generateValidScanSettings ( ) { return com.android.server.wifi.ScanTestUtil.createRequest ( WifiScanner.WIFI_BAND_BOTH , 30000 , 0 , 20 , WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN ) ; }
Source:
public android.net.Uri getVoicemailRingtoneUri ( android.telecom.PhoneAccountHandle accountHandle ) { final com.android.internal.telephony.Phone phone = com.android.phone.PhoneUtils.getPhoneForPhoneAccountHandle ( accountHandle ) ; if ( phone == null ) { return null ; } return com.android.phone.settings.VoicemailNotificationSettingsUtil.getRingtoneUri ( phone ) ; }

Target:
public boolean isVoicemailVibrationEnabled ( android.telecom.PhoneAccountHandle accountHandle ) { com.android.internal.telephony.Phone phone = com.android.phone.PhoneUtils.getPhoneForPhoneAccountHandle ( accountHandle ) ; if ( phone == null ) { phone = mPhone ; } return com.android.phone.settings.VoicemailNotificationSettingsUtil.isVibrationEnabled ( phone ) ; }
Source:
private static com.ibm.icu.impl.SimplePatternFormatter compilePattern ( java.lang.String pattern ) { return com.ibm.icu.impl.SimplePatternFormatter.compileMinMaxPlaceholders ( pattern , 2 , 2 ) ; }

Target:
private static java.lang.String compilePattern ( java.lang.String pattern , java.lang.StringBuilder sb ) { return com.ibm.icu.impl.SimplePatternFormatter.compileToStringMinMaxPlaceholders ( pattern , sb , 2 , 2 ) ; }
Source:
public void testTlvInvalidSizeT1L3 ( ) { android.net.wifi.nan.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.nan.TlvBufferUtils.TlvConstructor ( 1 , 3 ) ; }

Target:
public void testTlvInvalidSizeT1L3 ( ) { android.net.wifi.aware.TlvBufferUtils.TlvConstructor tlv10 = new android.net.wifi.aware.TlvBufferUtils.TlvConstructor ( 1 , 3 ) ; }
Source:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { applyTransportModeTransform ( pfd , transform ) ; } }

Target:
public void applyTransportModeTransform ( java.net.DatagramSocket socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.fromDatagramSocket ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }
Source:
public void setUseSessionTickets ( boolean useSessionTickets ) { this . useSessionTickets = useSessionTickets ; }

Target:
public java.lang.String chooseClientAlias ( javax.net.ssl.X509KeyManager keyManager , javax.security.auth.x500.X500Principal [ ] issuers , java.lang.String [ ] keyTypes ) { return keyManager.chooseClientAlias ( keyTypes , null , this ) ; }
Source:
public void setSupplicantLogLevel ( java.lang.String level ) { doStringCommand ( ( "LOG_LEVEL " + level ) ) ; }

Target:
public boolean scan ( java.util.Set < java.lang.Integer > freqs , java.util.Set < java.lang.String > hiddenNetworkSSIDs ) { return mWificondControl.scan ( freqs , hiddenNetworkSSIDs ) ; }
Source:
native void rsnAllocationRead ( long con , long id , long [ ] d ) ;

Target:
native void rsnScriptSetVarJ ( long con , long id , int slot , long val , boolean mUseInc ) ;
Source:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( android.icu.impl.UResource.Key key , int initialSize ) { return null ; }

Target:
public android.icu.impl.UResource.ArraySink getOrCreateArraySink ( int index ) { return null ; }
Source:
public java.lang.Object [ ] getElements ( java.lang.Object inputElement ) { if ( inputElement instanceof com.android.sdklib.internal.repository.SdkSource [ ] ) { return ( ( java.lang.Object [ ] ) ( inputElement ) ) ; } else { return new java.lang.Object [ 0 ] ; } }

Target:
public java.lang.Object [ ] getElements ( java.lang.Object inputElement ) { if ( inputElement instanceof com.android.sdklib.internal.repository.sources.SdkSource [ ] ) { return ( ( java.lang.Object [ ] ) ( inputElement ) ) ; } else { return new java.lang.Object [ 0 ] ; } }
Source:
public void run ( ) { mValueAnimator.end ( ) ; }

Target:
public void run ( ) { animator.end ( ) ; }
Source:
public int getFeatureState ( ) { return mState ; }

Target:
public void removeImsFeatureStatusCallback ( @ android.annotation.NonNull com.android.ims.internal.IImsFeatureStatusCallback c ) { synchronized ( mLock ) { mStatusCallbacks.remove ( c ) ; } }
Source:
long getRetryTimeout ( ) ;

Target:
long getStartDelay ( ) ;
Source:
public void onMessageReceived ( int peerId , byte [ ] message ) { }

Target:
public void onMessageReceived ( java.lang.Object peerHandle , byte [ ] message ) { }
Source:
native int rsnScriptIntrinsicCreate ( int con , int id , int eid ) ;

Target:
synchronized long nScriptInvokeIDCreate ( long sid , int slot ) { validate ( ) ; return rsnScriptInvokeIDCreate ( mContext , sid , slot ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearStartTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 128 ) ; startTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearSuiteName ( ) { bitField0_ = ( bitField0_ ) & ( ~ 2048 ) ; suiteName_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getSuiteName ( ) ; onChanged ( ) ; return this ; }
Source:
public void onMoveRect ( int destStartRow , int destEndRow , int destStartCol , int destEndCol , int srcStartRow , int srcEndRow , int srcStartCol , int srcEndCol ) { post ( mDamageRunnable ) ; }

Target:
public void onDamage ( final int startRow , final int endRow , int startCol , int endCol ) { post ( mDamageRunnable ) ; }
Source:
public static void wtf ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { java.lang.String msg = com.android.services.telephony.Log.buildMessage ( prefix , format , args ) ; android.util.Log.wtf ( com.android.services.telephony.Log.TAG , msg , new java.lang.IllegalStateException ( msg ) ) ; }

Target:
public static void wtf ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.wtf ( objectPrefix , format , args ) ; }
Source:
public boolean setP2pSsidPostfix ( java.lang.String postfix ) { return doBooleanCommand ( ( "SET p2p_ssid_postfix " + postfix ) ) ; }

Target:
public boolean setP2pSsidPostfix ( java.lang.String postfix ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.setSsidPostfix ( postfix ) ; } else { return doBooleanCommand ( ( "SET p2p_ssid_postfix " + postfix ) ) ; } }
Source:
public void run ( ) { if ( director.acquireBridge ( ) ) { director.startListenForDevices ( ) ; director.populateDeviceSelectionModel ( ) ; } }

Target:
private static boolean initDirector ( com.android.hierarchyviewerlib.HierarchyViewerDirector director ) { if ( director.acquireBridge ( ) ) { director.startListenForDevices ( ) ; director.populateDeviceSelectionModel ( ) ; return true ; } return false ; }
Source:
public java.io.File getOutput ( ) { assert ( output ) != null ; return output ; }

Target:
public java.io.File getOutput ( ) { assert ( output ) != null ; if ( ( workingDir ) != null ) { return new java.io.File ( workingDir , output.getPath ( ) ) ; } else { return output ; } }
Source:
public void test_fr ( ) throws java.lang.Exception { libcore.icu.AlphabeticIndex fr = new libcore.icu.AlphabeticIndex ( java.util.Locale.FRENCH ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( fr , "Øfer" , "O" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( fr , "Œster" , "O" ) ; }

Target:
public void test_fr ( ) throws java.lang.Exception { libcore.icu.ImmutableIndex fr = libcore.icu.AlphabeticIndexTest.createIndex ( java.util.Locale.FRENCH ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( fr , "Øfer" , "O" ) ; libcore.icu.AlphabeticIndexTest.assertHasLabel ( fr , "Œster" , "O" ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { RenderScript.registerNativeFree.invoke ( RenderScript.sRuntime , mSize ) ; super . finalize ( ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { RenderScript.registerNativeFree.invoke ( RenderScript.sRuntime , mSize ) ; mType = null ; super . finalize ( ) ; }