auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean p2pReject ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.reject ( deviceAddress ) ; } else { return doBooleanCommand ( ( "P2P_REJECT " + deviceAddress ) ) ; } }

Target:
public boolean p2pReject ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.reject ( deviceAddress ) ; } else { return doBooleanCommand ( ( "P2P_REJECT " + deviceAddress ) ) ; } }
Source:
public void execute ( com.android.build.gradle.model.DefaultAndroidComponentSpec spec ) { spec.setNativeLibrary ( library ) ; com.android.build.gradle.ndk.internal.NdkConfiguration.configureProperties ( library , sources , buildDir , ndkConfig , ndkHandler ) ; }

Target:
public void execute ( final org.gradle.nativeplatform.NativeLibrarySpec nativeLib ) { ( ( com.android.build.gradle.model.DefaultAndroidComponentSpec ) ( specs.get ( com.android.build.gradle.model.AndroidComponentModelPlugin.COMPONENT_NAME ) ) ) . setNativeLibrary ( nativeLib ) ; com.android.build.gradle.ndk.internal.NdkConfiguration.configureProperties ( nativeLib , sources , buildDir , ndkConfig , ndkHandler ) ; }
Source:
private static boolean isForwardLocked ( android.content.pm.PackageParser.Package pkg ) { return ( ( pkg.applicationInfo.flags ) & ( android.content.pm.ApplicationInfo.FLAG_FORWARD_LOCK ) ) != 0 ; }

Target:
private static boolean isForwardLocked ( android.content.pm.PackageParser.Package pkg ) { return ( ( pkg.applicationInfo.privateFlags ) & ( android.content.pm.ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK ) ) != 0 ; }
Source:
private static java.io.File getWrittenResources ( ) throws com.android.builder.resources.DuplicateResourceException , java.io.IOException { com.android.builder.resources.ResourceMerger resourceMerger = com.android.builder.resources.ResourceMergerTest.getResourceMerger ( ) ; java.io.File folder = com.google.common.io.Files.createTempDir ( ) ; resourceMerger.writeResourceFolder ( folder ) ; return folder ; }

Target:
private static java.io.File getWrittenResources ( ) throws com.android.builder.resources.DuplicateResourceException , java.io.IOException , java.lang.InterruptedException , java.util.concurrent.ExecutionException { com.android.builder.resources.ResourceMerger resourceMerger = com.android.builder.resources.ResourceMergerTest.getResourceMerger ( ) ; java.io.File folder = com.google.common.io.Files.createTempDir ( ) ; resourceMerger.writeResourceFolder ( folder , null ) ; return folder ; }
Source:
public java.io.InputStream getInputStream ( ) throws com.android.sched.util.file.WrongPermissionException { return wrappedFile.getInputStream ( ) ; }

Target:
public java.io.InputStream getInputStream ( ) throws com.android.sched.util.file.WrongPermissionException { return vfs.openRead ( this ) ; }
Source:
public void onCapabilitiesChanged ( android.net.Network network , android.net.NetworkCapabilities newNc ) { mTetherMasterSM.sendMessage ( com.android.server.connectivity.Tethering.TetherMasterSM.EVENT_UPSTREAM_CALLBACK , com.android.server.connectivity.Tethering.UpstreamNetworkMonitor.EVENT_ON_CAPABILITIES , 0 , new android.net.NetworkState ( null , null , newNc , network , null , null ) ) ; }

Target:
public void onCapabilitiesChanged ( android.net.Network network , android.net.NetworkCapabilities newNc ) { mTarget.sendMessage ( mWhat , com.android.server.connectivity.Tethering.UpstreamNetworkMonitor.EVENT_ON_CAPABILITIES , 0 , new android.net.NetworkState ( null , null , newNc , network , null , null ) ) ; }
Source:
protected void fillRandom ( long seed , int fact , int offset , float [ ] inArray , int rStride , int rSkip ) { android.renderscript.cts.RSUtils.genRandom ( seed , 32 , ( - 16 ) , inArray , rStride , rSkip ) ; }

Target:
protected void fillRandomFloats ( long seed , int fact , int offset , float [ ] inArray ) { android.renderscript.cts.RSUtils.genRandomFloats ( seed , 32 , ( - 16 ) , inArray ) ; }
Source:
public void create ( ) throws java.io.IOException { }

Target:
public void connect ( ) throws java.io.IOException { }
Source:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = strings ; response.sendToTarget ( ) ; } }

Target:
public void setRadioPowerFailResponse ( boolean fail ) { mIsRadioPowerFailResponse = fail ; }
Source:
private void rebootDeviceAndWaitForRestart ( ) throws java.lang.Exception { com.android.timezone.xts.TimeZoneUpdateHostTest.log ( "Rebooting device" ) ; getDevice ( ) . rebootUntilOnline ( ) ; assertTrue ( getDevice ( ) . waitForBootComplete ( com.android.timezone.xts.TimeZoneUpdateHostTest.ALLOWED_BOOT_DELAY ) ) ; }

Target:
public void testInstallOlderRulesVersion ( ) throws java.lang.Exception { java.io.File appFile = getTimeZoneDataApkFile ( "test2" ) ; getDevice ( ) . installPackage ( appFile , true ) ; java.lang.Thread.sleep ( 30000 ) ; assertEquals ( com.android.timezone.xts.TimeZoneUpdateHostTest.STAGED_OPERATION_NONE , getStagedOperationType ( ) ) ; }
Source:
public final void scheduleDestroyActivity ( android.os.IBinder token , boolean finishing , int configChanges ) { queueOrSendMessage ( android.app.ActivityThread.H.DESTROY_ACTIVITY , token , ( finishing ? 1 : 0 ) , configChanges ) ; }

Target:
public final void scheduleDestroyActivity ( android.os.IBinder token , boolean finishing , int configChanges ) { sendMessage ( android.app.ActivityThread.H.DESTROY_ACTIVITY , token , ( finishing ? 1 : 0 ) , configChanges ) ; }
Source:
public static float getMdpiScaleFactor ( com.android.resources.Density density ) { return ( density.getDpiValue ( ) ) / ( ( float ) ( Density.MEDIUM.getDpiValue ( ) ) ) ; }

Target:
public static float getMdpiScaleFactor ( com.android.resources.Density density ) { if ( density == ( com.android.resources.Density.ANYDPI ) ) { density = com.android.resources.Density.XXHIGH ; } return ( density.getDpiValue ( ) ) / ( ( float ) ( Density.MEDIUM.getDpiValue ( ) ) ) ; }
Source:
public static java.lang.String getDefaultClasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }

Target:
public static java.lang.String getDefaultClasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/prebuilts/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }
Source:
void initDebugBuildTypes ( @ org.gradle.model.Path ( value = "android.buildTypes" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.BuildType > buildTypes , @ org.gradle.model.Path ( value = "android.signingConfigs" ) org.gradle.model.collection.ManagedSet < com.android.build.gradle.managed.SigningConfig > signingConfigs ) { final com.android.build.gradle.managed.SigningConfig debugSigningConfig = buildTypes.beforeEach ; { com.android.build.gradle.managed.BuildType buildType ; com.android.build.gradle.model.BaseComponentModelPlugin.Rules.initBuildType ( buildType ) ; } buildTypes.afterEach = $missing$ ; com.android.build.gradle.managed.BuildType buildType ; buildType.setSigningConfig ( debugSigningConfig ) ; }

Target:
public boolean apply ( com.android.build.gradle.managed.SigningConfig signingConfig ) { return signingConfig.getName ( ) . equals ( com.android.builder.core.BuilderConstants.DEBUG ) ; }
Source:
public boolean isDataConnectivityPossible ( int subId ) { final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.isDataAllowed ( ) ; } else { return false ; } }

Target:
public boolean isDataConnectivityPossible ( ) { int subId = mSubscriptionController.getDefaultDataSubId ( ) ; final com.android.internal.telephony.Phone phone = getPhone ( subId ) ; if ( phone != null ) { return phone.isDataConnectivityPossible ( ) ; } else { return false ; } }
Source:
public void setLineNumberConvertor ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.editor.impl.TIntFunction lineNumberConvertor ) { setLineNumberConvertor ( lineNumberConvertor , null ) ; }

Target:
public void setLineNumberConvertor ( @ org.jetbrains.annotations.NotNull gnu.trove.TIntFunction lineNumberConvertor ) { setLineNumberConvertor ( lineNumberConvertor , null ) ; }
Source:
public void compare ( ) throws com.android.jack.DifferenceFoundException , com.android.jack.test.comparator.ComparatorException { try { new com.android.jack.DexAnnotationsComparator ( ) . compare ( reference , candidate ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.test.comparator.ComparatorException ( e ) ; } }

Target:
public void compare ( ) throws com.android.jack.comparator.DifferenceFoundException , com.android.jack.test.comparator.ComparatorException { try { new com.android.jack.comparator.DexAnnotationsComparator ( ) . compare ( reference , candidate ) ; } catch ( java.io.IOException e ) { throw new com.android.jack.test.comparator.ComparatorException ( e ) ; } }
Source:
protected org.eclipse.text.edits.MultiTextEdit reformat ( org.eclipse.text.edits.MultiTextEdit edit , com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatStyle style ) { java.lang.String xml = mDelegate.getEditor ( ) . getStructuredDocument ( ) . get ( ) ; return com.android.ide.eclipse.adt.internal.editors.layout.refactoring.VisualRefactoring.reformat ( xml , edit , style ) ; }

Target:
protected org.eclipse.text.edits.MultiTextEdit reformat ( org.eclipse.text.edits.MultiTextEdit edit , com.android.ide.common.xml.XmlFormatStyle style ) { java.lang.String xml = mDelegate.getEditor ( ) . getStructuredDocument ( ) . get ( ) ; return com.android.ide.eclipse.adt.internal.editors.layout.refactoring.VisualRefactoring.reformat ( xml , edit , style ) ; }
Source:
public static double abs ( double a ) { return a <= 0.0 ? 0.0 - a : a ; }

Target:
public static double max ( double a , double b ) { return java.lang.Math.max ( a , b ) ; }
Source:
private void updateEditor ( ) { mLayoutEditor.commitPages ( false ) ; mConfiguredFrameworkRes = mConfiguredProjectRes = null ; mProjectCallback = null ; mLayoutEditor.initUiRootNode ( true ) ; }

Target:
private void updateEditor ( ) { mLayoutEditor.commitPages ( false ) ; mConfiguredFrameworkRes = mConfiguredProjectRes = null ; mResourceResolver = null ; mProjectCallback = null ; mLayoutEditor.initUiRootNode ( true ) ; }
Source:
public int compare ( com.android.ahat.Site.ObjectsInfo a , com.android.ahat.Site.ObjectsInfo b ) { java.lang.String aName = com.android.ahat.AhatSnapshot.getClassName ( a.classObj ) ; java.lang.String bName = com.android.ahat.AhatSnapshot.getClassName ( b.classObj ) ; return aName.compareTo ( bName ) ; }

Target:
public int compare ( com.android.ahat.heapdump.Site.ObjectsInfo a , com.android.ahat.heapdump.Site.ObjectsInfo b ) { java.lang.String aName = a.getClassName ( ) ; java.lang.String bName = b.getClassName ( ) ; return aName.compareTo ( bName ) ; }
Source:
public boolean isProvisioningAllowed ( java.lang.String action ) { throwIfParentInstance ( "isProvisioningAllowed" ) ; try { return mService.isProvisioningAllowed ( action ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }

Target:
public int checkProvisioningPreCondition ( java.lang.String action , @ android.annotation.NonNull java.lang.String packageName ) { try { return mService.checkProvisioningPreCondition ( action , packageName ) ; } catch ( android.os.RemoteException re ) { throw re.rethrowFromSystemServer ( ) ; } }
Source:
public static float FloatDivision ( ) { float a ; float b ; float c ; a = 8.0F ; b = 2.5F ; c = a / b ; return c ; }

Target:
public static long LongDivision ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 8L ) ; b = Main.$inline$long ( 3L ) ; c = a / b ; return c ; }
Source:
public void testConstructor_NullSubjectDN_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , null , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when subjectDN is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_NullSubjectDN_Success ( ) throws java.lang.Exception { android.security.KeyPairGeneratorSpec spec = new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , null , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; assertEquals ( android.security.KeyPairGeneratorSpecTest.DEFAULT_CERT_SUBJECT , spec.getSubjectDN ( ) ) ; }
Source:
private boolean matchesActiveDevice ( android.bluetooth.BluetoothDevice device ) { return ( java.util.Objects.equals ( mA2dpActiveDevice , device ) ) || ( java.util.Objects.equals ( mHfpActiveDevice , device ) ) ; }

Target:
android.bluetooth.BluetoothDevice getHearingAidActiveDevice ( ) { return mHearingAidActiveDevice ; }
Source:
private int calculateDefaultFlags ( ) { throw new java.lang.UnsupportedOperationException ( "Default flag values not yet implemented" ) ; }

Target:
public static com.android.apksig.SigningCertificateLineage readFromApkFile ( java.io.File apkFile ) { throw new java.lang.UnsupportedOperationException ( "Not yet implemented" ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( mCheckSortSource.getSelection ( ) ) { refreshViewerInput ( ) ; copySelection ( false ) ; syncViewerSelection ( ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonInstall ( ) ; }
Source:
static java.lang.String unMangleSplitName ( java.lang.String splitWithOptionalSuffix ) { java.lang.String mangledName = splitWithOptionalSuffix.replaceAll ( '_' , ',' ) ; return mangledName.contains ( "-r" ) ? mangledName : mangledName.replace ( "-" , "-r" ) ; }

Target:
public static java.lang.String unMangleSplitName ( java.lang.String splitWithOptionalSuffix ) { java.lang.String mangledName = splitWithOptionalSuffix.replaceAll ( "_" , "," ) ; return mangledName.contains ( "-r" ) ? mangledName : mangledName.replace ( "-" , "-r" ) ; }
Source:
private void logw ( java.lang.String s ) { android.util.Log.w ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , ( "[CdmaSSM] " + s ) ) ; }

Target:
private void logw ( java.lang.String s ) { android.telephony.Rlog.w ( com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager.LOG_TAG , ( "[CdmaSSM] " + s ) ) ; }
Source:
private static byte [ ] getKey ( int bitLength ) { return java.util.Arrays.copyOf ( android.net.cts.IpSecManagerTest.KEY_DATA , ( bitLength / 8 ) ) ; }

Target:
private byte [ ] getAuthKey ( int bitLength ) { return java.util.Arrays.copyOf ( android.net.cts.IpSecManagerTest.AUTH_KEY , ( bitLength / 8 ) ) ; }
Source:
public org.objectweb.asm.FieldVisitor visitField ( int access , java.lang.String name , java.lang.String desc , java.lang.String signature , java.lang.Object value ) { return new org.objectweb.asm.FieldVisitor ( Opcodes.ASM4 ) { @ java.lang.Override public org.objectweb.asm.AnnotationVisitor visitAnnotation ( java.lang.String desc , boolean visible ) { return av ; } } ; }

Target:
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation ( int typeRef , org.objectweb.asm.TypePath typePath , java.lang.String desc , boolean visible ) { return av ; }
Source:
public void logError ( java.lang.String msg , java.lang.Throwable t ) { com.google.gct.login.GoogleLogin.GOOGLE_LOGIN_LOG.error ( msg , t ) ; }

Target:
public void logError ( java.lang.String msg , java.lang.Throwable t ) { com.google.gct.login.GoogleLogin.LOG.error ( msg , t ) ; }
Source:
public static long OrLongInt ( ) { long lhs = 10 ; int rhs = 3 ; return lhs | rhs ; }

Target:
public static long OrLongInt ( ) { long lhs = Main.$inline$long ( 10L ) ; int rhs = Main.$inline$int ( 3 ) ; return lhs | rhs ; }
Source:
public javax.swing.JComponent createCustomComponent ( com.intellij.openapi.actionSystem.Presentation presentation ) { return new com.google.gct.login.ui.GoogleLoginToolbarButton ( ) ; }

Target:
public javax.swing.JComponent createCustomComponent ( com.intellij.openapi.actionSystem.Presentation presentation ) { return new com.google.gct.login.ui.GoogleLoginActionButton ( this , presentation , presentation.getText ( ) , com.intellij.openapi.actionSystem.ActionToolbar.DEFAULT_MINIMUM_BUTTON_SIZE ) ; }
Source:
public void processFile ( java.io.File sourceFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { mFolders.add ( sourceFile.getParentFile ( ) ) ; }

Target:
public void processFile ( @ com.android.annotations.NonNull java.io.File sourceFolder , @ com.android.annotations.NonNull java.io.File sourceFile ) throws com.android.ide.common.internal.LoggedErrorException , java.io.IOException , java.lang.InterruptedException { mFolders.add ( sourceFile.getParentFile ( ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { cs = tests.api.java.nio.charset.GBCharsetEncoderTest.CS ; specifiedReplacement = new byte [ ] { 26 } ; super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { cs = org.apache.harmony.tests.java.nio.charset.GBCharsetEncoderTest.CS ; specifiedReplacement = new byte [ ] { 26 } ; super . setUp ( ) ; }
Source:
native void rsnScriptBindAllocation ( long con , long script , long alloc , int slot ) ;

Target:
native void rsnAllocationRead2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public void onStop ( ) { if ( com.android.server.wifi.aware.WifiAwareNativeManager.DBG ) android.util.Log.d ( com.android.server.wifi.aware.WifiAwareNativeManager.TAG , "Wi-Fi stopped" ) ; awareIsDown ( ) ; }

Target:
public void onStatusChanged ( ) { if ( com.android.server.wifi.aware.WifiAwareNativeManager.DBG ) android.util.Log.d ( com.android.server.wifi.aware.WifiAwareNativeManager.TAG , "onStatusChanged" ) ; if ( mHalDeviceManager.isStarted ( ) ) { tryToGetAware ( ) ; } else { awareIsDown ( ) ; } }
Source:
synchronized void nScriptGroupExecute ( int group ) { validate ( ) ; rsnScriptGroupExecute ( mContext , group ) ; }

Target:
synchronized long nScriptCCreate ( java.lang.String resName , java.lang.String cacheDir , byte [ ] script , int length ) { validate ( ) ; return rsnScriptCCreate ( mContext , resName , cacheDir , script , length ) ; }
Source:
protected com.android.internal.telephony.Connection dialInternal ( java.lang.String dialString , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , intentExtras , null ) ; }

Target:
public void getCallBarring ( java.lang.String facility , android.os.Message onComplete , int serviceClass ) { getCallBarring ( facility , "" , onComplete , serviceClass ) ; }
Source:
public void dragLeave ( org.eclipse.swt.dnd.DropTargetEvent event ) { com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( "DEBUG" , "drag leave" ) ; mLeaveTargetNode = mTargetNode ; mLeaveFeedback = mFeedback ; clearDropInfo ( ) ; }

Target:
public void dragLeave ( org.eclipse.swt.dnd.DropTargetEvent event ) { com.android.ide.eclipse.adt.AdtPlugin.printErrorToConsole ( "DEBUG" , "drag leave" ) ; mLeaveTargetNode = mTargetNode ; mLeaveFeedback = mFeedback ; mLeaveView = mCurrentView ; clearDropInfo ( ) ; }
Source:
public void requestBluetoothAudio ( @ android.annotation.NonNull java.lang.String bluetoothAddress ) { for ( android.telecom.Connection.Listener l : mListeners ) { l.onAudioRouteChanged ( this , CallAudioState.ROUTE_BLUETOOTH , bluetoothAddress ) ; } }

Target:
public void requestBluetoothAudio ( @ android.annotation.NonNull android.bluetooth.BluetoothDevice bluetoothDevice ) { for ( android.telecom.Connection.Listener l : mListeners ) { l.onAudioRouteChanged ( this , CallAudioState.ROUTE_BLUETOOTH , bluetoothDevice.getAddress ( ) ) ; } }
Source:
public void dispose ( ) { synchronized ( PhoneProxy.lockForRadioTechnologyChange ) { mCM.unSetOnCallRing ( this ) ; mDataConnectionTracker.cleanUpAllConnections ( null ) ; mIsTheCurrentActivePhone = false ; mSmsStorageMonitor.dispose ( ) ; mSmsUsageMonitor.dispose ( ) ; } }

Target:
public void dispose ( ) { synchronized ( PhoneProxy.lockForRadioTechnologyChange ) { mCM.unSetOnCallRing ( this ) ; mDataConnectionTracker.cleanUpAllConnections ( null ) ; mIsTheCurrentActivePhone = false ; mSmsStorageMonitor.dispose ( ) ; mSmsUsageMonitor.dispose ( ) ; mUiccController.unregisterForIccChanged ( this ) ; } }
Source:
void updateCursor ( android.database.Cursor updatedCursor ) { this . cursor = updatedCursor ; setHeaderPositions ( ) ; notifyDataSetChanged ( ) ; }

Target:
void updateCursor ( android.database.Cursor updatedCursor ) { this . cursor = updatedCursor ; this . realtimeRowProcessor.clearCache ( ) ; setHeaderPositions ( ) ; notifyDataSetChanged ( ) ; }
Source:
public static com.google.currysrc.api.match.SourceMatcher contains ( final com.google.currysrc.api.transform.ast.BodyDeclarationLocater locater ) { return new com.google.currysrc.api.match.SourceMatcher ( ) { @ java.lang.Override public boolean matches ( org.eclipse.jdt.core.dom.CompilationUnit cu ) { return ( locater.find ( cu ) ) != null ; } } ; }

Target:
public static com.google.currysrc.api.match.SourceMatcher contains ( final com.google.currysrc.api.process.ast.BodyDeclarationLocator locator ) { return new com.google.currysrc.api.match.SourceMatcher ( ) { @ java.lang.Override public boolean matches ( org.eclipse.jdt.core.dom.CompilationUnit cu ) { return ( locator.find ( cu ) ) != null ; } } ; }
Source:
public static native int ensureProfilingInfo ( java.lang.String methodName ) ;

Target:
public static native void ensureProfilingInfo ( java.lang.reflect.Method method ) ;
Source:
public static void setUpClass ( ) { com.android.jack.Main.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; }

Target:
public static void setUpClass ( ) { com.android.jack.Main.class . getClassLoader ( ) . setDefaultAssertionStatus ( true ) ; com.android.jack.shrob.TreeTest.CORE_SOURCELIST = com.android.jack.TestTools.getTargetLibSourcelist ( "core" ) ; }
Source:
private boolean previewsAvailable ( ) { com.android.ide.common.rendering.LayoutLibrary layoutLibrary = mEditor.getLayoutLibrary ( ) ; return ( layoutLibrary != null ) && ( layoutLibrary.supports ( Capability.TRANSPARENCY ) ) ; }

Target:
private boolean previewsAvailable ( ) { com.android.ide.common.rendering.LayoutLibrary layoutLibrary = mEditor.getLayoutLibrary ( ) ; return ( layoutLibrary != null ) && ( layoutLibrary.supports ( Capability.CUSTOM_BACKGROUND_COLOR ) ) ; }
Source:
private android.os.Bundle getSystemLabelExtras ( ) { android.os.Bundle extras = new android.os.Bundle ( ) ; extras.putString ( Notification.EXTRA_SUBSTITUTE_APP_NAME , mContext.getString ( com.android.internal.R.string.android_system_label ) ) ; return extras ; }

Target:
private android.os.Bundle getSystemLabelExtras ( ) { android.os.Bundle extras = new android.os.Bundle ( ) ; extras.putString ( Notification.EXTRA_SUBSTITUTE_APP_NAME , mContext.getString ( R.string.android_system_label ) ) ; return extras ; }
Source:
public void onFailure ( ) { }

Target:
public void connectionServiceFocusLost ( ) { if ( ( mConnSvrFocusListener ) != null ) { mConnSvrFocusListener.onConnectionServiceReleased ( this ) ; } }
Source:
public org.eclipse.core.resources.IProject [ ] getLibraryProjects ( ) { return mLibraryProjects ; }

Target:
public org.eclipse.core.resources.IProject [ ] getFullLibraryProjects ( ) { return mLibraryProjects ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.sdkuilib.internal.widgets.DeviceCreationDialog dlg = new com.android.sdkuilib.internal.widgets.DeviceCreationDialog ( mShell , manager , mUpdaterData.getImageFactory ( ) , null ) ; dlg.open ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { com.android.sdkuilib.internal.widgets.DeviceCreationDialog dlg = new com.android.sdkuilib.internal.widgets.DeviceCreationDialog ( mShell , manager , mUpdaterData.getImageFactory ( ) , null ) ; if ( ( dlg.open ( ) ) == ( org.eclipse.jface.window.Window.OK ) ) { setupDevices ( menuBarDevices ) ; } }
Source:
public boolean accept ( org.chromium.mojo.bindings.Message message ) { org.chromium.mojo.bindings.interfacecontrol.RunResponseMessageParams response = org.chromium.mojo.bindings.interfacecontrol.RunResponseMessageParams.deserialize ( message.asServiceMessage ( ) . getPayload ( ) ) ; mCallback.call ( response ) ; return true ; }

Target:
public boolean accept ( org.chromium.mojo.bindings.Message message ) { org.chromium.mojo.bindings.RunResponseMessageParams response = org.chromium.mojo.bindings.RunResponseMessageParams.deserialize ( message.asServiceMessage ( ) . getPayload ( ) ) ; mCallback.call ( response ) ; return true ; }
Source:
native void socketShutdown ( int howto ) throws java.io.IOException ;

Target:
void socketShutdown ( int howto ) throws java.io.IOException { try { Libcore.os.shutdown ( fd , howto ) ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsIOException ( ) ; } }
Source:
public void bindView ( android.view.View view , android.content.Context context , android.database.Cursor cursor ) { ( ( android.widget.TextView ) ( view ) ) . setText ( cursor.getString ( 5 ) ) ; }

Target:
public void bindView ( android.view.View view , android.content.Context context , android.database.Cursor cursor ) { ( ( android.widget.TextView ) ( view ) ) . setText ( cursor.getString ( com.example.android.apis.view.AutoComplete4.COLUMN_DISPLAY_NAME ) ) ; }
Source:
public void onSessionTerminated ( int reason ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , ( "onSessionTerminated: reason=" + reason ) ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanDiscoverySessionCallbackProxy.CALLBACK_SESSION_TERMINATED ) ; msg.arg1 = reason ; mHandler.sendMessage ( msg ) ; }

Target:
public void onSessionTerminated ( int reason ) { if ( android.net.wifi.aware.WifiAwareManager.VDBG ) android.util.Log.v ( android.net.wifi.aware.WifiAwareManager.TAG , ( "onSessionTerminated: reason=" + reason ) ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.aware.WifiAwareManager.WifiAwareDiscoverySessionCallbackProxy.CALLBACK_SESSION_TERMINATED ) ; msg.arg1 = reason ; mHandler.sendMessage ( msg ) ; }
Source:
private void configureStageInstallExpectation ( byte [ ] expectedContent , int resultCode ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.stageInstallWithErrorCode ( org.mockito.Matchers.eq ( expectedContent ) ) ) . thenReturn ( resultCode ) ; }

Target:
private void configureStageInstallExpectation ( com.android.timezone.distro.TimeZoneDistro expected , int resultCode ) throws java.lang.Exception { org.mockito.Mockito.when ( mMockTimeZoneDistroInstaller.stageInstallWithErrorCode ( org.mockito.Matchers.eq ( expected ) ) ) . thenReturn ( resultCode ) ; }
Source:
public static void computeMad ( android.renderscript.cts.TestMad.ArgumentsFloatFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( args.inA ) * ( args.inB ) ) + ( args.inC ) ; }

Target:
public static void computeMad ( android.renderscript.cts.TestMad.ArgumentsFloatFloatFloatFloat args ) { args.out = android.renderscript.cts.Floaty.add ( new android.renderscript.cts.Floaty ( ( ( args.inA ) * ( args.inB ) ) ) , new android.renderscript.cts.Floaty ( args.inC ) ) ; }
Source:
public com.android.sdklib.BuildToolInfo getBuildTool ( @ com.android.annotations.Nullable com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.local.LocalPkgInfo pkg = getPkgInfo ( PkgType.PKG_BUILD_TOOLS , revision ) ; if ( pkg instanceof com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) { return ( ( com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) ( pkg ) ) . getBuildToolInfo ( ) ; } return null ; }

Target:
public com.android.sdklib.repository.local.BuildToolInfo getBuildTool ( @ com.android.annotations.Nullable com.android.sdklib.repository.FullRevision revision ) { com.android.sdklib.repository.local.LocalPkgInfo pkg = getPkgInfo ( PkgType.PKG_BUILD_TOOLS , revision ) ; if ( pkg instanceof com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) { return ( ( com.android.sdklib.repository.local.LocalBuildToolPkgInfo ) ( pkg ) ) . getBuildToolInfo ( ) ; } return null ; }
Source:
public java.lang.String p2pGetSsid ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getSsid ( deviceAddress ) ; } else { return p2pGetParam ( deviceAddress , "oper_ssid" ) ; } }

Target:
public java.lang.String p2pGetSsid ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getSsid ( deviceAddress ) ; } else { return p2pGetParam ( deviceAddress , "oper_ssid" ) ; } }
Source:
public void TestFormatReplaceNoOptimizationNoOffsets ( ) { android.icu.impl.SimplePatternFormatter fmt = android.icu.impl.SimplePatternFormatter.compile ( "Placeholders {0} and {1}" ) ; java.lang.StringBuilder result = new java.lang.StringBuilder ( "previous:" ) ; assertEquals ( "" , "Placeholders previous: and frog" , fmt.formatAndReplace ( result , null , result , "frog" ) . toString ( ) ) ; }

Target:
public void TestFormatReplaceNoOptimizationNoOffsets ( ) { android.icu.text.SimpleFormatter fmt = android.icu.text.SimpleFormatter.compile ( "Arguments {0} and {1}" ) ; java.lang.StringBuilder result = new java.lang.StringBuilder ( "previous:" ) ; assertEquals ( "" , "Arguments previous: and frog" , fmt.formatAndReplace ( result , null , result , "frog" ) . toString ( ) ) ; }
Source:
public void endTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { composedStatus.pop ( ) ; }

Target:
public void endTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTraceSeed ( method ) ; } }
Source:
public static void computeTanpi ( android.renderscript.cts.TestTanpi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.tan ( ( ( args.in ) * ( ( float ) ( java.lang.StrictMath.PI ) ) ) ) ) ) ; }

Target:
public static void computeCospi ( android.renderscript.cts.TestCospi.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.cos ( ( ( args.in ) * ( ( float ) ( java.lang.Math.PI ) ) ) ) , 4 , 128 ) ; }
Source:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = explicitize ( insn.getRegisters ( ) ) ; return regListString ( regs ) ; }

Target:
public java.lang.String insnArgString ( com.android.jack.dx.dex.code.DalvInsn insn ) { com.android.jack.dx.rop.code.RegisterSpecList regs = com.android.jack.dx.dex.code.form.Form25x.explicitize ( insn.getRegisters ( ) ) ; return regListString ( regs ) ; }
Source:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
java.util.Collection < ? extends com.android.sched.vfs.BaseVElement > list ( @ javax.annotation.Nonnull com.android.sched.vfs.CaseInsensitiveFS.CaseInsensitiveVDir dir ) { return dir.getAllFromCache ( ) ; }
Source:
public void resetPropertyValue ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . resetPropertyValue ( id ) ; } }

Target:
public void resetPropertyValue ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . resetPropertyValue ( id ) ; } }
Source:
com.android.rs.imagejb.TestBase changeTest ( int id ) { com.android.rs.imagejb.IPTestListJB.TestName t = IPTestListJB.TestName.values ( ) [ id ] ; com.android.rs.imagejb.TestBase tb = com.android.rs.imagejb.IPTestListJB.newTest ( t ) ; tb.createBaseTest ( this ) ; return tb ; }

Target:
com.android.rs.imagejb.TestBase changeTest ( int id , boolean setupUI ) { com.android.rs.imagejb.IPTestListJB.TestName t = IPTestListJB.TestName.values ( ) [ id ] ; return changeTest ( t , setupUI ) ; }
Source:
public java.util.List < com.android.sched.vfs.InputVFile > getBinaries ( @ javax.annotation.Nonnull com.android.jack.library.BinaryKind binaryKind ) { java.util.List < com.android.sched.vfs.InputVFile > binaries = new java.util.ArrayList < com.android.sched.vfs.InputVFile > ( ) ; fillBinaries ( libraryVDir , binaryKind , binaries ) ; return binaries ; }

Target:
public java.util.Iterator < com.android.sched.vfs.InputVFile > iterator ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType ) { java.util.List < com.android.sched.vfs.InputVFile > inputVFiles = new java.util.ArrayList < com.android.sched.vfs.InputVFile > ( ) ; fillFiles ( libraryVDir , fileType , inputVFiles ) ; return inputVFiles.iterator ( ) ; }
Source:
public abstract void handleChangedNonJavaFile ( org.eclipse.core.resources.IFolder currentSourceFolder , org.eclipse.core.resources.IFile file , int kind ) ;

Target:
final void addFileToCompile ( org.eclipse.core.resources.IFile file ) { mToCompile.add ( file ) ; }
Source:
void onPostDialWait ( java.lang.String callId , java.lang.String remaining ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.onPostDialWait ( callId , remaining ) ; } catch ( android.os.RemoteException ignored ) { } } }

Target:
void removeCall ( java.lang.String callId ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.removeCall ( callId , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { } } }
Source:
private void postProceed ( final boolean proceed ) { post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { callback.onReceiveValue ( proceed ) ; } } ) ; }

Target:
public void proceed ( final java.security.PrivateKey privateKey , final java.security.cert.X509Certificate [ ] chain ) { mCallback.proceed ( privateKey , chain ) ; }
Source:
public static com.google.common.util.concurrent.RateLimiter create ( double permitsPerSecond , long warmupPeriod , java.util.concurrent.TimeUnit unit ) { return com.google.common.util.concurrent.RateLimiter.create ( com.google.common.util.concurrent.RateLimiter.SleepingTicker.SYSTEM_TICKER , permitsPerSecond , warmupPeriod , unit ) ; }

Target:
public static com.google.common.util.concurrent.RateLimiter create ( double permitsPerSecond , long warmupPeriod , java.util.concurrent.TimeUnit unit ) { com.google.common.base.Preconditions.checkArgument ( ( warmupPeriod >= 0 ) , "warmupPeriod must not be negative: %s" , warmupPeriod ) ; return com.google.common.util.concurrent.RateLimiter.create ( com.google.common.util.concurrent.RateLimiter.SleepingStopwatch.createFromSystemTimer ( ) , permitsPerSecond , warmupPeriod , unit ) ; }
Source:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . removeAll ( key ) : null ; }

Target:
public boolean isEmpty ( ) { return multimap.isEmpty ( ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aput_byte.d.T_aput_byte_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aput_byte.d.T_aput_byte_1" , java.lang.ArrayIndexOutOfBoundsException.class , new byte [ 2 ] , ( - 1 ) , ( ( byte ) ( 100 ) ) ) ; }
Source:
int installFlags ( ) { return com.android.sdkuilib.internal.repository.UpdaterData.TOOLS_MSG_UPDATED_FROM_ADT ; }

Target:
int installFlags ( ) { return com.android.sdkuilib.internal.repository.SwtUpdaterData.TOOLS_MSG_UPDATED_FROM_ADT ; }
Source:
public static java.lang.String toHexString ( int i ) { return java.lang.Integer.toUnsignedString ( i , 4 ) ; }

Target:
public static java.lang.String toHexString ( int i ) { return java.lang.Integer.toUnsignedString0 ( i , 4 ) ; }
Source:
public void updateUser ( ) { uiFacade.notifyStatusIndicator ( ) ; }

Target:
public void onLoginCompleted ( ) { uiFacade.notifyStatusIndicator ( ) ; }
Source:
public void testWithId_describeWithNoResourceLookup ( ) { android.support.test.espresso.matcher.ViewMatchers.assertThat ( android.support.test.espresso.matcher.ViewMatchers.withId ( 5 ) . toString ( ) , org.hamcrest.Matchers.is ( "with id: 5" ) ) ; }

Target:
public void withId_describeWithNoResourceLookup ( ) { android.support.test.espresso.matcher.ViewMatchers.assertThat ( android.support.test.espresso.matcher.ViewMatchers.withId ( 5 ) . toString ( ) , org.hamcrest.Matchers.is ( "with id: 5" ) ) ; }
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 clearModulesDone ( ) { bitField0_ = ( bitField0_ ) & ( ~ 65536 ) ; modulesDone_ = 0 ; onChanged ( ) ; return this ; }
Source:
public void run ( ) { setLongHovered ( true ) ; announceForAccessibility ( longHoverContentDesc ) ; }

Target:
public void onInitializeAccessibilityNodeInfo ( android.view.accessibility.AccessibilityNodeInfo info ) { super . onInitializeAccessibilityNodeInfo ( info ) ; if ( ! ( android.text.TextUtils.isEmpty ( longHoverContentDesc ) ) ) { android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction longClickAction = new android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction ( android.view.accessibility.AccessibilityNodeInfo.ACTION_LONG_CLICK , longHoverContentDesc ) ; info.addAction ( longClickAction ) ; } }
Source:
public java.lang.String toString ( ) { return ( ( ( getServiceName ( ) ) + " [" ) + ( state ( ) ) ) + "]" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( serviceName ( ) ) + " [" ) + ( state ( ) ) ) + "]" ; }
Source:
public java.lang.String getPackage ( @ com.android.annotations.NonNull java.io.File manifestFile ) { return com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@package" ) ; }

Target:
public synchronized java.lang.String getPackage ( @ com.android.annotations.NonNull java.io.File manifestFile ) { if ( ( mPackage ) == null ) { mPackage = com.google.common.base.Optional.fromNullable ( com.android.builder.core.DefaultManifestParser.getStringValue ( manifestFile , "/manifest/@package" ) ) ; } return mPackage.orNull ( ) ; }
Source:
public static java.nio.file.attribute.FileTime from ( long value , java.util.concurrent.TimeUnit unit ) { return new java.nio.file.attribute.FileTime ( value , unit ) ; }

Target:
public static java.nio.file.attribute.FileTime from ( long value , java.util.concurrent.TimeUnit unit ) { java.util.Objects.requireNonNull ( unit , "unit" ) ; return new java.nio.file.attribute.FileTime ( value , unit , null ) ; }
Source:
public void binderDied ( ) { foregroundTokenDied ( this ) ; }

Target:
public synchronized void onEvent ( int event , java.lang.String path ) { notify ( ) ; }
Source:
public boolean containsRow ( java.lang.Object rowKey ) { return fromTable.containsRow ( rowKey ) ; }

Target:
java.util.Iterator < com.google.common.collect.Table.Cell < R , C , V2 > > cellIterator ( ) { return com.google.common.collect.Iterators.transform ( fromTable.cellSet ( ) . iterator ( ) , cellFunction ( ) ) ; }
Source:
public void run ( ) { synchronized ( Main.MyThread.class ) { ++ ( Main.MyThread.mCount ) ; } try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.Exception ex ) { } }

Target:
public void run ( ) { synchronized ( Main.TestCapacityThread.class ) { ++ ( Main.TestCapacityThread.mCount ) ; } try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.Exception ex ) { } }
Source:
public void registerForSuppServiceNotification ( android.os.Handler h , int what , java.lang.Object obj ) { mSsnRegistrants.addUnique ( h , what , obj ) ; if ( ( mSsnRegistrants.size ( ) ) == 1 ) mCM.setSuppServiceNotifications ( true , null ) ; }

Target:
public void registerForSuppServiceNotification ( android.os.Handler h , int what , java.lang.Object obj ) { mSsnRegistrants.addUnique ( h , what , obj ) ; if ( ( mSsnRegistrants.size ( ) ) == 1 ) mCi.setSuppServiceNotifications ( true , null ) ; }
Source:
public java.lang.Boolean call ( ) { return shouldDelayChildPressedState ( ) ; }

Target:
public java.lang.Boolean call ( ) { return zoomOut ( ) ; }
Source:
public java.lang.String [ ] saw ( java.lang.String prefix ) { return saw ( prefix , ( - 1 ) ) ; }

Target:
public java.lang.String [ ] saw ( java.lang.String prefix ) { return saw ( prefix , android.security.KeyStore.UID_SELF ) ; }
Source:
public static double ReturnDouble99P25 ( ) { float imm = 99.25F ; return ( ( double ) ( imm ) ) ; }

Target:
public static double ReturnDouble99P25 ( ) { float imm = Main.$inline$float ( 99.25F ) ; return ( ( double ) ( imm ) ) ; }
Source:
public void run ( com.android.jack.ir.ast.cfg.JControlFlowGraph graph ) { com.android.jack.util.graph.DominanceFrontierInfoMarker.clearMarkers ( graph ) ; com.android.jack.util.graph.DominatorTreeMarker.clearMarkers ( graph ) ; }

Target:
public void run ( com.android.jack.ir.ast.JMethodBodyCfg body ) { com.android.jack.util.graph.DominanceFrontierInfoMarker.clearMarkers ( body.getCfg ( ) ) ; com.android.jack.util.graph.DominatorTreeMarker.clearMarkers ( body.getCfg ( ) ) ; }
Source:
public void run ( ) { if ( ( mPresentation ) != null ) { mPresentation.dismiss ( ) ; mPresentation = null ; } }

Target:
public void run ( ) { if ( ( mPresentation ) != null ) { mPresentation.dismiss ( ) ; mPresentation = null ; } if ( ( mDisplay ) != null ) { mDisplay.release ( ) ; mDisplay = null ; } }
Source:
private static boolean equals ( java.lang.String lhs , java.lang.String rhs ) { return ( lhs == rhs ) || ( ( lhs != null ) && ( lhs.equals ( rhs ) ) ) ; }

Target:
private static boolean equals ( java.lang.String lhs , java.lang.String rhs ) { return ( android.icu.impl.Utility.sameObjects ( lhs , rhs ) ) || ( ( lhs != null ) && ( lhs.equals ( rhs ) ) ) ; }
Source:
public static com.android.dialer.strictmode.StrictModeUtils.StrictModeVmConfig empty ( ) { return com.android.dialer.strictmode.StrictModeUtils.StrictModeVmConfig.builder ( ) . build ( ) ; }

Target:
public static boolean isStrictModeAllowed ( ) { return ( com.android.dialer.buildtype.BuildType.get ( ) ) == ( com.android.dialer.buildtype.BuildType.BUGFOOD ) ; }
Source:
public boolean setCodecConfigPreference ( android.bluetooth.BluetoothCodecConfig [ ] codecConfigArray ) { return setCodecConfigPreferenceNative ( codecConfigArray ) ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { return setActiveDeviceNative ( getByteAddress ( device ) ) ; }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > successfulAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return new com.google.common.util.concurrent.Futures.ListFuture < V > ( com.google.common.collect.ImmutableList.copyOf ( futures ) , false , com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor ( ) ) ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > allAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return com.google.common.util.concurrent.Futures.listFuture ( com.google.common.collect.ImmutableList.copyOf ( futures ) , true , com.google.common.util.concurrent.MoreExecutors.directExecutor ( ) ) ; }
Source:
public native void setChar ( java.lang.Object object , char value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setChar ( java.lang.Object object , char value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static java.io.File getAapt ( ) { return com.android.build.gradle.integration.common.utils.SdkHelper.getBuildTool ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) , BuildToolInfo.PathId.AAPT ) ; }

Target:
public static java.io.File getAapt ( ) { return com.android.build.gradle.integration.common.utils.SdkHelper.getBuildTool ( com.android.sdklib.repository.FullRevision.parseRevision ( com.android.build.gradle.integration.common.utils.SdkHelper.BUILD_TOOLS_VERSION ) , BuildToolInfo.PathId.AAPT ) ; }
Source:
native void rsnAllocationRead ( long con , long id , java.lang.Object d , int dt ) ;

Target:
native void rsnAllocationRead3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public int getNumCompleteTests ( ) { return ( getNumTests ( ) ) - ( getNumIncompleteTests ( ) ) ; }

Target:
public int getNumCompleteTests ( ) { return ( getNumTests ( ) ) - ( getNumTestsInState ( TestStatus.INCOMPLETE ) ) ; }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsShortShortShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsShortShortShortShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI16 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxI16 ( args.inValue , args.inMinValue ) ) ; }
Source:
public void visitMethodTypeConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.MethodTypeConstant methodTypeConstant ) { methodTypeConstant.javaLangInvokeMethodTypeClass = findClass ( clazz.getName ( ) , ClassConstants.INTERNAL_NAME_JAVA_LANG_INVOKE_METHOD_TYPE ) ; }

Target:
public void visitClassConstant ( proguard.classfile.util.Clazz clazz , proguard.classfile.util.ClassConstant classConstant ) { java.lang.String className = clazz.getName ( ) ; classConstant.referencedClass = findClass ( className , proguard.classfile.util.ClassUtil.internalClassNameFromClassType ( classConstant.getName ( clazz ) ) ) ; classConstant.javaLangClassClass = findClass ( className , ClassConstants.NAME_JAVA_LANG_CLASS ) ; }
Source:
public void cdmaSetSecondCallState ( boolean state ) throws android.os.RemoteException { com.android.server.telecom.Log.d ( com.android.server.telecom.BluetoothPhoneServiceImpl.TAG , "cdma 1 - deprecated" ) ; }

Target:
public void cdmaSetSecondCallState ( boolean state ) throws android.os.RemoteException { android.telecom.Log.d ( com.android.server.telecom.BluetoothPhoneServiceImpl.TAG , "cdma 1 - deprecated" ) ; }