auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void connected ( ) { }

Target:
public void connected ( ) { ( connectCount ) ++ ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public void testIncorrectRemoveAll ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <permission " ) + " android:label=\"@string/lib_name\"" ) + " android:name=\"permissionOne\"" ) + " tools:node=\"removeAll\">\n" ) + " </permission>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testIncorrectRemove" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReport = new com.android.manifmerger.MergingReport.Builder ( mockLog ) ; com.android.manifmerger.MergingReport.Result validated = com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument ) ; assertEquals ( MergingReport.Result.ERROR , validated ) ; assertStringPresenceInLogRecords ( mergingReport , "tools:node=\"removeAll\"" ) ; }

Target:
public void testIncorrectRemoveAll ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <permission " ) + " android:label=\"@string/lib_name\"" ) + " android:name=\"permissionOne\"" ) + " tools:node=\"removeAll\">\n" ) + " </permission>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testIncorrectRemove" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReport = new com.android.manifmerger.MergingReport.Builder ( mockLog ) ; com.android.manifmerger.MergingReport.Result validated = com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument ) ; assertEquals ( MergingReport.Result.ERROR , validated ) ; com.android.manifmerger.PreValidatorTest.assertStringPresenceInLogRecords ( mergingReport , "tools:node=\"removeAll\"" ) ; }
Source:
public void run ( ) { idleOptimization ( pm , pkgs , this ) ; if ( ! ( mAbortIdleOptimization.get ( ) ) ) { jobFinished ( jobParams , false ) ; } }

Target:
public void run ( ) { int result = idleOptimization ( pm , pkgs , this ) ; if ( result != ( com.android.server.pm.BackgroundDexOptService.OPTIMIZE_ABORT_BY_JOB_SCHEDULER ) ) { android.util.Log.w ( com.android.server.pm.BackgroundDexOptService.TAG , "Idle optimizations aborted because of space constraints." ) ; jobFinished ( jobParams , false ) ; } }
Source:
public void onSubscriptionsChanged ( ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "onSubscriptionsChanged:" ) ; initializeSubscriptions ( ) ; }

Target:
public void onTabChanged ( java.lang.String tabId ) { if ( com.android.phone.MobileNetworkSettings.MobileNetworkFragment.DBG ) com.android.phone.MobileNetworkSettings.MobileNetworkFragment.log ( "onTabChanged:" ) ; updatePhone ( java.lang.Integer.parseInt ( tabId ) ) ; updateBody ( ) ; }
Source:
public void rmPackageDir ( java.lang.String packageDir ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.rmPackageDir ( packageDir ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void rmPackageDir ( java.lang.String packageDir ) throws com.android.server.pm.Installer.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.rmPackageDir ( packageDir ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw com.android.server.pm.Installer.InstallerException.from ( e ) ; } }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVFileLocation ( parent , path ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
public static void v ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( com.android.services.telephony.Log.VERBOSE ) { android.util.Log.v ( com.android.services.telephony.Log.TAG , com.android.services.telephony.Log.buildMessage ( com.android.services.telephony.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void v ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { android.telecom.Log.v ( objectPrefix , format , args ) ; }
Source:
public void testSendMessageQueueRandomize ( ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareNative.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_RANDOMIZE , cap , ( ( cap.maxQueuedTransmitMessages ) * 10 ) ) ; }

Target:
public void testSendMessageQueueRandomize ( ) throws java.lang.Exception { com.android.server.wifi.aware.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_RANDOMIZE , cap , ( ( cap.maxQueuedTransmitMessages ) * 10 ) ) ; }
Source:
public void onInternationalCallOnWifi ( @ android.support.annotation.NonNull com.android.incallui.call.DialerCall call ) { com.android.dialer.common.LogUtil.enterBlock ( "InCallPresenter.onInternationalCallOnWifi" ) ; if ( ( mInCallActivity ) != null ) { mInCallActivity.onInternationalCallOnWifi ( call ) ; } }

Target:
public void onInternationalCallOnWifi ( @ android.support.annotation.NonNull com.android.incallui.call.DialerCall call ) { com.android.dialer.common.LogUtil.enterBlock ( "InCallPresenter.onInternationalCallOnWifi" ) ; if ( ( mInCallActivity ) != null ) { mInCallActivity.showDialogForInternationalCallOnWifi ( call ) ; } }
Source:
public java.util.Map.Entry < K , V > eldest ( ) { return null ; }

Target:
public java.util.Map.Entry < K , V > eldest ( ) { return head ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) { return null ; }

Target:
public com.android.ims.ImsCallProfile createCallProfile ( int sessionId , int callSessionType , int callType ) { return null ; }
Source:
public boolean matches ( java.lang.Object object ) { android.content.Intent intent = ( ( android.content.Intent ) ( object ) ) ; return NetworkScoreManager.ACTION_SCORE_NETWORKS.equals ( intent.getAction ( ) ) ; }

Target:
public boolean matches ( java.lang.Object object ) { android.content.Intent intent = ( ( android.content.Intent ) ( object ) ) ; return ( NetworkScoreManager.ACTION_RECOMMEND_NETWORKS.equals ( intent.getAction ( ) ) ) && ( packageName.equals ( intent.getPackage ( ) ) ) ; }
Source:
public void run ( ) { org.eclipse.jface.dialogs.MessageDialog.openInformation ( mWindowShell , "Android Tools Updated" , ( "The Android SDK and AVD Manager that you are currently using has been updated. " + ( ( "It is recommended that you now close the manager window and re-open it. " + "If you started this window from Eclipse, please check if the Android " ) + "plug-in needs to be updated." ) ) ) ; }

Target:
public void run ( ) { org.eclipse.jface.dialogs.MessageDialog.openInformation ( getWindowShell ( ) , "Android Tools Updated" , ( "The Android SDK and AVD Manager that you are currently using has been updated. " + ( ( "It is recommended that you now close the manager window and re-open it. " + "If you started this window from Eclipse, please check if the Android " ) + "plug-in needs to be updated." ) ) ) ; }
Source:
public boolean dial ( android.bluetooth.BluetoothDevice device , java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return false ; } return service.dial ( device , number ) ; }

Target:
public android.bluetooth.BluetoothHeadsetClientCall dial ( android.bluetooth.BluetoothDevice device , java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service == null ) { return null ; } return service.dial ( device , number ) ; }
Source:
public void start ( java.lang.String callee , com.android.ims.ImsCallProfile profile ) { }

Target:
public void start ( java.lang.String callee , android.telephony.ims.ImsCallProfile profile ) { this . start ( callee , profile ) ; }
Source:
public void reset ( ) { com.android.dialer.common.LogUtil.enterBlock ( "NewVoicemailMediaPlayer.reset" ) ; mediaPlayer.reset ( ) ; voicemailLastPlayedOrPlayingUri = null ; voicemailUriLastPreparedOrPreparingToPlay = null ; pausedUri = null ; }

Target:
public void reset ( ) { com.android.dialer.common.LogUtil.enterBlock ( "NewVoicemailMediaPlayer.reset" ) ; mediaPlayer.reset ( ) ; voicemailLastPlayedOrPlayingUri = null ; voicemailUriLastPreparedOrPreparingToPlay = null ; pausedUri = null ; voicemailRequestedToDownload = null ; }
Source:
void addWarning ( java.lang.String msg ) { add ( msg ) ; }

Target:
void addError ( java.lang.String msg ) { if ( ( level ) < ( com.android.libcore.timezone.tzlookup.Errors.LEVEL_ERROR ) ) { level = com.android.libcore.timezone.tzlookup.Errors.LEVEL_ERROR ; } add ( msg ) ; }
Source:
public java.lang.Void convert ( java.lang.String input ) throws com.google.devtools.common.options.OptionsParsingException { if ( input == null ) { return null ; } throw new com.google.devtools.common.options.OptionsParsingException ( ( ( "'" + input ) + "' unexpected" ) ) ; }

Target:
public java.lang.Void convert ( java.lang.String input ) throws com.google.devtools.common.options.OptionsParsingException { if ( ( input == null ) || ( input.equals ( "null" ) ) ) { return null ; } throw new com.google.devtools.common.options.OptionsParsingException ( ( ( "'" + input ) + "' unexpected" ) ) ; }
Source:
public void setVideoProvider ( java.lang.String connectionId , com.android.internal.telecom.IVideoProvider videoProvider ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = videoProvider ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_VIDEO_CALL_PROVIDER , args ) . sendToTarget ( ) ; }

Target:
public void setVideoProvider ( java.lang.String connectionId , com.android.internal.telecom.IVideoProvider videoProvider , android.telecom.Logging.Session.Info sessionInfo ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = connectionId ; args.arg2 = videoProvider ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_VIDEO_CALL_PROVIDER , args ) . sendToTarget ( ) ; }
Source:
public void stop ( ) { mPacketListener.stop ( ) ; mRunning = false ; }

Target:
public void stop ( ) { mPacketListener.stop ( ) ; mRunning = false ; mDisplayName = null ; }
Source:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.addBuildAttribute ( ( ( com.android.compatibility.common.util.DynamicConfigHostSide.CONFIG_PATH_PREFIX ) + moduleName ) , configFile.getAbsolutePath ( ) ) ; }

Target:
public void addDynamicConfigFile ( java.lang.String moduleName , java.io.File configFile ) { mBuildInfo.addBuildAttribute ( ( ( com.android.compatibility.common.util.DynamicConfigHostSide.CONFIG_PATH_PREFIX ) + moduleName ) , configFile.getAbsolutePath ( ) ) ; mBuildInfo.setFile ( configFile.getName ( ) , configFile , "1" ) ; }
Source:
public java.util.Set < java.lang.String > getNonCriticalExtensions ( ) { if ( ( noncritical ) == null ) { makeOidsLists ( ) ; } return noncritical ; }

Target:
public java.util.Set < java.lang.String > getCriticalExtensions ( ) { java.util.Set < java.lang.String > resultCritical = critical ; if ( resultCritical == null ) { makeOidsLists ( ) ; resultCritical = critical ; } return resultCritical ; }
Source:
public com.android.ide.common.rendering.api.ResourceValue findValue ( java.lang.String name , boolean isFrameworkAttr ) { return mItems.get ( com.android.util.Pair.of ( name , isFrameworkAttr ) ) ; }

Target:
public com.android.ide.common.rendering.api.ItemResourceValue getItem ( java.lang.String name , boolean isFrameworkAttr ) { return mItems.get ( new com.android.ide.common.rendering.api.ItemResourceValue.Attribute ( name , isFrameworkAttr ) ) ; }
Source:
protected void finalize ( ) { _finalize ( mUniqueId ) ; }

Target:
protected void finalize ( ) { if ( ! ( mReleased ) ) { android.util.Log.w ( android.drm.DrmManagerClient.TAG , "You should have called release()" ) ; release ( ) ; } }
Source:
private void previewSlideshow ( ) { com.android.mms.ui.MessageUtils.viewMmsMessageAttachment ( this , mUri , mSlideshowModel ) ; }

Target:
private void previewSlideshow ( ) { com.android.mms.ui.MessageUtils.viewMmsMessageAttachment ( this , mUri , mSlideshowModel , getAsyncDialog ( ) ) ; }
Source:
public int preceding ( int offset ) { return libcore.icu.NativeBreakIterator.precedingImpl ( this . address , offset ) ; }

Target:
public boolean isBoundary ( int offset ) { return libcore.icu.NativeBreakIterator.isBoundaryImpl ( this . address , this . string , offset ) ; }
Source:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.SignatureOrSystemDetector.PROTECTION_LEVEL ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableAttributes ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.PermissionRequirement.ATTR_PROTECTION_LEVEL ) ; }
Source:
public void call ( org.chromium.mojo.bindings.RunResponseMessageParams response ) { mVersion = response.queryVersionResult.version ; callback.call ( mVersion ) ; }

Target:
public void call ( org.chromium.mojo.bindings.RunResponseMessageParams response ) { mVersion = response.queryVersionResult.version ; try { callback.call ( mVersion ) ; } catch ( java.lang.RuntimeException e ) { android.util.Log.wtf ( "org.chromium.mojo.bindings.Interface" , "Uncaught runtime exception" , e ) ; } }
Source:
public com.android.server.wifi.WifiSupplicantControl getWifiSupplicantControl ( ) { return mWifiSupplicantControl ; }

Target:
public com.android.server.wifi.WifiStateTracker getWifiStateTracker ( ) { return mWifiStateTracker ; }
Source:
public final int compareTo ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier o ) { return toString ( ) . compareTo ( o.toString ( ) ) ; }

Target:
public final int compareTo ( com.android.ide.common.resources.configuration.ResourceQualifier o ) { return toString ( ) . compareTo ( o.toString ( ) ) ; }
Source:
public void waitForIdle ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent , int timeoutMs ) { if ( agent == null ) { return ; } com.android.server.ConnectivityServiceTest.waitForIdleHandler ( agent.mHandlerThread , timeoutMs ) ; }

Target:
public void waitForIdle ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent , long timeoutMs ) { if ( agent == null ) { return ; } com.android.internal.util.TestUtils.waitForIdleHandler ( agent.mHandlerThread , timeoutMs ) ; }
Source:
java.lang.Iterable < sun.nio.fs.UnixMountEntry > getMountEntries ( ) { return getMountEntries ( "/etc/mtab" ) ; }

Target:
java.lang.Iterable < sun.nio.fs.UnixMountEntry > getMountEntries ( ) { return getMountEntries ( "/proc/mounts" ) ; }
Source:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVDir resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir.list ( ) , session , "" ) ; } }

Target:
public void doImport ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) { for ( com.android.sched.vfs.InputVFS resourceDir : resourceDirs ) { importResourceDirElement ( resourceDir.getRootDir ( ) . list ( ) , session , "" ) ; } }
Source:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarJ ( long id , int slot , long val , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } rsnScriptSetVarJ ( curCon , id , slot , val , mUseInc ) ; }
Source:
public static boolean isRevocablePermission ( @ com.android.annotations.NonNull java.lang.String name ) { return ( java.util.Arrays.binarySearch ( com.android.tools.lint.checks.PermissionRequirement.REVOCABLE_PERMISSION_NAMES , name ) ) >= 0 ; }

Target:
public static boolean isRevocableSystemPermission ( @ com.android.annotations.NonNull java.lang.String name ) { return ( java.util.Arrays.binarySearch ( com.android.tools.lint.checks.PermissionRequirement.REVOCABLE_PERMISSION_NAMES , name ) ) >= 0 ; }
Source:
private boolean isMessageFiltered ( com.android.ddmuilib.logcat.LogCatMessage msg , java.util.List < com.android.ddmuilib.logcat.LogCatViewerFilter > filters ) { for ( com.android.ddmuilib.logcat.LogCatViewerFilter f : filters ) { if ( ! ( f.select ( null , null , msg ) ) ) { return true ; } } return false ; }

Target:
private boolean isMessageAccepted ( com.android.ddmuilib.logcat.LogCatMessage msg , java.util.List < com.android.ddmuilib.logcat.LogCatFilter > filters ) { for ( com.android.ddmuilib.logcat.LogCatFilter f : filters ) { if ( ! ( f.matches ( msg ) ) ) { return false ; } } return true ; }
Source:
public < T > T [ ] toArray ( T [ ] array ) { return standardToArray ( array ) ; }

Target:
private static < E > E getElementOrNull ( @ javax.annotation.Nullable com.google.common.collect.Multiset.Entry < E > entry ) { return entry == null ? null : entry.getElement ( ) ; }
Source:
public void testDecode_NullDecoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.decode ( java.nio.ByteBuffer.wrap ( "hehe" . getBytes ( ) ) ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testConstructor_IllegalCanonicalName_Middle ( ) { try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "1%%23" , new java.lang.String [ ] { "mock" } ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } try { new tests.api.java.nio.charset.CharsetTest.MockCharset ( "1//23" , new java.lang.String [ ] { "mock" } ) ; fail ( ) ; } catch ( java.nio.charset.IllegalCharsetNameException expected ) { } }
Source:
public void createAndroidComponents ( org.gradle.model.collection.CollectionBuilder < com.android.build.gradle.model.AndroidComponentSpec > androidComponents ) { androidComponents.create ( com.android.build.gradle.model.AndroidComponentModelPlugin.COMPONENT_NAME ) ; }

Target:
public void createAndroidComponents ( org.gradle.model.ModelMap < com.android.build.gradle.model.AndroidComponentSpec > androidComponents ) { androidComponents.create ( com.android.build.gradle.model.AndroidComponentModelPlugin.COMPONENT_NAME ) ; }
Source:
public void onActivationStateChanged ( android.telecom.PhoneAccountHandle phoneAccountHandle , boolean isActivated ) { if ( this . phoneAccountHandle.equals ( phoneAccountHandle ) ) { updateChangePin ( ) ; updateDonateVoicemail ( ) ; } }

Target:
public void onActivationStateChanged ( android.telecom.PhoneAccountHandle phoneAccountHandle , boolean isActivated ) { if ( this . phoneAccountHandle.equals ( phoneAccountHandle ) ) { updateVoicemailSummaryMessage ( ) ; updateTranscriptionPreferences ( ) ; updateChangePinPreference ( ) ; } }
Source:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.dalvik.compilerregressions.CompilerRegressionsTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.compile.androidtree.dalvik.compilerregressions.CompilerRegressionsTest.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar" ) } ; }

Target:
public static void setUpClass ( ) { com.android.jack.compile.androidtree.dalvik.compilerregressions.CompilerRegressionsTest.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.compile.androidtree.dalvik.compilerregressions.CompilerRegressionsTest.BOOTCLASSPATH = new java.io.File [ ] { com.android.jack.TestTools.getFromAndroidTree ( "out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.zip" ) } ; }
Source:
com.google.common.collect.ContiguousSet < C > headSetImpl ( C toElement , boolean inclusive ) { return intersectionInCurrentDomain ( com.google.common.collect.Ranges.upTo ( toElement , com.google.common.collect.BoundType.forBoolean ( inclusive ) ) ) ; }

Target:
com.google.common.collect.ContiguousSet < C > headSetImpl ( C toElement , boolean inclusive ) { return intersectionInCurrentDomain ( com.google.common.collect.Range.upTo ( toElement , com.google.common.collect.BoundType.forBoolean ( inclusive ) ) ) ; }
Source:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeInvisibleAnnotationsAttribute ) ) { runtimeInvisibleAnnotationsAttribute.accept ( clazz , field , attributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeInvisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeInvisibleAnnotationsAttribute ( clazz , method , runtimeInvisibleAnnotationsAttribute ) ; } }
Source:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( useExperimentalGradleVersion ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut , captureStdErr , heapSize ) ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( useExperimentalGradleVersion ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut , captureStdErr , sdkDir , ndkDir , heapSize ) ; }
Source:
com.android.ahat.heapdump.Value getValue ( java.lang.Object value ) { if ( value instanceof com.android.tools.perflib.heap.Instance ) { value = findInstance ( ( ( com.android.tools.perflib.heap.Instance ) ( value ) ) . getId ( ) ) ; } return value == null ? null : new com.android.ahat.heapdump.Value ( value ) ; }

Target:
com.android.ahat.heapdump.Value getValue ( java.lang.Object value ) { if ( value instanceof com.android.tools.perflib.heap.Instance ) { value = findInstance ( ( ( com.android.tools.perflib.heap.Instance ) ( value ) ) . getId ( ) ) ; } return com.android.ahat.heapdump.Value.pack ( value ) ; }
Source:
public void visitDeprecatedAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.DeprecatedAttribute deprecatedAttribute ) { if ( accepted ( clazz , deprecatedAttribute ) ) { deprecatedAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { if ( accepted ( clazz , syntheticAttribute ) ) { attributeVisitor.visitSyntheticAttribute ( clazz , syntheticAttribute ) ; } }
Source:
private void verifyStageInstallCalled ( com.android.timezone.distro.TimeZoneDistro expected ) throws java.lang.Exception { org.mockito.Mockito.verify ( mMockTimeZoneDistroInstaller ) . stageInstallWithErrorCode ( org.mockito.Matchers.eq ( expected ) ) ; org.mockito.Mockito.verifyNoMoreInteractions ( mMockTimeZoneDistroInstaller ) ; org.mockito.Mockito.reset ( mMockTimeZoneDistroInstaller ) ; }

Target:
private void verifyStageInstallCalled ( ) throws java.lang.Exception { org.mockito.Mockito.verify ( mMockTimeZoneDistroInstaller ) . stageInstallWithErrorCode ( org.mockito.ArgumentMatchers.any ( com.android.timezone.distro.TimeZoneDistro.class ) ) ; org.mockito.Mockito.verifyNoMoreInteractions ( mMockTimeZoneDistroInstaller ) ; org.mockito.Mockito.reset ( mMockTimeZoneDistroInstaller ) ; }
Source:
protected synchronized void receive0 ( java.net.DatagramPacket p ) throws java.io.IOException { doRecv ( p , 0 ) ; }

Target:
protected native void send ( java.net.DatagramPacket p ) throws java.io.IOException ;
Source:
private static void expectEquals64 ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }

Target:
private static void expectEqual64 ( long expected , long result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }
Source:
public void run ( ) { com.android.hierarchyviewerlib.device.DeviceBridge.requestLayout ( selectedNode.viewNode ) ; }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( selectedNode.viewNode.window.getDevice ( ) ) ; hvDevice.requestLayout ( selectedNode.viewNode ) ; }
Source:
public void onSdkReload ( ) { loadPackages ( ) ; }

Target:
public void onSdkReload ( ) { mImpl.loadPackages ( ) ; }
Source:
private int translateCallStateForCallWaiting ( int callState ) { if ( callState != ( com.android.incallui.call.DialerCall.State.INCOMING ) ) { return callState ; } return ( callList.getActiveCall ( ) ) == null ? com.android.incallui.call.DialerCall.State.INCOMING : com.android.incallui.call.DialerCall.State.CALL_WAITING ; }

Target:
private int translateCallStateForCallWaiting ( int callState ) { if ( callState != ( com.android.incallui.call.state.DialerCallState.INCOMING ) ) { return callState ; } return ( callList.getActiveCall ( ) ) == null ? com.android.incallui.call.state.DialerCallState.INCOMING : com.android.incallui.call.state.DialerCallState.CALL_WAITING ; }
Source:
public boolean ungrant ( java.lang.String key , int uid ) { return ungrant ( android.security.KeyStore.getBytes ( key ) , java.lang.Integer.toString ( uid ) . getBytes ( ) ) ; }

Target:
private static byte [ ] getUidBytes ( int uid ) { return java.lang.Integer.toString ( uid ) . getBytes ( Charsets.UTF_8 ) ; }
Source:
public static com.android.internal.content.NativeLibraryHelper.Handle create ( android.content.pm.PackageParser.PackageLite lite ) throws java.io.IOException { return com.android.internal.content.NativeLibraryHelper.Handle.create ( lite.getAllCodePaths ( ) , lite.multiArch , lite.extractNativeLibs ) ; }

Target:
public static com.android.internal.content.NativeLibraryHelper.Handle create ( android.content.pm.PackageParser.PackageLite lite ) throws java.io.IOException { return com.android.internal.content.NativeLibraryHelper.Handle.create ( lite.getAllCodePaths ( ) , lite.multiArch , lite.extractNativeLibs , lite.debuggable ) ; }
Source:
static double $opt$CharToDouble ( int a ) { return ( ( double ) ( a ) ) ; }

Target:
static float $opt$IntToFloat ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( float ) ( a ) ) ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.String > endsWith ( java.lang.String substring ) { return org.hamcrest.text.StringEndsWith.endsWith ( substring ) ; }

Target:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.String > containsStringIgnoringCase ( java.lang.String substring ) { return org.hamcrest.core.StringContains.containsStringIgnoringCase ( substring ) ; }
Source:
private native android.graphics.Rect nativeGetFocusRingBounds ( ) ;

Target:
private native boolean nativeFocusCandidateIsPassword ( ) ;
Source:
void setAudioDataForTesting ( com.google.protobuf.ByteString audioData ) { this . audioData = audioData ; encoding = com.android.voicemail.impl.transcribe.TranscriptionTask.getAudioFormat ( audioData ) ; }

Target:
void setAudioDataForTesting ( com.google.protobuf.ByteString audioData ) { this . audioData = audioData ; encoding = com.android.voicemail.impl.transcribe.TranscriptionUtils.getAudioFormat ( audioData ) ; }
Source:
public void testGetView_missing ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.nullValue ( android.view.View.class ) , testViewProvider ) ; try { finder.getView ( ) ; fail ( "No children should pass that matcher!" ) ; } catch ( android.support.test.espresso.NoMatchingViewException expected ) { } }

Target:
public void getView_missing ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.nullValue ( android.view.View.class ) , testViewProvider ) ; expectedException.expect ( android.support.test.espresso.NoMatchingViewException.class ) ; finder.getView ( ) ; }
Source:
public static synchronized com.android.incallui.ContactInfoCache getInstance ( android.content.Context mContext ) { if ( ( com.android.incallui.ContactInfoCache.sCache ) == null ) { com.android.incallui.ContactInfoCache.sCache = new com.android.incallui.ContactInfoCache ( mContext.getApplicationContext ( ) ) ; } return com.android.incallui.ContactInfoCache.sCache ; }

Target:
public static synchronized com.android.incallui.ContactInfoCache getInstance ( android.content.Context mContext ) { if ( ( com.android.incallui.ContactInfoCache.cache ) == null ) { com.android.incallui.ContactInfoCache.cache = new com.android.incallui.ContactInfoCache ( mContext.getApplicationContext ( ) ) ; } return com.android.incallui.ContactInfoCache.cache ; }
Source:
public static short $noinline$shortToCharToShort ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( char ) ( value ) ) ) ; }

Target:
public static int $noinline$floatToDoubleToInt ( float value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
private static java.lang.String makeHex ( byte [ ] bytes ) { java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; for ( byte b : bytes ) { sb.append ( java.lang.String.format ( "%02x" , b ) ) ; } 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:
com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback onDropMove ( com.android.ide.eclipse.adt.editors.layout.gscripts.INode targetNode , java.lang.String fqcn , com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback feedback , com.android.ide.eclipse.adt.editors.layout.gscripts.Point where ) ;

Target:
com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback onDropMove ( com.android.ide.eclipse.adt.editors.layout.gscripts.INode targetNode , com.android.ide.eclipse.adt.editors.layout.gscripts.IDragElement [ ] elements , com.android.ide.eclipse.adt.editors.layout.gscripts.DropFeedback feedback , com.android.ide.eclipse.adt.editors.layout.gscripts.Point where ) ;
Source:
private boolean matchesPossibleNumberAndNationalNumber ( java.lang.String number , com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc numberDesc ) { return ( matcherApi.matchesPossibleNumber ( number , numberDesc ) ) && ( matcherApi.matchesNationalNumber ( number , numberDesc , false ) ) ; }

Target:
private boolean matchesPossibleNumberAndNationalNumber ( java.lang.String number , com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc numberDesc ) { return ( matcherApi.matchesPossibleNumber ( number , numberDesc ) ) && ( matcherApi.matchesNationalNumber ( number , numberDesc , false ) ) ; }
Source:
public void testRedirect_defaultsToPipe ( ) { libcore.java.lang.ProcessBuilderTest.checkSetAndGet ( java.lang.ProcessBuilder.Redirect.PIPE , java.lang.ProcessBuilder.Redirect.PIPE , java.lang.ProcessBuilder.Redirect.PIPE , new java.lang.ProcessBuilder ( ) ) ; }

Target:
public void testRedirect_defaultsToPipe ( ) { libcore.java.lang.ProcessBuilderTest.assertRedirects ( java.lang.ProcessBuilder.Redirect.PIPE , java.lang.ProcessBuilder.Redirect.PIPE , java.lang.ProcessBuilder.Redirect.PIPE , new java.lang.ProcessBuilder ( ) ) ; }
Source:
public void onWiFiToLteHandover ( com.android.incallui.call.DialerCall call ) { if ( ( inCallActivity ) != null ) { inCallActivity.showToastForWiFiToLteHandover ( call ) ; } }

Target:
public void onWiFiToLteHandover ( com.android.incallui.call.DialerCall call ) { if ( call.hasShownWiFiToLteHandoverToast ( ) ) { return ; } android.widget.Toast.makeText ( context , R.string.video_call_wifi_to_lte_handover_toast , Toast.LENGTH_LONG ) . show ( ) ; call.setHasShownWiFiToLteHandoverToast ( ) ; }
Source:
public int countIn ( java.lang.CharSequence sequence ) { return ( sequence.length ( ) ) - ( original.countIn ( sequence ) ) ; }

Target:
public boolean matchesAllOf ( java.lang.CharSequence sequence ) { return original.matchesNoneOf ( sequence ) ; }
Source:
protected final void setFeatureState ( @ android.telephony.ims.feature.ImsFeature.ImsState int state ) { if ( ( mState ) != state ) { mState = state ; notifyFeatureState ( state ) ; } }

Target:
protected final void setFeatureState ( @ android.telephony.ims.feature.ImsFeature.ImsState int state ) { synchronized ( mLock ) { if ( ( mState ) != state ) { mState = state ; notifyFeatureState ( state ) ; } } }
Source:
public static com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory readDirectory ( android.database.Cursor cursor ) { return com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory.create ( cursor.getInt ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.ID ) , cursor.getString ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.DISPLAY_NAME ) , ( ( cursor.getInt ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.PHOTO_SUPPORT ) ) != 0 ) ) ; }

Target:
public static com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory readDirectory ( android.database.Cursor cursor ) { return com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.Directory.create ( cursor.getInt ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.ID ) , cursor.getString ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.DISPLAY_NAME ) , ( ( cursor.getInt ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.PHOTO_SUPPORT ) ) != 0 ) , cursor.getString ( com.android.dialer.searchfragment.remote.RemoteDirectoriesCursorLoader.AUTHORITY ) ) ; }
Source:
public java.lang.String getNetworkCountryIsoForPhone ( int phoneId ) { return android.telephony.TelephonyManager.getTelephonyProperty ( phoneId , TelephonyProperties.PROPERTY_OPERATOR_ISO_COUNTRY , "" ) ; }

Target:
public int getSimCardState ( ) { int simCardState = getSimState ( ) ; switch ( simCardState ) { case android.telephony.TelephonyManager.SIM_STATE_UNKNOWN : case android.telephony.TelephonyManager.SIM_STATE_ABSENT : case android.telephony.TelephonyManager.SIM_STATE_CARD_IO_ERROR : case android.telephony.TelephonyManager.SIM_STATE_CARD_RESTRICTED : return simCardState ; default : return android.telephony.TelephonyManager.SIM_STATE_PRESENT ; } }
Source:
public static com.google.common.primitives.UnsignedInteger valueOf ( java.lang.String string , int radix ) { return com.google.common.primitives.UnsignedInteger.asUnsigned ( com.google.common.primitives.UnsignedInts.parseUnsignedInt ( string , radix ) ) ; }

Target:
public static com.google.common.primitives.UnsignedInteger valueOf ( java.lang.String string , int radix ) { return com.google.common.primitives.UnsignedInteger.fromIntBits ( com.google.common.primitives.UnsignedInts.parseUnsignedInt ( string , radix ) ) ; }
Source:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.AllKeyTypes.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , "none" ) ; }

Target:
public void setup ( ) { put ( "Cipher.FOO" , MockCipherSpi.MustInitWithAlgorithmParameters_RejectsAll.class . getName ( ) ) ; put ( "Cipher.FOO SupportedKeyClasses" , libcore.javax.crypto.MockKey.class . getName ( ) ) ; }
Source:
static float $opt$DoubleToFloat ( double a ) { return ( ( float ) ( a ) ) ; }

Target:
static byte $opt$ShortToByte ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
public void run ( ) throws java.io.IOException { java.util.List < java.nio.file.Path > relPaths = standardRepositories.ojluni ( ) . loadRelPathsFromMakefile ( ) ; run ( java.lang.System.out , relPaths ) ; }

Target:
public void run ( ) throws java.io.IOException { java.util.List < java.nio.file.Path > relPaths = standardRepositories.ojluni ( ) . loadRelPathsFromBlueprint ( ) ; run ( java.lang.System.out , relPaths ) ; }
Source:
void cleanUpUserLILPw ( int userHandle ) { if ( mDirtyUsers.remove ( userHandle ) ) ; mSettings.removeUserLPr ( userHandle ) ; if ( ( mInstaller ) != null ) { mInstaller.removeUserDataDirs ( userHandle ) ; } }

Target:
void cleanUpUserLILPw ( int userHandle ) { mDirtyUsers.remove ( userHandle ) ; mSettings.removeUserLPr ( userHandle ) ; mPendingBroadcasts.remove ( userHandle ) ; if ( ( mInstaller ) != null ) { mInstaller.removeUserDataDirs ( userHandle ) ; } }
Source:
java.lang.String getHostName ( boolean check ) { if ( ( holder ( ) . getHostName ( ) ) == null ) { holder ( ) . hostName = java.net.InetAddress.getHostFromNameService ( this , check ) ; } return holder ( ) . getHostName ( ) ; }

Target:
java.lang.String getHostName ( boolean check ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public boolean equals ( java.lang.Object obj ) { return ( obj instanceof com.android.sdkuilib.internal.repository.sdkman2.PkgItem ) && ( this . isSameItemAs ( ( ( com.android.sdkuilib.internal.repository.sdkman2.PkgItem ) ( obj ) ) ) ) ; }

Target:
public boolean equals ( java.lang.Object obj ) { return ( obj instanceof com.android.sdkuilib.internal.repository.core.PkgItem ) && ( this . isSameItemAs ( ( ( com.android.sdkuilib.internal.repository.core.PkgItem ) ( obj ) ) ) ) ; }
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptInvoke ( long con , long id , int slot , boolean mUseInc ) ;
Source:
public static java.lang.String getApplicationProtocol​(javax.net.ssl.SSLSocket socket) { return org.conscrypt.Conscrypt.toConscrypt(socket).getApplicationProtocol​(); }

Target:
public static java.lang.String getApplicationProtocol ( javax.net.ssl.SSLSocket socket ) { return org.conscrypt.Conscrypt.toConscrypt ( socket ) . getApplicationProtocol ( ) ; }
Source:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { throw new java.security.cert.CertificateException ( "Client authentication not supported" ) ; }

Target:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType ) throws java.security.cert.CertificateException { android.security.net.config.NetworkSecurityConfig config = mConfig.getConfigForHostname ( "" ) ; config.getTrustManager ( ) . checkClientTrusted ( chain , authType ) ; }
Source:
public void copy3DRangeFrom ( int xoff , int yoff , int zoff , int w , int h , int d , byte [ ] data ) { validateIsInt8 ( ) ; copy3DRangeFromUnchecked ( xoff , yoff , zoff , w , h , d , data ) ; }

Target:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; copyTo ( d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void smsDismissed ( ) { com.android.dialer.common.LogUtil.i ( "AnswerFragment.smsDismissed" , null ) ; textResponsesFragment = null ; answerScreenDelegate.onDismissDialog ( ) ; }

Target:
public com.android.incallui.incalluilock.InCallUiLock acquireInCallUiLock ( java.lang.String tag ) { return answerScreenDelegate.acquireInCallUiLock ( tag ) ; }
Source:
public static native int EVP_DigestInit ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evp_md ) ;

Target:
public static native int EVP_DigestInit_ex ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long evp_md ) ;
Source:
public void sendOnPostDialChar ( java.lang.String id , char nextChar ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.onPostDialChar ( id , nextChar ) ; } }

Target:
public void sendOnPostDialWait ( java.lang.String id , java.lang.String remaining ) throws java.lang.Exception { for ( com.android.internal.telecom.IConnectionServiceAdapter a : mConnectionServiceAdapters ) { a.onPostDialWait ( id , remaining , null ) ; } }
Source:
protected byte getTTL ( ) throws java.io.IOException { return 0 ; }

Target:
protected int peekData ( java.net.DatagramPacket arg0 ) throws java.io.IOException { return 0 ; }
Source:
public void appendPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( path.getPathFragments ( ) ) ; }

Target:
public void prependPath ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { pathFragments.add ( 0 , new com.android.sched.vfs.VPath.VPathFragment ( java.lang.String.valueOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) , com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) ; pathFragments.addAll ( 0 , path.getPathFragments ( ) ) ; }
Source:
final void putChar ( int offset , char value ) { sun.nio.ch.NativeObject.unsafe.putChar ( ( offset + ( address ) ) , value ) ; }

Target:
final void putChar ( int offset , char value ) { sun.nio.ch.NativeObject.unsafe.putChar$ ( ( offset + ( address ) ) , value ) ; }
Source:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { assertTrue ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) ; }

Target:
private static void waitFor ( android.os.ConditionVariable conditionVariable ) { if ( conditionVariable.block ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) { return ; } fail ( ( ( "ConditionVariable was blocked for more than " + ( com.android.server.ConnectivityServiceTest.TIMEOUT_MS ) ) + "ms" ) ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { mMockConnection = new com.android.volley.mock.MockHttpURLConnection ( ) ; }

Target:
protected java.net.HttpURLConnection createConnection ( java.net.URL url ) { return mMockConnection ; }
Source:
void onCallStateChanged ( android.content.Context context , int newState ) ;

Target:
void onCallStateChanged ( android.content.Context context , int newState , android.telecom.PhoneAccountHandle phoneAccountHandle ) ;
Source:
public void createForward ( int localPort , int remotePort ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;

Target:
void removeForward ( int localPort , java.lang.String remoteSocketName , com.android.ddmlib.IDevice.DeviceUnixSocketNamespace namespace ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.TimeoutException , java.io.IOException ;
Source:
public void run ( ) { for ( int i = 0 ; i < 10 ; i ++ ) { output ( mNumber ) ; } java.lang.System.out.print ( "Final result: " ) ; java.lang.System.out.println ( CpuThread.mCount ) ; }

Target:
public void run ( ) { synchronized ( CpuThread.mSyncable ) { for ( int i = 0 ; i < 10 ; i ++ ) { output ( mNumber ) ; } java.lang.System.out.print ( "Final result: " ) ; java.lang.System.out.println ( CpuThread.mCount ) ; } }
Source:
public com.android.layoutlib.api.Density getDensity ( ) { return com.android.layoutlib.api.Density.getEnum ( mDensity.getDpi ( ) ) ; }

Target:
public com.android.ide.common.rendering.api.Density getDensity ( ) { return com.android.ide.common.rendering.api.Density.getEnum ( mDensity.getDpi ( ) ) ; }
Source:
protected void onPostExecute ( java.util.List < com.android.documentsui.model.DocumentInfo > docs ) { copyDocuments ( docs , destination ) ; }

Target:
protected void onPostExecute ( java.util.List < com.android.documentsui.model.DocumentInfo > docs ) { com.android.documentsui.model.DocumentInfo destination = ( ( com.android.documentsui.BaseActivity ) ( getActivity ( ) ) ) . getCurrentDirectory ( ) ; copyDocuments ( docs , destination ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { acceptElements ( visitor ) ; } visitor.endVisit ( this ) ; }

Target:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { visitor.accept ( catchLocal ) ; acceptElements ( visitor ) ; } visitor.endVisit ( this ) ; }
Source:
private org.conscrypt.OpenSSLX509Certificate loadTestCertificate ( java.lang.String name ) throws org.conscrypt.OpenSSLX509CertificateFactory.ParsingException { java.io.InputStream is = getClass ( ) . getResourceAsStream ( ( "/" + name ) ) ; return org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream ( is ) ; }

Target:
private org.conscrypt.OpenSSLX509Certificate loadTestCertificate ( java.lang.String name ) throws java.io.FileNotFoundException , org.conscrypt.OpenSSLX509CertificateFactory.ParsingException { return org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream ( org.conscrypt.TestUtils.openTestFile ( name ) ) ; }
Source:
public void queryRemoteConnectionServices ( com.android.internal.telecom.RemoteServiceCallback callback ) { }

Target:
public void queryRemoteConnectionServices ( com.android.internal.telecom.RemoteServiceCallback callback , android.telecom.Logging.Session.Info sessionInfo ) { }
Source:
public native void putChar$ ( long address , char x ) ;

Target:
public native void putChar ( long address , char x ) ;