auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void processTerminated ( com.intellij.appengine.actions.ProcessEvent event ) { int exitCode = event.getExitCode ( ) ; if ( exitCode == 0 ) { myCallback.succeeded ( new com.intellij.remoteServer.runtime.deployment.DeploymentRuntime ( ) ) ; } else { myCallback.errorOccurred ( ( "Process terminated with exit code " + exitCode ) ) ; } }

Target:
public void undeploy ( @ org.jetbrains.annotations.NotNull com.intellij.appengine.actions.UndeploymentTaskCallback callback ) { }
Source:
public java.lang.String getName ( ) { return "zipalign" + ( com.android.utils.StringHelper.capitalize ( scope.getVariantOutputData ( ) . getFullName ( ) ) ) ; }

Target:
public java.lang.String getName ( ) { return scope.getTaskName ( "zipalign" ) ; }
Source:
public void setJacocoIntrumentTask ( @ com.android.annotations.NonNull com.android.build.gradle.internal.scope.AndroidTask jacocoIntrumentTask ) { this . jacocoIntrumentTask = jacocoIntrumentTask ; }

Target:
public void setMergeAssetsTask ( @ com.android.annotations.Nullable com.android.build.gradle.internal.scope.AndroidTask < com.android.build.gradle.tasks.MergeAssets > mergeAssetsTask ) { this . mergeAssetsTask = mergeAssetsTask ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { refreshTags ( ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { refresh ( ) ; }
Source:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; }

Target:
private void resetProxyAndRequestList ( ) { mRadioProxy = null ; mRadioProxyCookie.incrementAndGet ( ) ; setRadioState ( RadioState.RADIO_UNAVAILABLE ) ; com.android.internal.telephony.RILRequest.resetSerial ( ) ; clearRequestList ( com.android.internal.telephony.RADIO_NOT_AVAILABLE , false ) ; getRadioProxy ( null ) ; }
Source:
public void onCreate ( android.os.Bundle bundle ) { super . onCreate ( bundle ) ; setContentView ( R.layout.transition_main ) ; }

Target:
public void onCreate ( android.os.Bundle bundle ) { super . onCreate ( bundle ) ; setContentView ( R.layout.transition_main ) ; mContent = findViewById ( R.id.container ) ; mContent.setOnApplyWindowInsetsListener ( this ) ; }
Source:
public void testE2 ( ) { dot.junit.opcodes.aput_wide.d.T_aput_wide_1 t = new dot.junit.opcodes.aput_wide.d.T_aput_wide_1 ( ) ; try { t.run ( null , 1 , 100000000000L ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException np ) { } }

Target:
public void testVFE1 ( ) { load ( "dot.junit.opcodes.aput_wide.d.T_aput_wide_3" , java.lang.VerifyError.class ) ; }
Source:
protected java.io.File buildProject ( java.lang.String name , java.lang.String gradleVersion ) { return runTasksOnProject ( name , gradleVersion , "clean" , "assembleDebug" , "lint" ) ; }

Target:
protected java.io.File buildProject ( @ com.android.annotations.NonNull java.lang.String name , @ com.android.annotations.NonNull java.lang.String gradleVersion ) { return runTasksOnProject ( name , gradleVersion , java.util.Collections.< java.lang.String > emptyList ( ) , "clean" , "assembleDebug" , "lint" ) ; }
Source:
protected void engineInit ( java.security.spec.AlgorithmParameterSpec genParamSpec , java.security.SecureRandom random ) throws org.bouncycastle.jcajce.provider.symmetric.InvalidAlgorithmParameterException { }

Target:
protected void engineInit ( byte [ ] params ) throws java.io.IOException { gcmParams = org.bouncycastle.asn1.cms.GCMParameters.getInstance ( params ) ; }
Source:
public static short charToDoubleToShort ( char value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$charToDoubleToShort ( char value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
default < T extends java.lang.annotation.Annotation > T [ ] getAnnotationsByType ( java.lang.Class < T > annotationClass ) { return libcore.reflect.AnnotatedElements.getAnnotationsByType ( this , annotationClass ) ; }

Target:
default < T extends java.lang.annotation.Annotation > T [ ] getDeclaredAnnotationsByType ( java.lang.Class < T > annotationClass ) { return libcore.reflect.AnnotatedElements.getDirectOrIndirectAnnotationsByType ( this , annotationClass ) ; }
Source:
public boolean p2pStopFind ( ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.stopFind ( ) ; } else { return doBooleanCommand ( "P2P_STOP_FIND" ) ; } }

Target:
public boolean setWfdEnable ( boolean enable ) { return mSupplicantP2pIfaceHal.enableWfd ( enable ) ; }
Source:
static float $opt$DoubleToFloat ( double a ) { return ( ( float ) ( a ) ) ; }

Target:
static int $opt$DoubleToInt ( double a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public static void computeMad ( android.renderscript.cts.TestMad.ArgumentsFloatFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 4 ; args.out = ( ( args.inA ) * ( args.inB ) ) + ( args.inC ) ; }

Target:
public static void computeAtanh ( android.renderscript.cts.TestAtanh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.atanh ( args.in ) , 5 , 128 ) ; }
Source:
void onAdvertiseInstanceEnabled ( int status , int advertiserId ) { if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( ( ( ( "onAdvertiseInstanceEnabled() - " + "advertiserId=" ) + advertiserId ) + ", status=" ) + status ) ) ; mAdvertiseManager.callbackDone ( advertiserId , status ) ; }

Target:
void onAdvertiseParamsSet ( int status , int advertiserId ) { if ( com.android.bluetooth.gatt.GattService.DBG ) android.util.Log.d ( com.android.bluetooth.gatt.GattService.TAG , ( ( ( "onAdvertiseParamsSet() - advertiserId=" + advertiserId ) + ", status=" ) + status ) ) ; mAdvertiseManager.callbackDone ( advertiserId , status ) ; }
Source:
HEAD ( ) { }

Target:
protected void tearDown ( ) { com.android.cts.verifier.notifications.MockListener.MockListener.getInstance ( ) . resetData ( ) ; }
Source:
public void onGetDataCallListComplete ( @ android.telephony.data.DataServiceCallback.ResultCode int resultCode , java.util.List < android.telephony.data.DataCallResponse > dataCallList ) { if ( com.android.internal.telephony.dataconnection.DataServiceManager.DBG ) log ( ( "onGetDataCallListComplete. resultCode = " + resultCode ) ) ; android.os.Message msg = mMessageMap.remove ( this ) ; sendCompleteMessage ( msg , resultCode ) ; }

Target:
public void onGetDataCallListComplete ( @ android.telephony.data.DataServiceCallback.ResultCode int resultCode , java.util.List < android.telephony.data.DataCallResponse > dataCallList ) { if ( com.android.internal.telephony.dataconnection.DataServiceManager.DBG ) log ( ( "onGetDataCallListComplete. resultCode = " + resultCode ) ) ; android.os.Message msg = mMessageMap.remove ( asBinder ( ) ) ; sendCompleteMessage ( msg , resultCode ) ; }
Source:
public void addNetworkAsCurrentUser ( ) throws java.lang.Exception { addNetworkAndVerifySuccess ( ) ; }

Target:
public void setHasEverConnectedTrueOnConnect ( ) throws java.lang.Exception { connect ( ) ; verify ( mWifiConfigManager , atLeastOnce ( ) ) . updateNetworkAfterConnect ( 0 ) ; }
Source:
public static int booleanFieldEqualZero ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( Main.booleanField ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$booleanFieldEqualZero ( ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( Main.booleanField ) != ( Main.$inline$false ( ) ) ? 13 : 54 ; }
Source:
public static android.telephony.MbmsDownloadSession create ( @ android.annotation.NonNull android.content.Context context , @ android.annotation.NonNull android.telephony.mbms.MbmsDownloadSessionCallback callback , @ android.annotation.NonNull android.os.Handler handler ) { return android.telephony.MbmsDownloadSession.create ( context , callback , android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , handler ) ; }

Target:
public static android.telephony.MbmsDownloadSession create ( @ android.annotation.NonNull android.content.Context context , @ android.annotation.NonNull java.util.concurrent.Executor executor , @ android.annotation.NonNull android.telephony.mbms.MbmsDownloadSessionCallback callback ) { return android.telephony.MbmsDownloadSession.create ( context , executor , android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) , callback ) ; }
Source:
public int del ( java.lang.String name ) throws android.os.RemoteException ;

Target:
public int import_key ( java.lang.String name , byte [ ] data , int uid ) throws android.os.RemoteException ;
Source:
public java.util.jar.JarFile getJarFile ( ) throws java.io.IOException { connect ( ) ; if ( ( jarFile ) == null ) { jarFile = new java.util.jar.JarFile ( strictJarFile.getName ( ) ) ; } return jarFile ; }

Target:
public void close ( ) throws java.io.IOException { super . close ( ) ; if ( ( ( jarFile ) != null ) && ( ! ( jarFileMustBehaveAsCached ) ) ) { jarFile.close ( ) ; closed = true ; } }
Source:
private static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset , boolean append ) throws java.io.IOException { com.google.common.io.CharStreams.write ( from , com.google.common.io.Files.newWriterSupplier ( to , charset , append ) ) ; }

Target:
private static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset , boolean append ) throws java.io.IOException { com.google.common.io.Files.asCharSink ( to , charset , com.google.common.io.Files.modes ( append ) ) . write ( from ) ; }
Source:
public void testAlreadyCompleteCatch ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) ; int old = settings.BRACE_STYLE ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.NEXT_LINE ; try { doTest ( ) ; } finally { settings.BRACE_STYLE = old ; } }

Target:
public void testAlreadyCompleteCatch ( ) throws java.lang.Exception { com.intellij.psi.codeStyle.CommonCodeStyleSettings settings = com.intellij.psi.codeStyle.CodeStyleSettingsManager.getSettings ( getProject ( ) ) . getCommonSettings ( JavaLanguage.INSTANCE ) ; int old = settings.BRACE_STYLE ; settings.BRACE_STYLE = com.intellij.psi.codeStyle.CommonCodeStyleSettings.NEXT_LINE ; try { doTest ( ) ; } finally { settings.BRACE_STYLE = old ; } }
Source:
protected void onPostHandleMessage ( android.os.Message msg ) { com.android.server.telecom.Log.endSession ( ) ; }

Target:
protected void onPostHandleMessage ( android.os.Message msg ) { android.telecom.Log.endSession ( ) ; }
Source:
public void onCallRemoved ( android.telecom.Call call ) { android.os.Trace.beginSection ( "InCallServiceImpl.onCallRemoved" ) ; com.android.incallui.InCallPresenter.getInstance ( ) . onCallRemoved ( call ) ; android.os.Trace.endSection ( ) ; }

Target:
public void onCallRemoved ( android.telecom.Call call ) { android.os.Trace.beginSection ( "InCallServiceImpl.onCallRemoved" ) ; speakEasyCallManager.onCallRemoved ( com.android.incallui.call.CallList.getInstance ( ) . getDialerCallFromTelecomCall ( call ) ) ; com.android.incallui.InCallPresenter.getInstance ( ) . onCallRemoved ( call ) ; android.os.Trace.endSection ( ) ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_DISCONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; synchronized ( mLock ) { mCurrentDevice = null ; } }

Target:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_DISCONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; quit ( ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { synchronized ( mLock ) { if ( which == ( android.content.DialogInterface.BUTTON_POSITIVE ) ) { android.content.Intent market = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) ; market.setData ( android.net.Uri.parse ( ( "market://details?id=" + ( mPkgName ) ) ) ) ; market.addFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; mContext.startActivity ( market ) ; } else if ( which == ( android.content.DialogInterface.BUTTON_NEGATIVE ) ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) log ( "Not now clicked for carrier app dialog." ) ; } } }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { synchronized ( mLock ) { if ( which == ( android.content.DialogInterface.BUTTON_POSITIVE ) ) { android.content.Intent market = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) ; market.setData ( android.net.Uri.parse ( ( "market://details?id=" + ( mPkgName ) ) ) ) ; market.addFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; mContext.startActivity ( market ) ; } else if ( which == ( android.content.DialogInterface.BUTTON_NEGATIVE ) ) { if ( com.android.internal.telephony.uicc.UiccProfile.DBG ) com.android.internal.telephony.uicc.UiccProfile.log ( "Not now clicked for carrier app dialog." ) ; } } }
Source:
public void test_Any_Upper ( ) throws java.lang.Exception { libcore.icu.Transliterator t = new libcore.icu.Transliterator ( "Any-Upper" ) ; assertEquals ( "HELLO WORLD!" , t.transliterate ( "HeLlO WoRlD!" ) ) ; assertEquals ( "STRASSE" , t.transliterate ( "Straße" ) ) ; }

Target:
public void test_Any_Lower ( ) throws java.lang.Exception { android.icu.text.Transliterator t = android.icu.text.Transliterator.getInstance ( "Any-Lower" ) ; assertEquals ( "hello world!" , t.transliterate ( "HeLlO WoRlD!" ) ) ; }
Source:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalResourceId = localSocket.getResourceId ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }

Target:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalPortResourceId = localSocket.getResourceId ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }
Source:
public java.lang.Iterable < java.lang.String > split ( ) { com.google.common.base.Splitter splitter = com.google.common.base.Splitter.on ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) . omitEmptyStrings ( ) ; return splitter.split ( getInternalPath ( ) ) ; }

Target:
public java.lang.Iterable < java.lang.String > split ( ) { return com.android.sched.vfs.VPath.splitter.split ( getInternalPath ( ) ) ; }
Source:
android.app.PendingIntent getPrivateBroadcast ( java.lang.String action , int requestCode ) { android.content.Intent intent = new android.content.Intent ( action , null ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; intent.setPackage ( "android" ) ; return android.app.PendingIntent.getBroadcast ( mContext , requestCode , intent , 0 ) ; }

Target:
android.app.PendingIntent getPrivateBroadcast ( java.lang.String action , int requestCode ) { android.content.Intent intent = new android.content.Intent ( action , null ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; intent.setPackage ( "android" ) ; return mFacade.getBroadcast ( mContext , requestCode , intent , 0 ) ; }
Source:
public void testScan ( ) throws java.lang.Exception { com.android.server.wifi.WificondControl wificondControl = org.mockito.Mockito.mock ( com.android.server.wifi.WificondControl.class ) ; mWifiNative.setWificondControl ( wificondControl ) ; mWifiNative.scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; org.mockito.Mockito.verify ( wificondControl ) . scan ( com.android.server.wifi.WifiNativeTest.SCAN_FREQ_SET , com.android.server.wifi.WifiNativeTest.SCAN_HIDDEN_NETWORK_SSID_SET ) ; }

Target:
public void testEnableSupplicant ( ) { org.mockito.Mockito.when ( mWificondControl.enableSupplicant ( ) ) . thenReturn ( true ) ; mWifiNative.enableSupplicant ( ) ; org.mockito.Mockito.verify ( mWificondControl ) . enableSupplicant ( ) ; }
Source:
public boolean startScan ( com.android.server.wifi.WifiNative.ScanSettings settings , com.android.server.wifi.WifiNative.ScanEventHandler eventHandler ) { return mWifiVendorHal.startScan ( settings , eventHandler ) ; }

Target:
public boolean startBgScan ( com.android.server.wifi.WifiNative.ScanSettings settings , com.android.server.wifi.WifiNative.ScanEventHandler eventHandler ) { return mWifiVendorHal.startBgScan ( settings , eventHandler ) ; }
Source:
public static short intAnd0x17fffToShort ( int value ) { return ( ( short ) ( value & 98303 ) ) ; }

Target:
public static short $noinline$intAnd0x17fffToShort ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value & 98303 ) ) ; }
Source:
private java.lang.String getRawScanResults ( java.lang.String range ) { return doStringCommandWithoutLogging ( ( ( "BSS RANGE=" + range ) + " MASK=0x29d87" ) ) ; }

Target:
private java.lang.String getRawScanResults ( java.lang.String range ) { return doStringCommandWithoutLogging ( ( ( "BSS RANGE=" + range ) + " MASK=0x21d97" ) ) ; }
Source:
public abstract java.lang.String getPropertyName ( ) ;

Target:
public java.lang.String getPropertyPrefix ( ) { return propertyPrefix ; }
Source:
public void testDollar ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.runtime.WildcardMatcher ( "*$*" ) . matches ( "java/util/Map$Entry" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.runtime.WildcardMatcher ( "*$$$*" ) . matches ( "org/example/Enity$$$generated123" ) ) ; }

Target:
public void testDollar ( ) { org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "*$*" ) . matches ( "java/util/Map$Entry" ) ) ; org.junit.Assert.assertTrue ( new org.jacoco.core.matcher.WildcardMatcher ( "*$$$*" ) . matches ( "org/example/Enity$$$generated123" ) ) ; }
Source:
public void bluetoothMediaAvrcpMediaBrowserServiceStop ( ) { com.googlecode.android_scripting.Log.d ( ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothMediaFacade.TAG ) + "Stopping BluetoothAvrcpMediaBrowserService" ) ) ; android.content.Intent stopIntent = new android.content.Intent ( mContext , com.googlecode.android_scripting.facade.bluetooth.BluetoothAvrcpMediaBrowserService.class ) ; mContext.stopService ( stopIntent ) ; }

Target:
public void bluetoothMediaPhoneSL4AMBSStart ( ) { com.googlecode.android_scripting.Log.d ( ( ( com.googlecode.android_scripting.facade.bluetooth.BluetoothMediaFacade.TAG ) + "Starting BluetoothSL4AAudioSrcMBS" ) ) ; android.content.Intent startIntent = new android.content.Intent ( mContext , com.googlecode.android_scripting.facade.bluetooth.media.BluetoothSL4AAudioSrcMBS.class ) ; mContext.startService ( startIntent ) ; }
Source:
private android.net.ConnectivityManager cm ( ) { if ( ( mCM ) == null ) { mCM = mContext.getSystemService ( android.net.ConnectivityManager.class ) ; } return mCM ; }

Target:
private android.net.ConnectivityManager cm ( ) { if ( ( mCM ) == null ) { mCM = ( ( android.net.ConnectivityManager ) ( mContext.getSystemService ( Context.CONNECTIVITY_SERVICE ) ) ) ; } return mCM ; }
Source:
public native int getInt ( java.lang.Object obj , long offset ) ;

Target:
public native void putObjectVolatile ( java.lang.Object obj , long offset , java.lang.Object newValue ) ;
Source:
protected void accept ( java.net.SocketImpl s ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onNetwork ( ) ; socketAccept ( s ) ; }

Target:
protected void accept ( java.net.SocketImpl s ) throws java.io.IOException { acquireFD ( ) ; try { dalvik.system.BlockGuard.getThreadPolicy ( ) . onNetwork ( ) ; socketAccept ( s ) ; } finally { releaseFD ( ) ; } }
Source:
private void loge ( java.lang.String s , java.lang.Exception e ) { android.util.Log.e ( com.android.bluetooth.gatt.AdvertiseManager.TAG , s , e ) ; }

Target:
private native void stopAdvertisingSetNative ( int advertiser_id ) ;
Source:
public static double shortAnd0xffffToShortToDouble ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } short same = ( ( short ) ( value & 65535 ) ) ; return ( ( double ) ( same ) ) ; }

Target:
public static double $noinline$shortAnd0xffffToShortToDouble ( short value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } short same = ( ( short ) ( value & 65535 ) ) ; return ( ( double ) ( same ) ) ; }
Source:
public android.os.PersistableBundle getCarrierConfig ( ) { android.telephony.CarrierConfigManager carrierConfigManager = mContext.getSystemService ( android.telephony.CarrierConfigManager.class ) ; return carrierConfigManager.getConfigForSubId ( mSubId ) ; }

Target:
private int getSubId ( ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ; }
Source:
public void pcoData ( int indicationType , android.hardware.radio.V1_0.PcoDataInfo var2 ) { }

Target:
public void resendIncallMute ( int indicationType ) { mRil.processIndication ( indicationType ) ; if ( RIL.RILJ_LOGD ) mRil.unsljLog ( com.android.internal.telephony.RILConstants.RIL_UNSOL_RESEND_INCALL_MUTE ) ; mRil.mResendIncallMuteRegistrants.notifyRegistrants ( ) ; }
Source:
public static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { if ( map.isEmpty ( ) ) { return new java.util.Collections.SetFromMap < E > ( map ) ; } throw new java.lang.IllegalArgumentException ( ) ; }

Target:
public static < E > java.util.Set < E > newSetFromMap ( java.util.Map < E , java.lang.Boolean > map ) { if ( map.isEmpty ( ) ) { return new java.util.Collections.SetFromMap < E > ( map ) ; } throw new java.lang.IllegalArgumentException ( "map not empty" ) ; }
Source:
public boolean isBoundary ( int offset ) { validateOffset ( offset ) ; return wrapped.isBoundary ( offset ) ; }

Target:
public int preceding ( int offset ) { checkOffset ( offset ) ; return wrapped.preceding ( offset ) ; }
Source:
private static com.google.doclava.MethodInfo obtainMethod ( com.google.doclava.MethodDoc o ) { return ( ( com.google.doclava.MethodInfo ) ( com.google.doclava.Converter.mMethods.obtain ( o ) ) ) ; }

Target:
private static com.google.doclava.MethodInfo obtainMethod ( com.sun.javadoc.ConstructorDoc o ) { return ( ( com.google.doclava.MethodInfo ) ( com.google.doclava.Converter.mMethods.obtain ( o ) ) ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createEmergencyMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) { return createEmergencyMMTelFeatureInternal ( slotId , c ) ; }

Target:
public void notifyImsFeatureReady ( int slotId , int featureType ) throws android.os.RemoteException { this . notifyImsFeatureReady ( slotId , featureType ) ; }
Source:
public android.telephony.ims.feature.MMTelFeature onCreateEmergencyMMTelImsFeature ( int slotId ) { return null ; }

Target:
public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures ( ) { return new android.telephony.ims.stub.ImsFeatureConfiguration ( ) ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder noMargins ( ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginHeight = 0 ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginWidth = 0 ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginLeft = 0 ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginTop = 0 ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginRight = 0 ; com.android.sdkuilib.ui.GridLayoutBuilder.mGL.marginBottom = 0 ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder noMargins ( ) { mGL.marginHeight = 0 ; mGL.marginWidth = 0 ; mGL.marginLeft = 0 ; mGL.marginTop = 0 ; mGL.marginRight = 0 ; mGL.marginBottom = 0 ; return this ; }
Source:
private void fetchEpg ( ) { fetchEpg ( 0 ) ; }

Target:
public void start ( ) { if ( ( ( java.lang.System.currentTimeMillis ( ) ) - ( getLastUpdatedEpgTimestamp ( ) ) ) > ( com.android.tv.data.epg.EpgFetcher.EPG_PREFETCH_RECURRING_PERIOD_MS ) ) { startImmediately ( false ) ; } else { startInternal ( false ) ; } }
Source:
protected void log ( java.lang.String msg ) { android.util.Log.d ( mName , msg ) ; }

Target:
public boolean onUnbind ( android.content.Intent intent ) { if ( com.android.bluetooth.btservice.ProfileService.DBG ) { android.util.Log.d ( mName , "onUnbind" ) ; } return super . onUnbind ( intent ) ; }
Source:
public void sendCallEvent ( java.lang.String callId , java.lang.String event , android.os.Bundle extras ) { try { mAdapter.sendCallEvent ( callId , event , extras ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void sendCallEvent ( java.lang.String callId , java.lang.String event , int targetSdkVer , android.os.Bundle extras ) { try { mAdapter.sendCallEvent ( callId , event , targetSdkVer , extras ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void testConnectsToEmergencyNumberLongNumber_US ( ) { assertTrue ( shortInfo.connectsToEmergencyNumber ( "9116666666" , RegionCode.US ) ) ; assertTrue ( shortInfo.connectsToEmergencyNumber ( "1126666666" , RegionCode.US ) ) ; assertFalse ( shortInfo.connectsToEmergencyNumber ( "9996666666" , RegionCode.US ) ) ; }

Target:
public void testConnectsToEmergencyNumberLongNumber_US ( ) { assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "9116666666" , RegionCode.US ) ) ; assertTrue ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "1126666666" , RegionCode.US ) ) ; assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.connectsToEmergencyNumber ( "9996666666" , RegionCode.US ) ) ; }
Source:
public void createTabs ( org.eclipse.debug.ui.ILaunchConfigurationDialog dialog , java.lang.String mode ) { org.eclipse.debug.ui.ILaunchConfigurationTab [ ] tabs = new org.eclipse.debug.ui.ILaunchConfigurationTab [ ] { new com.android.ide.eclipse.adt.internal.launch.MainLaunchConfigTab ( ) , new com.android.ide.eclipse.adt.internal.launch.EmulatorConfigTab ( ) , new org.eclipse.debug.ui.CommonTab ( ) } ; setTabs ( tabs ) ; }

Target:
public void createTabs ( org.eclipse.debug.ui.ILaunchConfigurationDialog dialog , java.lang.String mode ) { org.eclipse.debug.ui.ILaunchConfigurationTab [ ] tabs = new org.eclipse.debug.ui.ILaunchConfigurationTab [ ] { new com.android.ide.eclipse.adt.internal.launch.MainLaunchConfigTab ( ) , new com.android.ide.eclipse.adt.internal.launch.EmulatorConfigTab ( ILaunchManager.RUN_MODE.equals ( mode ) ) , new org.eclipse.debug.ui.CommonTab ( ) } ; setTabs ( tabs ) ; }
Source:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copy1DRangeTo ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeToUnchecked ( off , count , d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
static com.android.dialer.inject.demo.DemoObject provide ( ) { return new com.android.dialer.inject.demo.DemoObject ( "prod" ) ; }

Target:
static com.android.dialer.inject.demo.DemoObject provide ( ) { return com.android.dialer.inject.demo.DemoObject.create ( "prod" ) ; }
Source:
protected java.io.File getAapt ( ) { return super . getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) ) ; }

Target:
protected java.io.File getAapt ( ) { return super . getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "22" ) ) ; }
Source:
public native long toMillis ( boolean ignoreDst ) ;

Target:
public long toMillis ( boolean ignoreDst ) { calculator.copyFieldsFromTime ( this ) ; return calculator.toMillis ( ignoreDst ) ; }
Source:
public static int $noinline$intSubAddSimplifyRight ( int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } int sub = x - y ; return y + sub ; }

Target:
public static int $noinline$intAddSubSimplifyArg1 ( int x , int y ) { int sum = x + y ; return sum - x ; }
Source:
public com.android.jack.ir.ast.JSsaVariableRef makeRef ( @ javax.annotation.Nonnull com.android.jack.ir.sourceinfo.SourceInfo info ) { return new com.android.jack.ir.ast.JSsaVariableRef ( info , target , version ) ; }

Target:
public com.android.jack.ir.ast.JSsaVariableRef makeRef ( @ javax.annotation.Nonnull com.android.jack.ir.sourceinfo.SourceInfo info ) { com.android.jack.ir.ast.JSsaVariableRef ref = new com.android.jack.ir.ast.JSsaVariableRef ( info , target , version , def , false ) ; uses.add ( ref ) ; ref.uses.add ( this ) ; return ref ; }
Source:
public static int intConditionNotEqualOne ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( i > 42 ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }

Target:
public static int $noinline$intConditionNotEqualOne ( int i ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( i > 42 ) == ( Main.$inline$true ( ) ) ? 13 : 54 ; }
Source:
public void setupDataCall ( int radioTechnology , com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , android.os.Message result ) { }

Target:
public void setupDataCall ( int accessNetworkType , android.telephony.data.DataProfile dataProfile , boolean isRoaming , boolean allowRoaming , int reason , android.net.LinkProperties linkProperties , android.os.Message result ) { }
Source:
public static int floatConditionNotEqualOne ( float f ) { return ( f > 42.0F ) == true ? 13 : 54 ; }

Target:
public static int $noinline$floatConditionNotEqualOne ( float f ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( f > 42.0F ) == true ? 13 : 54 ; }
Source:
public static org.junit.runner.Description createTestDescription ( java.lang.Class < ? > clazz , java.lang.String name , java.lang.annotation.Annotation ... annotations ) { return new org.junit.runner.Description ( java.lang.String.format ( "%s(%s)" , name , clazz.getName ( ) ) , annotations ) ; }

Target:
public static org.junit.runner.Description createTestDescription ( java.lang.Class < ? > clazz , java.lang.String name ) { return new org.junit.runner.Description ( clazz , org.junit.runner.Description.formatDisplayName ( name , clazz.getName ( ) ) ) ; }
Source:
public final com.google.common.collect.ImmutableList < E > toSortedImmutableList ( java.util.Comparator < ? super E > comparator ) { return com.google.common.collect.Ordering.from ( comparator ) . immutableSortedCopy ( iterable ) ; }

Target:
public final com.google.common.collect.ImmutableList < E > toSortedList ( java.util.Comparator < ? super E > comparator ) { return com.google.common.collect.Ordering.from ( comparator ) . immutableSortedCopy ( iterable ) ; }
Source:
public boolean isPossibleNumber ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number ) { return ( isPossibleNumberWithReason ( number ) ) == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ) ; }

Target:
public boolean isPossibleNumber ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number ) { com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult result = isPossibleNumberWithReason ( number ) ; return ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ) ) || ( result == ( com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY ) ) ; }
Source:
public java.lang.String toString ( java.lang.String enc ) throws java.io.UnsupportedEncodingException { return new java.lang.String ( buf , 0 , count , enc ) ; }

Target:
public java.lang.String toString ( java.lang.String charsetName ) throws java.io.UnsupportedEncodingException { return new java.lang.String ( buf , 0 , count , charsetName ) ; }
Source:
public void test_plus_longTemporalUnit_negativeDays ( ) { java.time.LocalDate t = TEST_2007_07_15.plus ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 20 ) ) ; }

Target:
public void test_plus_longTemporalUnit_negativeDays ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plus ( ( - 25 ) , java.time.temporal.ChronoUnit.DAYS ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 6 , 20 ) ) ; }
Source:
private native boolean configureWBSNative ( byte [ ] address , int condec_config ) ;

Target:
private native boolean configureWBSNative ( byte [ ] address , int condecConfig ) ;
Source:
int write ( java.io.FileDescriptor fd , long address , int len ) throws java.io.IOException { return sun.nio.ch.FileDispatcherImpl.write0 ( fd , address , len ) ; }

Target:
int write ( java.io.FileDescriptor fd , long address , int len ) throws java.io.IOException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return sun.nio.ch.FileDispatcherImpl.write0 ( fd , address , len ) ; }
Source:
public static void clearClientCertPreferences ( java.lang.Runnable onCleared ) { if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "clearClientCertPreferences" ) ; android.webkit.WebView.getFactory ( ) . getStatics ( ) . clearClientCertPreferences ( onCleared ) ; }

Target:
public static void clearClientCertPreferences ( java.lang.Runnable onCleared ) { if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "clearClientCertPreferences" ) ; android.webkit.WebView.getFactory ( ) . getStatics ( ) . clearClientCertPreferences ( onCleared ) ; }
Source:
private native java.lang.reflect.Constructor < ? > [ ] getDeclaredConstructorsInternal ( boolean publicOnly ) ;

Target:
public native java.lang.reflect.Method [ ] getDeclaredMethodsUnchecked ( boolean publicOnly ) ;
Source:
protected void createPages ( ) { com.android.sdkuilib.internal.repository.PackagesPage pkgPage = new com.android.sdkuilib.internal.repository.PackagesPage ( getPagesRootComposite ( ) , getUpdaterData ( ) ) ; addPage ( pkgPage , "Packages List" ) ; addExtraPages ( ) ; }

Target:
private org.eclipse.swt.graphics.Image getImage ( java.lang.String filename ) { if ( ( mUpdaterData ) != null ) { com.android.sdkuilib.internal.repository.icons.ImageFactory imgFactory = mUpdaterData.getImageFactory ( ) ; if ( imgFactory != null ) { return imgFactory.getImageByName ( filename ) ; } } return null ; }
Source:
public void error ( java.lang.String id ) { severities.put ( id , Severity.ERROR ) ; }

Target:
public void error ( java.lang.String id ) { severities.put ( id , com.android.tools.lint.detector.api.Severity.ERROR ) ; }
Source:
protected void load ( ) { com.android.ide.eclipse.adt.internal.resources.manager.ResourceItem item = getRepository ( ) . getResourceItem ( mType , mResourceName ) ; item.add ( this ) ; }

Target:
protected void load ( ) { com.android.ide.common.resources.ResourceItem item = getRepository ( ) . getResourceItem ( mType , mResourceName ) ; item.add ( this ) ; }
Source:
void onLightbringerIconClicked ( int position ) ;

Target:
void onDuoVideoIconClicked ( int position ) ;
Source:
java.lang.Boolean getHandleProfiling ( ) ;

Target:
java.lang.String getFlavorName ( ) ;
Source:
public com.android.builder.model.SigningConfig getSigningConfig ( ) { com.android.builder.model.SigningConfig signingConfig = mBuildType.getSigningConfig ( ) ; if ( signingConfig != null ) { return signingConfig ; } return mMergedFlavor.getSigningConfig ( ) ; }

Target:
public com.android.builder.model.SigningConfig getSigningConfig ( ) { if ( ( mSigningConfigOverride ) != null ) { return mSigningConfigOverride ; } com.android.builder.model.SigningConfig signingConfig = mBuildType.getSigningConfig ( ) ; if ( signingConfig != null ) { return signingConfig ; } return mMergedFlavor.getSigningConfig ( ) ; }
Source:
public boolean initializeSupplicantHal ( ) { return true ; }

Target:
public boolean initializeVendorHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } return mWifiVendorHal.initialize ( ) ; }
Source:
public void testForName_EmptyString ( ) { try { java.nio.charset.Charset.forName ( "" ) ; fail ( "Should throw IllegalArgumentException!" ) ; } catch ( java.lang.IllegalArgumentException e ) { } }

Target:
public void test_EUC_JP_replacement_character ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "EUC-JP" ) , "�" , 244 , 254 ) ; }
Source:
private int updateEfForIccType ( int efid ) { if ( efid == ( IccConstants.EF_ADN ) ) { if ( phone.getIccCard ( ) . isApplicationOnIcc ( IccCardApplicationStatus.AppType.APPTYPE_USIM ) ) { return IccConstants.EF_PBR ; } } return efid ; }

Target:
private int updateEfForIccType ( int efid ) { if ( efid == ( com.android.internal.telephony.uicc.IccConstants.EF_ADN ) ) { if ( ( phone.getCurrentUiccAppType ( ) ) == ( com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType.APPTYPE_USIM ) ) { return com.android.internal.telephony.uicc.IccConstants.EF_PBR ; } } return efid ; }
Source:
public static native void SSL_use_certificate ( long ssl , byte [ ] [ ] asn1DerEncodedCertificateChain ) ;

Target:
public static native void SSL_use_certificate ( long ssl , long [ ] x509refs ) ;
Source:
public boolean umtsAuthFailedResponse ( int id ) { return doBooleanCommand ( ( ( "CTRL-RSP-SIM-" + id ) + ":UMTS-FAIL" ) ) ; }

Target:
public boolean umtsAuthFailedResponse ( int id ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.sendCurrentNetworkEapSimUmtsAuthFailure ( ) ; } else { return doBooleanCommand ( ( ( "CTRL-RSP-SIM-" + id ) + ":UMTS-FAIL" ) ) ; } }
Source:
public static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset ) throws java.io.IOException { com.google.common.io.Files.write ( from , to , charset , false ) ; }

Target:
private static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset , boolean append ) throws java.io.IOException { com.google.common.io.Files.asCharSink ( to , charset , com.google.common.io.Files.modes ( append ) ) . write ( from ) ; }
Source:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { redraw ( ) ; } } ) ; }

Target:
public void imageChanged ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { synchronized ( this ) { loadImage ( ) ; } } } ) ; doRedraw ( ) ; }
Source:
public void doWork ( ) throws android.os.RemoteException { mService.confirmCredentialsAsUser ( mResponse , account , options , ( activity != null ) , userId ) ; }

Target:
public void doWork ( ) throws android.os.RemoteException { mService.removeAccountAsUser ( mResponse , account , ( activity != null ) , userHandle.getIdentifier ( ) ) ; }
Source:
public void waitForIdle ( int timeoutMs ) { mHandlerThread.waitForIdle ( timeoutMs ) ; }

Target:
public void waitForIdle ( int timeoutMs ) { com.android.server.ConnectivityServiceTest.waitForIdleHandler ( mHandlerThread , timeoutMs ) ; }
Source:
boolean areDrawablesResolved ( ) { return ( ( mPrivateFlags2 ) & ( android.view.View.PFLAG2_DRAWABLE_RESOLVED ) ) == ( android.view.View.PFLAG2_DRAWABLE_RESOLVED ) ; }

Target:
private boolean isDrawablesResolved ( ) { return ( ( mPrivateFlags2 ) & ( android.view.View.PFLAG2_DRAWABLE_RESOLVED ) ) == ( android.view.View.PFLAG2_DRAWABLE_RESOLVED ) ; }
Source:
public static native int get_EC_GROUP_type ( long groupCtx ) ;

Target:
public static native byte [ ] EC_GROUP_get_cofactor ( org.conscrypt.NativeRef.EC_GROUP groupRef ) ;
Source:
private void riljLogv ( java.lang.String msg ) { android.telephony.Rlog.v ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , msg ) ; }

Target:
private void riljLogv ( java.lang.String msg ) { android.telephony.Rlog.v ( com.android.internal.telephony.RIL.RILJ_LOG_TAG , ( msg + ( ( mInstanceId ) != null ? ( " [SUB" + ( mInstanceId ) ) + "]" : "" ) ) ) ; }
Source:
public java.io.InputStream openRead ( ) throws com.android.sched.util.file.WrongPermissionException { return vfs.openRead ( this ) ; }

Target:
public java.io.InputStream getInputStream ( ) throws com.android.sched.util.file.WrongPermissionException { return vfs.openRead ( this ) ; }
Source:
public java.lang.String [ ] getEnabledProtocols ( ) { return sslParameters.openSslEnabledProtocols.clone ( ) ; }

Target:
public java.lang.String [ ] getEnabledProtocols ( ) { return sslParameters.getEnabledProtocols ( ) ; }
Source:
public void onCancel ( android.content.DialogInterface arg0 ) { if ( android.net.wifi.p2p.WifiP2pService.DBG ) logd ( ( ( getName ( ) ) + " ignore connect" ) ) ; sendMessage ( android.net.wifi.p2p.WifiP2pService.PEER_CONNECTION_USER_REJECT ) ; }

Target:
private void sendP2pPersistentGroupsChangedBroadcast ( ) { if ( android.net.wifi.p2p.WifiP2pService.DBG ) logd ( "sending p2p persistent groups changed broadcast" ) ; android.content.Intent intent = new android.content.Intent ( WifiP2pManager.WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION ) ; intent.addFlags ( Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT ) ; mContext.sendStickyBroadcast ( intent ) ; }
Source:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return super . getParameterAnnotations ( ) ; }

Target:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return super . getParameterAnnotationsInternal ( ) ; }
Source:
public boolean isEmpty ( ) { return ( ( mAdapter ) == null ) || ( mAdapter.isEmpty ( ) ) ; }

Target:
public boolean isEmpty ( ) { return ( ( ( mAdapter ) == null ) || ( mAdapter.isEmpty ( ) ) ) && ( ( ( getFootersCount ( ) ) + ( getHeadersCount ( ) ) ) == 0 ) ; }
Source:
public void testBetaOverlay ( ) { if ( "beta" . equals ( BuildConfig.FLAVOR2 ) ) { pixelLooker ( mBetaOverlayIV , com.android.tests.overlay2.MainTest.GREEN ) ; } else { pixelLooker ( mBetaOverlayIV , com.android.tests.overlay2.MainTest.RED ) ; } }

Target:
public void testBetaOverlay ( ) { if ( "beta" . equals ( BuildConfig.FLAVOR_releaseType ) ) { pixelLooker ( mBetaOverlayIV , com.android.tests.overlay2.MainTest.GREEN ) ; } else { pixelLooker ( mBetaOverlayIV , com.android.tests.overlay2.MainTest.RED ) ; } }
Source:
public void onFocusChange ( android.view.View v , boolean hasFocus ) { if ( ( getEditorListener ( ) ) != null ) { getEditorListener ( ) . onRequest ( EditorListener.EDITOR_FOCUS_CHANGED ) ; } rebuildLabel ( ) ; }

Target:
public void onFocusChange ( android.view.View v , boolean hasFocus ) { if ( ( getEditorListener ( ) ) != null ) { getEditorListener ( ) . onRequest ( EditorListener.EDITOR_FOCUS_CHANGED ) ; } rebuildLabel ( ) ; if ( hasFocus ) { needInputInitialize = true ; } }
Source:
public com.android.jack.ir.ast.cfg.JBasicBlockElement firstElement ( ) { assert ( elements.size ( ) ) > 0 ; return elements.get ( 0 ) ; }

Target:
public com.android.jack.ir.ast.cfg.JBasicBlockElement getFirstElement ( ) { assert ( elements.size ( ) ) > 0 ; return elements.get ( 0 ) ; }
Source:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.pm.PackageManager packageManager , android.content.Intent intent ) { return ( mCarrierPrivilegeRules ) == null ? null : mCarrierPrivilegeRules.getCarrierPackageNamesForIntent ( packageManager , intent ) ; }

Target:
public java.util.List < java.lang.String > getCarrierPackageNamesForIntent ( android.content.pm.PackageManager packageManager , android.content.Intent intent ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return carrierPrivilegeRules == null ? null : carrierPrivilegeRules.getCarrierPackageNamesForIntent ( packageManager , intent ) ; }
Source:
public void writeResponse ( java.io.OutputStream out ) throws java.io.IOException { super . writeResponse ( new java.io.ByteArrayInputStream ( body ) , out ) ; }

Target:
public com.google.mockwebserver.MockResponse setBytesPerSecond ( int bytesPerSecond ) { this . bytesPerSecond = bytesPerSecond ; return this ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.min ( args.in , args.in1 ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( args.in , args.in1 ) , 0 , 0 ) ; }
Source:
public boolean addAll ( java.util.Collection < ? extends java.util.Map.Entry < K , V > > collection ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public boolean addAll ( java.util.Collection < ? extends E > es ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void testCompareNull ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( "< a" ) . compare ( null , null ) ; fail ( ( "RuleBasedCollator.compare(null, null) " + "should throw NullPointerException" ) ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testNullPointerException ( ) throws java.lang.Exception { try { new java.text.RuleBasedCollator ( null ) ; fail ( ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public com.android.build.gradle.AndroidSourceSet javaResources ( groovy.lang.Closure configureClosure ) { org.gradle.util.ConfigureUtil.configure ( configureClosure , getJavaResources ( ) ) ; return this ; }

Target:
public com.android.build.gradle.AndroidSourceSet resources ( groovy.lang.Closure configureClosure ) { org.gradle.util.ConfigureUtil.configure ( configureClosure , getResources ( ) ) ; return this ; }
Source:
public static java.lang.String toString ( org.hamcrest.SelfDescribing value ) { return new org.hamcrest.StringDescription ( ) . appendDescriptionOf ( value ) . toString ( ) ; }

Target:
public static java.lang.String toString ( org.hamcrest.SelfDescribing selfDescribing ) { return new org.hamcrest.StringDescription ( ) . appendDescriptionOf ( selfDescribing ) . toString ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setStartTime ( long value ) { bitField0_ |= 128 ; startTime_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearResultPath ( ) { bitField0_ = ( bitField0_ ) & ( ~ 2 ) ; resultPath_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getResultPath ( ) ; onChanged ( ) ; return this ; }
Source:
private int getToneId ( com.android.internal.telephony.gsm.stk.Tone tone ) { int toneId = android.media.ToneGenerator.TONE_PROP_BEEP ; if ( ( tone != null ) && ( com.android.stk.TonePlayer.mToneMap.containsKey ( tone ) ) ) { toneId = com.android.stk.TonePlayer.mToneMap.get ( tone ) ; } return toneId ; }

Target:
private int getToneId ( com.android.internal.telephony.cat.Tone tone ) { int toneId = android.media.ToneGenerator.TONE_PROP_BEEP ; if ( ( tone != null ) && ( com.android.stk.TonePlayer.mToneMap.containsKey ( tone ) ) ) { toneId = com.android.stk.TonePlayer.mToneMap.get ( tone ) ; } return toneId ; }