auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean isDefault ( ) { return super . isDefault ( ) ; }

Target:
boolean equalNameAndParameters ( java.lang.reflect.Method m ) { return equalNameAndParametersInternal ( m ) ; }
Source:
public void testRunFailed ( java.lang.String errorMessage ) { com.android.tradefed.log.LogUtil.CLog.e ( "Device-side preconditions test run failed: %s" , errorMessage ) ; }

Target:
public void testRunFailed ( java.lang.String errorMessage ) { com.android.cts.tradefed.targetprep.DevicePreconditionPreparer.printWarning ( java.lang.String.format ( "Device-side preconditions test run failed: %s" , errorMessage ) ) ; }
Source:
protected java.lang.String packageForFilter ( android.content.pm.PackageParser.ActivityIntentInfo info ) { return info.activity.owner.packageName ; }

Target:
protected boolean isPackageForFilter ( java.lang.String packageName , android.content.pm.PackageParser.ActivityIntentInfo info ) { return packageName.equals ( info.activity.owner.packageName ) ; }
Source:
public void test_getByName_empty ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "" ) ; libcore.java.net.InetAddressTest.assertEquals ( libcore.java.net.InetAddressTest.LOOPBACK6_BYTES , "ip6-localhost" , inetAddress ) ; assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }

Target:
public void test_getByName_loopbackIpv6 ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "::1" ) ; libcore.java.net.InetAddressTest.checkInetAddress ( libcore.java.net.InetAddressTest.LOOPBACK6_BYTES , "ip6-localhost" , inetAddress ) ; org.junit.Assert.assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }
Source:
public void testContextMock ( ) { com.google.common.truth.Truth.assertThat ( mContext.getString ( R.string.bluetooth_connected ) ) . isEqualTo ( "Connected" ) ; }

Target:
public void testContextMock ( ) { com.google.common.truth.Truth.assertThat ( mContext.getString ( R.string.bluetooth_connected ) ) . isNotNull ( ) ; }
Source:
public boolean isOlderOrEqualsThan ( @ javax.annotation.Nonnull com.android.sched.util.Version other ) throws com.android.sched.util.UncomparableVersion { return ( compareTo ( other ) ) <= 0 ; }

Target:
public boolean isOlderOrEqualThan ( @ javax.annotation.Nonnull com.android.sched.util.Version other ) throws com.android.sched.util.UncomparableVersion { return ( compareTo ( other ) ) <= 0 ; }
Source:
public void testThrowableDescription ( ) { java.io.IOException ioe = new java.io.IOException ( "File C://User//Data not found" ) ; assertEquals ( "IOException @ PlatformUsageTrackerTest.java:25" , com.intellij.internal.statistic.analytics.PlatformUsageTracker.getDescription ( ioe ) ) ; }

Target:
public void testMessageIgnored ( ) { java.io.IOException ioe = new java.io.IOException ( "File C://User//Data not found" ) ; assertTrue ( com.intellij.internal.statistic.analytics.PlatformUsageTracker.getDescription ( ioe ) . startsWith ( "IOEx @ PlatformUsageTrackerTest.java:37 <-" ) ) ; }
Source:
public int run ( ) { java.io.PrintStream err = options.getStandardError ( ) ; if ( err == null ) { err = java.lang.System.err ; } return runJack ( err , options ) ; }

Target:
public int run ( ) { return runJack ( standardError , options ) ; }
Source:
private void assertSimpleShellCommand ( ) throws com.android.tradefed.device.DeviceNotAvailableException { final java.lang.String output = mTestDevice.executeShellCommand ( "ls" ) ; assertTrue ( output.contains ( "data" ) ) ; assertTrue ( output.contains ( "system" ) ) ; }

Target:
private void assertSimpleShellCommand ( ) throws com.android.tradefed.device.DeviceNotAvailableException { final java.lang.String output = mTestDevice.executeShellCommand ( "ls /" ) ; assertTrue ( output.contains ( "data" ) ) ; assertTrue ( output.contains ( "system" ) ) ; }
Source:
public static void computeSinpi ( android.renderscript.cts.TestSinpi.ArgumentsFloatFloat args ) { args.ulf = 4096 ; args.ulfRelaxed = 4096 ; args.out = ( ( float ) ( java.lang.StrictMath.sin ( ( ( args.in ) * ( java.lang.StrictMath.PI ) ) ) ) ) ; }

Target:
public static void computeSinpi ( android.renderscript.cts.TestSinpi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.sin ( ( ( args.in ) * ( ( float ) ( java.lang.StrictMath.PI ) ) ) ) ) ) ; }
Source:
public static libcore.Repository openJdkLegacy ( java.nio.file.Path upstreamRoot , java.lang.String upstreamName ) { java.util.List < java.lang.String > sourceDirs = java.util.Arrays.asList ( "jdk/src/share/classes" , "jdk/src/solaris/classes" ) ; return new libcore.Repository.OpenJdkRepository ( upstreamRoot , upstreamName , sourceDirs ) ; }

Target:
public static libcore.Repository openJdkLegacy ( java.nio.file.Path upstreamRoot , java.lang.String upstreamName ) { java.util.List < java.lang.String > sourceDirs = java.util.Arrays.asList ( "jdk/src/share/classes" , "jdk/src/solaris/classes" , "build/linux-x86_64-normal-server-release/jdk/gensrc" ) ; return new libcore.Repository.OpenJdkRepository ( upstreamRoot , upstreamName , sourceDirs ) ; }
Source:
public void addProductFlavor ( @ com.android.annotations.NonNull com.android.builder.ProductFlavor productFlavor , @ com.android.annotations.NonNull com.android.builder.SourceProvider sourceProvider ) { mFlavorConfigs.add ( productFlavor ) ; mFlavorSourceProviders.add ( sourceProvider ) ; mMergedFlavor = productFlavor.mergeOver ( mMergedFlavor ) ; }

Target:
public com.android.builder.VariantConfiguration addProductFlavor ( @ com.android.annotations.NonNull com.android.builder.ProductFlavor productFlavor , @ com.android.annotations.NonNull com.android.builder.SourceProvider sourceProvider ) { mFlavorConfigs.add ( productFlavor ) ; mFlavorSourceProviders.add ( sourceProvider ) ; mMergedFlavor = productFlavor.mergeOver ( mMergedFlavor ) ; return this ; }
Source:
public int getCarrierPrivilegeStatus ( android.content.pm.Signature signature , java.lang.String packageName ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return carrierPrivilegeRules == null ? android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED : carrierPrivilegeRules.getCarrierPrivilegeStatus ( signature , packageName ) ; }

Target:
public int getCarrierPrivilegeStatusForCurrentTransaction ( android.content.pm.PackageManager packageManager ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.getCarrierPrivilegeStatusForCurrentTransaction ( packageManager ) ; } else { return android.telephony.TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED ; } }
Source:
public TestCaseBuilder addCanvasClientWithoutUsingPicture ( 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 short $noinline$charToDoubleToShort ( char value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static double $noinline$longToIntToDouble ( long value ) { return ( ( double ) ( ( int ) ( value ) ) ) ; }
Source:
public java.lang.String getEid ( ) { return null ; }

Target:
public void onResult ( java.lang.Void result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void onHold ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.TAG , ( "onHold " + ( mCurrentCall ) ) ) ; if ( ( ! ( mClosed ) ) && ( ( mHeadsetProfile ) != null ) ) { mHeadsetProfile.holdCall ( mDevice ) ; } }

Target:
public void onHold ( ) { if ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.TAG , ( "onHold " + ( mCurrentCall ) ) ) ; } if ( ! ( mClosed ) ) { mHeadsetProfile.holdCall ( mDevice ) ; } }
Source:
public java.lang.Throwable call ( ) throws java.lang.Exception { executingThreadReference.set ( java.lang.Thread.currentThread ( ) ) ; try { test.run ( ) ; return null ; } catch ( java.lang.Throwable throwable ) { return throwable ; } }

Target:
public void evaluate ( ) throws java.lang.Throwable { child.run ( ) ; }
Source:
java.util.Map < K , V > map ( ) { return this ; }

Target:
java.util.Set < K > createKeySet ( ) { return new com.google.common.collect.Maps.KeySet < K , V > ( this ) ; }
Source:
public void factory_ints ( ) { check ( TEST_07_15 , 7 , 15 ) ; }

Target:
public void factory_ints ( ) { check ( tck.java.time.TCKMonthDay.TEST_07_15 , 7 , 15 ) ; }
Source:
public static boolean isAnqpAttribute ( java.lang.String line ) { int split = line.indexOf ( '=' ) ; return ( split >= 0 ) && ( com.android.server.wifi.hotspot2.SupplicantBridge.sWpsNames.containsKey ( line.substring ( 0 , split ) ) ) ; }

Target:
public static boolean isAnqpAttribute ( java.lang.String line ) { int split = line.indexOf ( '=' ) ; return ( split >= 0 ) && ( com.android.server.wifi.hotspot2.PasspointEventHandler.sWpsNames.containsKey ( line.substring ( 0 , split ) ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mCTUT = null ; mGsmCdmaCTHandlerThread.quitSafely ( ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { mCTUT = null ; mGsmCdmaCTHandlerThread.quit ( ) ; super . tearDown ( ) ; }
Source:
public void testEncode_CharBuffer_NullEncoder ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset2 c = new tests.api.java.nio.charset.CharsetTest.MockCharset2 ( "mock2" , null ) ; try { c.encode ( java.nio.CharBuffer.wrap ( "hehe" ) ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testIsSupported_NotSupported ( ) { assertFalse ( java.nio.charset.Charset.isSupported ( "well-formed-name-of-a-charset-that-does-not-exist" ) ) ; }
Source:
public void setTag ( int key , final java.lang.Object tag ) { if ( ( key > > > 24 ) < 2 ) { throw new java.lang.IllegalArgumentException ( ( "The key must be an application-specific " + "resource id." ) ) ; } android.view.View.setTagInternal ( this , key , tag ) ; }

Target:
public void setTag ( int key , final java.lang.Object tag ) { if ( ( key > > > 24 ) < 2 ) { throw new java.lang.IllegalArgumentException ( ( "The key must be an application-specific " + "resource id." ) ) ; } setKeyedTag ( key , tag ) ; }
Source:
public static void computeCeil ( android.renderscript.cts.TestCeil.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 1 ; args.out = ( ( float ) ( java.lang.StrictMath.ceil ( args.in ) ) ) ; }

Target:
public static void computeCeil ( android.renderscript.cts.TestCeil.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.ceil ( args.in ) , 0 , 1 ) ; }
Source:
public java.lang.String getSimCountryIso ( ) { return getSimCountryIsoForPhone ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
public java.lang.String getSimOperator ( int subId ) { return getSimOperatorNumeric ( subId ) ; }
Source:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager.getLocalSdk ( ) , mSdkLog ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }

Target:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = getAvdManager ( ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }
Source:
public void unregisterRemoteControlDisplay ( android.media.IRemoteControlDisplay rcd ) { mMediaFocusControl.unregisterRemoteControlDisplay ( rcd ) ; }

Target:
public android.media.AudioRecordingConfiguration [ ] getActiveRecordingConfigurations ( ) { return mRecordMonitor.getActiveRecordingConfigurations ( ) ; }
Source:
public static boolean isSupportedDexMagic ( byte [ ] magic ) { int api = com.android.jack.dx.dex.DexFormat.magicToApi ( magic ) ; return ( api == ( com.android.jack.dx.dex.DexFormat.API_NO_EXTENDED_OPCODES ) ) || ( api == ( com.android.jack.dx.dex.DexFormat.API_CURRENT ) ) ; }

Target:
public static boolean isSupportedDexMagic ( @ javax.annotation.Nonnull byte [ ] magic ) { int api = com.android.jack.dx.dex.DexFormat.magicToApi ( magic ) ; return ( ( api == ( com.android.jack.dx.dex.DexFormat.API_NO_EXTENDED_OPCODES ) ) || ( api == ( com.android.jack.dx.dex.DexFormat.API_ANDROID_N ) ) ) || ( api == ( com.android.jack.dx.dex.DexFormat.API_ANDROID_O ) ) ; }
Source:
public void onStopRtt ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onStopRtt" ) ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.STOP_RTT ) ) ; }

Target:
public void onStopRtt ( ) { com.android.dialer.common.LogUtil.enterBlock ( "SimulatorConnection.onStopRtt" ) ; rttChatBot.stop ( ) ; rttChatBot = null ; rttTextStream = null ; onEvent ( new com.android.dialer.simulator.Simulator.Event ( com.android.dialer.simulator.Simulator.Event.STOP_RTT ) ) ; }
Source:
public void doubleClick ( org.eclipse.jface.viewers.DoubleClickEvent event ) { org.eclipse.ui.IWorkbenchPage page = getSite ( ) . getPage ( ) ; try { page.showView ( IPageLayout.ID_PROP_SHEET , null , IWorkbenchPage.VIEW_ACTIVATE ) ; } catch ( org.eclipse.ui.PartInitException e ) { com.android.ide.eclipse.adt.AdtPlugin.log ( e , "Could not activate property sheet" ) ; } }

Target:
public void run ( ) { move ( true ) ; }
Source:
private void replay ( ) { org.easymock.EasyMock.replay ( mActivityManager , mStatsService , mPolicyListener , mNetworkManager , mTime , mConnManager , mNotifManager ) ; }

Target:
private void verifyAdvisePersistThreshold ( ) throws java.lang.Exception { org.mockito.Mockito.verify ( mStatsService ) . advisePersistThreshold ( org.mockito.Matchers.anyLong ( ) ) ; }
Source:
private java.lang.String getFileName ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { return ( descriptor.getUiName ( ) ) + ( com.android.ide.eclipse.adt.AndroidConstants.DOT_PNG ) ; }

Target:
private java.lang.String getFileName ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { return ( descriptor.getUiName ( ) ) + ( com.android.ide.eclipse.adt.AdtConstants.DOT_PNG ) ; }
Source:
boolean isBridge ( ) { return ( ( artMethod.getAccessFlags ( ) ) & ( java.lang.reflect.Modifier.BRIDGE ) ) != 0 ; }

Target:
boolean isBridge ( ) { return ( ( accessFlags ) & ( java.lang.reflect.Modifier.BRIDGE ) ) != 0 ; }
Source:
public void unplug ( long batteryUptime , long batteryRealtime ) { mUnpluggedCount = mCount = mPluggedCount ; }

Target:
public void plug ( long batteryUptime , long batteryRealtime ) { mPluggedCount = mCount.get ( ) ; }
Source:
public void timeGetDeclaredAnnotationsOnSubclass ( int reps ) { for ( int i = 0 ; i < reps ; i ++ ) { benchmarks.regression.AnnotatedElementBenchmark.ExtendsHasThreeAnnotations.class . getAnnotations ( ) ; } }

Target:
public void timeGetDeclaredAnnotationsOnSubclass ( int reps ) { for ( int i = 0 ; i < reps ; i ++ ) { benchmarks.regression.AnnotatedElementBenchmark.ExtendsHasThreeAnnotations.class . getDeclaredAnnotations ( ) ; } }
Source:
public void remoteControlDisplayUsesBitmapSize ( android.media.IRemoteControlDisplay rcd , int w , int h ) { mMediaFocusControl.remoteControlDisplayUsesBitmapSize ( rcd , w , h ) ; }

Target:
public void unregisterRecordingCallback ( android.media.IRecordingConfigDispatcher rcdb ) { mRecordMonitor.unregisterRecordingCallback ( rcdb ) ; }
Source:
private boolean equalsSpecifier ( android.net.NetworkCapabilities nc ) { if ( android.text.TextUtils.isEmpty ( mNetworkSpecifier ) ) { return android.text.TextUtils.isEmpty ( nc.mNetworkSpecifier ) ; } else { return mNetworkSpecifier.equals ( nc.mNetworkSpecifier ) ; } }

Target:
private boolean equalsSpecifier ( android.net.NetworkCapabilities nc ) { return java.util.Objects.equals ( mNetworkSpecifier , nc.mNetworkSpecifier ) ; }
Source:
protected void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPublicKey ( publicKey ) ) ; }

Target:
protected void engineInitVerify ( java.security.PublicKey publicKey ) throws java.security.InvalidKeyException { initInternal ( org.conscrypt.OpenSSLKey.fromPublicKey ( publicKey ) ) ; signing = false ; }
Source:
public static void computeCospi ( android.renderscript.cts.TestCospi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.cos ( ( ( args.in ) * ( ( float ) ( java.lang.StrictMath.PI ) ) ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUshortChar args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUshortToChar ( args.inV ) ; }
Source:
protected void logd ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.cdma.RuimPhoneBookInterfaceManager.LOG_TAG , ( "[RuimPbInterfaceManager] " + msg ) ) ; }

Target:
protected void logd ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.cdma.RuimPhoneBookInterfaceManager.LOG_TAG , ( "[RuimPbInterfaceManager] " + msg ) ) ; }
Source:
public static void computeLgamma ( android.renderscript.cts.TestLgamma.ArgumentsFloatIntFloat args ) { android.renderscript.cts.CoreMathVerifier.LgammaResult result = android.renderscript.cts.CoreMathVerifier.lgamma2 ( args.inX ) ; args.out = new android.renderscript.cts.Floaty ( result.lgamma ) ; args.outY = result.gammaSign ; }

Target:
public static void computeLgamma ( android.renderscript.cts.TestLgamma.ArgumentsFloatIntFloat args ) { android.renderscript.cts.CoreMathVerifier.LgammaResult result = android.renderscript.cts.CoreMathVerifier.lgamma2 ( args.inX ) ; args.out = new android.renderscript.cts.Floaty ( result.lgamma , 16 , 128 ) ; args.outY = result.gammaSign ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Preconditions.checkNotNull ( name ) ; addHolder ( value ) . builder.append ( name ) . append ( '=' ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , char value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void test_joinSourceSpecific_nullNetworkInterface ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = createReceiverChannel ( ) ; try { dc.join ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , null , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } dc.close ( ) ; }

Target:
public void test_joinSourceSpecific_nullNetworkInterface ( ) throws java.lang.Exception { java.nio.channels.DatagramChannel dc = libcore.java.nio.channels.DatagramChannelMulticastTest.createReceiverChannel ( ) ; try { dc.join ( libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , null , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } dc.close ( ) ; }
Source:
public com.android.builder.model.ApiVersion getMinSdkVersion ( ) { return testVariantConfig.getMinSdkVersion ( ) ; }

Target:
public java.io.File getTestApk ( ) { return testVariantData.getOutputs ( ) . get ( 0 ) . getOutputFile ( ) ; }
Source:
public boolean isDataEnabled ( ) { return getDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }

Target:
public boolean isUserMobileDataEnabled ( ) { return isUserMobileDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
protected com.android.tv.common.ui.setup.SetupGuidedStepFragment onCreateContentFragment ( ) { return new com.android.tv.tuner.setup.WelcomeFragment.ContentFragment ( ) ; }

Target:
protected com.android.tv.common.ui.setup.SetupGuidedStepFragment onCreateContentFragment ( ) { com.android.tv.tuner.setup.WelcomeFragment.ContentFragment fragment = new com.android.tv.tuner.setup.WelcomeFragment.ContentFragment ( ) ; fragment.setArguments ( getArguments ( ) ) ; return fragment ; }
Source:
public void stop ( ) { mRetryCounter = 0 ; mHandler.removeCallbacks ( mRunnable ) ; }

Target:
public void stop ( ) { mRetryCounter = 0 ; mHandlerAdapter.removeCallbacks ( mRunnable ) ; }
Source:
public void testConstructor_01 ( ) { try { javax.net.ssl.SSLServerSocket ssl = new tests.api.javax.net.ssl.SSLServerSocketTest.mySSLServerSocket ( ) ; } catch ( java.lang.Exception ex ) { fail ( ( "Unexpected exception was thrown " + ex ) ) ; } }

Target:
public void testConstructor ( ) throws java.lang.Exception { javax.net.ssl.SSLServerSocket ssl = new tests.api.javax.net.ssl.SSLServerSocketTest.mySSLServerSocket ( ) ; }
Source:
public void writeToParcel ( android.os.Parcel dest , int flags ) { dest.writeByteArray ( address.getAddress ( ) ) ; dest.writeInt ( prefixLength ) ; }

Target:
public void writeToParcel ( android.os.Parcel dest , int flags ) { dest.writeByteArray ( address.getAddress ( ) ) ; dest.writeInt ( prefixLength ) ; dest.writeInt ( this . flags ) ; dest.writeInt ( scope ) ; }
Source:
public synchronized void testStarted ( com.android.ddmlib.testrunner.TestIdentifier test ) { com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference testId = new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( test ) ; mExecution.getListener ( ) . notifyTestStarted ( testId ) ; }

Target:
public synchronized void testStarted ( com.android.ddmlib.testrunner.TestIdentifier test ) { com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference testId = new com.android.ide.eclipse.adt.internal.launch.junit.runtime.TestCaseReference ( mDeviceName , test ) ; mNotifier.testStarted ( testId ) ; }
Source:
public java.lang.reflect.Method getEnclosingMethod ( ) { if ( classNameImpliesTopLevel ( ) ) { return null ; } java.lang.reflect.AccessibleObject result = libcore.reflect.AnnotationAccess.getEnclosingMethodOrConstructor ( this ) ; return result instanceof java.lang.reflect.Method ? ( ( java.lang.reflect.Method ) ( result ) ) : null ; }

Target:
private native int getInnerClassFlags ( int defaultValue ) ;
Source:
private native void gattClientSetParamsNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power ) ;

Target:
private native void startAdvertiserNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power , byte [ ] adv_data , byte [ ] scan_resp_data , int timeout_s ) ;
Source:
public void testCustomNamespace ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace2.xml:8: Warning: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( " customprefix:orientation=\"vertical\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/namespace2.xml" ) ) ; }

Target:
public void testCustomNamespace ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/namespace2.xml:8: Error: Attribute is missing the Android namespace prefix [MissingPrefix]\n" + ( ( ( " customprefix:orientation=\"vertical\"\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 0 warnings\n" ) + "" ) ) , lintFiles ( "res/layout/namespace2.xml" ) ) ; }
Source:
public void endSession ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; getServiceInterface ( mBinder ) . endSession ( mSlotId , mSupportedFeature , sessionId ) ; } }

Target:
public void endSession ( int sessionId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . endSession ( mSlotId , mSupportedFeature , sessionId ) ; } }
Source:
public void testInstallId ( ) { java.util.Properties props = createProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( props ) ; assertEquals ( "extra-the_vendor-the_path" , p.installId ( ) ) ; }

Target:
public void testInstallId ( ) { java.util.Properties props = createExpectedProps ( ) ; com.android.sdklib.internal.repository.packages.ExtraPackage p = createExtraPackage ( props ) ; assertEquals ( "extra-the_vendor-the_path" , p.installId ( ) ) ; }
Source:
public abstract com.android.dialer.phonelookup.PhoneLookup < com.android.dialer.phonelookup.PhoneLookupInfo > phoneLookup ( ) ;

Target:
public abstract com.android.dialer.phonelookup.composite.CompositePhoneLookup compositePhoneLookup ( ) ;
Source:
public static < E > com.google.common.collect.ImmutableSortedSet < E > copyOf ( java.util.Comparator < ? super E > comparator , java.util.Iterator < ? extends E > elements ) { return com.google.common.collect.ImmutableSortedSet.copyOf ( comparator , com.google.common.collect.Lists.newArrayList ( elements ) ) ; }

Target:
public static < E > com.google.common.collect.ImmutableSortedSet < E > copyOf ( java.util.Comparator < ? super E > comparator , java.util.Iterator < ? extends E > elements ) { return new com.google.common.collect.ImmutableSortedSet.Builder < E > ( comparator ) . addAll ( elements ) . build ( ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile getVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , parent.getWrappedDir ( ) . getVFile ( name ) ) ; }
Source:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "ActivityGroup" , args = { boolean . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onCreate" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onResume" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onSaveInstanceState" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onPause" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onStop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onDestroy" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getCurrentActivity" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getLocalActivityManager" , args = { } ) } ) public void testTabDialog ( ) throws java.lang.Exception { mIntent = mTabIntent ; runLaunchpad ( LaunchpadActivity.LIFECYCLE_DIALOG ) ; }

Target:
, @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "ActivityGroup" , args = { boolean . class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onCreate" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onResume" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onSaveInstanceState" , args = { android.os.Bundle.class } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onPause" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onStop" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "onDestroy" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getCurrentActivity" , args = { } ) , @ dalvik.annotation.TestTargetNew ( level = dalvik.annotation.TestLevel.COMPLETE , notes = "" , method = "getLocalActivityManager" , args = { } ) } ) public void testTabDialog ( ) throws java.lang.Exception { mIntent = mTabIntent ; runMultipleLaunchpads ( "testTabDialog" , getClass ( ) , LaunchpadActivity.LIFECYCLE_DIALOG_ON_RESUME , LaunchpadActivity.LIFECYCLE_DIALOG_ON_STOP ) ; }
Source:
native void rsnScriptForEachClipped ( long con , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public static native int BN_mod_word ( int a , int w ) ;

Target:
public static native boolean BN_add_word ( long a , int w ) ;
Source:
public void setOwnedByTransform ( ) { if ( mOwnedByTransform ) { android.util.Log.wtf ( com.android.server.IpSecService.TAG , "Cannot own an SPI twice!" ) ; } mOwnedByTransform = true ; }

Target:
public void setOwnedByTransform ( ) { if ( mOwnedByTransform ) { throw new java.lang.IllegalStateException ( "Cannot own an SPI twice!" ) ; } mOwnedByTransform = true ; }
Source:
public com.android.sdklib.BuildToolInfo getBuildTools ( ) { return mClient.getBuildTools ( this ) ; }

Target:
public com.android.sdklib.BuildToolInfo getBuildTools ( ) { if ( ( mBuildTools ) == null ) { mBuildTools = mClient.getBuildTools ( this ) ; } return mBuildTools ; }
Source:
public void testSendMessageQueueAllTxSuccess ( ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareNative.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_OK_SEND_OK , cap , ( ( cap.maxQueuedTransmitMessages ) + 5 ) ) ; }

Target:
public void testSendMessageQueueRandomize ( ) throws java.lang.Exception { com.android.server.wifi.aware.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_RANDOMIZE , cap , ( ( cap.maxQueuedTransmitMessages ) * 10 ) ) ; }
Source:
public void unregisterListener ( com.android.dialer.lightbringer.LightbringerListener listener ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( listener ) ; }

Target:
public void unregisterListener ( com.android.dialer.duo.DuoListener listener ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( listener ) ; }
Source:
public com.android.builder.ProductFlavor setPackageName ( java.lang.String packageName ) { mPackageName = packageName ; return this ; }

Target:
public com.android.builder.model.ProductFlavor setPackageName ( java.lang.String packageName ) { mPackageName = packageName ; return this ; }
Source:
public void tearDown ( ) { com.android.bluetooth.hfp.HeadsetStateMachine.destroy ( mHeadsetStateMachine ) ; mHandlerThread.quit ( ) ; }

Target:
public void tearDown ( ) { com.android.bluetooth.hfp.HeadsetObjectsFactory.getInstance ( ) . destroyStateMachine ( mHeadsetStateMachine ) ; mHandlerThread.quit ( ) ; }
Source:
public java.io.PrintStream getPrintStream ( ) { return java.lang.System.err ; }

Target:
public java.io.PrintStream getPrintStream ( ) { return new com.android.sched.util.stream.UncloseablePrintStream ( java.lang.System.err ) ; }
Source:
void setObfuscationMappingOutputFile ( @ javax.annotation.Nonnull java.io.File obfuscationMappingOuputFile ) throws com.android.jack.api.v01.ConfigurationException ;

Target:
void setObfuscationMappingOutputFile ( @ javax.annotation.Nonnull java.io.File obfuscationMappingOutputFile ) throws com.android.jack.api.v01.ConfigurationException ;
Source:
public void createImsFeature ( int subId , int feature ) throws android.os.RemoteException { this . createImsFeature ( subId , feature ) ; }

Target:
public void createImsFeature ( int slotId , int feature , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { this . createImsFeature ( slotId , feature ) ; mStatusCallback = c ; }
Source:
public abstract Location.Handle createLocationHandle ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) ;

Target:
public com.android.tools.lint.detector.api.Location getLocation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context , @ com.android.annotations.NonNull lombok.ast.Node node ) { return com.android.tools.lint.detector.api.Location.NONE ; }
Source:
public java.lang.String getFullName ( ) { if ( ( densityFilter ) == null ) { return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( com.android.build.gradle.internal.variant.BaseVariantOutputData.UNIVERSAL ) ; } return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( densityFilter ) ; }

Target:
public java.lang.String getFullName ( ) { return variantData.getVariantConfiguration ( ) . computeFullNameWithSplits ( getFilterName ( ) ) ; }
Source:
public void sendResult ( android.os.Bundle data ) { android.util.Slog.i ( com.android.internal.policy.impl.PhoneWindowManager.TAG , "Lock screen displayed!" ) ; screenOnListener.onScreenOn ( ) ; synchronized ( mLock ) { mScreenOnFully = true ; } }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { if ( Intent.ACTION_USER_SWITCHED.equals ( intent.getAction ( ) ) ) { mSettingsObserver.onChange ( false ) ; synchronized ( mLock ) { mLastSystemUiFlags = 0 ; updateSystemUiVisibilityLw ( ) ; } } }
Source:
private java.lang.String createDisplayText ( final int id ) { java.lang.String mRemoteName = com.android.bluetooth.pbap.BluetoothPbapService.getRemoteDeviceName ( ) ; switch ( id ) { case com.android.bluetooth.pbap.BluetoothPbapActivity.DIALOG_YES_NO_AUTH : java.lang.String mMessage2 = getString ( R.string.pbap_session_key_dialog_title , mRemoteName ) ; return mMessage2 ; default : return null ; } }

Target:
private java.lang.String createDisplayText ( final int id ) { switch ( id ) { case com.android.bluetooth.pbap.BluetoothPbapActivity.DIALOG_YES_NO_AUTH : java.lang.String mMessage2 = getString ( R.string.pbap_session_key_dialog_title , mDevice ) ; return mMessage2 ; default : return null ; } }
Source:
public void setAudioRouteAllowed ( boolean allowed ) { com.android.bluetooth.hfpclient.HeadsetClientService service = getService ( ) ; if ( service != null ) { service.setAudioRouteAllowed ( allowed ) ; } }

Target:
public void setAudioRouteAllowed ( android.bluetooth.BluetoothDevice device , boolean allowed ) { android.util.Log.e ( com.android.bluetooth.hfpclient.HeadsetClientService.TAG , "setAudioRouteAllowed API not supported" ) ; }
Source:
public java.lang.String prefix ( java.lang.String typeName ) { if ( ( ( prefix.length ( ) ) > 0 ) && ( com.google.devtools.build.android.desugar.CoreLibraryRewriter.shouldPrefix ( typeName ) ) ) { return ( prefix ) + typeName ; } return typeName ; }

Target:
public java.lang.String unprefix ( java.lang.String typeName ) { if ( ( prefix.isEmpty ( ) ) || ( ! ( typeName.startsWith ( prefix ) ) ) ) { return typeName ; } return typeName.substring ( prefix.length ( ) ) ; }
Source:
public void accessoryDetached ( android.hardware.usb.UsbAccessory accessory ) { mAccessoryPermissionMap.remove ( accessory ) ; android.content.Intent intent = new android.content.Intent ( android.hardware.usb.UsbManager.ACTION_USB_ACCESSORY_DETACHED ) ; intent.putExtra ( UsbManager.EXTRA_ACCESSORY , accessory ) ; mContext.sendBroadcast ( intent ) ; }

Target:
public void accessoryDetached ( android.hardware.usb.UsbAccessory accessory ) { mAccessoryPermissionMap.remove ( accessory ) ; android.content.Intent intent = new android.content.Intent ( android.hardware.usb.UsbManager.ACTION_USB_ACCESSORY_DETACHED ) ; intent.putExtra ( UsbManager.EXTRA_ACCESSORY , accessory ) ; mContext.sendBroadcastAsUser ( intent , UserHandle.ALL ) ; }
Source:
private void recomputePadding ( ) { setPadding ( mPaddingLeft , mPaddingTop , mUserPaddingRight , mUserPaddingBottom ) ; }

Target:
protected void recomputePadding ( ) { setPadding ( mUserPaddingLeft , mPaddingTop , mUserPaddingRight , mUserPaddingBottom ) ; }
Source:
public void setFlavorDimension ( java.lang.String dimension ) { com.android.build.gradle.internal.LoggingUtil.displayDeprecationWarning ( logger , project , ( "'flavorDimension' will be removed by Android Gradle Plugin 2.0, " + "it has been replaced by 'dimension'." ) ) ; setDimension ( dimension ) ; }

Target:
public java.lang.String getFlavorDimension ( ) { com.android.build.gradle.internal.LoggingUtil.displayDeprecationWarning ( logger , project , ( "'flavorDimension' will be removed by Android Gradle Plugin 2.0, " + "it has been replaced by 'dimension'." ) ) ; return getDimension ( ) ; }
Source:
public com.google.common.collect.ImmutableCollection < V > values ( ) { com.google.common.collect.ImmutableCollection < V > result = values ; return result == null ? values = createValues ( ) : result ; }

Target:
public com.google.common.collect.ImmutableSetMultimap < K , V > asMultimap ( ) { com.google.common.collect.ImmutableSetMultimap < K , V > result = multimapView ; return result == null ? multimapView = createMultimapView ( ) : result ; }
Source:
public void onClusterChangeNotification ( int flag , byte [ ] clusterId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.NOTIFICATION_TYPE_CLUSTER_CHANGE ; msg.arg2 = flag ; msg.obj = clusterId ; mSm.sendMessage ( msg ) ; }

Target:
public void onClusterChangeNotification ( int flag , byte [ ] clusterId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_NOTIFICATION ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.NOTIFICATION_TYPE_CLUSTER_CHANGE ; msg.arg2 = flag ; msg.obj = clusterId ; mSm.sendMessage ( msg ) ; }
Source:
protected native void setTTL ( byte ttl ) throws java.io.IOException ;

Target:
protected void setTTL ( byte ttl ) throws java.io.IOException { setTimeToLive ( ( ( ( int ) ( ttl ) ) & 255 ) ) ; }
Source:
private java.lang.String getDigestString ( byte [ ] digestBytes ) { return ( ( mdFactory.getService ( ) . getAlgorithm ( ) ) + ':' ) + ( java.lang.String.valueOf ( com.android.sched.vfs.MessageDigestFS.encode ( digestBytes ) ) ) ; }

Target:
private java.lang.String getDigestString ( @ javax.annotation.Nonnull byte [ ] digestBytes ) { return ( ( mdFactory.getService ( ) . getAlgorithm ( ) ) + '-' ) + ( java.lang.String.valueOf ( com.android.sched.vfs.MessageDigestFS.encode ( digestBytes ) ) ) ; }
Source:
public void waitForEvents ( int eventCount ) throws java.lang.InterruptedException { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mTestSensorEventListener.waitForEvents ( eventCount ) ; }

Target:
public void requestFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } junit.framework.Assert.assertTrue ( android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( "Flush" , mEnvironment ) , mSensorManager.flush ( mTestSensorEventListener ) ) ; }
Source:
public android.content.SyncStorageEngine.AuthorityInfo getOrCreateAuthority ( android.accounts.Account account , java.lang.String authority ) { synchronized ( mAuthorities ) { return getOrCreateAuthorityLocked ( account , authority , ( - 1 ) , true ) ; } }

Target:
public long getDelayUntilTime ( android.accounts.Account account , int userId , java.lang.String providerName ) { synchronized ( mAuthorities ) { android.content.SyncStorageEngine.AuthorityInfo authority = getAuthorityLocked ( account , userId , providerName , "getDelayUntil" ) ; if ( authority == null ) { return 0 ; } return authority.delayUntil ; } }
Source:
public void testPackageOverridePackageWithSuffixOnly ( ) { mBuildType.setPackageNameSuffix ( "fortytwo" ) ; com.android.builder.core.VariantConfiguration variant = getVariantWithManifestPackage ( "fake.package.name" ) ; assertEquals ( "fake.package.name.fortytwo" , variant.getPackageOverride ( ) ) ; }

Target:
public void testPackageOverridePackageFromFlavorWithSuffix2 ( ) { mFlavorConfig.setApplicationId ( "foo.bar" ) ; mBuildType.setApplicationIdSuffix ( "fortytwo" ) ; com.android.builder.core.VariantConfiguration variant = getVariant ( ) ; assertEquals ( "foo.bar.fortytwo" , variant.getIdOverride ( ) ) ; }
Source:
private int calculateAesCbcEspPacketSizeWithAuth ( int payloadLen , int authTruncLen ) { return calculateEspPacketSize ( payloadLen , android.net.cts.IpSecManagerTest.AES_CBC_IV_LEN , android.net.cts.IpSecManagerTest.AES_CBC_BLK_SIZE , authTruncLen ) ; }

Target:
private int getTruncLenBits ( android.net.IpSecAlgorithm authOrAead ) { return authOrAead == null ? 0 : authOrAead.getTruncationLengthBits ( ) ; }
Source:
public boolean getReport ( android.bluetooth.BluetoothDevice device , byte reportType , byte reportId , int bufferSize ) { com.android.bluetooth.hid.HidService service = getService ( ) ; if ( service == null ) { return false ; } return service.getReport ( device , reportType , reportId , bufferSize ) ; }

Target:
public boolean getReport ( android.bluetooth.BluetoothDevice device , byte reportType , byte reportId , int bufferSize ) { com.android.bluetooth.hid.HidHostService service = getService ( ) ; if ( service == null ) { return false ; } return service.getReport ( device , reportType , reportId , bufferSize ) ; }
Source:
public boolean matchesSafely ( java.lang.Throwable item ) { return matcher.matches ( item.getMessage ( ) ) ; }

Target:
private java.lang.String missingExceptionMessage ( ) { java.lang.String expectation = org.hamcrest.StringDescription.toString ( matcherBuilder.build ( ) ) ; return java.lang.String.format ( missingExceptionMessage , expectation ) ; }
Source:
public void getClirResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 , int var3 ) { }

Target:
public void getClirResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int n , int m ) { responseInts ( responseInfo , n , m ) ; }
Source:
private void log ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.UiccCard.LOG_TAG , msg ) ; }

Target:
private void log ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.UiccCard.LOG_TAG , msg ) ; }
Source:
protected int [ ] getParentIdsForDelay ( ) { return new int [ ] { R.id.content_fragment , R.id.guidedactions_list } ; }

Target:
protected int [ ] getParentIdsForDelay ( ) { return new int [ ] { android.support.v17.leanback.R.id.content_fragment , android.support.v17.leanback.R.id.guidedactions_list } ; }
Source:
public void setResult ( java.lang.String resultFormat , java.lang.Object ... args ) { setDescription ( resultFormat , args ) ; }

Target:
public void log ( java.lang.String format , java.lang.Object ... args ) { setDescription ( ( " " + format ) , args ) ; }
Source:
public void disconnect ( android.bluetooth.BluetoothDevice device ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Disconnect Request " + device ) ) ; sendMessage ( com.android.bluetooth.pbapclient.PbapClientStateMachine.MSG_DISCONNECT , device ) ; }

Target:
public void disconnect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.pbapclient.PbapClientStateMachine.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Disconnect Request " + device ) ) ; sendMessage ( com.android.bluetooth.pbapclient.PbapClientStateMachine.MSG_DISCONNECT , device ) ; }
Source:
public final native java.lang.String [ ] readStringVector ( ) ;

Target:
private final native java.lang.String [ ] readStringVectorAsArray ( ) ;
Source:
public void onReject ( ) { com.android.services.telephony.Log.v ( this , "onReject" ) ; if ( isValidRingingCall ( ) ) { hangup ( android.telephony.DisconnectCause.INCOMING_REJECTED ) ; } super . onReject ( ) ; }

Target:
public void onReject ( ) { com.android.services.telephony.Log.v ( this , "onReject" ) ; if ( isValidRingingCall ( ) ) { mHandler.obtainMessage ( com.android.services.telephony.TelephonyConnection.MSG_HANGUP , android.telephony.DisconnectCause.INCOMING_REJECTED ) . sendToTarget ( ) ; } super . onReject ( ) ; }
Source:
public android.os.Bundle editProperties ( android.accounts.AccountAuthenticatorResponse r , java.lang.String s ) { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public android.os.Bundle editProperties ( android.accounts.AccountAuthenticatorResponse r , java.lang.String s ) { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
static void putString ( java.nio.ByteBuffer buf , java.lang.String str ) { int len = str.length ( ) ; for ( int i = 0 ; i < len ; i ++ ) buf.putChar ( str.charAt ( i ) ) ; }

Target:
public static java.lang.String getString ( java.nio.ByteBuffer buf , int len ) { return com.android.ddmlib.ByteBufferUtil.getString ( buf , len ) ; }
Source:
public void onAudioQualityChanged ( int audioQuality ) { setAudioQuality ( audioQuality ) ; }

Target:
public void onRttModifyRequestReceived ( ) { sendRemoteRttRequest ( ) ; }
Source:
void enableAdvertisingSet ( int advertiserId , boolean enable , int timeout ) { enforceAdminPermission ( ) ; mAdvertiseManager.enableAdvertisingSet ( advertiserId , enable , timeout ) ; }

Target:
void enableAdvertisingSet ( int advertiserId , boolean enable , int duration , int maxExtAdvEvents ) { enforceAdminPermission ( ) ; mAdvertiseManager.enableAdvertisingSet ( advertiserId , enable , duration , maxExtAdvEvents ) ; }
Source:
public boolean isOpened ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . isOpened ( mSlotId , mSupportedFeature ) ; } }

Target:
public boolean isConnected ( int callServiceType , int callType ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . isConnected ( mSlotId , mSupportedFeature , callServiceType , callType ) ; } }