auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
boolean runTests ( @ com.android.annotations.NonNull java.lang.String projectName , @ com.android.annotations.NonNull java.lang.String variantName , @ com.android.annotations.NonNull java.io.File testApk , @ com.android.annotations.NonNull java.lang.String testPackageName , @ com.android.annotations.NonNull java.lang.String testInstrumentationRunner , @ com.android.annotations.Nullable java.io.File testedApk , @ com.android.annotations.Nullable java.lang.String testedPackageName , @ com.android.annotations.NonNull java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > deviceList , @ com.android.annotations.NonNull java.io.File resultsDir , @ com.android.annotations.NonNull com.android.utils.ILogger logger ) ;

Target:
boolean runTests ( @ com.android.annotations.NonNull java.lang.String projectName , @ com.android.annotations.NonNull java.lang.String variantName , @ com.android.annotations.NonNull java.io.File testApk , @ com.android.annotations.NonNull java.lang.String testPackageName , @ com.android.annotations.NonNull java.lang.String testInstrumentationRunner , @ com.android.annotations.Nullable java.io.File testedApk , @ com.android.annotations.Nullable java.lang.String testedPackageName , @ com.android.annotations.NonNull java.util.List < ? extends com.android.builder.testing.api.DeviceConnector > deviceList , int timeout , @ com.android.annotations.NonNull java.io.File resultsDir , @ com.android.annotations.NonNull com.android.utils.ILogger logger ) ;
Source:
public static void computeAcos ( android.renderscript.cts.TestAcos.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.acos ( args.in ) ) ) ; }

Target:
public static void computeSinh ( android.renderscript.cts.TestSinh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.sinh ( args.in ) , 4 , 128 ) ; }
Source:
void assertCtsConnectionServiceUnbound ( ) { waitUntilConditionIsTrueOrTimeout ( new android.telecom.cts.BaseTelecomTestWithMockServices.Condition ( ) { @ java.lang.Override public java.lang.Object expected ( ) { return false ; } @ java.lang.Override public java.lang.Object actual ( ) { return android.telecom.cts.CtsConnectionService.isServiceBound ( ) ; } } , android.telecom.cts.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS , "CtsConnectionService not yet unbound!" ) ; }

Target:
void assertCtsConnectionServiceUnbound ( ) { waitUntilConditionIsTrueOrTimeout ( new android.telecom.cts.BaseTelecomTestWithMockServices.Condition ( ) { @ java.lang.Override public java.lang.Object expected ( ) { return false ; } @ java.lang.Override public java.lang.Object actual ( ) { return android.telecom.cts.CtsConnectionService.isServiceBound ( ) ; } } , android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS , "CtsConnectionService not yet unbound!" ) ; }
Source:
private void doActivity ( ) { android.content.Intent webIntent = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) ; webIntent.setData ( android.net.Uri.parse ( "http:///localhost" ) ) ; webIntent.setFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; getContext ( ) . startActivity ( webIntent ) ; android.content.Intent geoIntent = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) ; geoIntent.setData ( android.net.Uri.parse ( "geo:0,0" ) ) ; geoIntent.setFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; getContext ( ) . startActivity ( geoIntent ) ; }

Target:
private void doActivity ( ) { android.content.Intent webIntent = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) ; webIntent.setData ( android.net.Uri.parse ( "http:///localhost" ) ) ; webIntent.setFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; getContext ( ) . startActivity ( webIntent ) ; android.content.Intent dictIntent = new android.content.Intent ( "android.settings.USER_DICTIONARY_SETTINGS" ) ; dictIntent.addFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; getContext ( ) . startActivity ( dictIntent ) ; }
Source:
public void setDataProfile ( com.android.internal.telephony.dataconnection.DataProfile [ ] dps , android.os.Message result ) { }

Target:
public void setDataProfile ( com.android.internal.telephony.dataconnection.DataProfile [ ] dps , boolean isRoaming , android.os.Message result ) { }
Source:
private static java.lang.String getNotificationTagForCall ( @ android.support.annotation.NonNull com.android.dialer.app.calllog.CallLogNotificationsQueryHelper.NewCall call ) { return com.android.dialer.app.calllog.MissedCallNotifier.getNotificationTagForCallUri ( call.callsUri ) ; }

Target:
private static java.lang.String getNotificationTagForCall ( @ android.support.annotation.NonNull com.android.dialer.app.calllog.CallLogNotificationsQueryHelper.NewCall call ) { return com.android.dialer.notification.missedcalls.MissedCallNotificationTags.getNotificationTagForCallUri ( call.callsUri ) ; }
Source:
public static void toggleOrientation ( android.app.Activity activity ) { final int [ ] orientations = android.app.stubs.OrientationTestUtils.getOrientations ( activity ) ; activity.setRequestedOrientation ( orientations [ 1 ] ) ; activity.setRequestedOrientation ( orientations [ 0 ] ) ; }

Target:
public static void toggleOrientation ( android.app.Activity activity ) { android.app.stubs.OrientationTestUtils.toggleOrientationSync ( activity , null ) ; }
Source:
public void setAudioQuality ( int audioQuality ) { mHasHighDefAudio = audioQuality == com.android.services.telephony.com.android.internal.telephony.Connection.AUDIO_QUALITY_HIGH_DEFINITION ; updateConnectionCapabilities ( ) ; }

Target:
public void setAudioQuality ( int audioQuality ) { mHasHighDefAudio = audioQuality == com.android.services.telephony.com.android.internal.telephony.Connection.AUDIO_QUALITY_HIGH_DEFINITION ; updateConnectionProperties ( ) ; }
Source:
public android.graphics.Picture capturePicture ( ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "capturePicture" ) ; return mProvider.capturePicture ( ) ; }

Target:
public android.graphics.Picture capturePicture ( ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "capturePicture" ) ; return mProvider.capturePicture ( ) ; }
Source:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < K , V > > hasKey ( org.hamcrest.org.hamcrest.Matcher < K > keyMatcher ) { return org.hamcrest.collection.IsMapContaining.hasKey ( keyMatcher ) ; }

Target:
public static < K , V > org.hamcrest.org.hamcrest.Matcher < java.util.Map < ? extends K , ? extends V > > aMapWithSize ( int size ) { return org.hamcrest.collection.IsMapWithSize.< K , V > aMapWithSize ( size ) ; }
Source:
public void test_F32_3_SCALE20_05_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 3 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_F32_3_SCALE20_05_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.FLOAT_32 , 3 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = 7.0F ; b = 3.0F ; c = a * b ; return c ; }

Target:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }
Source:
public java.lang.String getPackage ( ) { return mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getPackageName ( ) ; }

Target:
public java.lang.String getPackage ( ) { if ( ( mPackage ) == null ) { java.lang.String packageName = mProject.getDefaultConfig ( ) . getProductFlavor ( ) . getPackageName ( ) ; if ( packageName != null ) { return packageName ; } } return mPackage ; }
Source:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { validatePageComplete ( ) ; }

Target:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { onMinSdkFieldUpdated ( ) ; validatePageComplete ( ) ; }
Source:
native void rsnScriptReduce ( long con , long id , int slot , long ain , long aout , int [ ] limits ) ;

Target:
native void rsnScriptReduce ( long con , long id , int slot , long [ ] ains , long aout , int [ ] limits ) ;
Source:
public java.lang.String toString ( ) { return ( ( ( getServiceName ( ) ) + " [" ) + ( state ( ) ) ) + "]" ; }

Target:
public void execute ( java.lang.Runnable command ) { com.google.common.util.concurrent.MoreExecutors.newThread ( threadNameSupplier.get ( ) , command ) . start ( ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeInvisibleAnnotationsAttribute ( clazz , method , runtimeInvisibleAnnotationsAttribute ) ; } }
Source:
private void fixParentAfterDisconnect ( ) { setParentCall ( null ) ; }

Target:
public void setOriginalCallIntent ( android.content.Intent intent ) { mOriginalCallIntent = intent ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { onAddUserClicked ( ( which == 0 ? com.android.settings.users.UserSettings.USER_TYPE_USER : com.android.settings.users.UserSettings.USER_TYPE_RESTRICTED_PROFILE ) ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { switchUserNow ( mAddedUserId ) ; }
Source:
public void addI16 ( android.support.v8.renderscript.Short3 v ) { mN.addI16 ( new android.support.v8.renderscript.Short3 ( v.x , v.y , v.z ) ) ; }

Target:
public void addI16 ( android.support.v8.renderscript.Short3 v ) { mN.addI16 ( new android.support.v8.renderscript.Short3 ( v.x , v.y , v.z ) ) ; mPos += 6 ; }
Source:
com.android.sched.vfs.BaseVDir createVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return changeVFS ( vfs.createVDir ( parent , name ) ) ; }

Target:
boolean isEmpty ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.isEmpty ( dir ) ; }
Source:
public java.lang.String getExplanation ( ) { return mExplanation ; }

Target:
public java.lang.String getExplanation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue.OutputFormat format ) { switch ( format ) { case TEXT : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mExplanation , false ) ; case HTML : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mExplanation , true ) ; case RAW : default : return mExplanation ; } }
Source:
void allPrintersLost ( ) { for ( com.android.bips.discovery.DiscoveredPrinter printer : mPrinters.values ( ) ) { for ( com.android.bips.discovery.Discovery.Listener listener : mListeners ) { listener.onPrinterLost ( printer ) ; } } mPrinters.clear ( ) ; }

Target:
public void removeSavedPrinter ( android.net.Uri printerPath ) { for ( com.android.bips.discovery.Discovery child : getChildren ( ) ) { if ( child != ( this ) ) { child.removeSavedPrinter ( printerPath ) ; } } }
Source:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }

Target:
synchronized long nScriptFieldIDCreate ( long sid , int slot , boolean mUseInc ) { validate ( ) ; long curCon = mContext ; if ( mUseInc ) { curCon = mIncCon ; } return rsnScriptFieldIDCreate ( curCon , sid , slot , mUseInc ) ; }
Source:
public java.lang.String getSigAlgName ( ) { return org.apache.harmony.security.utils.AlgNameMapper.map2AlgName ( getSigAlgOID ( ) ) ; }

Target:
public java.lang.String getSigAlgName ( ) { java.lang.String oid = getSigAlgOID ( ) ; java.lang.String algName = org.apache.harmony.security.utils.AlgNameMapper.map2AlgName ( oid ) ; if ( algName != null ) { return algName ; } return oid ; }
Source:
public void binderDied ( ) { synchronized ( this ) { notifyAll ( ) ; } }

Target:
public void performReceive ( android.content.Intent intent , int resultCode , java.lang.String data , android.os.Bundle extras , boolean ordered , boolean sticky , int sendingUser ) { synchronized ( this ) { requestPssAllProcsLocked ( android.os.SystemClock.uptimeMillis ( ) , true , false ) ; } }
Source:
public void onClick ( android.view.View v ) { stopConnectivityScan ( ) ; stopDownloadFile ( ) ; stopGScan ( ) ; stopIperfClient ( ) ; mBtnStart.setEnabled ( true ) ; }

Target:
public void onClick ( android.view.View v ) { stopConnectivityScan ( ) ; stopDownloadFile ( ) ; stopGScan ( ) ; stopIperfClient ( ) ; stopUSBTethering ( ) ; mBtnStart.setEnabled ( true ) ; }
Source:
public int inverseTranslate ( int screenX ) ;

Target:
public void removeSelectionChangedListener ( org.eclipse.jface.viewers.ISelectionChangedListener listener ) { mSelectionListeners.remove ( listener ) ; }
Source:
public native void setDouble ( java.lang.Object object , double value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public void setDouble ( java.lang.Object object , double value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { setDouble ( object , value , isAccessible ( ) ) ; }
Source:
public static native int getDexOptNeeded ( java.lang.String fileName , java.lang.String pkgname , java.lang.String instructionSet , boolean defer ) throws java.io.FileNotFoundException , java.io.IOException ;

Target:
public static native int getDexOptNeeded ( java.lang.String fileName , java.lang.String instructionSet , int targetCompilationTypeMask ) throws java.io.FileNotFoundException , java.io.IOException ;
Source:
public void registrationAssociatedUriChanged ( android.net.Uri [ ] uris ) { if ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.DBG ) log ( "registrationAssociatedUriChanged" ) ; mPhone.setCurrentSubscriberUris ( uris ) ; }

Target:
public void onSubscriberAssociatedUriChanged ( android.net.Uri [ ] uris ) { if ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.DBG ) log ( "registrationAssociatedUriChanged" ) ; mPhone.setCurrentSubscriberUris ( uris ) ; }
Source:
public java.lang.Class < ? > [ ] getParameterTypes ( ) { return super . getParameterTypes ( ) ; }

Target:
public java.lang.Class < ? > [ ] getParameterTypes ( ) { return super . getParameterTypesInternal ( ) ; }
Source:
public int getType ( ) { return type ; }

Target:
public int getMethodHandleType ( ) { return type ; }
Source:
public java.lang.Boolean call ( ) { return canGoForward ( ) ; }

Target:
public void run ( ) { goBack ( ) ; }
Source:
public void onClick ( android.view.View v ) { final android.content.Intent intent = new android.content.Intent ( "com.android.settings.CARRIER_PROVISIONING" ) ; final android.content.ComponentName serviceComponent = android.content.ComponentName.unflattenFromString ( "com.android.omadm.service/.DMIntentReceiver" ) ; intent.setComponent ( serviceComponent ) ; sendBroadcast ( intent ) ; }

Target:
public void onClick ( android.view.View v ) { refreshSmsc ( ) ; }
Source:
public void onCallStateChanged ( int state , java.lang.String incomingNumber ) { updateNetworkType ( ) ; updatePhoneState ( state ) ; }

Target:
public void onCapabilitiesChanged ( android.net.Network n , android.net.NetworkCapabilities nc ) { int dlbw = nc.getLinkDownstreamBandwidthKbps ( ) ; int ulbw = nc.getLinkUpstreamBandwidthKbps ( ) ; updateBandwidths ( dlbw , ulbw ) ; }
Source:
public native void setShort ( java.lang.Object object , short value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native float getFloat ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void addListeners ( com.android.sdkuilib.repository.UpdaterWindow.ISdkListener listener ) { mWindow.addListeners ( listener ) ; }

Target:
public void removeListener ( com.android.sdkuilib.repository.ISdkChangeListener listener ) { mWindow.removeListener ( listener ) ; }
Source:
public void run ( ) { mAppCallback.onProgressUpdated ( request , fileInfo , currentDownloadSize , fullDownloadSize , currentDecodedSize , fullDecodedSize ) ; }

Target:
public void run ( ) { long token = android.os.Binder.clearCallingIdentity ( ) ; try { mAppCallback.onProgressUpdated ( request , fileInfo , currentDownloadSize , fullDownloadSize , currentDecodedSize , fullDecodedSize ) ; } finally { android.os.Binder.restoreCallingIdentity ( token ) ; } }
Source:
public void testE1 ( ) { dot.junit.opcodes.aget_wide.d.T_aget_wide_1 t = new dot.junit.opcodes.aget_wide.d.T_aget_wide_1 ( ) ; long [ ] arr = new long [ 2 ] ; try { t.run ( arr , 2 ) ; fail ( "expected ArrayIndexOutOfBoundsException" ) ; } catch ( java.lang.ArrayIndexOutOfBoundsException aie ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aget_wide.d.T_aget_wide_1" , java.lang.NullPointerException.class , null , 2 ) ; }
Source:
public boolean apply ( com.android.test.common.fixture.app.TestSourceFile testSourceFile ) { return path.equals ( testSourceFile.getPath ( ) ) ; }

Target:
public boolean apply ( com.android.build.gradle.integration.common.fixture.app.TestSourceFile testSourceFile ) { return path.equals ( testSourceFile.getPath ( ) ) ; }
Source:
public void remove ( android.icu.impl.ICUResource.Key key ) { }

Target:
public void putNoFallback ( android.icu.impl.ICUResource.Key key ) { }
Source:
private void ensureCapacityInternal ( int minCapacity ) { if ( ( elementData ) == ( java.util.ArrayList.EMPTY_ELEMENTDATA ) ) { minCapacity = java.lang.Math.max ( java.util.ArrayList.DEFAULT_CAPACITY , minCapacity ) ; } ensureExplicitCapacity ( minCapacity ) ; }

Target:
private void ensureCapacityInternal ( int minCapacity ) { if ( ( elementData ) == ( java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA ) ) { minCapacity = java.lang.Math.max ( java.util.ArrayList.DEFAULT_CAPACITY , minCapacity ) ; } ensureExplicitCapacity ( minCapacity ) ; }
Source:
void onLongClick ( java.lang.String number ) ;

Target:
void onLongClick ( android.view.View view , com.android.dialer.speeddial.loader.SpeedDialUiItem speedDialUiItem ) ;
Source:
public int getSimState ( int slotIndex ) { int simState = android.telephony.SubscriptionManager.getSimStateForSlotIndex ( slotIndex ) ; return simState ; }

Target:
public int getSimState ( int slotIndex ) { int simState = android.telephony.SubscriptionManager.getSimStateForSlotIndex ( slotIndex ) ; if ( simState == ( android.telephony.TelephonyManager.SIM_STATE_LOADED ) ) { simState = android.telephony.TelephonyManager.SIM_STATE_READY ; } return simState ; }
Source:
public void visitClassConstant ( proguard.evaluation.Clazz clazz , proguard.evaluation.ClassConstant classConstant ) { value = valueFactory.createReferenceValue ( ClassConstants.INTERNAL_NAME_JAVA_LANG_CLASS , classConstant.javaLangClassClass , false ) ; }

Target:
public void visitClassConstant ( proguard.evaluation.Clazz clazz , proguard.classfile.constant.ClassConstant classConstant ) { value = valueFactory.createReferenceValue ( ClassConstants.NAME_JAVA_LANG_CLASS , classConstant.javaLangClassClass , false ) ; }
Source:
private com.android.sdkuilib.internal.repository.sdkman2.PkgCategory findCurrentCategory ( java.util.List < com.android.sdkuilib.internal.repository.sdkman2.PkgCategory > currentCategories , java.lang.Object categoryKey ) { for ( com.android.sdkuilib.internal.repository.sdkman2.PkgCategory cat : currentCategories ) { if ( cat.getKey ( ) . equals ( categoryKey ) ) { return cat ; } } return null ; }

Target:
private com.android.sdkuilib.internal.repository.core.PkgCategory findCurrentCategory ( java.util.List < com.android.sdkuilib.internal.repository.core.PkgCategory > currentCategories , java.lang.Object categoryKey ) { for ( com.android.sdkuilib.internal.repository.core.PkgCategory cat : currentCategories ) { if ( cat.getKey ( ) . equals ( categoryKey ) ) { return cat ; } } return null ; }
Source:
private void getNetworkInterface ( ) { try { mNetworkInterface = java.net.NetworkInterface.getByName ( mInterfaceName ) ; } catch ( java.net.SocketException | java.lang.NullPointerException e ) { android.util.Log.e ( mTag , "ALERT: Failed to get interface object: " , e ) ; } }

Target:
private void getNetworkInterface ( ) { try { mNetworkInterface = java.net.NetworkInterface.getByName ( mInterfaceName ) ; } catch ( java.net.SocketException | java.lang.NullPointerException e ) { logError ( "Failed to get interface object: %s" , e ) ; } }
Source:
public com.android.tools.lint.client.api.IJavaParser getJavaParser ( ) { return new com.android.tools.lint.EcjParser ( this ) ; }

Target:
public com.android.tools.lint.client.api.JavaParser getJavaParser ( @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Project project ) { return new com.android.tools.lint.EcjParser ( this , project ) ; }
Source:
public static double ReturnDouble34 ( ) { long imm = 34L ; return ( ( double ) ( imm ) ) ; }

Target:
public static int ReturnIntMax ( ) { float imm = Main.$inline$float ( 1.0E34F ) ; return ( ( int ) ( imm ) ) ; }
Source:
public static native long EVP_VerifyInit ( java.lang.String algorithm ) ;

Target:
public static native int EVP_VerifyInit ( org.conscrypt.OpenSSLDigestContext ctx , long evpRef ) ;
Source:
public void onActivationStateChanged ( android.telecom.PhoneAccountHandle phoneAccountHandle , boolean isActivated ) { if ( this . phoneAccountHandle.equals ( phoneAccountHandle ) ) { updateChangePin ( ) ; } }

Target:
public void onActivationStateChanged ( android.telecom.PhoneAccountHandle phoneAccountHandle , boolean isActivated ) { if ( this . phoneAccountHandle.equals ( phoneAccountHandle ) ) { updateChangePin ( ) ; updateDonateVoicemail ( ) ; } }
Source:
public void test_withDayOfYear_invalid ( ) { TEST_2007_07_15.withDayOfYear ( 366 ) ; }

Target:
public void test_withDayOfYear_illegal ( ) { tck.java.time.TCKLocalDate.TEST_2007_07_15.withDayOfYear ( 367 ) ; }
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 testE2 ( ) { loadAndRun ( "dot.junit.opcodes.aput_wide.d.T_aput_wide_1" , java.lang.NullPointerException.class , null , 2 , 100000000000L ) ; }
Source:
public boolean isCategory2 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return true ; } } return false ; }

Target:
public boolean isCategory2 ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_CLOSURE : case com.android.jack.dx.rop.type.Type.BT_LONG : case com.android.jack.dx.rop.type.Type.BT_DOUBLE : { return true ; } } return false ; }
Source:
public com.android.jack.test.toolchain.JackApiV01Toolchain build ( ) { return new com.android.jack.test.toolchain.JackApiV01IncrementalToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) ) ; }

Target:
public com.android.jack.test.toolchain.JackApiV02IncrementalToolchain build ( ) { return new com.android.jack.test.toolchain.JackApiV02IncrementalToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) ) ; }
Source:
public static void e ( java.lang.String prefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.ERROR ) { android.util.Log.e ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( prefix , format , args ) , tr ) ; } }

Target:
public static void wtf ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Slog.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) , tr ) ; }
Source:
public static void computeNativeDistance ( android.renderscript.cts.TestNativeDistance.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( new float [ ] { args.inLhs } , new float [ ] { args.inRhs } , t ) ; }

Target:
public static void computeNativeDistance ( android.renderscript.cts.TestNativeDistance.ArgumentsFloatFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , android.renderscript.cts.CoreMathVerifier.NATIVE_PRECISION , true ) ; args.out = android.renderscript.cts.CoreMathVerifier.distance ( new float [ ] { args.inLeftVector } , new float [ ] { args.inRightVector } , t ) ; }
Source:
public void threadAssertEquals ( java.lang.Object x , java.lang.Object y ) { try { assertEquals ( x , y ) ; } catch ( jsr166.AssertionFailedError t ) { threadRecordFailure ( t ) ; throw t ; } catch ( java.lang.Throwable t ) { threadUnexpectedException ( t ) ; } }

Target:
public void threadAssertEquals ( java.lang.Object x , java.lang.Object y ) { try { assertEquals ( x , y ) ; } catch ( junit.framework.AssertionFailedError fail ) { threadRecordFailure ( fail ) ; throw fail ; } catch ( java.lang.Throwable fail ) { threadUnexpectedException ( fail ) ; } }
Source:
public com.android.jack.cfg.ControlFlowGraph getCfg ( ) { try ( com.android.sched.util.log.Event optEvent = tracer.open ( JackEventType.REMOVE_DEAD_CODE ) ) { removeUnaccessibleNode ( blocks , entryBlock , exitBlock , basicBlockId ) ; } return new com.android.jack.cfg.ControlFlowGraph ( method , basicBlockId , entryBlock , exitBlock , blocks ) ; }

Target:
public com.android.jack.cfg.ControlFlowGraph getCfg ( ) { try ( com.android.sched.util.log.Event optEvent = tracer.open ( JackEventType.REMOVE_DEAD_CODE ) ) { com.android.jack.cfg.CfgBuilder.removeUnaccessibleNode ( blocks , entryBlock , exitBlock , basicBlockId ) ; } return new com.android.jack.cfg.ControlFlowGraph ( method , basicBlockId , entryBlock , exitBlock , blocks ) ; }
Source:
public abstract java.lang.String getHost ( ) ;

Target:
public abstract java.lang.String getEncodedUserInfo ( ) ;
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JIfStatement x ) { ( countIf ) ++ ; return super . visit ( x ) ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JConditionalBlockElement x ) { ( countIf ) ++ ; return super . visit ( x ) ; }
Source:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { if ( ( mCustomIsUpdateFor ) != null ) { return mCustomIsUpdateFor.isUpdateFor ( this , existingDesc ) ; } else { return isGenericUpdateFor ( existingDesc ) ; } }

Target:
public boolean isUpdateFor ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IPkgDesc existingDesc ) { return isUpdateFor ( existingDesc , PreviewComparison.COMPARE_NUMBER ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { newOrEdit ( true ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { userNewOrEdit ( true ) ; }
Source:
public void test_EmptyMap_computeIfPresent ( ) { try { java.util.Collections.emptyMap ( ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }

Target:
public void test_SingletonMap_computeIfPresent ( ) { try { java.util.Collections.singletonMap ( 1 , 11.0 ) . computeIfPresent ( 1 , ( k , v ) -> 5.0 ) ; fail ( ) ; } catch ( java.lang.UnsupportedOperationException expected ) { } }
Source:
public boolean getRunProguard ( ) { return false ; }

Target:
public boolean getRunProguard ( ) { return getVariantConfiguration ( ) . getBuildType ( ) . isRunProguard ( ) ; }
Source:
com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return changeVFS ( vfs.getVDir ( parent , name ) ) ; }

Target:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile createVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.CannotCreateFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , parent.getWrappedDir ( ) . createVFile ( name ) ) ; }
Source:
public android.content.SyncStorageEngine.AuthorityInfo getOrCreateAuthority ( android.accounts.Account account , java.lang.String authority ) { synchronized ( mAuthorities ) { return getOrCreateAuthorityLocked ( account , authority , ( - 1 ) , true ) ; } }

Target:
public void removeAuthority ( android.accounts.Account account , int userId , java.lang.String authority ) { synchronized ( mAuthorities ) { removeAuthorityLocked ( account , userId , authority , true ) ; } }
Source:
public java.lang.String getPropertyName ( ) { return com.android.jack.backend.dex.DexProperties.KEY_DEX ; }

Target:
public java.lang.String toString ( ) { return "java pre-processor" ; }
Source:
java.lang.String getJarName ( ) ;

Target:
java.io.File getJar ( ) ;
Source:
private boolean isWrongOkPosition ( org.w3c.dom.Element element ) { return isWrongPosition ( element , false ) ; }

Target:
private boolean isWrongCancelPosition ( org.w3c.dom.Element element ) { return com.android.tools.lint.checks.ButtonDetector.isWrongPosition ( element , true ) ; }
Source:
public void onClick ( android.view.View v ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.maybeShowTosMessage" , "decline clicked" ) ; android.telecom.PhoneAccountHandle handle = new android.telecom.PhoneAccountHandle ( android.content.ComponentName.unflattenFromString ( status.phoneAccountComponentName ) , status.phoneAccountId ) ; logTosDeclinedImpression ( ) ; showDeclineTosDialog ( handle ) ; }

Target:
public void onClick ( android.view.View v ) { com.android.dialer.common.LogUtil.i ( "VoicemailTosMessageCreator.getTosMessage" , "decline clicked" ) ; android.telecom.PhoneAccountHandle handle = new android.telecom.PhoneAccountHandle ( android.content.ComponentName.unflattenFromString ( status.phoneAccountComponentName ) , status.phoneAccountId ) ; logTosDeclinedImpression ( ) ; showDeclineTosDialog ( handle ) ; }
Source:
public void waitForDevice ( ) { new vogar.commands.Command ( log , "adb" , "wait-for-device" ) . execute ( ) ; }

Target:
public void waitForDevice ( ) { new vogar.commands.Command.Builder ( log ) . args ( "adb" , "wait-for-device" ) . permitNonZeroExitStatus ( true ) . execute ( ) ; }
Source:
private static void logUnexpectedGsmMethodCall ( java.lang.String name ) { android.util.Log.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , ( ( ( "Error! " + name ) + "() in PhoneBase should not be " ) + "called, GSMPhone inactive." ) ) ; }

Target:
private static void logUnexpectedGsmMethodCall ( java.lang.String name ) { android.telephony.Rlog.e ( com.android.internal.telephony.PhoneBase.LOG_TAG , ( ( ( "Error! " + name ) + "() in PhoneBase should not be " ) + "called, GSMPhone inactive." ) ) ; }
Source:
public com.android.server.ConnectivityServiceTest.WrappedAvoidBadWifiTracker getAvoidBadWifiTracker ( ) { return ( ( com.android.server.ConnectivityServiceTest.WrappedAvoidBadWifiTracker ) ( mAvoidBadWifiTracker ) ) ; }

Target:
public com.android.server.ConnectivityServiceTest.WrappedMultinetworkPolicyTracker getMultinetworkPolicyTracker ( ) { return ( ( com.android.server.ConnectivityServiceTest.WrappedMultinetworkPolicyTracker ) ( mMultinetworkPolicyTracker ) ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( "HelloExtension{type: " + ( name ) ) + ", data: " ) + ( libcore.util.HexEncoding.encode ( data ) ) ) + "}" ; }

Target:
public java.lang.String toString ( ) { return ( ( ( "HelloExtension{type: " + ( name ) ) + ", data: " ) + ( new java.math.BigInteger ( 1 , data ) . toString ( 16 ) ) ) + "}" ; }
Source:
public java.lang.String normalizeNumber ( com.android.dialer.DialerPhoneNumber number ) { com.android.dialer.common.Assert.isWorkerThread ( ) ; return formatToValidE164 ( number ) . or ( android.telephony.PhoneNumberUtils.normalizeNumber ( number.getRawInput ( ) . getNumber ( ) ) ) ; }

Target:
public java.lang.String normalizeNumber ( com.android.dialer.DialerPhoneNumber number ) { return number.getNormalizedNumber ( ) ; }
Source:
public java.lang.Void call ( ) throws java.lang.Exception { server.startHandshake ( ) ; return null ; }

Target:
public java.lang.Void call ( ) throws java.lang.Exception { try { server.startHandshake ( ) ; } catch ( javax.net.ssl.SSLHandshakeException expected ) { } return null ; }
Source:
com.android.server.telecom.ConnectionServiceFocusManager getConnectionServiceFocusManager ( ) { return mCallsManager.getConnectionServiceFocusManager ( ) ; }

Target:
public void sendCallEvent ( java.lang.String event , android.os.Bundle extras ) { sendCallEvent ( event , 0 , extras ) ; }
Source:
public void onAudioRouteSelected ( int audioRoute ) { com.android.incallui.call.TelecomAdapter.getInstance ( ) . setAudioRoute ( audioRoute ) ; }

Target:
public void onAudioRouteSelected ( int audioRoute ) { com.android.incallui.call.TelecomAdapter.getInstance ( ) . setAudioRoute ( audioRoute ) ; finish ( ) ; }
Source:
protected com.intellij.updater.ValidationResult doValidate ( java.io.File toFile ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } java.lang.String message = android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( mSensor , "Flush" ) ; junit.framework.Assert.assertTrue ( message , mSensorManager.flush ( mTestSensorEventListener ) ) ; }

Target:
public void startFlush ( ) { if ( ( mTestSensorEventListener ) == null ) { return ; } java.lang.String message = android.hardware.cts.helpers.SensorCtsHelper.formatAssertionMessage ( mSensor , "Flush" , mRateUs , mMaxBatchReportLatencyUs ) ; junit.framework.Assert.assertTrue ( message , mSensorManager.flush ( mTestSensorEventListener ) ) ; }
Source:
public void onPause ( ) { mSettingsPackageMonitor.unregister ( ) ; super . onPause ( ) ; }

Target:
public void onPause ( ) { mSettingsPackageMonitor.unregister ( ) ; com.android.internal.view.RotationPolicy.unregisterRotationPolicyListener ( getActivity ( ) , mRotationPolicyListener ) ; super . onPause ( ) ; }
Source:
public void uncheckAllItems ( ) { for ( com.android.sdkuilib.internal.repository.core.PkgItem item : getAllPkgItems ( true , true ) ) { item.setChecked ( false ) ; } }

Target:
public void uncheckAllItems ( ) { for ( com.android.sdklib.internal.repository.updater.PkgItem item : getAllPkgItems ( true , true ) ) { item.setChecked ( false ) ; } }
Source:
public void onPageSelected ( int position ) { getTabAt ( position ) . select ( ) ; }

Target:
public void onPageSelected ( int position ) { if ( ( mScrollState ) == ( android.support.v4.view.ViewPager.SCROLL_STATE_IDLE ) ) { getTabAt ( position ) . select ( ) ; } }
Source:
android.content.Context getContext ( ) { android.content.Context context = mock ( android.content.Context.class ) ; android.content.res.Resources resource = mock ( android.content.res.Resources.class ) ; when ( context.getResources ( ) ) . thenReturn ( mResource ) ; return context ; }

Target:
private void setupContext ( ) { when ( mContext.getResources ( ) ) . thenReturn ( mResource ) ; when ( mContext.getContentResolver ( ) ) . thenReturn ( mContentResolver ) ; }
Source:
public java.lang.String getMessage ( ) { return ( ( location.getDescription ( ) ) + " is an invalid library: " ) + ( getCause ( ) . getMessage ( ) ) ; }

Target:
public java.lang.String getMessage ( ) { return ( ( "I/O error when accessing " + ( location.getDescription ( ) ) ) + ": " ) + ( getCause ( ) . getMessage ( ) ) ; }
Source:
public void test_truncatedTo_null ( ) { TEST_12_30_40_987654321.truncatedTo ( null ) ; }

Target:
public void test_truncatedTo_null ( ) { tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.truncatedTo ( null ) ; }
Source:
public abstract void saveState ( org.eclipse.core.resources.IProject project ) ;

Target:
public final void prepareFullBuild ( org.eclipse.core.resources.IProject project ) { mDeltaVisitor.reset ( ) ; buildSourceFileList ( ) ; mToCompile.addAll ( mFiles.keySet ( ) ) ; }
Source:
public void partBroughtToTop ( org.eclipse.ui.IWorkbenchPart part ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart gep = getGraphicalEditorPart ( part ) ; if ( gep != null ) { updateMenuActions ( gep ) ; } }

Target:
public void dragSetData ( org.eclipse.swt.dnd.DragSourceEvent event ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl ( ) ; if ( canvas != null ) { canvas.getDragSourceListener ( ) . dragSetData ( event ) ; } }
Source:
public void notifyVoiceNetworkStateChanged ( ) { mVoiceNetworkStateRegistrants.notifyRegistrants ( ) ; }

Target:
public void setUnsolResponseFilter ( int filter , android.os.Message result ) { com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . setUnsolResponseFilter ( filter , result ) ; resultSuccess ( result , null ) ; }
Source:
public boolean grant ( java.lang.String key , int uid ) { return grant ( android.security.KeyStore.getBytes ( key ) , java.lang.Integer.toString ( uid ) . getBytes ( ) ) ; }

Target:
public boolean grant ( java.lang.String key , int uid ) { return grant ( android.security.KeyStore.getKeyBytes ( key ) , android.security.KeyStore.getUidBytes ( uid ) ) ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.tools.lint.detector.api.LintConstants.TAG_STYLE , com.android.tools.lint.detector.api.LintConstants.TAG_RESOURCES , com.android.tools.lint.detector.api.LintConstants.TAG_ARRAY , com.android.tools.lint.detector.api.LintConstants.TAG_STRING_ARRAY ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.tools.lint.detector.api.LintConstants.TAG_STYLE , com.android.tools.lint.detector.api.LintConstants.TAG_RESOURCES , com.android.tools.lint.detector.api.LintConstants.TAG_ARRAY , com.android.tools.lint.detector.api.LintConstants.TAG_STRING_ARRAY , com.android.tools.lint.detector.api.LintConstants.TAG_PLURALS ) ; }
Source:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = 7 ; b = 3 ; c = a * b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 7 ) ; b = Main.$inline$int ( 3 ) ; c = a * b ; return c ; }
Source:
public void getOutgoingCallerIdDisplay ( android.os.Message onComplete ) { android.util.Log.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "getOutgoingCallerIdDisplay: not possible in CDMA" ) ; }

Target:
public void explicitCallTransfer ( ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.CDMAPhone.LOG_TAG , "explicitCallTransfer: not possible in CDMA" ) ; }
Source:
public void setup ( ) { put ( "Signature.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; put ( "Signature.FOO SupportedKeyClasses" , ( ( getClass ( ) . getName ( ) ) + ".UninitializedMockKey" ) ) ; }

Target:
public void setup ( ) { put ( "Fake.FOO" , libcore.java.security.ProviderTest.MockSpi.class . getName ( ) ) ; }
Source:
public static com.google.common.io.OutputSupplier < java.io.OutputStreamWriter > newWriterSupplier ( java.io.File file , java.nio.charset.Charset charset ) { return com.google.common.io.Files.newWriterSupplier ( file , charset , false ) ; }

Target:
public static java.lang.String toString ( java.io.File file , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.Files.asCharSource ( file , charset ) . read ( ) ; }
Source:
private java.io.File getTimeZoneDataApkFile ( java.lang.String testId ) throws java.lang.Exception { java.lang.String resourceName = getTimeZoneDataApkResourceName ( testId ) ; return extractResourceToFile ( resourceName ) ; }

Target:
private java.io.File getTimeZoneDataApkFile ( java.lang.String testId ) throws java.lang.Exception { com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper buildHelper = new com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper ( mBuildInfo ) ; java.lang.String fileName = getTimeZoneDataApkName ( testId ) ; return new java.io.File ( buildHelper.getTestsDir ( ) , fileName ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { com.android.sdklib.devices.Device currentDevice = getSelectedDevice ( ) ; if ( currentDevice != null ) { fillDeviceProperties ( currentDevice ) ; } toggleCameras ( ) ; validatePage ( ) ; }

Target:
private void onDeviceSelection ( ) { com.android.sdklib.devices.Device currentDevice = getSelectedDevice ( ) ; if ( currentDevice != null ) { fillDeviceProperties ( currentDevice ) ; } toggleCameras ( ) ; validatePage ( ) ; }
Source:
private void toggleShuffle ( ) { com.android.music.utils.LogHelper.d ( com.android.music.MediaPlaybackActivity.TAG , "Shuffle not implemented yet" ) ; com.android.music.Toast.makeText ( this , "Shuffle not implemented yet" , Toast.LENGTH_SHORT ) . show ( ) ; }

Target:
private void toggleShuffle ( ) { com.android.music.utils.LogHelper.d ( com.android.music.MediaPlaybackActivity.TAG , "Shuffle not implemented yet" ) ; android.widget.Toast.makeText ( this , "Shuffle not implemented yet" , Toast.LENGTH_SHORT ) . show ( ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( ( "ScoredNetwork[key=" + ( networkKey ) ) + ",score=" ) + ( rssiCurve ) ) + ",meteredHint=" ) + ( meteredHint ) ) + "]" ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( networkKey , rssiCurve , meteredHint , attributes ) ; }
Source:
public void getCellBroadcastSmsConfig ( android.os.Message response ) { android.util.Log.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }

Target:
public void activateCellBroadcastSms ( int activate , android.os.Message response ) { android.telephony.Rlog.e ( com.android.internal.telephony.sip.SipPhoneBase.LOG_TAG , "Error! This functionality is not implemented for SIP." ) ; }
Source:
static void setTestInstance ( com.android.contacts.common.preference.ContactsPreferences testInstance ) { com.android.incallui.ContactsPreferencesFactory.sUseTestInstance = true ; com.android.incallui.ContactsPreferencesFactory.sTestInstance = testInstance ; }

Target:
static void setTestInstance ( com.android.contacts.common.preference.ContactsPreferences testInstance ) { com.android.incallui.ContactsPreferencesFactory.useTestInstance = true ; com.android.incallui.ContactsPreferencesFactory.testInstance = testInstance ; }
Source:
private com.android.server.wifi.hotspot2.pps.DomainMatcher.Label getSubLabel ( java.lang.String labelString ) { return mSubDomains.get ( labelString ) ; }

Target:
private com.android.server.wifi.hotspot2.DomainMatcher.Label getSubLabel ( java.lang.String labelString ) { return mSubDomains.get ( labelString ) ; }
Source:
public com.google.common.collect.UnmodifiableIterator < com.google.common.collect.Multiset.Entry < E > > iterator ( ) { return asList ( ) . iterator ( ) ; }

Target:
com.google.common.collect.Multiset.Entry < E > getEntry ( int index ) { return forward.entrySet ( ) . asList ( ) . reverse ( ) . get ( index ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBuildId ( ) { bitField0_ = ( bitField0_ ) & ( ~ 16 ) ; buildId_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBuildId ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearTarget ( ) { bitField0_ = ( bitField0_ ) & ( ~ 16 ) ; target_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getTarget ( ) ; onChanged ( ) ; return this ; }
Source:
public synchronized void setPluginState ( android.webkit.WebSettings.PluginState state ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setPluginState=" + state ) ) ; mAwSettings.setPluginState ( state ) ; }

Target:
public synchronized void setPluginState ( android.webkit.WebSettings.PluginState state ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setPluginState=" + state ) ) ; mAwSettings.setPluginState ( state ) ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( uid , set , tag , metered , roaming , iface ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( uid , set , tag , metered , roaming , defaultNetwork , iface ) ; }
Source:
public void onComplete ( int resultCode , byte [ ] response ) { callback.onComplete ( resultCode , response ) ; }

Target:
public void onComplete ( int resultCode , byte [ ] response ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , response ) ) ; }
Source:
protected abstract void collectDeviceInfo ( ) ;

Target:
protected abstract void collectDeviceInfo ( com.android.compatibility.common.util.InfoStore store ) throws java.lang.Exception ;
Source:
public java.io.File getJarJarRuleFile ( ) { return productFlavor.getJarJarRuleFile ( ) ; }

Target:
public java.util.List < java.io.File > getJarJarRuleFiles ( ) { return productFlavor.getJarJarRuleFiles ( ) ; }
Source:
public com.android.build.gradle.api.BaseVariant createVariantApi ( @ com.android.annotations.NonNull com.android.build.gradle.internal.variant.BaseVariantData variantData ) { return basePlugin.getInstantiator ( ) . newInstance ( com.android.build.gradle.internal.api.ApplicationVariantImpl.class , variantData , basePlugin ) ; }

Target:
public com.android.build.gradle.api.BaseVariant createVariantApi ( @ com.android.annotations.NonNull com.android.build.gradle.internal.variant.BaseVariantData < ? extends com.android.build.gradle.internal.variant.BaseVariantOutputData > variantData ) { com.android.build.gradle.internal.api.ApplicationVariantImpl variant = basePlugin.getInstantiator ( ) . newInstance ( com.android.build.gradle.internal.api.ApplicationVariantImpl.class , variantData , basePlugin ) ; com.android.build.gradle.internal.variant.ApplicationVariantFactory.createApkOutputApiObjects ( basePlugin , variantData , variant ) ; return variant ; }
Source:
public static void computeHalfSqrt ( android.renderscript.cts.TestHalfSqrt.ArgumentsFloatFloat args ) { args.ulf = 128000 ; args.ulfRelaxed = 128000 ; args.out = ( ( float ) ( java.lang.StrictMath.sqrt ( args.inV ) ) ) ; }

Target:
public static void computeHalfSqrt ( android.renderscript.cts.TestHalfSqrt.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.sqrt ( args.inV ) , android.renderscript.cts.CoreMathVerifier.HALF_PRECISION , 80000 ) ; }