auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public int getOffset ( ) { return this . icuIterator.getOffset ( ) ; }

Target:
public int getMaxExpansion ( int order ) { return this . icuIterator.getMaxExpansion ( order ) ; }
Source:
protected void onReceiveResult ( int resultCode , android.os.Bundle resultData ) { mResult = resultCode ; synchronized ( mSync ) { mSync.notifyAll ( ) ; } }

Target:
protected void onReceiveResult ( int resultCode , android.os.Bundle resultData ) { mResult = resultCode ; mSemaphore.release ( ) ; }
Source:
public static long LongDivision ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a / b ; return c ; }

Target:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 7.0F ) ; b = Main.$inline$float ( 3.0F ) ; c = a * b ; return c ; }
Source:
public com.android.compatibility.common.util.IInvocationResult testBuildInfoOverride ( java.lang.String buildFingerprintOverride , java.lang.String manufactureOverride ) { addDeviceBuildInfoToResult ( buildFingerprintOverride , manufactureOverride ) ; return mResult ; }

Target:
public com.android.compatibility.common.util.IInvocationResult testBuildInfoOverride ( java.lang.String buildFingerprintOverride , java.lang.String manufactureOverride , java.lang.String modelOverride ) { addDeviceBuildInfoToResult ( buildFingerprintOverride , manufactureOverride , modelOverride ) ; return mResult ; }
Source:
public void disconnect ( ) { com.android.server.telecom.Log.i ( this , "Disconnect forced!" ) ; if ( mIsProxying ) { mSubConnection.disconnect ( ) ; } else { super . disconnect ( ) ; } mIsConnected = false ; }

Target:
public void disconnect ( ) { android.telecom.Log.i ( this , "Disconnect forced!" ) ; if ( mIsProxying ) { mSubConnection.disconnect ( ) ; } else { super . disconnect ( ) ; } mIsConnected = false ; }
Source:
private java.lang.String getFormattedStartTime ( ) { return android.database.sqlite.SQLiteConnection.Operation.sDateFormat.format ( new java.sql.Date ( mStartTime ) ) ; }

Target:
private java.lang.String getFormattedStartTime ( ) { return android.database.sqlite.SQLiteConnection.Operation.sDateFormat.format ( new java.util.Date ( mStartTime ) ) ; }
Source:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.SecureRandomDetector.SET_SEED ) ; }

Target:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.SecureRandomDetector.SET_SEED ) ; }
Source:
public void onDestroy ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onDestroy" ) ; mSession.release ( ) ; unregisterReceiver ( mBtReceiver ) ; super . onDestroy ( ) ; }

Target:
public void onDestroy ( ) { if ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.DBG ) android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onDestroy" ) ; mSession.release ( ) ; unregisterReceiver ( mBtReceiver ) ; super . onDestroy ( ) ; }
Source:
public boolean removeAll ( java.util.Collection < ? > c ) { return batchRemove ( c , false ) ; }

Target:
public boolean removeAll ( java.util.Collection < ? > c ) { java.util.Objects.requireNonNull ( c ) ; return batchRemove ( c , false ) ; }
Source:
public void rem_float ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( REM_FLOAT ) . setSrcDirName ( "jm" ) . setRefDirName ( "." ) . addReferenceExtraSources ( new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , "toolchain/jack/jack-tests/src/com/android/jack/DxTestCase.java" ) ) . compileAndRunTest ( ) ; }

Target:
public void rem_float ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( REM_FLOAT ) . setSrcDirName ( "jm" ) . setRefDirName ( "." ) . addReferenceExtraSources ( new java.io.File ( com.android.jack.test.toolchain.AbstractTestTools.getJackRootDir ( ) , "jack-tests/src/com/android/jack/DxTestCase.java" ) ) . compileAndRunTest ( ) ; }
Source:
private void setProject ( com.android.ide.eclipse.adt.internal.project.ProjectState project ) { mProjectState = project ; mPath = project.getProject ( ) . getLocation ( ) . toOSString ( ) ; updateLibraries ( ) ; }

Target:
private void setProject ( com.android.ide.eclipse.adt.internal.project.ProjectState project ) { mProjectState = project ; mPath = project.getProject ( ) . getLocation ( ) . toOSString ( ) ; mProjectState.addParentProject ( getMainProjectState ( ) ) ; getMainProjectState ( ) . updateFullLibraryList ( ) ; }
Source:
protected java.util.Map.Entry < K , V > standardPollFirstEntry ( ) { return com.google.common.collect.ForwardingNavigableMap.poll ( entrySet ( ) . iterator ( ) ) ; }

Target:
protected java.util.Map.Entry < K , V > standardPollFirstEntry ( ) { return com.google.common.collect.Iterators.pollNext ( entrySet ( ) . iterator ( ) ) ; }
Source:
public void enable ( com.google.gct.testing.dimension.GoogleCloudTestingType ... types ) { checkIsEditable ( ) ; for ( com.google.gct.testing.dimension.GoogleCloudTestingType type : types ) { validateType ( type ) ; enableType ( type ) ; } }

Target:
public void enable ( com.google.gct.testing.dimension.CloudTestingType ... types ) { checkIsEditable ( ) ; for ( com.google.gct.testing.dimension.CloudTestingType type : types ) { validateType ( type ) ; enableType ( type ) ; } }
Source:
private static void callPostForkChildHooks ( int debugFlags , java.lang.String instructionSet ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( debugFlags , instructionSet ) ; }

Target:
private static void callPostForkChildHooks ( int debugFlags , boolean isSystemServer , java.lang.String instructionSet ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( debugFlags , isSystemServer , instructionSet ) ; }
Source:
public native boolean setPermission ( java.io.File f , int access , boolean enable , boolean owneronly ) ;

Target:
private native boolean checkAccess0 ( java.io.File f , int access ) ;
Source:
public com.android.build.gradle.api.AndroidSourceSet create ( java.lang.String name ) { return instantiator.newInstance ( com.android.build.gradle.internal.api.DefaultAndroidSourceSet.class , name , fileResolver ) ; }

Target:
public com.android.build.gradle.api.AndroidSourceSet create ( java.lang.String name ) { return instantiator.newInstance ( com.android.build.gradle.internal.api.DefaultAndroidSourceSet.class , name , fileResolver , isLibrary ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( accepted ( clazz , runtimeVisibleAnnotationsAttribute ) ) { attributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , field , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
public static java.lang.String [ ] getStaticHeader ( ) { return com.android.sched.util.log.stats.Sample.HEADER.clone ( ) ; }

Target:
static com.android.sched.util.print.DataView getStaticDataView ( ) { return com.android.sched.util.log.stats.Sample.DATA_VIEW ; }
Source:
public void cdmaRuimSmsStorageFull ( int indicationType ) { }

Target:
public void cdmaRuimSmsStorageFull ( int indicationType ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLog ( com.android.internal.telephony.RILConstants.RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL ) ; if ( ( mRil.mIccSmsFullRegistrant ) != null ) { mRil.mIccSmsFullRegistrant.notifyRegistrant ( ) ; } }
Source:
public void onResult ( int result ) { this . onAsyncWaiterResult ( result ) ; }

Target:
public void onResult ( int result ) { this . onWatcherResult ( result ) ; }
Source:
public void run ( ) { mWebView = new android.webkit.cts.WebViewTest.MockWebView ( getActivity ( ) ) ; getActivity ( ) . setContentView ( mWebView ) ; }

Target:
public void run ( ) { mWebView = new android.webkit.WebView ( getActivity ( ) ) ; getActivity ( ) . setContentView ( mWebView ) ; }
Source:
public void testFlagIEF ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( ( PackageManager.INSTALL_FORWARD_LOCK ) | ( PackageManager.INSTALL_INTERNAL ) ) | ( PackageManager.INSTALL_EXTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }

Target:
public void testFlagIEF ( ) { installFromRawResource ( "install.apk" , R.raw.install , ( ( ( android.content.pm.PackageManager.INSTALL_FORWARD_LOCK ) | ( android.content.pm.PackageManager.INSTALL_INTERNAL ) ) | ( android.content.pm.PackageManager.INSTALL_EXTERNAL ) ) , false , true , PackageManager.INSTALL_FAILED_INVALID_INSTALL_LOCATION , PackageInfo.INSTALL_LOCATION_AUTO ) ; }
Source:
public java.lang.String getUsage ( ) { return ( "a path to a zip archive (" + ( getUsageDetails ( ) ) ) + ")" ; }

Target:
public java.lang.String getUsage ( ) { return ( "a path to a zip archive (" + ( getDetailedUsage ( ) ) ) + ")" ; }
Source:
public void test_joinSourceSpecific_anyBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; test_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv4NetworkInterface ) ; }

Target:
public void test_joinSourceSpecific_anyBind_ipv4 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv4LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv4Address ( ipv4NetworkInterface ) ; check_joinSourceSpecific ( ipv4LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv4 , libcore.java.nio.channels.DatagramChannelMulticastTest.UNICAST_IPv4_1 , ipv4NetworkInterface ) ; }
Source:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH_PERM permission" ) ; synchronized ( mStateMachines ) { return mActiveDevice ; } }

Target:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; synchronized ( mStateMachines ) { return mActiveDevice ; } }
Source:
public static java.lang.String message ( @ org.jetbrains.annotations.PropertyKey ( resourceBundle = com.google.gct.intellij.endpoints.util.EndpointBundle.BUNDLE_NAME ) java.lang.String key , java.lang.Object ... params ) { return com.intellij.CommonBundle.message ( com.google.gct.intellij.endpoints.util.EndpointBundle.getBundle ( ) , key , params ) ; }

Target:
public static java.lang.String message ( @ org.jetbrains.annotations.PropertyKey ( resourceBundle = com.google.gct.idea.appengine.util.EndpointBundle.BUNDLE_NAME ) java.lang.String key , java.lang.Object ... params ) { return com.intellij.CommonBundle.message ( com.google.gct.idea.appengine.util.EndpointBundle.getBundle ( ) , key , params ) ; }
Source:
public void initRemoteAddressAndPort ( java.net.InetAddress remoteAddress , int remotePort ) { this . address = remoteAddress ; this . port = remotePort ; }

Target:
public void onConnect ( java.net.InetAddress remoteAddress , int remotePort ) { address = remoteAddress ; port = remotePort ; }
Source:
protected void engineInit ( byte [ ] params , java.lang.String format ) throws java.io.IOException { }

Target:
protected void engineInit ( byte [ ] params ) throws java.io.IOException { gcmParams = org.bouncycastle.asn1.cms.GCMParameters.getInstance ( params ) ; }
Source:
public java.util.function.BiFunction<javax.net.ssl.SSLSocket, java.util.List<java.lang.String>, java.lang.String> getHandshakeApplicationProtocolSelector​() { return selector; }

Target:
public java.util.function.BiFunction < javax.net.ssl.SSLSocket , java.util.List < java.lang.String > , java.lang.String > getHandshakeApplicationProtocolSelector ( ) { return selector ; }
Source:
public void compare ( ) throws java.lang.Exception { runTest ( createDexFileComparator ( ) ) ; }

Target:
public void compare ( ) throws java.lang.Exception { runTest ( createDexFileComparator ( ) . setWithDebugInfo ( withDebugInfos ) ) ; }
Source:
private void checkUpdateCheckFailed ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggeringEnabled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_FAILURE , packageVersions ) ; }

Target:
private void checkUpdateCheckFailed ( com.android.server.timezone.PackageVersions packageVersions ) { mFakeIntentHelper.assertReliabilityTriggerScheduled ( ) ; checkPackageStorageStatus ( PackageStatus.CHECK_COMPLETED_FAILURE , packageVersions ) ; }
Source:
private static void initializeStatic ( ) { java.security.Security.props.put ( "security.provider.1" , "com.android.org.conscrypt.OpenSSLProvider" ) ; java.security.Security.props.put ( "security.provider.2" , "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider" ) ; java.security.Security.props.put ( "security.provider.3" , "com.android.org.conscrypt.JSSEProvider" ) ; }

Target:
private static void initializeStatic ( ) { java.security.Security.props.put ( "security.provider.1" , "com.android.org.conscrypt.OpenSSLProvider" ) ; java.security.Security.props.put ( "security.provider.2" , "sun.security.provider.Sun" ) ; java.security.Security.props.put ( "security.provider.3" , "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider" ) ; java.security.Security.props.put ( "security.provider.4" , "com.android.org.conscrypt.JSSEProvider" ) ; }
Source:
private static void logd ( java.lang.String msg ) { android.util.Log.d ( com.android.internal.telephony.PhoneProxy.LOG_TAG , ( "[PhoneProxy] " + msg ) ) ; }

Target:
private static void logd ( java.lang.String msg ) { android.telephony.Rlog.d ( com.android.internal.telephony.PhoneProxy.LOG_TAG , ( "[PhoneProxy] " + msg ) ) ; }
Source:
protected void cleanup ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.cleanup ( ) ; com.android.bluetooth.hfpclient.HeadsetClientService.clearHeadsetClientService ( ) ; }

Target:
protected void cleanup ( ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.cleanup ( ) ; com.android.bluetooth.hfpclient.HeadsetClientService.setHeadsetClientService ( null ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; Main.testfindVirtual ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; Main.testfindVirtual ( ) ; Main.testUnreflects ( ) ; Main.testAsType ( ) ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsShortUshort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.abs ( args.inValue ) ) ) ; }

Target:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsShortShortShortShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.minI16 ( args.inMaxValue , android.renderscript.cts.CoreMathVerifier.maxI16 ( args.inValue , args.inMinValue ) ) ; }
Source:
void prepareWebViewInSystemServer ( ) { updateFallbackStateOnBoot ( ) ; mWebViewUpdater.prepareWebViewInSystemServer ( ) ; }

Target:
void prepareWebViewInSystemServer ( ) { updateFallbackStateOnBoot ( ) ; mWebViewUpdater.prepareWebViewInSystemServer ( ) ; mSettingsObserver = new com.android.server.webkit.WebViewUpdateServiceImpl.SettingsObserver ( ) ; }
Source:
public boolean isBoundary ( int offset ) { validateOffset ( offset ) ; return wrapped.isBoundary ( offset ) ; }

Target:
public boolean isBoundary ( int offset ) { checkOffset ( offset ) ; return wrapped.isBoundary ( offset ) ; }
Source:
private native void nativeFinishPage ( int document ) ;

Target:
private native void nativeFinishPage ( long nativeDocument ) ;
Source:
public void test001 ( ) throws java.lang.Exception { com.android.jack.java8.defaultmethod.test018.jack.Lambda l = new com.android.jack.java8.defaultmethod.test018.jack.Lambda ( ) ; org.junit.Assert.assertEquals ( "lambda : String" , l.testLambdaRedefiningADefault ( ) ) ; }

Target:
public void test001 ( ) throws java.lang.Exception { com.android.jack.java8.defaultmethod.test018.jack.Lambda l = new com.android.jack.java8.defaultmethod.test018.jack.Lambda ( ) ; org.junit.Assert.assertEquals ( "default : String" , l.testLambdaRedefiningADefault ( ) ) ; }
Source:
public static native void doCommonClassRetransformation ( java.lang.Class < ? > ... target ) throws java.lang.Exception ;

Target:
public static void doCommonClassRetransformation ( java.lang.Class < ? > ... target ) throws java.lang.Exception { art.Redefinition.doCommonClassRetransformation ( target ) ; }
Source:
public void sendEnvelopeWithStatusResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult var2 ) { }

Target:
public void sendEnvelopeWithStatusResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , com.android.internal.telephony.V1_0.IccIoResult iccIo ) { responseIccIo ( responseInfo , iccIo ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getBlocksDepthFirst ( false ) ) { block.traverse ( schedule ) ; } }

Target:
public void traverse ( @ javax.annotation.Nonnull final com.android.sched.scheduler.ScheduleInstance < ? super com.android.sched.item.Component > schedule ) throws java.lang.Exception { schedule.process ( this ) ; for ( com.android.jack.ir.ast.cfg.JBasicBlock block : getAllBlocksUnordered ( ) ) { block.traverse ( schedule ) ; } }
Source:
public android.telephony.NetworkScan requestNetworkScan ( android.telephony.NetworkScanRequest request , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { return requestNetworkScan ( request , AsyncTask.THREAD_POOL_EXECUTOR , callback ) ; }

Target:
public android.telephony.NetworkScan requestNetworkScan ( android.telephony.NetworkScanRequest request , android.telephony.TelephonyScanManager.NetworkScanCallback callback ) { return requestNetworkScan ( request , AsyncTask.SERIAL_EXECUTOR , callback ) ; }
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 6 ) ; b = Main.$inline$int ( 2 ) ; c = a - b ; return c ; }

Target:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = 6.0 ; b = 2.0 ; c = a - b ; return c ; }
Source:
public static void computeAtanpi ( android.renderscript.cts.TestAtanpi.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.atan ( args.in ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.min ( args.in , args.in1 ) , 0 , 0 ) ; }
Source:
public void enableAdvertising ( boolean enable ) { try { gatt.enableAdverisingSet ( this . advertiserId , enable ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }

Target:
public void enableAdvertising ( boolean enable , int timeout ) { try { gatt.enableAdverisingSet ( this . advertiserId , enable , timeout ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.le.AdvertisingSet.TAG , "remote exception - " , e ) ; } }
Source:
public java.lang.String getAidForAppType ( int appType ) { return getAidForAppType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , appType ) ; }

Target:
public void setSimOperatorName ( java.lang.String name ) { int phoneId = getPhoneId ( ) ; setSimOperatorNameForPhone ( phoneId , name ) ; }
Source:
public void test_getDisplayNameLjava_util_Locale ( ) { if ( tests.support.Support_Locale.isLocaleAvailable ( testLocale ) ) { assertEquals ( "anglais (Canada,WIN32)" , testLocale.getDisplayName ( l ) ) ; } }

Target:
public void test_getDisplayNameLjava_util_Locale ( ) { assertEquals ( "anglais (Canada,WIN32)" , new java.util.Locale ( "en" , "CA" , "WIN32" ) . getDisplayName ( l ) ) ; }
Source:
private void onAudioStateChanged ( int state , byte [ ] address ) { com.android.bluetooth.hfp.HeadsetStateMachine.StackEvent event = new com.android.bluetooth.hfp.HeadsetStateMachine.StackEvent ( com.android.bluetooth.hfp.HeadsetStateMachine.EVENT_TYPE_AUDIO_STATE_CHANGED ) ; event.valueInt = state ; event.device = getDevice ( address ) ; sendMessage ( com.android.bluetooth.hfp.HeadsetStateMachine.STACK_EVENT , event ) ; }

Target:
private void processDeviceStateChanged ( com.android.bluetooth.hfp.HeadsetDeviceState deviceState ) { mNativeInterface.notifyDeviceStatus ( deviceState ) ; }
Source:
public void breakpointString ( java.lang.String param ) { logWriter.println ( ( ( "breakpointString(param=\"" + param ) + "\")" ) ) ; }

Target:
public void breakpointString ( java.lang.String param ) { logWriter.println ( ( ( "breakpointString(param=\"" + param ) + "\")" ) ) ; synchronizeWithTest ( ) ; }
Source:
void setState ( int mState ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( ( "Setting state to " + mState ) ) ; this . mState = mState ; }

Target:
void setState ( int mState ) { com.android.bluetooth.btservice.AdapterProperties.debugLog ( ( "Setting state to " + ( android.bluetooth.BluetoothAdapter.nameForState ( mState ) ) ) ) ; this . mState = mState ; }
Source:
public void setCellInfoListRate ( int rateInMillis ) { mPhone.setCellInfoListRate ( rateInMillis ) ; }

Target:
public void setCellInfoListRate ( int rateInMillis ) { android.os.WorkSource workSource = getWorkSource ( null , android.os.Binder.getCallingUid ( ) ) ; mPhone.setCellInfoListRate ( rateInMillis , workSource ) ; }
Source:
public java.util.ArrayList < java.lang.String > divideMessage ( java.lang.String text ) { return android.telephony.SmsMessage.fragmentText ( text ) ; }

Target:
public java.util.ArrayList < java.lang.String > divideMessage ( java.lang.String text ) { if ( null == text ) { throw new java.lang.IllegalArgumentException ( "text is null" ) ; } return android.telephony.SmsMessage.fragmentText ( text ) ; }
Source:
private static native int followingImpl ( int address , int offset ) ;

Target:
private static native int precedingImpl ( int address , java.lang.String text , int offset ) ;
Source:
public static java.math.BigInteger probablePrime ( int bitLength , java.util.Random unused ) { return new java.math.BigInteger ( bitLength , 100 , unused ) ; }

Target:
public static java.math.BigInteger probablePrime ( int bitLength , java.util.Random random ) { return new java.math.BigInteger ( bitLength , 100 , random ) ; }
Source:
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 ) ;

Target:
private native void startAdvertiserNative ( int advertiserId , int advertising_event_properties , int min_interval , int max_interval , int chnl_map , int tx_power , int primary_advertising_phy , int secondary_advertising_phy , int scan_request_notification_enable , byte [ ] adv_data , byte [ ] scan_resp_data , int timeout_s ) ;
Source:
public void showDialpad ( boolean animate ) { showDialpad ( animate , false ) ; }

Target:
public void showDialpad ( boolean animate ) { com.android.dialer.common.LogUtil.enterBlock ( "MainSearchController.showDialpad" ) ; showDialpad ( animate , false ) ; }
Source:
public android.net.wifi.nan.TlvBufferUtils.TlvConstructor putShort ( int type , short data ) { checkLength ( 2 ) ; addHeader ( type , 2 ) ; libcore.io.Memory.pokeShort ( mArray , mPosition , data , java.nio.ByteOrder.BIG_ENDIAN ) ; mPosition += 2 ; return this ; }

Target:
public android.net.wifi.aware.TlvBufferUtils.TlvConstructor putShort ( int type , short data ) { checkLength ( 2 ) ; addHeader ( type , 2 ) ; libcore.io.Memory.pokeShort ( mArray , mPosition , data , java.nio.ByteOrder.BIG_ENDIAN ) ; mPosition += 2 ; return this ; }
Source:
private float getWeightSum ( org.w3c.dom.Element linearLayout ) { float sum = 0 ; for ( org.w3c.dom.Element child : com.android.ide.eclipse.adt.internal.editors.layout.refactoring.RelativeLayoutConversionHelper.getChildren ( linearLayout ) ) { sum += getWeight ( child ) ; } return sum ; }

Target:
private float getWeightSum ( org.w3c.dom.Element linearLayout ) { float sum = 0 ; for ( org.w3c.dom.Element child : com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities.getChildren ( linearLayout ) ) { sum += getWeight ( child ) ; } return sum ; }
Source:
public void onProcessArchiveStart ( java.io.File file ) { if ( com.android.dx.command.dexer.Main.args.verbose ) { DxConsole.out.println ( ( ( "processing archive " + file ) + "..." ) ) ; } }

Target:
public void onProcessArchiveStart ( java.io.File file ) { if ( args.verbose ) { context.out.println ( ( ( "processing archive " + file ) + "..." ) ) ; } }
Source:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { com.android.jack.shrob.seed.SeedMarker marker = method.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ( marker.getModifier ( ) ) != ( com.android.jack.shrob.spec.KeepModifier.ALLOW_SHRINKING ) ) ; }

Target:
public boolean startTraceSeed ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod method ) { com.android.jack.shrob.seed.SeedMarker marker = method.getMarker ( com.android.jack.shrob.seed.SeedMarker.class ) ; return ( marker != null ) && ( ! ( marker.getModifier ( ) . allowShrinking ( ) ) ) ; }
Source:
synchronized void nAllocationRead1D ( long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , android.support.v8.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationRead1D ( mContext , id , off , mip , count , d , sizeBytes , dt.mID ) ; }

Target:
synchronized void nAllocationRead ( long id , java.lang.Object d , android.support.v8.renderscript.Element.DataType dt , int mSize , boolean usePadding ) { validate ( ) ; rsnAllocationRead ( mContext , id , d , dt.mID , mSize , usePadding ) ; }
Source:
public void write ( @ javax.annotation.Nonnull java.io.PrintStream ps ) { writeMapOne2Many ( ps , javaFileToTypes ) ; ps.print ( Dependency.MAP_SEPARATOR ) ; ps.println ( ) ; }

Target:
public void write ( @ javax.annotation.Nonnull java.io.PrintStream ps ) { writeMapOne2Many ( ps , javaFileToTypes ) ; ps.print ( Dependency.END_OF_MAP ) ; ps.println ( ) ; }
Source:
private void writeCharacteristic ( java.util.UUID uid , java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( uid ) ; if ( characteristic != null ) { writeCharacteristic ( characteristic , writeValue ) ; } }

Target:
private void writeCharacteristic ( java.lang.String writeValue ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.CHARACTERISTIC_UUID ) ; if ( characteristic == null ) return ; characteristic.setValue ( writeValue ) ; mBluetoothGatt.writeCharacteristic ( characteristic ) ; }
Source:
public TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer , boolean useHardware ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( layoutId , viewInitializer , useHardware ) ) ; return this ; }
Source:
public int getVoiceNetworkType ( ) { return getVoiceNetworkType ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public java.lang.String getNetworkCountryIso ( ) { return getNetworkCountryIsoForPhone ( getPhoneId ( ) ) ; }
Source:
static android.bluetooth.IBluetooth getService ( ) { synchronized ( android.bluetooth.BluetoothDevice.class ) { if ( ( android.bluetooth.BluetoothDevice.sService ) == null ) { android.bluetooth.BluetoothAdapter adapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; android.bluetooth.BluetoothDevice.sService = adapter.getBluetoothService ( android.bluetooth.BluetoothDevice.mStateChangeCallback ) ; } } return android.bluetooth.BluetoothDevice.sService ; }

Target:
static android.bluetooth.IBluetooth getService ( ) { synchronized ( android.bluetooth.BluetoothDevice.class ) { if ( ( android.bluetooth.BluetoothDevice.sService ) == null ) { android.bluetooth.BluetoothAdapter adapter = android.bluetooth.BluetoothAdapter.getDefaultAdapter ( ) ; android.bluetooth.BluetoothDevice.sService = adapter.getBluetoothService ( android.bluetooth.BluetoothDevice.sStateChangeCallback ) ; } } return android.bluetooth.BluetoothDevice.sService ; }
Source:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . getFeatureValue ( feature , network , listener ) ; }
Source:
java.awt.image.BufferedImage getAwtImage ( ) { return mAwtImage ; }

Target:
java.awt.image.BufferedImage getAwtImage ( ) { java.awt.image.BufferedImage awtImage = mAwtImage.get ( ) ; if ( ( awtImage == null ) && ( ( mImage ) != null ) ) { awtImage = com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils.convertToAwt ( mImage ) ; } return awtImage ; }
Source:
public byte [ ] getEncodedAuthenticatedAttributes ( ) { if ( ( authenticatedAttributes ) == null ) { return null ; } return authenticatedAttributes.getEncoded ( ) ; }

Target:
public byte [ ] getEncodedAuthenticatedAttributes ( ) { if ( ( authenticatedAttributes ) == null ) { return null ; } return AuthenticatedAttributes.ASN1.encode ( authenticatedAttributes.getAttributes ( ) ) ; }
Source:
protected java.lang.String getCapitalizedBuildTypeName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getBuildType ( ) . getName ( ) ) ; }

Target:
protected java.lang.String getCapitalizedBuildTypeName ( ) { return com.android.utils.StringHelper.capitalize ( variantConfiguration.getBuildType ( ) . getName ( ) ) ; }
Source:
public final com.google.common.collect.ImmutableSet < E > toImmutableSet ( ) { return com.google.common.collect.ImmutableSet.copyOf ( iterable ) ; }

Target:
public final com.google.common.collect.ImmutableSet < E > toSet ( ) { return com.google.common.collect.ImmutableSet.copyOf ( iterable ) ; }
Source:
public static com.android.sdklib.internal.project.ProjectProperties create ( com.android.sdklib.io.IAbstractFolder projectFolder , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { return new com.android.sdklib.internal.project.ProjectProperties ( projectFolder , new java.util.HashMap < java.lang.String , java.lang.String > ( ) , type ) ; }

Target:
public static com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy create ( com.android.sdklib.io.IAbstractFolder projectFolder , com.android.sdklib.internal.project.ProjectProperties.PropertyType type ) { return new com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy ( projectFolder , new java.util.HashMap < java.lang.String , java.lang.String > ( ) , type ) ; }
Source:
public void onFinish ( ) { mTimerText.setTextColor ( getResources ( ) . getColor ( R.color.red ) ) ; mTimerText.setText ( "Time is up!" ) ; }

Target:
public void onFinish ( ) { mTimerText.setTextColor ( Color.RED ) ; mTimerText.setText ( "Time is up!" ) ; }
Source:
public com.android.dx.util.ByteInput asByteInput ( ) { return new com.android.dx.util.ByteArrayByteInput ( data ) ; }

Target:
public com.android.dex.util.ByteInput asByteInput ( ) { return new com.android.dex.util.ByteArrayByteInput ( data ) ; }
Source:
public java.util.SortedSet < R > headSet ( R toElement ) { com.google.common.base.Preconditions.checkNotNull ( toElement ) ; return new com.google.common.collect.StandardRowSortedTable < R , C , V > ( sortedBackingMap ( ) . headMap ( toElement ) , factory ) . rowKeySet ( ) ; }

Target:
public java.util.SortedSet < R > rowKeySet ( ) { return ( ( java.util.SortedSet < R > ) ( rowMap ( ) . keySet ( ) ) ) ; }
Source:
public static void reboot ( final android.content.Context context , java.lang.String reason , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.mRebootReason = reason ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }

Target:
public static void reboot ( final android.content.Context context , java.lang.String reason , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = false ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mRebootReason = reason ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }
Source:
public static < T > org.hamcrest.Matcher < T [ ] > hasItemInArray ( T element ) { return org.hamcrest.collection.IsArrayContaining.hasItemInArray ( org.hamcrest.collection.IsArrayContaining.equalTo ( element ) ) ; }

Target:
public static < T > org.hamcrest.Matcher < T [ ] > hasItemInArray ( T element ) { org.hamcrest.Matcher < ? super T > matcher = org.hamcrest.collection.IsArrayContaining.equalTo ( element ) ; return org.hamcrest.collection.IsArrayContaining.< T > hasItemInArray ( matcher ) ; }
Source:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.PKG ) ; }

Target:
protected void tearDown ( ) throws java.lang.Exception { super . tearDown ( ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.PKG ) ; getDevice ( ) . uninstallPackage ( com.android.cts.appsecurity.PermissionsHostTest.ESCALATE_PERMISSION_PKG ) ; }
Source:
public static com.google.common.util.concurrent.ListeningExecutorService sameThreadExecutor ( ) { return new com.google.common.util.concurrent.MoreExecutors.SameThreadExecutorService ( ) ; }

Target:
public static com.google.common.util.concurrent.ListeningExecutorService sameThreadExecutor ( ) { return new com.google.common.util.concurrent.MoreExecutors.DirectExecutorService ( ) ; }
Source:
public static float FloatSubtraction ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 6.0F ) ; b = Main.$inline$float ( 2.0F ) ; c = a - b ; return c ; }

Target:
public static long LongSubtraction ( ) { long a ; long b ; long c ; a = 6L ; b = 2L ; c = a - b ; return c ; }
Source:
private void logOutgoing ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( "Telecom -> ConnectionService: " + msg ) , params ) ; }

Target:
private void logOutgoing ( java.lang.String msg , java.lang.Object ... params ) { android.telecom.Log.d ( this , ( ( ( "Telecom -> ConnectionService[" + ( mComponentName.flattenToShortString ( ) ) ) + "]: " ) + msg ) , android.telecom.Log.pii ( params ) ) ; }
Source:
public void setBandModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getCallWaitingResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean enable , int serviceClass ) { responseInts ( responseInfo , ( enable ? 1 : 0 ) , serviceClass ) ; }
Source:
public void update ( java.util.List < com.android.server.wifi.ScanDetail > scanDetails ) { updateNetworkScoreCache ( scanDetails ) ; }

Target:
public void update ( java.util.List < com.android.server.wifi.ScanDetail > scanDetails ) { if ( mNetworkRecommendationsEnabled ) { updateNetworkScoreCache ( scanDetails ) ; } else { mExternalScoreEvaluator.update ( scanDetails ) ; } }
Source:
public static void computeModf ( android.renderscript.cts.TestModf.ArgumentsFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 12 ; args.outIret = ( ( int ) ( args.inX ) ) ; args.out = ( args.inX ) - ( args.outIret ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsCharInt args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertCharToInt ( args.inV ) ; }
Source:
public java.lang.String getUsage ( ) { return "a java method name (e.g. java.lang.Object#toString)" ; }

Target:
public java.lang.String getUsage ( ) { return com.android.jack.util.MethodNameCodec.USAGE ; }
Source:
public void onPostDialWait ( java.lang.String callId , java.lang.String remaining ) { findConnectionForAction ( callId , "onPostDialWait" ) . setPostDialWait ( remaining ) ; }

Target:
public void onPostDialWait ( java.lang.String callId , java.lang.String remaining , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "onPostDialWait" ) . setPostDialWait ( remaining ) ; }
Source:
public void hideStatusIcon ( android.os.IBinder imeToken ) { try { mService.updateStatusIcon ( imeToken , null , 0 ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void hideStatusIcon ( android.os.IBinder imeToken ) { try { mService.updateStatusIcon ( imeToken , null , 0 ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public int getLastShutdownReason ( ) { mContext.enforceCallingOrSelfPermission ( android.Manifest.permission.DEVICE_POWER , null ) ; final long ident = android.os.Binder.clearCallingIdentity ( ) ; try { return getLastShutdownReasonInternal ( new java.io.File ( com.android.server.power.PowerManagerService.LAST_REBOOT_LOCATION ) ) ; } finally { android.os.Binder.restoreCallingIdentity ( ident ) ; } }

Target:
public int getLastShutdownReason ( ) { mContext.enforceCallingOrSelfPermission ( android.Manifest.permission.DEVICE_POWER , null ) ; final long ident = android.os.Binder.clearCallingIdentity ( ) ; try { return getLastShutdownReasonInternal ( com.android.server.power.PowerManagerService.LAST_REBOOT_PROPERTY ) ; } finally { android.os.Binder.restoreCallingIdentity ( ident ) ; } }
Source:
public java.lang.String toPattern ( ) { if ( ( style ) == ( android.icu.text.NumberFormat.PLURALCURRENCYSTYLE ) ) { return formatPattern ; } return toPattern ( false ) ; }

Target:
public java.lang.String toLocalizedPattern ( ) { if ( ( style ) == ( NumberFormat.PLURALCURRENCYSTYLE ) ) { return formatPattern ; } return toPattern ( true ) ; }
Source:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) throws com.android.sched.util.file.CannotCreateFileException { return outputVDir.createOutputVFile ( new com.android.sched.vfs.VPath ( ( ( com.android.jack.ir.formatter.BinaryQualifiedNameFormatter.getFormatter ( ) . getName ( type ) ) + ( com.android.jack.backend.jayce.JayceFileImporter.JAYCE_FILE_EXTENSION ) ) , '/' ) ) ; }

Target:
public com.android.sched.vfs.OutputVFile getJayceOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.sched.util.file.CannotCreateFileException { return outputVDir.createOutputVFile ( new com.android.sched.vfs.VPath ( ( ( typePath.getPathAsString ( '/' ) ) + ( com.android.jack.backend.jayce.JayceFileImporter.JAYCE_FILE_EXTENSION ) ) , '/' ) ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { logd ( "DcTrackerTest -tearDown" ) ; mDct.removeCallbacksAndMessages ( null ) ; mDct = null ; mDcTrackerTestHandler.quitSafely ( ) ; super . tearDown ( ) ; }

Target:
public void tearDown ( ) throws java.lang.Exception { logd ( "DcTrackerTest -tearDown" ) ; mDct.removeCallbacksAndMessages ( null ) ; mDct = null ; mDcTrackerTestHandler.quit ( ) ; super . tearDown ( ) ; }
Source:
public void run ( ) { android.view.View view = sendActivity.findViewById ( R.id.send_data_edit_text ) ; assertTrue ( view.requestFocus ( ) ) ; latch.countDown ( ) ; }

Target:
public void run ( ) { android.view.View view = sendActivity.findViewById ( R.id.send_data_edit_text ) ; org.junit.Assert.assertTrue ( view.requestFocus ( ) ) ; latch.countDown ( ) ; }
Source:
protected boolean shouldApplyOn ( java.io.File toFile ) { return true ; }

Target:
protected abstract void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException ;
Source:
public android.net.wifi.aware.WifiAwareCharacteristics toPublicCharacteristics ( ) { android.os.Bundle bundle = new android.os.Bundle ( ) ; bundle.putInt ( WifiAwareCharacteristics.KEY_MAX_SERVICE_NAME_LENGTH , maxServiceNameLen ) ; bundle.putInt ( WifiAwareCharacteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH , maxServiceSpecificInfoLen ) ; bundle.putInt ( WifiAwareCharacteristics.KEY_MAX_MATCH_FILTER_LENGTH , maxMatchFilterLen ) ; return new android.net.wifi.aware.WifiAwareCharacteristics ( bundle ) ; }

Target:
public android.net.wifi.aware.Characteristics toPublicCharacteristics ( ) { android.os.Bundle bundle = new android.os.Bundle ( ) ; bundle.putInt ( Characteristics.KEY_MAX_SERVICE_NAME_LENGTH , maxServiceNameLen ) ; bundle.putInt ( Characteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH , maxServiceSpecificInfoLen ) ; bundle.putInt ( Characteristics.KEY_MAX_MATCH_FILTER_LENGTH , maxMatchFilterLen ) ; return new android.net.wifi.aware.Characteristics ( bundle ) ; }
Source:
public void createToolWindowContent ( com.intellij.openapi.project.Project project , com.intellij.openapi.wm.ToolWindow toolWindow ) { org.jetbrains.plugins.terminal.TerminalView terminalView = org.jetbrains.plugins.terminal.TerminalView.getInstance ( ) ; terminalView.createTerminal ( project , toolWindow ) ; }

Target:
public void createToolWindowContent ( com.intellij.openapi.project.Project project , com.intellij.openapi.wm.ToolWindow toolWindow ) { org.jetbrains.plugins.terminal.TerminalView terminalView = org.jetbrains.plugins.terminal.TerminalView.getInstance ( ) ; terminalView.initTerminal ( project , toolWindow ) ; }
Source:
public int read ( byte [ ] buffer , int offset , int count ) throws java.io.IOException ;

Target:
public int read ( byte [ ] buffer , int byteOffset , int byteCount ) throws java.io.IOException ;
Source:
protected boolean stop ( ) { if ( ( mAvrcpCtSm ) != null ) { mAvrcpCtSm.doQuit ( ) ; } return true ; }

Target:
protected boolean stop ( ) { com.android.bluetooth.avrcpcontroller.AvrcpControllerService.setAvrcpControllerService ( null ) ; if ( ( mAvrcpCtSm ) != null ) { mAvrcpCtSm.doQuit ( ) ; } return true ; }
Source:
public void setVolume ( int streamID , float volume ) { }

Target:
public final void setRate ( int streamID , float rate ) { }
Source:
public java.lang.String getUsage ( ) { return "call number\n\nuse \'voicemail\' to call voicemail" ; }

Target:
public java.lang.String getUsage ( ) { return "call [flags --] number\n" + ( ( "\nuse \'voicemail\' to call voicemail" + "\n\nflags:" ) + "\n--direct send intent to telecom instead of pre call" ) ; }
Source:
public native boolean unwindOtherProcess ( boolean full_signatures , int pid ) ;

Target:
public native boolean unwindOtherProcess ( boolean fullSignatures , int pid ) ;
Source:
public boolean isTimeZoneSettingInitialized ( ) { java.lang.String timeZoneId = android.os.SystemProperties.get ( com.android.internal.telephony.TimeServiceHelper.TIMEZONE_PROPERTY ) ; return ( ( timeZoneId != null ) && ( ( timeZoneId.length ( ) ) > 0 ) ) && ( ! ( timeZoneId.equals ( "GMT" ) ) ) ; }

Target:
static boolean isTimeZoneSettingInitializedStatic ( ) { java.lang.String timeZoneId = android.os.SystemProperties.get ( com.android.internal.telephony.TimeServiceHelper.TIMEZONE_PROPERTY ) ; return ( ( timeZoneId != null ) && ( ( timeZoneId.length ( ) ) > 0 ) ) && ( ! ( timeZoneId.equals ( "GMT" ) ) ) ; }
Source:
protected void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; }

Target:
protected void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; android.view.View content = new android.view.View ( this ) ; content.setOnApplyWindowInsetsListener ( this ) ; setContentView ( content ) ; }
Source:
public com.google.mockwebserver.SocketPolicy peekSocketPolicy ( ) { return SocketPolicy.KEEP_OPEN ; }

Target:
public com.google.mockwebserver.MockResponse peek ( ) { return new com.google.mockwebserver.MockResponse ( ) . setSocketPolicy ( SocketPolicy.KEEP_OPEN ) ; }
Source:
public void testMethodParametersAlignmentAfterMethodNameChange ( ) { getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS = true ; getCurrentCodeStyleSettings ( ) . ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true ; doTest ( null , "test123asd" , null , new com.intellij.refactoring.SimpleParameterGen ( ) , new com.intellij.refactoring.SimpleExceptionsGen ( ) , false ) ; }

Target:
private com.intellij.psi.codeStyle.CommonCodeStyleSettings getJavaSettings ( ) { return getCurrentCodeStyleSettings ( ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; }
Source:
public android.view.ActionProvider getActionProvider ( android.content.Context context ) { return com.android.dialer.simulator.impl.SimulatorMainMenu.getActionProvider ( context ) ; }

Target:
public android.view.ActionProvider getActionProvider ( android.support.v7.app.AppCompatActivity activity ) { return com.android.dialer.simulator.impl.SimulatorMainMenu.getActionProvider ( activity ) ; }
Source:
public java.lang.String toString ( ) { return org.conscrypt.NativeCrypto.EVP_PKEY_print_public ( key.getPkeyContext ( ) ) ; }

Target:
public java.lang.String toString ( ) { return org.conscrypt.NativeCrypto.EVP_PKEY_print_public ( key.getNativeRef ( ) ) ; }
Source:
static void constantIndexing1 ( int [ ] array ) { array [ 5 ] = 1 ; array [ 4 ] = 1 ; }

Target:
static void constantIndexing ( int [ ] array ) { array [ 5 ] = 1 ; array [ 4 ] = 1 ; array [ 6 ] = 1 ; }
Source:
public static float abs ( float a ) { return a <= 0.0F ? 0.0F - a : a ; }

Target:
public static float abs ( float a ) { return java.lang.Float.intBitsToFloat ( ( 2147483647 & ( java.lang.Float.floatToRawIntBits ( a ) ) ) ) ; }
Source:
public void testDevPortSane ( ) throws java.lang.Exception { java.io.File f = new java.io.File ( "/dev/port" ) ; assertFalse ( f.canRead ( ) ) ; assertFalse ( f.canWrite ( ) ) ; assertFalse ( f.canExecute ( ) ) ; }

Target:
public void testDevPortSane ( ) throws java.lang.Exception { java.io.File f = new java.io.File ( "/dev/port" ) ; assertFalse ( f.exists ( ) ) ; }
Source:
public void callSessionHandover ( com.android.ims.internal.IImsCallSession i , int srcAccessTech , int targetAccessTech , android.telephony.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mNewListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionMergeFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionMergeFailed ( imsReasonInfo ) ; }