auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
void addTo ( @ com.android.annotations.NonNull org.w3c.dom.Document document , @ com.android.annotations.NonNull java.lang.String value ) ;

Target:
void addTo ( @ com.android.annotations.NonNull com.android.manifmerger.ActionRecorder actionRecorder , @ com.android.annotations.NonNull com.android.manifmerger.XmlDocument document , @ com.android.annotations.NonNull java.lang.String value ) ;
Source:
public static void wtf ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { java.lang.String msg = android.telecom.Log.buildMessage ( prefix , format , args ) ; android.util.Log.wtf ( android.telecom.Log.TAG , msg , new java.lang.IllegalStateException ( msg ) ) ; }

Target:
public static void wtf ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { java.lang.String msg = android.telecom.Log.buildMessage ( prefix , format , args ) ; android.util.Slog.wtf ( android.telecom.Log.TAG , msg , new java.lang.IllegalStateException ( msg ) ) ; }
Source:
private org.gradle.tooling.ProjectConnection getProjectConnection ( ) { org.gradle.tooling.GradleConnector connector = org.gradle.tooling.GradleConnector.newConnector ( ) ; ( ( org.gradle.tooling.internal.consumer.DefaultGradleConnector ) ( connector ) ) . daemonMaxIdleTime ( 10 , java.util.concurrent.TimeUnit.SECONDS ) ; return connector.useGradleVersion ( com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) . forProjectDirectory ( testDir ) . connect ( ) ; }

Target:
private org.gradle.tooling.ProjectConnection getProjectConnection ( ) { org.gradle.tooling.GradleConnector connector = org.gradle.tooling.GradleConnector.newConnector ( ) ; ( ( org.gradle.tooling.internal.consumer.DefaultGradleConnector ) ( connector ) ) . daemonMaxIdleTime ( 10 , java.util.concurrent.TimeUnit.SECONDS ) ; return connector.useGradleVersion ( targetGradleVersion ) . forProjectDirectory ( testDir ) . connect ( ) ; }
Source:
protected java.lang.String getWizardActionDescription ( ) { return "Import Sample" ; }

Target:
protected java.lang.String getWizardActionDescription ( ) { return com.google.gct.idea.util.GctBundle.message ( "sample.import.title" ) ; }
Source:
public static native void EVP_VerifyUpdate ( int ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native int EVP_VerifyFinal ( long ctx , byte [ ] signature , int offset , int length , long key ) ;
Source:
public java.lang.String getMessage ( ) { return getCause ( ) . getMessage ( ) ; }

Target:
public java.lang.String getMessage ( ) { java.lang.Throwable cause = getCause ( ) ; if ( cause != null ) { return cause.getMessage ( ) ; } else { return null ; } }
Source:
public int availableProcessors ( ) { return ( ( int ) ( Libcore.os.sysconf ( libcore.io.OsConstants._SC_NPROCESSORS_ONLN ) ) ) ; }

Target:
public int availableProcessors ( ) { return ( ( int ) ( Libcore.os.sysconf ( libcore.io.OsConstants._SC_NPROCESSORS_CONF ) ) ) ; }
Source:
public void visitLdcInsn ( java.lang.Object cst ) { printer.visitLdcInsn ( cst ) ; printTypeOfOperandStackTop ( ) ; super . visitLdcInsn ( cst ) ; }

Target:
public void visitLdcInsn ( java.lang.Object cst ) { printer.visitLdcInsn ( cst ) ; printTypeOfOperandStack ( ) ; super . visitLdcInsn ( cst ) ; }
Source:
protected void onStop ( ) { mSensorManager.unregisterListener ( mListener ) ; super . onStop ( ) ; }

Target:
protected void onStop ( ) { mSensorManager.unregisterListener ( mListener ) ; super . onStop ( ) ; if ( android.util.Config.LOGD ) android.util.Log.d ( TAG , ( "stop " + ( mSensorManager ) ) ) ; }
Source:
public static void computeTan ( android.renderscript.cts.TestTan.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.tan ( args.in ) ) ) ; }

Target:
public static void computeErf ( android.renderscript.cts.TestErf.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.erf ( args.in ) , 16 , 128 ) ; }
Source:
public java.lang.String nextTo ( java.lang.String excluded ) { if ( excluded == null ) { throw new java.lang.NullPointerException ( ) ; } return nextToInternal ( excluded ) . trim ( ) ; }

Target:
public java.lang.String nextTo ( java.lang.String excluded ) { if ( excluded == null ) { throw new java.lang.NullPointerException ( "excluded == null" ) ; } return nextToInternal ( excluded ) . trim ( ) ; }
Source:
private static com.android.jack.ir.ast.JMethodCall makeSuperCall ( @ javax.annotation.Nonnull com.android.jack.ir.sourceinfo.SourceInfo info , @ javax.annotation.CheckForNull com.android.jack.ir.ast.JExpression instance , @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface receiverType , @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod targetMethod ) { com.android.jack.ir.ast.JMethodCall call = new com.android.jack.ir.ast.JMethodCall ( info , instance , receiverType , targetMethod.getMethodIdWide ( ) , targetMethod.getType ( ) , false ) ; return call ; }

Target:
private static com.android.jack.ir.ast.JMethodCall makeSuperCall ( @ javax.annotation.Nonnull com.android.jack.ir.sourceinfo.SourceInfo info , @ javax.annotation.CheckForNull com.android.jack.ir.ast.JExpression instance , @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface receiverType , @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod targetMethod ) { com.android.jack.ir.ast.JMethodCall call = new com.android.jack.ir.ast.JMethodCall ( info , instance , receiverType , targetMethod.getMethodId ( ) , false ) ; return call ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( int sessionId , com.android.ims.ImsCallProfile profile , com.android.ims.internal.IImsCallSessionListener listener ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . createCallSession ( mSlotId , mSupportedFeature , sessionId , profile , listener ) ; } }

Target:
public com.android.ims.internal.IImsUt getUtInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getUtInterface ( ) ; } }
Source:
public java.io.File getOutput ( ) { return null ; }

Target:
public java.io.File getOutput ( ) { return new java.io.File ( "" ) ; }
Source:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig ) ;

Target:
native void rsnScriptSetVarD ( long con , long id , int slot , double val , boolean mUseInc ) ;
Source:
public void testJustInfo ( ) { com.android.manifmerger.MergingReport mergingReport = new com.android.manifmerger.MergingReport.Builder ( mLoggerMock ) . addInfo ( "merging info" ) . build ( ) ; assertEquals ( MergingReport.Result.SUCCESS , mergingReport.getResult ( ) ) ; }

Target:
public void testJustInfo ( ) { com.android.manifmerger.MergingReport mergingReport = new com.android.manifmerger.MergingReport.Builder ( mLoggerMock ) . addMessage ( mSourceLocation , 0 , 0 , Severity.INFO , "merging info" ) . build ( ) ; assertEquals ( MergingReport.Result.SUCCESS , mergingReport.getResult ( ) ) ; }
Source:
public android.os.Bundle getAuthToken ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public android.os.Bundle getAuthToken ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static native int SSL_CTX_set_alpn_protos ( long sslCtxPointer , byte [ ] protos ) ;

Target:
public static native int SSL_set_alpn_protos ( long sslPointer , byte [ ] protos ) ;
Source:
synchronized void nScriptReduce ( long id , int slot , long ain , long aout , int [ ] limits ) { validate ( ) ; rsnScriptReduce ( mContext , id , slot , ain , aout , limits ) ; }

Target:
synchronized void nScriptReduce ( long id , int slot , long [ ] ains , long aout , int [ ] limits ) { validate ( ) ; rsnScriptReduce ( mContext , id , slot , ains , aout , limits ) ; }
Source:
void setCellInfoListRate ( ) { setCellInfoListRate ( java.lang.Integer.MAX_VALUE , null ) ; }

Target:
void setCellInfoListRate ( ) { setCellInfoListRate ( java.lang.Integer.MAX_VALUE , null , mRILDefaultWorkSource ) ; }
Source:
public static native byte [ ] EC_GROUP_get_order ( int groupCtx ) ;

Target:
public static native void EC_GROUP_set_point_conversion_form ( long groupRef , int form ) ;
Source:
public void test_U8_1_SCALE20_05_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }

Target:
public void test_U8_1_SCALE20_05_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; checkError ( ) ; }
Source:
public static void fail ( java.lang.String message ) { java.lang.System.out.println ( ( "fail: " + message ) ) ; java.lang.Thread.dumpStack ( ) ; }

Target:
public static void permuteArguments_boxingCallee ( boolean a , java.lang.Integer b ) { if ( a && ( ( b.intValue ( ) ) == 42 ) ) { return ; } java.lang.System.out.println ( ( ( ( "Unexpected arguments: " + a ) + ", " ) + b ) ) ; }
Source:
public void test_U8_3_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_3_SCALE05_20_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 3 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public com.google.mockwebserver.MockResponse setChunkedBody ( java.lang.String body , int maxChunkSize ) throws java.io.IOException { return setChunkedBody ( body.getBytes ( com.google.mockwebserver.MockWebServer.ASCII ) , maxChunkSize ) ; }

Target:
public com.google.mockwebserver.MockResponse setHeader ( java.lang.String name , java.lang.Object value ) { removeHeader ( name ) ; return addHeader ( name , value ) ; }
Source:
public java.lang.Boolean call ( ) { return onTouchEvent ( ev ) ; }

Target:
public java.lang.Boolean call ( ) { return onHoverEvent ( event ) ; }
Source:
public void getCellInfoList ( android.os.Message result ) { }

Target:
public void setUnsolResponseFilter ( int filter , android.os.Message result ) { }
Source:
public void run ( ) { asyncRefresh ( ) ; }

Target:
public void run ( ) { if ( ( mFolders.isDisposed ( ) ) == false ) { emptyTables ( ) ; } }
Source:
public java.lang.String formatNationalNumberWithPreferredCarrierCode ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , java.lang.String fallbackCarrierCode ) { return formatNationalNumberWithCarrierCode ( number , ( ( number.getPreferredDomesticCarrierCode ( ) . length ( ) ) > 0 ? number.getPreferredDomesticCarrierCode ( ) : fallbackCarrierCode ) ) ; }

Target:
public java.lang.String formatNationalNumberWithPreferredCarrierCode ( com.google.i18n.phonenumbers.Phonenumber.PhoneNumber number , java.lang.CharSequence fallbackCarrierCode ) { return formatNationalNumberWithCarrierCode ( number , ( ( number.getPreferredDomesticCarrierCode ( ) . length ( ) ) > 0 ? number.getPreferredDomesticCarrierCode ( ) : fallbackCarrierCode ) ) ; }
Source:
public static com.android.ahat.heapdump.Value getBaseline ( com.android.ahat.heapdump.Value value ) { if ( ( value == null ) || ( ! ( value.isAhatInstance ( ) ) ) ) { return value ; } return new com.android.ahat.heapdump.Value ( value.asAhatInstance ( ) . getBaseline ( ) ) ; }

Target:
public boolean equals ( java.lang.Object other ) { if ( other instanceof com.android.ahat.heapdump.Value.LongValue ) { com.android.ahat.heapdump.Value.LongValue value = ( ( com.android.ahat.heapdump.Value.LongValue ) ( other ) ) ; return ( mLong ) == ( value.mLong ) ; } return false ; }
Source:
private static void assertValidInstructionSet ( java.lang.String instructionSet ) throws com.android.internal.os.InstallerConnection.InstallerException { for ( java.lang.String abi : android.os.Build.SUPPORTED_ABIS ) { if ( dalvik.system.VMRuntime.getInstructionSet ( abi ) . equals ( instructionSet ) ) { return ; } } throw new com.android.internal.os.InstallerConnection.InstallerException ( ( "Invalid instruction set: " + instructionSet ) ) ; }

Target:
private static void assertValidInstructionSet ( java.lang.String instructionSet ) throws com.android.server.pm.Installer.InstallerException { for ( java.lang.String abi : android.os.Build.SUPPORTED_ABIS ) { if ( dalvik.system.VMRuntime.getInstructionSet ( abi ) . equals ( instructionSet ) ) { return ; } } throw new com.android.server.pm.Installer.InstallerException ( ( "Invalid instruction set: " + instructionSet ) ) ; }
Source:
public long getSeen ( ) { long seen = 0 ; for ( android.net.wifi.ScanResult result : mScanResultCache.snapshot ( ) . values ( ) ) { if ( ( result.timestamp ) > seen ) { seen = result.timestamp ; } } return seen ; }

Target:
public int getRssi ( ) { evictOldScanResults ( ) ; int rssi = java.lang.Integer.MIN_VALUE ; for ( android.net.wifi.ScanResult result : mScanResultCache.values ( ) ) { if ( ( result.level ) > rssi ) { rssi = result.level ; } } return rssi ; }
Source:
private char [ ] getTableKeyOffsets ( int offset ) { int length = getChar ( offset ) ; if ( length > 0 ) { return getChars ( ( offset + 2 ) , length ) ; } else { return com.ibm.icu.impl.ICUResourceBundleReader.emptyChars ; } }

Target:
private void setKeyFromKey16 ( int keyOffset , com.ibm.icu.impl.ICUResource.Key key ) { if ( keyOffset < ( localKeyLimit ) ) { key.setBytes ( keyBytes , keyOffset ) ; } else { key.setBytes ( poolBundleReader.keyBytes , ( keyOffset - ( localKeyLimit ) ) ) ; } }
Source:
public java.lang.String getName ( ) { java.lang.reflect.ArtMethod nonProxyMethod = java.lang.Class.findOverriddenMethodIfProxy ( artMethod ) ; return java.lang.reflect.ArtMethod.getMethodName ( nonProxyMethod ) ; }

Target:
public java.lang.String getName ( ) { com.android.dex.Dex dex = declaringClassOfOverriddenMethod.getDex ( ) ; int nameIndex = dex.nameIndexFromMethodIndex ( dexMethodIndex ) ; return declaringClassOfOverriddenMethod.getDexCacheString ( dex , nameIndex ) ; }
Source:
public static int getMaxSendRetryCount ( ) { return android.net.wifi.aware.WifiAwareDiscoveryBaseSession.MAX_SEND_RETRY_COUNT ; }

Target:
public static int getMaxSendRetryCount ( ) { return android.net.wifi.aware.DiscoverySession.MAX_SEND_RETRY_COUNT ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteName ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setSuiteNameBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4096 ; suiteName_ = value ; onChanged ( ) ; return this ; }
Source:
public void copyTo ( float [ ] d ) { validateIsFloat32 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyFrom ( float [ ] d ) { validateIsFloat32 ( ) ; copyFromUnchecked ( d , Element.DataType.FLOAT_32 , d.length ) ; }
Source:
public void run ( ) { setNetworkAvailable ( networkUp ) ; }

Target:
public android.webkit.WebBackForwardList call ( ) { return saveState ( outState ) ; }
Source:
public void setZoom ( int value ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = value ; } } redraw ( ) ; }

Target:
public void zoomChanged ( ) { synchronized ( this ) { if ( ( grid ) != null ) { grid.dispose ( ) ; grid = null ; zoom = model.getZoom ( ) ; } } doRedraw ( ) ; }
Source:
public void setFile ( java.io.File file ) { this . file = file ; }

Target:
public void setFile ( java.io.File file ) { this . file = file ; this . cachedName = null ; }
Source:
static com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType createUninitializedType ( org.objectweb.asm.Label uninitializationLabel ) { return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.create ( com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.UNINITIALIZED_PREFIX , uninitializationLabel ) ; }

Target:
static com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType createUninitialized ( int label ) { return com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.create ( ( ( com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType.UNINITIALIZED_PREFIX ) + label ) ) ; }
Source:
protected com.android.tv.dvr.ui.HalfSizedDialogFragment.OnActionClickListener getOnActionClickListener ( ) { return mOnActionClickListener ; }

Target:
protected com.android.tv.dialog.HalfSizedDialogFragment.OnActionClickListener getOnActionClickListener ( ) { return mOnActionClickListener ; }
Source:
public void shutdown ( ) { synchronized ( mLock ) { mSessions.clear ( ) ; mDiscoverySessions.clear ( ) ; } mService.unregisterReceiver ( mStateChangedReceiver ) ; }

Target:
public void shutdown ( ) { wifiNanDestroyAll ( ) ; mService.unregisterReceiver ( mStateChangedReceiver ) ; }
Source:
void destroyGL ( ) { mEgl.eglDestroyContext ( mEglDisplay , mEglContext ) ; mEgl.eglDestroySurface ( mEglDisplay , mEglSurface ) ; mEglContext = javax.microedition.khronos.egl.EGL10.EGL_NO_CONTEXT ; mEglSurface = javax.microedition.khronos.egl.EGL10.EGL_NO_SURFACE ; }

Target:
void destroyGL ( ) { mEgl.eglMakeCurrent ( mEglDisplay , EGL10.EGL_NO_SURFACE , EGL10.EGL_NO_SURFACE , EGL10.EGL_NO_CONTEXT ) ; mEgl.eglDestroyContext ( mEglDisplay , mEglContext ) ; mEgl.eglDestroySurface ( mEglDisplay , mEglSurface ) ; mEglContext = javax.microedition.khronos.egl.EGL10.EGL_NO_CONTEXT ; mEglSurface = javax.microedition.khronos.egl.EGL10.EGL_NO_SURFACE ; }
Source:
native void rsnScriptSetVarJ ( int con , int id , int slot , long val ) ;

Target:
synchronized void nScriptSetVarI ( long id , int slot , int val ) { validate ( ) ; rsnScriptSetVarI ( mContext , id , slot , val ) ; }
Source:
private void showNoScreenshotsWarning ( com.intellij.openapi.actionSystem.AnActionEvent e ) { com.google.gct.testing.GoogleCloudTestingUtils.showMessage ( e.getData ( PlatformDataKeys.PROJECT ) , "Screenshots are not yet available for this configuration" , MessageType.WARNING , 3 ) ; }

Target:
private void showNoScreenshotsWarning ( com.intellij.openapi.actionSystem.AnActionEvent e ) { com.google.gct.testing.GoogleCloudTestingUtils.showBalloonMessage ( e.getData ( PlatformDataKeys.PROJECT ) , "Screenshots are not yet available for this configuration" , MessageType.WARNING , 3 ) ; }
Source:
private void filter ( ) { mScript.forEach_root ( mInPixelsAllocation , mOutPixelsAllocation ) ; mOutPixelsAllocation.ioSendOutput ( ) ; mRS.finish ( ) ; }

Target:
private void filter ( ) { mScript.forEach_root ( mInPixelsAllocation , mOutPixelsAllocation ) ; mOutPixelsAllocation.ioSend ( ) ; mRS.finish ( ) ; }
Source:
private static java.lang.String getDialogMessage ( com.android.internal.location.GpsNetInitiatedHandler.GpsNiNotification notif ) { return com.android.internal.location.GpsNetInitiatedHandler.getNotifMessage ( notif ) ; }

Target:
private static java.lang.String getDialogMessage ( com.android.internal.location.GpsNetInitiatedHandler.GpsNiNotification notif , android.content.Context context ) { return com.android.internal.location.GpsNetInitiatedHandler.getNotifMessage ( notif , context ) ; }
Source:
private void onCall ( int call ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL ) ; event.valueInt = call ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onCallWaiting ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL_WAITING ) ; event.valueString = number ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void isAvailable_noService_shouldReturnFalse ( ) { com.google.common.truth.Truth.assertThat ( com.android.settings.wfd.WifiDisplaySettings.isAvailable ( mActivity ) ) . isFalse ( ) ; }

Target:
public void isAvailable_nullService_shouldReturnFalse ( ) { com.google.common.truth.Truth.assertThat ( com.android.settings.wfd.WifiDisplaySettings.isAvailable ( mActivity ) ) . isFalse ( ) ; }
Source:
public static native int RSA_public_encrypt ( int flen , byte [ ] from , byte [ ] to , int pkey , int padding ) ;

Target:
public static native int RSA_public_decrypt ( int flen , byte [ ] from , byte [ ] to , long pkey , int padding ) throws java.security.SignatureException , javax.crypto.BadPaddingException ;
Source:
public void testBind_Failure ( ) throws java.lang.Exception { assertNull ( channel1.getLocalAddress ( ) ) ; try { channel1.bind ( localAddr1 ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } }

Target:
public void testBind_Failure ( ) throws java.lang.Exception { assertNull ( channel1.socket ( ) . getLocalSocketAddress ( ) ) ; try { channel1.socket ( ) . bind ( localAddr1 ) ; fail ( ) ; } catch ( java.io.IOException expected ) { } }
Source:
public void getIMSIForAppResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 ) { }

Target:
public void getAllowedCarriersResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean allAllowed , android.hardware.radio.V1_0.CarrierRestrictions carriers ) { responseCarrierIdentifiers ( responseInfo , allAllowed , carriers ) ; }
Source:
public boolean isHidden ( ) { return ( documentationLevel ( ) ) == ( com.google.devtools.common.options.OptionsParser.DocumentationLevel.HIDDEN ) ; }

Target:
public boolean isHidden ( ) { return ( ( documentationLevel ( ) ) == ( com.google.devtools.common.options.OptionsParser.DocumentationLevel.HIDDEN ) ) || ( ( documentationLevel ( ) ) == ( com.google.devtools.common.options.OptionsParser.DocumentationLevel.INTERNAL ) ) ; }
Source:
public java.lang.Object [ ] toArray ( ) { java.lang.Object [ ] elements = getArray ( ) ; return java.util.Arrays.copyOf ( elements , elements.length ) ; }

Target:
public java.lang.Object [ ] toArray ( ) { return elements.clone ( ) ; }
Source:
public boolean hasFile ( java.lang.String name ) { return mFolder.hasFile ( name ) ; }

Target:
public boolean hasFile ( java.lang.String name ) { if ( mNames.containsKey ( name ) ) { return true ; } return mFolder.hasFile ( name ) ; }
Source:
void installPackage ( @ com.android.annotations.NonNull java.io.File apkFile ) throws com.android.builder.testing.api.DeviceException ;

Target:
public abstract void installPackage ( @ com.android.annotations.NonNull java.io.File apkFile , int timeout ) throws com.android.builder.testing.api.DeviceException ;
Source:
private static synchronized java.lang.invoke.MethodHandle setCachedMethodHandle ( java.lang.invoke.MethodHandle [ ] cache , int pos , java.lang.invoke.MethodHandle value ) { java.lang.invoke.MethodHandle prev = cache [ pos ] ; if ( prev != null ) return prev ; return cache [ pos ] = value ; }

Target:
public static float identity ( float val ) { return val ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , int value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , int value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public static com.android.server.pm.PackageManagerException from ( com.android.internal.os.InstallerConnection.InstallerException e ) throws com.android.server.pm.PackageManagerException { throw new com.android.server.pm.PackageManagerException ( android.content.pm.PackageManager.INSTALL_FAILED_INTERNAL_ERROR , e.getMessage ( ) , e.getCause ( ) ) ; }

Target:
public static com.android.server.pm.PackageManagerException from ( com.android.server.pm.Installer.InstallerException e ) throws com.android.server.pm.PackageManagerException { throw new com.android.server.pm.PackageManagerException ( android.content.pm.PackageManager.INSTALL_FAILED_INTERNAL_ERROR , e.getMessage ( ) , e.getCause ( ) ) ; }
Source:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( "publickey.x509[.pem] privatekey.pk8 " + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }

Target:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( ( "[-providerClass <className>] " + "publickey.x509[.pem] privatekey.pk8 " ) + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }
Source:
public void onLost ( android.net.Network network ) { handleLost ( mCallbackType , network ) ; }

Target:
public void onLost ( android.net.Network network ) { handleLost ( mCallbackType , network ) ; recomputeOffloadExemptPrefixes ( ) ; }
Source:
private boolean isWhitelistedPackage ( java.lang.String packageName ) { return ( packageName.startsWith ( "com.android.cts" ) ) || ( packageName.equalsIgnoreCase ( "android.tests.devicesetup" ) ) ; }

Target:
private boolean isWhitelistedPackage ( java.lang.String packageName ) { return ( packageName.startsWith ( "com.android.cts" ) ) || ( android.security.cts.PackageSignatureTest.WHITELISTED_PACKAGES.contains ( packageName ) ) ; }
Source:
protected void checkReportedError ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { if ( issue == ( DuplicateResourceDetector.TYPE_MISMATCH ) ) { assertNotNull ( message , com.android.tools.lint.checks.DuplicateResourceDetector.getExpectedType ( message ) ) ; } }

Target:
protected void checkReportedError ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { if ( issue == ( DuplicateResourceDetector.TYPE_MISMATCH ) ) { assertNotNull ( message , com.android.tools.lint.checks.DuplicateResourceDetector.getExpectedType ( message , com.android.tools.lint.detector.api.TextFormat.TEXT ) ) ; } }
Source:
public void run ( ) { onFocusChanged ( focused , direction , previouslyFocusedRect ) ; }

Target:
public void run ( ) { onWindowFocusChanged ( hasWindowFocus ) ; }
Source:
public void setMiracastMode ( int mode ) { if ( ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { mSupplicantP2pIfaceHal.setMiracastMode ( mode ) ; } else { doBooleanCommand ( ( "DRIVER MIRACAST " + mode ) ) ; } }

Target:
public void setMiracastMode ( int mode ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { mSupplicantP2pIfaceHal.setMiracastMode ( mode ) ; } else { doBooleanCommand ( ( "DRIVER MIRACAST " + mode ) ) ; } }
Source:
public static native byte [ ] [ ] EC_POINT_get_affine_coordinates ( long groupCtx , long pointCtx ) ;

Target:
public static native byte [ ] [ ] EC_POINT_get_affine_coordinates ( org.conscrypt.NativeRef.EC_GROUP groupRef , org.conscrypt.NativeRef.EC_POINT pointRef ) ;
Source:
public void setOperationalMode ( int mode ) { if ( com.android.server.wifi.WifiStateMachine.DBG ) log ( ( "setting operational mode to " + ( java.lang.String.valueOf ( mode ) ) ) ) ; sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_SET_OPERATIONAL_MODE , mode , 0 ) ; }

Target:
public void setOperationalMode ( int mode ) { if ( mVerboseLoggingEnabled ) log ( ( "setting operational mode to " + ( java.lang.String.valueOf ( mode ) ) ) ) ; sendMessage ( com.android.server.wifi.WifiStateMachine.CMD_SET_OPERATIONAL_MODE , mode , 0 ) ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUcharUcharUchar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.max ( ( ( args.inV1 ) & 255 ) , ( ( args.inV2 ) & 255 ) ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsUcharUcharUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.maxU8 ( args.inV1 , args.inV2 ) ; }
Source:
public void test_minusWeeks_overMonths ( ) { java.time.LocalDate t = TEST_2007_07_15.minusWeeks ( 9 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 5 , 13 ) ) ; }

Target:
public void test_minusWeeks_overMonths ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusWeeks ( 9 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 5 , 13 ) ) ; }
Source:
void viewDownloads ( android.net.Uri downloadRecord ) { android.content.Intent intent = new android.content.Intent ( this , com.android.browser.BrowserDownloadPage.class ) ; intent.setData ( downloadRecord ) ; startActivityForResult ( intent , this . DOWNLOAD_PAGE ) ; }

Target:
void viewDownloads ( android.net.Uri downloadRecord ) { android.content.Intent intent = new android.content.Intent ( this , com.android.browser.BrowserDownloadPage.class ) ; intent.setData ( downloadRecord ) ; startActivityForResult ( intent , com.android.browser.BrowserActivity.DOWNLOAD_PAGE ) ; }
Source:
public void onThemeChange ( ) { mConfigComposite.storeState ( ) ; recomputeLayout ( ) ; reloadPalette ( ) ; }

Target:
public void onThemeChange ( ) { mConfigComposite.storeState ( ) ; mResourceResolver = null ; recomputeLayout ( ) ; reloadPalette ( ) ; }
Source:
void createRemainingTasks ( org.gradle.model.collection.CollectionBuilder < org.gradle.api.Task > tasks , com.android.build.gradle.internal.TaskManager taskManager , com.android.build.gradle.model.AndroidComponentSpec spec ) { com.android.build.gradle.internal.VariantManager variantManager = ( spec = DefaultAndroidComponentSpec ) . variantManager ; taskManager.createTopLevelTestTasks ( new com.android.build.gradle.model.TaskCollectionBuilderAdaptor ( tasks ) , ( ! ( variantManager.productFlavors.isEmpty ( ) ) ) ) ; }

Target:
public void execute ( com.android.build.gradle.model.AndroidBinary androidBinary ) { com.android.build.gradle.model.DefaultAndroidBinary binary = ( ( com.android.build.gradle.model.DefaultAndroidBinary ) ( androidBinary ) ) ; variantManager.createTasksForVariantData ( new com.android.build.gradle.model.TaskCollectionBuilderAdaptor ( tasks ) , binary.getVariantData ( ) ) ; }
Source:
void notExecuted ( ) ;

Target:
void setRetry ( boolean isRetry ) ;
Source:
public static java.util.Collection < com.android.tools.perflib.heap.RootObj > getRoots ( com.android.tools.perflib.heap.State state ) { java.util.HashSet < com.android.tools.perflib.heap.RootObj > result = new java.util.HashSet < com.android.tools.perflib.heap.RootObj > ( ) ; for ( com.android.tools.perflib.heap.Heap heap : state.mHeaps.values ( ) ) { result.addAll ( heap.mRoots ) ; } return result ; }

Target:
public static java.util.Collection < com.android.tools.perflib.heap.RootObj > getRoots ( com.android.tools.perflib.heap.Snapshot snapshot ) { java.util.HashSet < com.android.tools.perflib.heap.RootObj > result = new java.util.HashSet < com.android.tools.perflib.heap.RootObj > ( ) ; for ( com.android.tools.perflib.heap.Heap heap : snapshot.mHeaps.values ( ) ) { result.addAll ( heap.mRoots ) ; } return result ; }
Source:
public void compileExt ( ) throws java.lang.Exception { java.io.File out = com.android.jack.TestTools.createTempFile ( "ext" , ".dex" ) ; com.android.jack.TestTools.compileSourceToDex ( new com.android.jack.Options ( ) , com.android.jack.compile.androidtree.ext.ExtCompilationTest.SOURCELIST , com.android.jack.TestTools.getClasspathAsString ( com.android.jack.compile.androidtree.ext.ExtCompilationTest.BOOTCLASSPATH ) , out , false ) ; }

Target:
public void compileExt ( ) throws java.lang.Exception { java.io.File outDexFolder = com.android.jack.TestTools.createTempDir ( "ext" , ".dex" ) ; com.android.jack.TestTools.compileSourceToDex ( new com.android.jack.Options ( ) , com.android.jack.compile.androidtree.ext.ExtCompilationTest.SOURCELIST , com.android.jack.TestTools.getClasspathAsString ( com.android.jack.compile.androidtree.ext.ExtCompilationTest.BOOTCLASSPATH ) , outDexFolder , false ) ; }
Source:
public java.util.Iterator < com.android.jack.ir.ast.cfg.JBasicBlock > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { return com.google.common.collect.Lists.newArrayList ( cfg.getBlocksDepthFirst ( false ) ) . iterator ( ) ; }

Target:
public java.util.Iterator < com.android.jack.ir.ast.cfg.JBasicBlock > adapt ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JControlFlowGraph cfg ) { return cfg.getAllBlocksUnordered ( ) . iterator ( ) ; }
Source:
public boolean verify ( java.lang.String key , byte [ ] data , byte [ ] signature ) { return verify ( android.security.KeyStore.getBytes ( key ) , data , signature ) ; }

Target:
public boolean verify ( java.lang.String key , byte [ ] data , byte [ ] signature ) { return verify ( android.security.KeyStore.getKeyBytes ( key ) , data , signature ) ; }
Source:
public void messageDoubleClicked ( com.android.ddmuilib.logcat.LogCatMessage m ) { onDoubleClick ( m ) ; }

Target:
public void messageDoubleClicked ( com.android.ddmlib.logcat.LogCatMessage m ) { onDoubleClick ( m ) ; }
Source:
public void run ( ) { try { com.android.jack.util.FileUtils.deleteDir ( tmp ) ; } catch ( java.io.IOException e ) { java.lang.System.err.println ( e.getMessage ( ) ) ; } }

Target:
public void run ( ) { try { com.android.sched.util.file.FileUtils.deleteDir ( tmp ) ; } catch ( java.io.IOException e ) { java.lang.System.err.println ( e.getMessage ( ) ) ; } }
Source:
private java.lang.String [ ] getClientList ( int netId ) { java.lang.String p2pClients = mWifiNative.getNetworkVariable ( netId , "p2p_client_list" ) ; if ( p2pClients == null ) { return null ; } return p2pClients.split ( " " ) ; }

Target:
private java.lang.String [ ] getClientList ( int netId ) { java.lang.String p2pClients = mWifiNative.getP2pClientList ( netId ) ; if ( p2pClients == null ) { return null ; } return p2pClients.split ( " " ) ; }
Source:
public java.util.Properties run ( ) throws java.io.IOException { java.util.Properties props = new java.util.Properties ( ) ; try ( java.io.FileInputStream fis = new java.io.FileInputStream ( fname ) ) { props.load ( fis ) ; } return props ; }

Target:
public static java.util.Properties getCalendarProperties ( ) throws java.io.IOException { java.util.Properties calendarProps = new java.util.Properties ( ) ; try ( java.io.InputStream is = java.lang.ClassLoader.getSystemResourceAsStream ( "calendars.properties" ) ) { calendarProps.load ( is ) ; } return calendarProps ; }
Source:
public void setProcessorPath ( @ javax.annotation.Nonnull java.util.List < java.io.File > arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setProcessorPath ( @ javax.annotation.Nonnull java.util.List < java.io.File > processorPath ) { throw new java.lang.AssertionError ( ) ; }
Source:
private void updateDataSet ( java.util.List < com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue > data ) { for ( com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue d : data ) { mDataset.setValue ( d.name , d.value ) ; } }

Target:
public void run ( ) { mLabel.setText ( label ) ; for ( com.android.ddmuilib.SysinfoPanel.BugReportParser.DataValue d : data ) { mDataset.setValue ( d.name , d.value ) ; } }
Source:
public static byte [ ] networkPortionToCalledPartyBCDWithLength ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , true ) ; }

Target:
public static byte [ ] networkPortionToCalledPartyBCD ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , false , android.telephony.PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN ) ; }
Source:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataRoamingEnabled ( enable ) ; }

Target:
public void setDataRoamingEnabled ( boolean enable ) { mDcTracker.setDataRoamingEnabledByUser ( enable ) ; }
Source:
private boolean p2pListen ( ) { return doBooleanCommand ( "P2P_LISTEN" ) ; }

Target:
public boolean p2pFind ( int timeout ) { return mSupplicantP2pIfaceHal.find ( timeout ) ; }
Source:
public static java.lang.String internalPackagePrefix ( java.lang.String internalClassName ) { return internalClassName.substring ( 0 , ( ( internalClassName.lastIndexOf ( ClassConstants.INTERNAL_PACKAGE_SEPARATOR , ( ( internalClassName.length ( ) ) - 2 ) ) ) + 1 ) ) ; }

Target:
public static java.lang.String internalPackagePrefix ( java.lang.String internalClassName ) { return internalClassName.substring ( 0 , ( ( internalClassName.lastIndexOf ( ClassConstants.PACKAGE_SEPARATOR , ( ( internalClassName.length ( ) ) - 2 ) ) ) + 1 ) ) ; }
Source:
public java.lang.String getNamespace ( ) { if ( ( ( mCurrentEvent ) != ( com.android.apksigner.AndroidBinXmlParser.EVENT_START_ELEMENT ) ) && ( ( mCurrentEvent ) != ( com.android.apksigner.AndroidBinXmlParser.EVENT_END_ELEMENT ) ) ) { return null ; } return mCurrentElementNamespace ; }

Target:
public java.lang.String getNamespace ( ) { if ( ( ( mCurrentEvent ) != ( com.android.apksig.apk.AndroidBinXmlParser.EVENT_START_ELEMENT ) ) && ( ( mCurrentEvent ) != ( com.android.apksig.apk.AndroidBinXmlParser.EVENT_END_ELEMENT ) ) ) { return null ; } return mCurrentElementNamespace ; }
Source:
public boolean onKeyDown ( int keyCode , android.view.KeyEvent event ) { switch ( keyCode ) { case android.view.KeyEvent.KEYCODE_BACK : com.android.internal.telephony.cat.CatLog.d ( com.android.stk.StkDialogActivity.LOG_TAG , "onKeyDown - KEYCODE_BACK" ) ; cancelTimeOut ( ) ; sendResponse ( StkAppService.RES_ID_BACKWARD ) ; finish ( ) ; break ; } return false ; }

Target:
public void onCancel ( android.content.DialogInterface dialog ) { com.android.internal.telephony.cat.CatLog.d ( com.android.stk.StkDialogActivity.LOG_TAG , ( "Moving backward!, mSlotId: " + ( mSlotId ) ) ) ; cancelTimeOut ( ) ; sendResponse ( StkAppService.RES_ID_BACKWARD ) ; finish ( ) ; }
Source:
public native char getChar ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public boolean getBoolean ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException { return getBoolean ( object , isAccessible ( ) ) ; }
Source:
public static double signum ( double d ) { return ( d == 0.0 ) || ( sun.misc.FpUtils.isNaN ( d ) ) ? d : sun.misc.FpUtils.copySign ( 1.0 , d ) ; }

Target:
public static double signum ( double d ) { return java.lang.Math.signum ( d ) ; }
Source:
public static java.lang.Integer tryParse ( java.lang.String string ) { return com.google.common.primitives.AndroidInteger.tryParse ( string , 10 ) ; }

Target:
public static java.lang.Integer tryParse ( java.lang.String string ) { return com.google.common.primitives.Ints.tryParse ( string , 10 ) ; }
Source:
public void reportConnectionEventPropagatesSuccessToLastMileLogger ( ) { final boolean verbosityToggle = false ; mWifiDiagnostics.startLogging ( verbosityToggle ) ; mWifiDiagnostics.reportConnectionEvent ( WifiDiagnostics.CONNECTION_EVENT_SUCCEEDED ) ; org.mockito.Mockito.verify ( mLastMileLogger ) . reportConnectionEvent ( WifiDiagnostics.CONNECTION_EVENT_SUCCEEDED ) ; }

Target:
public void reportConnectionEventPropagatesFailureToLastMileLogger ( ) { final boolean verbosityToggle = false ; mWifiDiagnostics.startLogging ( verbosityToggle ) ; mWifiDiagnostics.reportConnectionEvent ( com.android.server.wifi.WifiDiagnosticsTest.FAKE_CONNECTION_ID , WifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.mockito.Mockito.verify ( mLastMileLogger ) . reportConnectionEvent ( com.android.server.wifi.WifiDiagnosticsTest.FAKE_CONNECTION_ID , WifiDiagnostics.CONNECTION_EVENT_FAILED ) ; }
Source:
abstract com.google.common.collect.ImmutableSet < com.google.common.collect.Multiset.Entry < E > > createEntrySet ( ) ;

Target:
private final com.google.common.collect.ImmutableSet < com.google.common.collect.Multiset.Entry < E > > createEntrySet ( ) { return isEmpty ( ) ? com.google.common.collect.ImmutableSet.< com.google.common.collect.Multiset.Entry < E > > of ( ) : new EntrySet ( ) ; }
Source:
private int getPhoneTypeFromProperty ( ) { return getPhoneTypeFromProperty ( android.telephony.TelephonyManager.getDefaultPhone ( ) ) ; }

Target:
private int getPhoneTypeFromProperty ( ) { return getPhoneTypeFromProperty ( getPhoneId ( ) ) ; }
Source:
private android.net.NetworkStats internalGetSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end , @ com.android.server.net.NetworkStatsAccess.Level int accessLevel ) { return mXtStatsCached.getSummary ( template , start , end , accessLevel ) ; }

Target:
public android.net.NetworkStats getDeviceSummaryForNetwork ( android.net.NetworkTemplate template , long start , long end ) { return internalGetSummaryForNetwork ( template , flags , start , end , mAccessLevel , mCallingUid ) ; }
Source:
public static void computeFabs ( android.renderscript.cts.TestFabs.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.abs ( args.in ) ) ) ; }

Target:
public static void computeLgamma ( android.renderscript.cts.TestLgamma.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.lgamma ( args.in ) ) ; }
Source:
public long getInterApnDelay ( boolean failFastEnabled ) { return failFastEnabled ? mFailFastInterApnDelay : mInterApnDelay ; }

Target:
public long getRetryAfterDisconnectDelay ( ) { return mApnRetryAfterDisconnectDelay ; }
Source:
public java.lang.Boolean call ( ) { return zoomIn ( ) ; }

Target:
public void run ( ) { flingScroll ( vx , vy ) ; }
Source:
public void setProcessorNames ( @ javax.annotation.Nonnull java.util.List < java.lang.String > processorNames ) { throw new java.lang.AssertionError ( ) ; }

Target:
public void setProcessorNames ( @ javax.annotation.Nonnull java.util.List < java.lang.String > processorNames ) { options.processor = com.google.common.base.Joiner.on ( ',' ) . join ( processorNames ) ; }
Source:
public int getDataNetworkType ( ) { return getDataNetworkType ( getSubId ( ) ) ; }

Target:
public int getDataNetworkType ( ) { return getDataNetworkType ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) ) ; }
Source:
private native int connectSocketNative ( byte [ ] address , int type , byte [ ] uuid , int port , int flag ) ;

Target:
native boolean createBondOutOfBandNative ( byte [ ] address , int transport , android.bluetooth.OobData oobData ) ;
Source:
private void endBlockSuppression ( ) { if ( getBlockSuppressionStatus ( ) . isSuppressed ) { writeBlockSuppressionExpiryTimePref ( 0 ) ; notifyBlockSuppressionStateChange ( ) ; } }

Target:
private void endBlockSuppression ( ) { if ( getBlockSuppressionStatus ( ) . isSuppressed ) { writeBlockSuppressionExpiryTimePref ( 0 ) ; writeEmergencyCallNotificationPref ( false ) ; notifyBlockSuppressionStateChange ( ) ; } }
Source:
public static void computeAtan ( android.renderscript.cts.TestAtan.ArgumentsFloatFloat args ) { args.ulf = 5 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.atan ( args.in ) ) ) ; }

Target:
public static void computeRint ( android.renderscript.cts.TestRint.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.rint ( args.in ) , 0 , 0 ) ; }
Source:
public android.net.ProxyInfo getProxy ( ) { try { return mService.getProxy ( ) ; } catch ( android.os.RemoteException e ) { return null ; } }

Target:
public android.net.NetworkCapabilities [ ] getDefaultNetworkCapabilitiesForUser ( int userId ) { try { return mService.getDefaultNetworkCapabilitiesForUser ( userId ) ; } catch ( android.os.RemoteException e ) { return null ; } }
Source:
public static int intToFloatToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( float ) ( value ) ) ) ; }

Target:
public static int $noinline$intToFloatToInt ( int value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( int ) ( ( float ) ( value ) ) ) ; }
Source:
public int getScalledImgSize ( ) { return ( ( int ) ( ( mImgSize ) * ( mScale ) ) ) ; }

Target:
public int getScaledImgSize ( ) { return ( ( int ) ( ( mImgSize ) * ( mScale ) ) ) ; }
Source:
private com.android.ide.common.rendering.api.ResourceValue parseValue ( @ com.android.annotations.NonNull com.android.ide.common.rendering.api.ResourceValue value ) { value.setValue ( com.android.ide.common.res2.ValueXmlHelper.unescapeResourceString ( com.android.ide.common.res2.ResourceItem.getTextNode ( mValue ) , false , true ) ) ; return value ; }

Target:
private com.android.ide.common.rendering.api.ResourceValue parseValue ( @ com.android.annotations.NonNull com.android.ide.common.rendering.api.ResourceValue value ) { java.lang.String text = com.android.ide.common.res2.ResourceItem.getTextNode ( mValue.getChildNodes ( ) ) ; value.setValue ( com.android.ide.common.res2.ValueXmlHelper.unescapeResourceString ( text , false , true ) ) ; return value ; }
Source:
public void onCapabilitiesChanged ( android.net.Network network , android.net.NetworkCapabilities.NetworkCapabilities netCap ) { setLastCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , network , netCap ) ; }

Target:
void expectCapabilitiesWithout ( int capability , com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { com.android.server.ConnectivityServiceTest.CallbackInfo cbi = expectCallback ( com.android.server.ConnectivityServiceTest.CallbackState.NETWORK_CAPABILITIES , agent ) ; android.net.NetworkCapabilities.NetworkCapabilities nc = ( ( android.net.NetworkCapabilities.NetworkCapabilities ) ( cbi.arg ) ) ; assertFalse ( nc.hasCapability ( capability ) ) ; }
Source:
private com.android.internal.telephony.dataconnection.ApnSetting createApnSetting ( java.lang.String [ ] apnTypes ) { return createApnSettingInternal ( apnTypes , true ) ; }

Target:
static com.android.internal.telephony.dataconnection.ApnSetting createApnSetting ( java.lang.String [ ] apnTypes ) { return com.android.internal.telephony.dataconnection.ApnSettingTest.createApnSettingInternal ( apnTypes , true ) ; }