auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void showUserSwitchDialog ( int userId , java.lang.String userName ) { android.app.Dialog d = new com.android.server.am.UserSwitchingDialog ( this , mContext , userId , userName , true ) ; d.show ( ) ; }

Target:
void updateUserConfigurationLocked ( ) { android.content.res.Configuration configuration = new android.content.res.Configuration ( mConfiguration ) ; Settings.System.adjustConfigurationForUser ( mContext.getContentResolver ( ) , configuration , mUserController.getCurrentUserIdLocked ( ) , Settings.System.canWrite ( mContext ) ) ; updateConfigurationLocked ( configuration , null , false ) ; }
Source:
private java.lang.String prepareProgressString ( java.lang.String progressMessage , java.lang.String suffix ) { return com.google.gct.testing.GoogleCloudTestingUtils.shouldShowProgressTimestamps ( ) ? ( ( ( progressMessage + "\t" ) + ( java.lang.System.currentTimeMillis ( ) ) ) + "\n" ) + suffix : ( progressMessage + "\n" ) + suffix ; }

Target:
private java.lang.String prepareProgressString ( java.lang.String progressMessage , java.lang.String suffix ) { return com.google.gct.testing.CloudTestingUtils.shouldShowProgressTimestamps ( ) ? ( ( ( progressMessage + "\t" ) + ( java.lang.System.currentTimeMillis ( ) ) ) + "\n" ) + suffix : ( progressMessage + "\n" ) + suffix ; }
Source:
public int getIndexOf ( @ org.jetbrains.annotations.Nullable final com.intellij.ui.tabs.impl.TabInfo tabInfo ) { return myVisibleInfos.indexOf ( tabInfo ) ; }

Target:
public int getIndexOf ( @ org.jetbrains.annotations.Nullable final com.intellij.ui.tabs.impl.TabInfo tabInfo ) { return getVisibleInfos ( ) . indexOf ( tabInfo ) ; }
Source:
public boolean updateSourcePackages ( com.android.sdklib.internal.repository.SdkSource source , java.lang.Package [ ] newPackages ) { mVisitedSources.add ( source ) ; if ( source == null ) { return processLocals ( this , newPackages ) ; } else { return processSource ( this , source , newPackages ) ; } }

Target:
public boolean updateSourcePackages ( com.android.sdklib.internal.repository.sources.SdkSource source , java.lang.Package [ ] newPackages ) { mVisitedSources.add ( source ) ; if ( source == null ) { return processLocals ( this , newPackages ) ; } else { return processSource ( this , source , newPackages ) ; } }
Source:
public void test_EmptyList_replaceAll ( ) { java.util.Collections.emptyList ( ) . replaceAll ( ( k ) -> 1 ) ; try { java.util.Collections.emptyList ( ) . replaceAll ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_EmptyList_sort ( ) { java.util.Collections.emptyList ( ) . sort ( ( k1 , k2 ) -> 1 ) ; }
Source:
private void sendCmdForExecution ( com.android.internal.telephony.gsm.stk.RilMessage rilMsg ) { android.os.Message msg = mCaller.obtainMessage ( StkService.MSG_ID_RIL_MSG_DECODED , new com.android.internal.telephony.gsm.stk.RilMessage ( rilMsg ) ) ; msg.sendToTarget ( ) ; }

Target:
private void sendCmdForExecution ( com.android.internal.telephony.cat.RilMessage rilMsg ) { android.os.Message msg = mCaller.obtainMessage ( CatService.MSG_ID_RIL_MSG_DECODED , new com.android.internal.telephony.cat.RilMessage ( rilMsg ) ) ; msg.sendToTarget ( ) ; }
Source:
public void run ( ) { synchronized ( this ) { viewport = model.getViewport ( ) ; setBounds ( ) ; setTransform ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { tree = model.getTree ( ) ; selectedNode = model.getSelection ( ) ; viewport = model.getViewport ( ) ; setBounds ( ) ; setTransform ( ) ; } }
Source:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeInt ( mAudioQuality ) ; out.writeInt ( mAudioDirection ) ; out.writeInt ( mVideoQuality ) ; out.writeInt ( mVideoDirection ) ; }

Target:
public void writeToParcel ( android.os.Parcel out , int flags ) { out.writeInt ( mAudioQuality ) ; out.writeInt ( mAudioDirection ) ; out.writeInt ( mVideoQuality ) ; out.writeInt ( mVideoDirection ) ; out.writeInt ( mRttMode ) ; }
Source:
public void setlectInitialDevice ( com.android.sdklib.devices.Device device ) { mInitWithDevice = device ; }

Target:
public void selectInitialDevice ( com.android.sdklib.devices.Device device ) { mInitWithDevice = device ; }
Source:
public void testReplaceFwdLockedInternal ( ) { sampleReplaceFromRawResource ( ( ( PackageManager.INSTALL_REPLACE_EXISTING ) | ( PackageManager.INSTALL_FORWARD_LOCK ) ) ) ; }

Target:
public void testReplaceFwdLockedInternal ( ) { sampleReplaceFromRawResource ( ( ( android.content.pm.PackageManager.INSTALL_REPLACE_EXISTING ) | ( android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ) ) ) ; }
Source:
public void testNoRuntimePrompt22 ( ) throws java.lang.Exception { assertNull ( getDevice ( ) . installPackage ( com.android.cts.migration.MigrationHelper.getTestFile ( mCtsBuild , android.appsecurity.cts.PermissionsHostTest.APK_22 ) , false , false ) ) ; runDeviceTests ( android.appsecurity.cts.PermissionsHostTest.USES_PERMISSION_PKG , "com.android.cts.usepermission.UsePermissionTest22" , "testNoRuntimePrompt" ) ; }

Target:
public void testCompatDefault22 ( ) throws java.lang.Exception { assertNull ( getDevice ( ) . installPackage ( com.android.cts.migration.MigrationHelper.getTestFile ( mCtsBuild , android.appsecurity.cts.PermissionsHostTest.APK_22 ) , false , false ) ) ; runDeviceTests ( android.appsecurity.cts.PermissionsHostTest.PKG , "com.android.cts.usepermission.UsePermissionTest22" , "testCompatDefault" ) ; }
Source:
public final void testGetPkgDesc ( ) { assertEquals ( com.android.sdklib.repository.descriptors.PkgDesc.newTool ( new com.android.sdklib.repository.FullRevision ( 1 , 2 , 3 , 4 ) , FullRevision.NOT_SPECIFIED ) , m.getPkgDesc ( ) ) ; }

Target:
public final void testGetPkgDesc ( ) { assertEquals ( PkgDesc.Builder.newTool ( new com.android.sdklib.repository.FullRevision ( 1 , 2 , 3 , 4 ) , FullRevision.NOT_SPECIFIED ) . create ( ) , m.getPkgDesc ( ) ) ; }
Source:
public void testInstallApkWhichDoesNotStartWithZipLocalFileHeaderMagic ( ) throws java.lang.Exception { java.lang.String error = "Failed to parse" ; assertInstallFailsWithError ( "v1-only-starts-with-00000000-magic.apk" , error ) ; assertInstallFailsWithError ( "v2-only-starts-with-00000000-magic.apk" , error ) ; assertInstallFailsWithError ( "v1-only-starts-with-dex-magic.apk" , error ) ; assertInstallFailsWithError ( "v2-only-starts-with-dex-magic.apk" , error ) ; }

Target:
public void testInstallApkWhichDoesNotStartWithZipLocalFileHeaderMagic ( ) throws java.lang.Exception { assertInstallFails ( "v1-only-starts-with-00000000-magic.apk" ) ; assertInstallFails ( "v2-only-starts-with-00000000-magic.apk" ) ; assertInstallFails ( "v1-only-starts-with-dex-magic.apk" ) ; assertInstallFails ( "v2-only-starts-with-dex-magic.apk" ) ; }
Source:
private static void requestStatus ( android.content.Context context , java.lang.String action , com.android.cts.verifier.notifications.MockListener.StatusCatcher catcher ) { android.content.Intent broadcast = new android.content.Intent ( action ) ; context.sendOrderedBroadcast ( broadcast , null , catcher , null , com.android.cts.verifier.notifications.MockListener.RESULT_NO_SERVER , null , null ) ; }

Target:
protected java.util.Collection < org.json.JSONObject > getPosted ( ) { return mNotifications.values ( ) ; }
Source:
public void onLooperPrepared ( ) { new com.android.internal.telephony.SubscriptionInfoUpdater ( mContext , new com.android.internal.telephony.Phone [ ] { mPhone } , new com.android.internal.telephony.CommandsInterface [ ] { mSimulatedCommands } ) ; setReady ( true ) ; }

Target:
public void onLooperPrepared ( ) { mUpdater = new com.android.internal.telephony.SubscriptionInfoUpdater ( getLooper ( ) , mContext , new com.android.internal.telephony.Phone [ ] { mPhone } , new com.android.internal.telephony.CommandsInterface [ ] { mSimulatedCommands } ) ; setReady ( true ) ; }
Source:
private void assertShouldSystemBlock ( boolean expected , java.lang.String phoneNumber ) { assertEquals ( expected , android.provider.BlockedNumberContract.SystemContract.shouldSystemBlockNumber ( mMockContext , phoneNumber ) ) ; }

Target:
private void assertShouldSystemBlock ( boolean expected , java.lang.String phoneNumber , android.os.Bundle extras ) { assertEquals ( expected , android.provider.BlockedNumberContract.SystemContract.shouldSystemBlockNumber ( mMockContext , phoneNumber , extras ) ) ; }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor wrap ( @ android.annotation.Nullable byte [ ] array ) { mTlvImpl.wrap ( array ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor wrap ( @ android.annotation.Nullable byte [ ] array ) { mTlvImpl.wrap ( array ) ; return this ; }
Source:
public final void resetConference ( ) { if ( ( mConference ) != null ) { android.telecom.Log.d ( this , "Conference reset" ) ; mConference = null ; fireConferenceChanged ( ) ; } }

Target:
public final void resetConference ( ) { if ( ( mConference ) != null ) { android.telecom.Log.d ( this , "Conference reset" ) ; mConference = null ; fireConferenceChanged ( ) ; onConferenceChanged ( ) ; } }
Source:
public java.lang.String toString ( ) { return rowMap ( ) . toString ( ) ; }

Target:
public java.util.Set < R > rowKeySet ( ) { return rowMap ( ) . keySet ( ) ; }
Source:
public java.lang.String getIncludedWithin ( ) { return ( mIncludedWithin ) != null ? mIncludedWithin.getName ( ) : null ; }

Target:
public void changeFileOnNewConfig ( org.eclipse.core.resources.IFile file ) { mEditedFile = file ; mConfigChooser.changeFileOnNewConfig ( mEditedFile ) ; }
Source:
private com.ibm.icu.text.PluralRules.Rule selectRule ( com.ibm.icu.text.PluralRules.FixedDecimal n ) { for ( com.ibm.icu.text.PluralRules.Rule rule : rules ) { if ( rule.appliesTo ( n ) ) { return rule ; } } return null ; }

Target:
private com.ibm.icu.text.PluralRules.Rule selectRule ( com.ibm.icu.text.PluralRules.IFixedDecimal n ) { for ( com.ibm.icu.text.PluralRules.Rule rule : rules ) { if ( rule.appliesTo ( n ) ) { return rule ; } } return null ; }
Source:
public void testMeetsCriteria ( ) { android.location.LocationProvider locationProvider = mLocationManager.getProvider ( "gps" ) ; android.location.Criteria criteria = new android.location.Criteria ( ) ; criteria.setAltitudeRequired ( true ) ; criteria.setBearingRequired ( true ) ; assertTrue ( locationProvider.meetsCriteria ( criteria ) ) ; }

Target:
public void testMeetsCriteria ( ) { android.location.LocationProvider locationProvider = mLocationManager.getProvider ( android.location.cts.LocationProviderTest.PROVIDER_NAME ) ; android.location.Criteria criteria = new android.location.Criteria ( ) ; criteria.setAltitudeRequired ( true ) ; criteria.setBearingRequired ( true ) ; assertTrue ( locationProvider.meetsCriteria ( criteria ) ) ; }
Source:
public boolean mayThrowExceptions ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Method method , proguard.classfile.attribute.CodeAttribute codeAttribute , int offset , proguard.optimize.info.Instruction instruction ) { mayThrowExceptions = false ; instruction.accept ( clazz , method , codeAttribute , offset , this ) ; return mayThrowExceptions ; }

Target:
public boolean mayThrowExceptions ( proguard.optimize.info.Clazz clazz , proguard.optimize.info.Method method , proguard.classfile.attribute.CodeAttribute codeAttribute ) { return mayThrowExceptions ( clazz , method , codeAttribute , 0 , codeAttribute.u4codeLength ) ; }
Source:
public native long getLongVolatile ( java.lang.Object obj , long offset ) ;

Target:
public native void putIntVolatile ( java.lang.Object obj , long offset , int newValue ) ;
Source:
public void forceStopPnoScan ( ) { if ( com.android.server.wifi.scanner.SupplicantWifiScannerImpl.DBG ) android.util.Log.d ( com.android.server.wifi.scanner.SupplicantWifiScannerImpl.TAG , "Force stopping Pno scan" ) ; if ( mWaitForTimer ) { mAlarmManager.cancel ( mAlarmListener ) ; mWaitForTimer = false ; } updatePnoState ( false ) ; }

Target:
public void forceStopPnoScan ( ) { if ( com.android.server.wifi.scanner.SupplicantWifiScannerImpl.DBG ) android.util.Log.d ( com.android.server.wifi.scanner.SupplicantWifiScannerImpl.TAG , "Force stopping Pno scan" ) ; if ( mWaitForTimer ) { mAlarmManager.cancel ( mAlarmListener ) ; mWaitForTimer = false ; } stopPnoScanInternal ( ) ; }
Source:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , int [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( int con , int id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
void addPackage ( com.android.server.pm.PackageSetting packageSetting ) { if ( packages.add ( packageSetting ) ) { setFlags ( ( ( this . pkgFlags ) | ( packageSetting.pkgFlags ) ) ) ; } }

Target:
void addPackage ( com.android.server.pm.PackageSetting packageSetting ) { if ( packages.add ( packageSetting ) ) { setFlags ( ( ( this . pkgFlags ) | ( packageSetting.pkgFlags ) ) ) ; setPrivateFlags ( ( ( this . pkgPrivateFlags ) | ( packageSetting.pkgPrivateFlags ) ) ) ; } }
Source:
public void setConnectionManagerPhoneAccount ( android.telecom.PhoneAccountHandle accountHandle ) { if ( ! ( java.util.Objects.equals ( mConnectionManagerPhoneAccountHandle , accountHandle ) ) ) { mConnectionManagerPhoneAccountHandle = accountHandle ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onConnectionManagerPhoneAccountChanged ( this ) ; } } }

Target:
public void setConnectionManagerPhoneAccount ( android.telecom.PhoneAccountHandle accountHandle ) { if ( ! ( java.util.Objects.equals ( mConnectionManagerPhoneAccountHandle , accountHandle ) ) ) { mConnectionManagerPhoneAccountHandle = accountHandle ; for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onConnectionManagerPhoneAccountChanged ( this ) ; } } checkIfRttCapable ( ) ; }
Source:
private org.gradle.tooling.ProjectConnection getProjectConnection ( ) { org.gradle.tooling.GradleConnector connector = org.gradle.tooling.GradleConnector.newConnector ( ) ; return connector.useGradleVersion ( BasePlugin.GRADLE_TEST_VERSION ) . forProjectDirectory ( testDir ) . connect ( ) ; }

Target:
private org.gradle.tooling.ProjectConnection getProjectConnection ( ) { org.gradle.tooling.GradleConnector connector = org.gradle.tooling.GradleConnector.newConnector ( ) ; ( ( org.gradle.tooling.internal.consumer.DefaultGradleConnector ) ( connector ) ) . daemonMaxIdleTime ( 10 , java.util.concurrent.TimeUnit.SECONDS ) ; return connector.useGradleVersion ( BasePlugin.GRADLE_TEST_VERSION ) . forProjectDirectory ( testDir ) . connect ( ) ; }
Source:
public int getCarrierId ( ) { return - 1 ; }

Target:
public int getCarrierId ( ) { return android.telephony.TelephonyManager.UNKNOWN_CARRIER_ID ; }
Source:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( ) ; } java.util.Locale.defaultLocale = locale ; }

Target:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } java.util.Locale.defaultLocale = locale ; }
Source:
public void reset ( ) { maximumCodeLength = 0 ; codeLength = 0 ; exceptionTableLength = 0 ; level = - 1 ; instructionWriter.reset ( ClassConstants.TYPICAL_CODE_LENGTH ) ; }

Target:
public void reset ( ) { maximumCodeLength = 0 ; codeLength = 0 ; exceptionTableLength = 0 ; level = - 1 ; instructionWriter.reset ( code.length ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.PKG ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; assertNotNull ( mAbi ) ; assertNotNull ( mCtsBuild ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.USES_PERMISSION_PKG ) ; getDevice ( ) . uninstallPackage ( android.appsecurity.cts.PermissionsHostTest.ESCALATE_PERMISSION_PKG ) ; }
Source:
public boolean incrementUses ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass userClass ) { return userClasses.add ( userClass ) ; }

Target:
public boolean addEnumUsage ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClass userClass , @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedEnum enumType ) { return userClasses.put ( userClass , enumType ) ; }
Source:
public javax.swing.JLabel getDescriptionText ( ) { return myDescriptionLabel ; }

Target:
protected javax.swing.JLabel getDescriptionLabel ( ) { return myDescriptionLabel ; }
Source:
public static int BoolCond_IntVarVar ( boolean cond , int x , int y ) { return cond ? x : y ; }

Target:
public static int BoolCond_IntVarVar ( boolean cond , int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return cond ? x : y ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public V2 getValue ( ) { return transformer.transformEntry ( entry.getKey ( ) , entry.getValue ( ) ) ; }

Target:
java.util.Iterator < java.util.Map.Entry < K , V2 > > entryIterator ( ) { return com.google.common.collect.Iterators.transform ( fromMultimap.entries ( ) . iterator ( ) , com.google.common.collect.Maps.< K , V1 , V2 > asEntryToEntryFunction ( transformer ) ) ; }
Source:
public android.net.wifi.nan.TlvBufferUtils.TlvConstructor putByteArray ( int type , @ android.annotation.Nullable byte [ ] array ) { return putByteArray ( type , array , 0 , ( array == null ? 0 : array.length ) ) ; }

Target:
public android.net.wifi.aware.TlvBufferUtils.TlvConstructor putByteArray ( int type , @ android.annotation.Nullable byte [ ] array ) { return putByteArray ( type , array , 0 , ( array == null ? 0 : array.length ) ) ; }
Source:
private void onDayChange ( ) { if ( ( computeCurrentConfig ( ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; } }

Target:
void selectNightMode ( com.android.resources.NightMode night ) { mState.night = night ; if ( ( computeCurrentConfig ( ) ) && ( ( mListener ) != null ) ) { mListener.onConfigurationChange ( ) ; } }
Source:
public void testEnded ( com.android.ddmlib.testrunner.TestIdentifier test , java.util.Map < java.lang.String , java.lang.String > testMetrics ) { mRunResult.reportTestEnded ( test , testMetrics ) ; }

Target:
public void testAssumptionFailure ( com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) { mRunResult.testAssumptionFailure ( test , trace ) ; }
Source:
native void rsnAllocationElementRead ( long con , long id , int xoff , int yoff , int zoff , int mip , int compIdx , java.lang.Object d , int sizeBytes , 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 static java.lang.String getOldValue ( @ com.android.annotations.NonNull java.lang.String errorMessage ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , " tag <" , ">" ) ; }

Target:
public static java.lang.String getOldValue ( @ com.android.annotations.NonNull java.lang.String errorMessage , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( format.toText ( errorMessage ) , " tag <" , ">" ) ; }
Source:
private static void maybeDisableTracing ( ) throws java.lang.Exception { if ( art.Test989.DISABLE_TRACING ) { art.Trace.disableMethodTracing ( java.lang.Thread.currentThread ( ) ) ; } }

Target:
private static void maybeDisableTracing ( ) throws java.lang.Exception { if ( art.Test989.DISABLE_TRACING ) { art.Trace.disableTracing ( java.lang.Thread.currentThread ( ) ) ; } }
Source:
public static double random ( ) { return java.lang.Math.NoImagePreloadHolder.INSTANCE.nextDouble ( ) ; }

Target:
public static double random ( ) { return java.lang.Math.RandomNumberGeneratorHolder.randomNumberGenerator.nextDouble ( ) ; }
Source:
static long $opt$DoubleToLong ( double a ) { return ( ( long ) ( a ) ) ; }

Target:
static long $opt$DoubleToLong ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
public final void free ( ) { block.free ( ) ; }

Target:
public final void free ( ) { if ( ! ( freed ) ) { block.free ( ) ; freed = true ; } }
Source:
void stopMultiAdvertising ( com.android.bluetooth.gatt.AdvertiseClient client ) { enforceAdminPermission ( ) ; if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( "stopMultiAdvertising() - advertiserId=" + ( client.advertiserId ) ) ) ; mAdvertiseManager.stopAdvertising ( client ) ; }

Target:
void startAdvertisingSet ( android.bluetooth.le.AdvertisingSetParameters parameters , android.bluetooth.le.AdvertiseData advertiseData , android.bluetooth.le.AdvertiseData scanResponse , android.bluetooth.le.PeriodicAdvertisingParameters periodicParameters , android.bluetooth.le.AdvertiseData periodicData , android.bluetooth.le.IAdvertisingSetCallback callback ) { enforceAdminPermission ( ) ; mAdvertiseManager.startAdvertisingSet ( parameters , advertiseData , scanResponse , periodicParameters , periodicData , callback ) ; }
Source:
public void wifiForgetNetwork ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "wifiSSID" ) java.lang.Integer newtorkId ) { com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , "ForgetNetwork" ) ; mWifi.forget ( newtorkId , listener ) ; }

Target:
public void wifiForgetNetwork ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "wifiSSID" ) java.lang.Integer networkId ) { com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener listener = new com.googlecode.android_scripting.facade.wifi.WifiManagerFacade.WifiActionListener ( mEventFacade , com.googlecode.android_scripting.facade.wifi.WifiConstants.WIFI_FORGET_NETWORK_CALLBACK ) ; mWifi.forget ( networkId , listener ) ; }
Source:
public TestCaseBuilder addCanvasClient ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClient ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { return addCanvasClient ( null , canvasClient , useHardware ) ; }
Source:
public static void setDisabledForTests ( boolean disabled ) { if ( disabled && ( ( org.chromium.base.metrics.RecordHistogram.sDisabledBy ) != null ) ) { throw new java.lang.IllegalStateException ( "Histograms are already disabled." , org.chromium.base.metrics.RecordHistogram.sDisabledBy ) ; } org.chromium.base.metrics.RecordHistogram.sDisabledBy = ( disabled ) ? new java.lang.Throwable ( ) : null ; }

Target:
public static void disableForTests ( ) { org.chromium.base.metrics.RecordHistogram.sIsDisabledForTests = true ; }
Source:
public void test_F32_1_SCALE20_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_1_SCALE20_05_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x ) { if ( x instanceof com.android.jack.ir.ast.JDefinedAnnotation ) { newNode = new com.android.jack.jayce.v0002.nodes.NAnnotationType ( ) ; return false ; } newNode = new com.android.jack.jayce.v0002.nodes.NInterfaceType ( ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedInterface x ) { if ( x instanceof com.android.jack.ir.ast.JDefinedAnnotationType ) { newNode = new com.android.jack.jayce.v0002.nodes.NAnnotationType ( ) ; return false ; } newNode = new com.android.jack.jayce.v0002.nodes.NInterfaceType ( ) ; return false ; }
Source:
public void addBoolean ( boolean v ) { mN.addBoolean ( v ) ; }

Target:
public void addBoolean ( boolean v ) { mN.addBoolean ( v ) ; ( mPos ) ++ ; }
Source:
public static native void SSL_free ( int sslNativePointer ) ;

Target:
public static native long SSL_new ( long ssl_ctx ) throws javax.net.ssl.SSLException ;
Source:
private static final java.io.File getTestsRootDir ( ) { return new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , ( ( ( com.android.jack.test.toolchain.AbstractTestTools.JACK_TESTS_FOLDER ) + ( java.io.File.separator ) ) + "tests" ) ) ; }

Target:
private static final java.io.File getTestsRootDir ( ) { return new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , ( ( ( com.android.jack.test.toolchain.AbstractTestTools.JACK_TESTS_FOLDER ) + ( java.io.File.separator ) ) + "tests" ) ) ; }
Source:
private static com.android.dx.rop.cst.CstMethodRef makeInvokeMethod ( final com.android.dx.rop.cst.CstMethodRef callSiteMethod ) { com.android.dx.rop.cst.CstNat cstNat = new com.android.dx.rop.cst.CstNat ( callSiteMethod.getNat ( ) . getName ( ) , com.android.dx.rop.code.InvokePolymorphicInsn.INVOKE_DESCRIPTOR ) ; return new com.android.dx.rop.cst.CstMethodRef ( com.android.dx.rop.cst.CstType.METHOD_HANDLE , cstNat ) ; }

Target:
private static com.android.dx.rop.cst.CstMethodRef makeInvokeMethod ( final com.android.dx.rop.cst.CstMethodRef callSiteMethod ) { com.android.dx.rop.cst.CstNat cstNat = new com.android.dx.rop.cst.CstNat ( callSiteMethod.getNat ( ) . getName ( ) , com.android.dx.rop.code.InvokePolymorphicInsn.INVOKE_DESCRIPTOR ) ; return new com.android.dx.rop.cst.CstMethodRef ( callSiteMethod.getDefiningClass ( ) , cstNat ) ; }
Source:
, methodHandleExtraArgs = { @ annotations.Constant ( classValue = TestLinkerUnrelatedBSM.class ) } , name = "_subf" , returnType = float . class , argumentTypes = { float . class , float . class } ) private static float subf ( float a , float b ) { assertNotReached ( ) ; return java.lang.Float.MIN_VALUE ; }

Target:
, fieldOrMethodName = "_subf" , returnType = float . class , parameterTypes = { float . class , float . class } , constantArgumentsForBootstrapMethod = { @ annotations.Constant ( classValue = TestLinkerUnrelatedBSM.class ) } ) private static float subf ( float a , float b ) { assertNotReached ( ) ; return java.lang.Float.MIN_VALUE ; }
Source:
public java.lang.String getNameDisplay ( ) { return mNameDisplay ; }

Target:
public java.lang.String getNameDisplay ( ) { return ( mNameDisplay ) == null ? java.lang.String.format ( "Unknown (%s)" , getInstallId ( ) ) : mNameDisplay ; }
Source:
public void onContentAllowed ( ) { if ( ! ( isUnderShrunkenTvView ( ) ) ) { mUnlockAllowedRatingBeforeShrunken = false ; } mChannelBannerView.setBlockingContentRating ( null ) ; updateChannelBannerAndShowIfNeeded ( com.android.tv.MainActivity.UPDATE_CHANNEL_BANNER_REASON_LOCK_OR_UNLOCK ) ; }

Target:
public void onContentAllowed ( ) { if ( ! ( isUnderShrunkenTvView ( ) ) ) { mUnlockAllowedRatingBeforeShrunken = false ; } if ( ! ( isChannelChangeKeyDownReceived ( ) ) ) { mChannelBannerView.setBlockingContentRating ( null ) ; updateChannelBannerAndShowIfNeeded ( com.android.tv.MainActivity.UPDATE_CHANNEL_BANNER_REASON_LOCK_OR_UNLOCK ) ; } }
Source:
public void run ( ) { android.app.ProgressDialog dialog = buildDialog ( ) ; dialog = android.app.ProgressDialog.show ( mContext , TITLE , MESSAGE , true , false ) ; dialog.setOnCancelListener ( cL ) ; dialog.onBackPressed ( ) ; }

Target:
public void run ( ) { android.app.ProgressDialog dialog = buildDialog ( ) ; dialog = android.app.ProgressDialog.show ( mContext , TITLE , MESSAGE , true , false ) ; dialog.setOnCancelListener ( cL ) ; dialog.onBackPressed ( ) ; dialog.dismiss ( ) ; }
Source:
public void turnOffIms ( ) { }

Target:
public void turnOnIms ( ) { }
Source:
protected int computeVerticalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryHeight ; } else { int height = contentToView ( mContentHeight ) ; if ( mFindIsUp ) { height += android.webkit.WebView.FIND_HEIGHT ; } return height ; } }

Target:
protected int computeVerticalScrollRange ( ) { if ( mDrawHistory ) { return mHistoryHeight ; } else { return ( ( int ) ( java.lang.Math.floor ( ( ( mContentHeight ) * ( mActualScale ) ) ) ) ) ; } }
Source:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 6 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.atan2pi ( args.inY , args.inX , t ) ; }

Target:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 6 , 128 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.atan2pi ( args.inNumerator , args.inDenominator , t ) ; }
Source:
protected void add ( com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile file ) { mFiles.add ( file ) ; }

Target:
protected void add ( com.android.ide.common.resources.ResourceFile file ) { mFiles.add ( file ) ; }
Source:
private static boolean showEnableOemUnlockPreference ( android.content.Context context ) { return ( context.getSystemService ( Context.OEM_LOCK_SERVICE ) ) != null ; }

Target:
private static boolean showEnableOemUnlockPreference ( android.content.Context context ) { return ( android.os.ServiceManager.getService ( Context.OEM_LOCK_SERVICE ) ) != null ; }
Source:
protected abstract void sendText ( java.lang.String destAddr , java.lang.String scAddr , java.lang.String text , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent ) ;

Target:
protected abstract void sendText ( java.lang.String destAddr , java.lang.String scAddr , java.lang.String text , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent , android.net.Uri messageUri , java.lang.String callingPkg ) ;
Source:
protected static boolean isIgnoredGradleVersion ( java.lang.String gradleVersion ) { return com.android.build.gradle.BuildTest.IGNORED_GRADLE_VERSIONS.contains ( gradleVersion ) ; }

Target:
protected static boolean isIgnoredGradleVersion ( java.lang.String gradleVersion ) { return ! ( BasePlugin.GRADLE_TEST_VERSION.equals ( gradleVersion ) ) ; }
Source:
public void onRemovalSucceeded ( android.hardware.fingerprint.Fingerprint fingerprint ) { mHandler.obtainMessage ( com.android.settings.fingerprint.FingerprintSettings.FingerprintSettingsFragment.MSG_REFRESH_FINGERPRINT_TEMPLATES , fingerprint.getFingerId ( ) , 0 ) . sendToTarget ( ) ; }

Target:
public void onRemovalSucceeded ( android.hardware.fingerprint.Fingerprint fingerprint ) { mHandler.obtainMessage ( com.android.settings.fingerprint.FingerprintSettings.FingerprintSettingsFragment.MSG_REFRESH_FINGERPRINT_TEMPLATES , fingerprint.getFingerId ( ) , 0 ) . sendToTarget ( ) ; updateDialog ( ) ; }
Source:
static boolean checkFolderForPackaging ( org.eclipse.core.resources.IFolder folder ) { java.lang.String name = folder.getName ( ) ; return com.android.sdklib.internal.build.JavaResourceFilter.checkFolderForPackaging ( name ) ; }

Target:
static boolean checkFolderForPackaging ( org.eclipse.core.resources.IFolder folder ) { java.lang.String name = folder.getName ( ) ; return com.android.sdklib.build.ApkBuilder.checkFolderForPackaging ( name ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { Main.invokeStaticInlined ( ) ; Main.invokeStaticNotInlined ( ) ; Main.ClassWithClinit3.invokeStaticInlined ( ) ; Main.ClassWithClinit4.invokeStaticNotInlined ( ) ; Main.SubClassOfClassWithClinit5.invokeStaticInlined ( ) ; Main.SubClassOfClassWithClinit6.invokeStaticNotInlined ( ) ; }

Target:
public java.util.Iterator iterator ( ) { return null ; }
Source:
private static libcore.io.MemoryMappedFile mapData ( ) { try { return libcore.io.MemoryMappedFile.mmapRO ( libcore.util.ZoneInfoDB.ZONE_FILE_NAME ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw new java.lang.AssertionError ( errnoException ) ; } }

Target:
private static libcore.io.MemoryMappedFile mapData ( ) { try { java.lang.String path = ( java.lang.System.getenv ( "ANDROID_ROOT" ) ) + "/usr/share/zoneinfo/tzdata" ; return libcore.io.MemoryMappedFile.mmapRO ( path ) ; } catch ( libcore.io.ErrnoException errnoException ) { throw new java.lang.AssertionError ( errnoException ) ; } }
Source:
public void flush ( ) throws java.io.IOException { socket.getOutputStream ( ) . flush ( ) ; }

Target:
public void flush ( ) throws java.io.IOException { synchronized ( stateLock ) { init ( ) ; socketOutputStream.flush ( ) ; } }
Source:
public java.util.concurrent.ScheduledFuture < ? > schedule ( java.lang.Runnable command , long delay , java.util.concurrent.TimeUnit unit ) { return delegate.schedule ( command , delay , unit ) ; }

Target:
public void execute ( java.lang.Runnable command ) { command.run ( ) ; }
Source:
public byte [ ] getPubkey ( java.lang.String key ) { return getPubkey ( android.security.KeyStore.getKeyBytes ( key ) ) ; }

Target:
public boolean delKey ( java.lang.String key ) { try { return ( mBinder.del_key ( key ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
synchronized boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) android.util.Log.v ( com.android.bluetooth.hid.HidDevService.TAG , ( "connect(): device=" + device ) ) ; return connectNative ( com.android.bluetooth.Utils.getByteAddress ( device ) ) ; }

Target:
synchronized boolean disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.hid.HidDevService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDevService.TAG , ( "disconnect(): device=" + device ) ) ; } if ( ! ( checkDevice ( device ) ) ) { return false ; } return disconnectNative ( ) ; }
Source:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return java.text.com.ibm.icu.text.Collator ; case java.text.Collator.NO_DECOMPOSITION : return java.text.com.ibm.icu.text.Collator ; } throw new java.lang.IllegalArgumentException ( ( "Bad mode: " + mode ) ) ; }

Target:
private int decompositionMode_Java_ICU ( int mode ) { switch ( mode ) { case java.text.Collator.CANONICAL_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_ON ; case java.text.Collator.NO_DECOMPOSITION : return libcore.icu.RuleBasedCollatorICU.VALUE_OFF ; } throw new java.lang.IllegalArgumentException ( ( "Bad mode: " + mode ) ) ; }
Source:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = 7L ; b = 3L ; c = a * b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 7L ) ; b = Main.$inline$long ( 3L ) ; c = a * b ; return c ; }
Source:
public V2 transformEntry ( K key , V1 value ) { return function.apply ( value ) ; }

Target:
public java.util.Collection < V > apply ( K key ) { return multimap.get ( key ) ; }
Source:
public boolean isStarted ( ) { return ( mIface ) != null ; }

Target:
public boolean isStarted ( ) { return ( mState ) != ( com.android.server.connectivity.Nat464Xlat.State.IDLE ) ; }
Source:
public void setManifestpackage ( java.lang.String packageName ) { if ( ( packageName != null ) && ( ( packageName.length ( ) ) != 0 ) ) { mManifestPackage = packageName ; } }

Target:
public void setManifestpackage ( java.lang.String packageName ) { if ( ( packageName != null ) && ( ! ( packageName.isEmpty ( ) ) ) ) { mManifestPackage = packageName ; } }
Source:
public long maxSize ( ) { return delegate.getMaxSize ( ) ; }

Target:
public int getRequestCount ( ) { return delegate.getRequestCount ( ) ; }
Source:
public void moveAb ( java.lang.String apkPath , java.lang.String instructionSet , java.lang.String outputPath ) throws com.android.internal.os.InstallerConnection.InstallerException { mInstaller.execute ( "move_ab" , apkPath , instructionSet , outputPath ) ; }

Target:
public void markBootComplete ( java.lang.String instructionSet ) throws com.android.internal.os.InstallerConnection.InstallerException { com.android.server.pm.Installer.assertValidInstructionSet ( instructionSet ) ; checkLock ( ) ; try { mInstalld.markBootComplete ( instructionSet ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public boolean contains ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { return com.intellij.openapi.vfs.VfsUtil.isAncestor ( myRoot , file , false ) ; }

Target:
public boolean contains ( @ org.jetbrains.annotations.NotNull com.intellij.openapi.vfs.VirtualFile file ) { return com.intellij.openapi.vfs.VfsUtilCore.isUnder ( file , myRoots ) ; }
Source:
public int getCalculatedPreferredNetworkType ( java.lang.String callingPackage ) { if ( ! ( canReadPhoneState ( callingPackage , "getCalculatedPreferredNetworkType" ) ) ) { return com.android.internal.telephony.RILConstants.PREFERRED_NETWORK_MODE ; } return com.android.internal.telephony.PhoneFactory.calculatePreferredNetworkType ( mPhone.getContext ( ) , 0 ) ; }

Target:
public int getCalculatedPreferredNetworkType ( java.lang.String callingPackage ) { if ( ! ( com.android.internal.telephony.TelephonyPermissions.checkCallingOrSelfReadPhoneState ( mApp , callingPackage , "getCalculatedPreferredNetworkType" ) ) ) { return com.android.internal.telephony.RILConstants.PREFERRED_NETWORK_MODE ; } return com.android.internal.telephony.PhoneFactory.calculatePreferredNetworkType ( mPhone.getContext ( ) , 0 ) ; }
Source:
public boolean followStream ( java.io.InputStream in ) throws java.io.IOException { return followProcess ( new com.google.caliper.InterleavedReader ( marker , new java.io.InputStreamReader ( in , vogar.monitor.HostMonitor.UTF8 ) ) ) ; }

Target:
public boolean followStream ( java.io.InputStream in ) throws java.io.IOException { return followProcess ( new com.google.caliper.util.InterleavedReader ( marker , new java.io.InputStreamReader ( in , vogar.monitor.HostMonitor.UTF8 ) ) ) ; }
Source:
private static java.util.Properties createProps ( int min_platform_tools_rev ) { java.util.Properties props = new java.util.Properties ( ) ; props.setProperty ( ToolPackage.PROP_MIN_PLATFORM_TOOLS_REV , java.lang.Integer.toString ( min_platform_tools_rev ) ) ; return props ; }

Target:
private static java.util.Properties createProps ( int min_platform_tools_rev ) { java.util.Properties props = new java.util.Properties ( ) ; props.setProperty ( PkgProps.MIN_PLATFORM_TOOLS_REV , java.lang.Integer.toString ( min_platform_tools_rev ) ) ; return props ; }
Source:
public java.lang.String telephonyGetSubscriptionCarrierName ( ) { return mTelephonyManager.getSubscriptionCarrierName ( ) ; }

Target:
public void telephonySetSimStateForSlotId ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "slotId" ) java.lang.Integer slotId , @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "state" ) java.lang.Integer state ) { mTelephonyManager.setSimPowerStateForSlot ( slotId , state ) ; }
Source:
public boolean removeAll ( java.util.Collection < ? > c ) { boolean changed = false ; for ( java.lang.Object obj : c ) { changed |= remove ( obj ) ; } return changed ; }

Target:
public boolean removeAll ( java.util.Collection < ? > c ) { com.google.common.base.Preconditions.checkNotNull ( c ) ; return com.google.common.collect.Sets.removeAllImpl ( this , c.iterator ( ) ) ; }
Source:
private android.net.nsd.NsdServiceInfo getNsdService ( int key ) { synchronized ( mMapLock ) { return mServiceMap.get ( key ) ; } }

Target:
private static void fatal ( java.lang.String msg ) { android.util.Log.e ( android.net.nsd.NsdManager.TAG , msg ) ; throw new java.lang.RuntimeException ( msg ) ; }
Source:
public boolean appliesTo ( android.icu.text.PluralRules.FixedDecimal n ) { return constraint.isFulfilled ( n ) ; }

Target:
public boolean appliesTo ( android.icu.text.PluralRules.IFixedDecimal n ) { return constraint.isFulfilled ( n ) ; }
Source:
public void unregisterListener ( ) { mPhone.listen ( mPhoneStateListener , 0 ) ; }

Target:
public void unregisterListener ( ) { mPhone.listen ( mPhoneStateListener , 0 ) ; mContext.getContentResolver ( ) . unregisterContentObserver ( mObserver ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; new Main.TestConfig ( ) . doFollowReferencesTest ( ) ; Main.doStringTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; new Main.TestConfig ( ) . doFollowReferencesTest ( ) ; Main.doStringTest ( ) ; Main.doPrimitiveArrayTest ( ) ; }
Source:
public void testKeyStore_ContainsAliases_NonExistent_Failure ( ) throws java.lang.Exception { mKeyStore.load ( null , null ) ; assertFalse ( "Should contain added CA certificate" , mKeyStore.containsAlias ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ) ; }

Target:
public void testKeyStore_ContainsAliases_NonExistent_Encrypted_Failure ( ) throws java.lang.Exception { setupPassword ( ) ; mKeyStore.load ( null , null ) ; assertFalse ( "Should contain added CA certificate" , mKeyStore.containsAlias ( android.security.AndroidKeyStoreTest.TEST_ALIAS_1 ) ) ; }
Source:
public boolean initializeSupplicantHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } if ( ! ( mSupplicantP2pIfaceHal.initialize ( ) ) ) { return false ; } return mSupplicantStaIfaceHal.initialize ( ) ; }

Target:
public boolean initializeVendorHal ( ) { if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.initialize ( ) ; } else { return true ; } }
Source:
public void setEcbmStateListener ( com.android.ims.ImsEcbmStateListener ecbmListener ) throws com.android.ims.ImsException { try { miEcbm.setListener ( new com.android.ims.ImsEcbm.ImsEcbmListenerProxy ( ecbmListener ) ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "setEcbmStateListener()" , e , ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }

Target:
public void setEcbmStateListener ( com.android.ims.ImsEcbmStateListener ecbmListener ) throws com.android.ims.ImsException { try { miEcbm.setListener ( new com.android.ims.ImsEcbm.ImsEcbmListenerProxy ( ecbmListener ) ) ; } catch ( android.os.RemoteException e ) { throw new com.android.ims.ImsException ( "setEcbmStateListener()" , e , android.telephony.ims.ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN ) ; } }
Source:
public void connectionServiceFocusLost ( ) { if ( ( mConnSvrFocusListener ) != null ) { mConnSvrFocusListener.onConnectionServiceReleased ( this ) ; } }

Target:
public void onFailure ( ) { }
Source:
public void run ( ) { com.intellij.ide.util.frameworkSupport.AddFrameworkSupportDialog dialog = com.intellij.ide.util.frameworkSupport.AddFrameworkSupportDialog.createDialog ( module ) ; if ( dialog != null ) { dialog.show ( ) ; } }

Target:
public void run ( ) { com.intellij.openapi.roots.ui.configuration.libraries.AddCustomLibraryDialog.createDialog ( new org.jetbrains.plugins.groovy.config.GroovyLibraryDescription ( ) , module , null ) . show ( ) ; }
Source:
private void addManifestFileChanges ( org.eclipse.ltk.core.refactoring.CompositeChange result ) { addXmlFileChanges ( mManifestFile , result , true ) ; }

Target:
private void addManifestFileChanges ( org.eclipse.core.resources.IFile manifestFile , org.eclipse.ltk.core.refactoring.CompositeChange result ) { addXmlFileChanges ( manifestFile , result , null ) ; }
Source:
public java.text.CharacterIterator getText ( ) { int newLoc = libcore.icu.NativeBreakIterator.currentImpl ( this . address ) ; this . charIter.setIndex ( newLoc ) ; return this . charIter ; }

Target:
public java.text.CharacterIterator getText ( ) { int newLocation = libcore.icu.NativeBreakIterator.currentImpl ( this . address , this . string ) ; this . charIterator.setIndex ( newLocation ) ; return this . charIterator ; }
Source:
public void visitInsn ( int opcode ) { printer.visitInsn ( opcode ) ; printTypeOfOperandStack ( ) ; super . visitInsn ( opcode ) ; }

Target:
public void visitMultiANewArrayInsn ( java.lang.String desc , int dims ) { printer.visitMultiANewArrayInsn ( desc , dims ) ; printTypeOfOperandStackTop ( ) ; super . visitMultiANewArrayInsn ( desc , dims ) ; }
Source:
public void testAlwaysOnVpn ( ) throws java.lang.Exception { if ( ! ( mHasFeature ) ) { return ; } installAppAsUser ( com.android.cts.devicepolicy.DeviceAndProfileOwnerTest.VPN_APP_APK , mUserId ) ; executeDeviceTestClass ( ".AlwaysOnVpnTest" ) ; }

Target:
public void testAlwaysOnVpn ( ) throws java.lang.Exception { if ( ! ( mHasFeature ) ) { return ; } installAppAsUser ( com.android.cts.devicepolicy.DeviceAndProfileOwnerTest.VPN_APP_APK , mUserId ) ; executeDeviceTestClassNoRestrictBackground ( ".AlwaysOnVpnTest" ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , long [ ] data ) { validateIsInt64 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeTo ( int xoff , int yoff , int w , int h , byte [ ] data ) { validateIsInt8 ( ) ; copy2DRangeToUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_8 , data.length ) ; }
Source:
public void testConstructor_NullStartDate_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , null , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , 0 ) ; fail ( "Should throw IllegalArgumentException when startDate is null" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }

Target:
public void testConstructor_EndBeforeStart_Failure ( ) throws java.lang.Exception { try { new android.security.KeyPairGeneratorSpec ( getContext ( ) , android.security.KeyPairGeneratorSpecTest.TEST_ALIAS_1 , "RSA" , 1024 , null , android.security.KeyPairGeneratorSpecTest.TEST_DN_1 , android.security.KeyPairGeneratorSpecTest.SERIAL_1 , android.security.KeyPairGeneratorSpecTest.NOW_PLUS_10_YEARS , android.security.KeyPairGeneratorSpecTest.NOW , 0 ) ; fail ( "Should throw IllegalArgumentException when end is before start" ) ; } catch ( java.lang.IllegalArgumentException success ) { } }
Source:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { boolean hasText = ! ( mSearchText.getText ( ) . isEmpty ( ) ) ; mFindNext.setEnabled ( hasText ) ; mFindPrevious.setEnabled ( hasText ) ; }

Target:
public void modifyText ( org.eclipse.swt.events.ModifyEvent e ) { boolean hasText = ! ( mSearchText.getText ( ) . trim ( ) . isEmpty ( ) ) ; mFindNext.setEnabled ( hasText ) ; mFindPrevious.setEnabled ( hasText ) ; }
Source:
public java.lang.Throwable fillInStackTrace ( ) { stackState = java.lang.Throwable.nativeFillInStackTrace ( ) ; stackTrace = null ; return this ; }

Target:
public java.lang.Throwable fillInStackTrace ( ) { if ( ( stackTrace ) == null ) { return this ; } stackState = java.lang.Throwable.nativeFillInStackTrace ( ) ; stackTrace = libcore.util.EmptyArray.STACK_TRACE_ELEMENT ; return this ; }
Source:
public boolean hasChildren ( java.lang.Object element ) { return ( element instanceof com.android.sdklib.internal.repository.RepoSource ) || ( element instanceof java.lang.Package ) ; }

Target:
public boolean hasChildren ( java.lang.Object element ) { return ( element instanceof com.android.sdklib.internal.repository.SdkSource ) || ( element instanceof java.lang.Package ) ; }
Source:
public int addSubInfoRecord ( java.lang.String iccId , int slotId ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int addSubInfoRecord ( java.lang.String iccId , int slotIndex ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }