auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private void setPosition ( java.nio.CharBuffer in ) { in.position ( ( ( ( in.position ( ) ) + ( data [ java.nio.charset.CharsetEncoderICU.INPUT_OFFSET ] ) ) - ( data [ java.nio.charset.CharsetEncoderICU.INVALID_CHARS ] ) ) ) ; input = null ; }

Target:
private void setPosition ( java.nio.CharBuffer in ) { in.position ( ( ( ( in.position ( ) ) + ( data [ java.nio.charset.CharsetEncoderICU.INPUT_OFFSET ] ) ) - ( data [ java.nio.charset.CharsetEncoderICU.INVALID_CHAR_COUNT ] ) ) ) ; input = null ; }
Source:
native void rsnAllocationShareBufferQueue ( long con , long alloc1 , long alloc2 ) ;

Target:
native java.nio.ByteBuffer rsnAllocationGetByteBuffer ( long con , long alloc , long [ ] stride , int xBytesSize , int dimY , int dimZ ) ;
Source:
static com.google.currysrc.api.transform.AstTransformRule createOptionalRule ( com.google.currysrc.api.transform.AstTransformer transformer ) { return new com.google.currysrc.api.transform.AstTransformRule ( transformer , com.google.currysrc.api.match.SourceMatchers.all ( ) , false ) ; }

Target:
static com.google.currysrc.api.process.DefaultRule createOptionalRule ( com.google.currysrc.api.process.Processor processor ) { return new com.google.currysrc.api.process.DefaultRule ( processor , com.google.currysrc.api.match.SourceMatchers.all ( ) , false ) ; }
Source:
public void test_RSA_private_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; fail ( "Expecting null pointer exception for RSA_private encrypt with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }

Target:
public void test_RSA_private_encrypt_null_key_Failure ( ) throws java.lang.Exception { try { org.conscrypt.NativeCrypto.RSA_private_encrypt ( 0 , new byte [ 0 ] , new byte [ 0 ] , null , 0 ) ; org.junit.Assert.fail ( "Expecting null pointer exception for RSA_private encrypt with null key" ) ; } catch ( java.lang.NullPointerException expected ) { } }
Source:
public void setNeedInitialFocus ( boolean flag ) { if ( android.webkit.DebugFlags.TRACE_API ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setNeedInitialFocus=" + flag ) ) ; mAwSettings.setShouldFocusFirstNode ( flag ) ; }

Target:
public void setNeedInitialFocus ( boolean flag ) { if ( com.android.webview.chromium.ContentSettingsAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.ContentSettingsAdapter.LOGTAG , ( "setNeedInitialFocus=" + flag ) ) ; mAwSettings.setShouldFocusFirstNode ( flag ) ; }
Source:
public void testEncodeDecodeVideoFromSurfaceToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC , true , true ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
void setStatusHints ( java.lang.String callId , android.telecom.StatusHints statusHints ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setStatusHints ( callId , statusHints ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
void setStatusHints ( java.lang.String callId , android.telecom.StatusHints statusHints ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setStatusHints ( callId , statusHints , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
public abstract java.nio.channels.FileChannel position ( long offset ) throws java.io.IOException ;

Target:
public abstract java.nio.channels.FileChannel position ( long newPosition ) throws java.io.IOException ;
Source:
public < T > T record ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionType executionType , @ com.android.annotations.NonNull com.android.builder.profile.Block < T > block , com.android.builder.profile.Property ... properties ) { try { return block.call ( ) ; } catch ( java.lang.Exception e ) { block.handleException ( e ) ; } return null ; }

Target:
public < T > T record ( @ com.android.annotations.NonNull com.android.builder.profile.ExecutionType executionType , @ com.android.annotations.NonNull com.android.builder.profile.Block < T > block , com.android.builder.profile.Property ... properties ) { return record ( executionType , block , java.util.Collections.< com.android.builder.profile.Property > emptyList ( ) ) ; }
Source:
public final void scheduleUnbindService ( android.os.IBinder token , android.content.Intent intent ) { android.app.ActivityThread.BindServiceData s = new android.app.ActivityThread.BindServiceData ( ) ; s.token = token ; s.intent = intent ; queueOrSendMessage ( android.app.ActivityThread.H.UNBIND_SERVICE , s ) ; }

Target:
public final void scheduleUnbindService ( android.os.IBinder token , android.content.Intent intent ) { android.app.ActivityThread.BindServiceData s = new android.app.ActivityThread.BindServiceData ( ) ; s.token = token ; s.intent = intent ; sendMessage ( android.app.ActivityThread.H.UNBIND_SERVICE , s ) ; }
Source:
public boolean disconnect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } if ( com.android.bluetooth.hfp.HeadsetService.DBG ) { android.util.Log.d ( com.android.bluetooth.hfp.HeadsetService.TAG , "disconnect in HeadsetService" ) ; } return service.disconnect ( device ) ; }

Target:
public boolean disconnect ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } com.android.bluetooth.hfp.HeadsetService.logD ( "disconnect in HeadsetService" ) ; return service.disconnect ( device ) ; }
Source:
android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( ) { return com.android.dialer.smartdial.map.BulgarianSmartDialMap.CHAR_TO_KEY_MAP ; }

Target:
android.support.v4.util.SimpleArrayMap < java.lang.Character , java.lang.Character > getCharToKeyMap ( ) { return com.android.dialer.dialpadview.DialpadCharMappings.getCharToKeyMap ( "bul" ) ; }
Source:
public void stopTone ( ) { synchronized ( this ) { if ( ( mState ) == ( com.android.server.telecom.InCallTonePlayer.STATE_ON ) ) { com.android.server.telecom.Log.d ( this , "Stopping the tone %d." , mToneId ) ; notify ( ) ; } mState = com.android.server.telecom.InCallTonePlayer.STATE_STOPPED ; } }

Target:
public void stopTone ( ) { synchronized ( this ) { if ( ( mState ) == ( com.android.server.telecom.InCallTonePlayer.STATE_ON ) ) { android.telecom.Log.d ( this , "Stopping the tone %d." , mToneId ) ; notify ( ) ; } mState = com.android.server.telecom.InCallTonePlayer.STATE_STOPPED ; } }
Source:
public void onServiceStateChanged ( android.telephony.ServiceState serviceState ) { updateServiceState ( serviceState ) ; }

Target:
public void onServiceStateChanged ( android.telephony.ServiceState serviceState ) { updateServiceState ( serviceState ) ; updateImsRegistrationState ( ) ; }
Source:
public int onSetCapabilityValues ( android.telephony.ims.internal.feature.MmTelFeature.MmTelCapabilityConfiguration c ) { return ImsFeature.CAPABILITY_ERROR_GENERIC ; }

Target:
public void changeEnabledCapabilities ( android.telephony.ims.internal.feature.CapabilityChangeRequest request , android.telephony.ims.internal.feature.CapabilityCallbackProxy c ) { }
Source:
private static com.android.build.SplitOutput getDensityOutput ( int densityFilter , int versionCode ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , null , versionCode ) ; }

Target:
private static com.android.build.VariantOutput getDensityOutput ( int densityFilter , int versionCode ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeVariantOutput ( new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , null , versionCode ) ) ; }
Source:
protected void setLastCallback ( com.android.server.ConnectivityServiceTest.CallbackState state , android.net.Network network , java.lang.Object o ) { mCallbacks.offer ( new com.android.server.ConnectivityServiceTest.TestNetworkCallback.CallbackInfo ( state , network , o ) ) ; }

Target:
protected void setLastCallback ( com.android.server.ConnectivityServiceTest.CallbackState state , android.net.Network network , java.lang.Object o ) { mCallbacks.offer ( new com.android.server.ConnectivityServiceTest.CallbackInfo ( state , network , o ) ) ; }
Source:
public static long OrSame ( long arg ) { return arg | arg ; }

Target:
public static long $noinline$OrSame ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg | arg ; }
Source:
public void setPreferredVoicePrivacy ( boolean enable , android.os.Message result ) { com.android.internal.telephony.RILRequest rr = com.android.internal.telephony.RILRequest.obtain ( com.android.internal.telephony.RIL_REQUEST_CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE , result ) ; rr.mParcel.writeInt ( 1 ) ; rr.mParcel.writeInt ( ( enable ? 1 : 0 ) ) ; send ( rr ) ; }

Target:
public void getPreferredVoicePrivacy ( android.os.Message result ) { com.android.internal.telephony.RILRequest rr = com.android.internal.telephony.RILRequest.obtain ( com.android.internal.telephony.RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE , result , mRILDefaultWorkSource ) ; send ( rr ) ; }
Source:
public com.android.sdklib.internal.repository.IOptionalLibrary [ ] getOptionalLibraries ( ) { return null ; }

Target:
public com.android.sdklib.internal.repository.IOptionalLibrary [ ] getOptionalLibraries ( ) { return mOptionalLibraries ; }
Source:
public void testWrongSeparator1 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:14: Error: Class referenced in the manifest, test.pkg.Foo.Bar, was not found in the project or the libraries [MissingRegistered]\n" + ( ( " <activity\n" + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "registration/AndroidManifestWrong.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" ) ) ; }

Target:
public void testInnerClassPublic ( ) throws java.lang.Exception { mScopes = null ; assertEquals ( ( "src/test/pkg/Foo/Bar.java:6: Warning: The default constructor must be public [Instantiatable]\n" + ( ( " private Bar() {\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "registration/AndroidManifestInner.xml=>AndroidManifest.xml" , "bytecode/.classpath=>.classpath" , "registration/Bar.java.txt=>src/test/pkg/Foo/Bar.java" , "registration/Bar.class.data=>bin/classes/test/pkg/Foo/Bar.class" ) ) ; }
Source:
public static void addServer ( org.jetbrains.io.HttpResponse response ) { if ( ( org.jetbrains.io.Responses.getServerHeaderValue ( ) ) != null ) { response.headers ( ) . add ( org.jetbrains.io.SERVER , org.jetbrains.io.Responses.getServerHeaderValue ( ) ) ; } }

Target:
public static void addServer ( org.jetbrains.io.HttpResponse response ) { if ( ( org.jetbrains.io.Responses.getServerHeaderValue ( ) ) != null ) { response.headers ( ) . add ( HttpHeaders.Names.SERVER , org.jetbrains.io.Responses.getServerHeaderValue ( ) ) ; } }
Source:
public void setRunOptions ( @ com.android.annotations.NonNull java.lang.String options ) { mRunOptions = options ; }

Target:
public void setRunOptions ( @ com.android.annotations.NonNull java.lang.String options ) { mRunOptions = options + " " ; }
Source:
public java.lang.String getProperty ( java.lang.String name ) throws android.os.RemoteException { return null ; }

Target:
public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider ( ) { return null ; }
Source:
public com.android.builder.model.SigningConfig getSigningConfig ( ) { return getApkVariantData ( ) . getVariantConfiguration ( ) . getSigningConfig ( ) ; }

Target:
public com.android.builder.model.SigningConfig getSigningConfig ( ) { return readOnlyObjectProvider.getSigningConfig ( getApkVariantData ( ) . getVariantConfiguration ( ) . getSigningConfig ( ) ) ; }
Source:
private void redraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { canvas.redraw ( ) ; } } ) ; }

Target:
private void doRedraw ( ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { canvas.redraw ( ) ; } } ) ; }
Source:
public void setDataEnabled ( boolean enable ) { android.os.Message msg = obtainMessage ( DctConstants.CMD_SET_USER_DATA_ENABLE ) ; msg.arg1 = ( enable ) ? 1 : 0 ; if ( com.android.internal.telephony.dataconnection.DcTracker.DBG ) log ( ( "setDataEnabled: sendMessage: enable=" + enable ) ) ; sendMessage ( msg ) ; }

Target:
public void setUserDataEnabled ( boolean enable ) { android.os.Message msg = obtainMessage ( DctConstants.CMD_SET_USER_DATA_ENABLE ) ; msg.arg1 = ( enable ) ? 1 : 0 ; if ( com.android.internal.telephony.dataconnection.DcTracker.DBG ) log ( ( "setDataEnabled: sendMessage: enable=" + enable ) ) ; sendMessage ( msg ) ; }
Source:
public void setResourceDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > arg0 ) throws com.android.jack.api.v01.ConfigurationException { }

Target:
public void setResourceDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > resourceDirs ) { options.setResourceDirs ( resourceDirs ) ; }
Source:
public void write ( java.io.FileWriter writer ) throws java.io.IOException { for ( int i = 0 ; i < ( com.android.sdklib.internal.export.ApkData.INDEX_MAX ) ; i ++ ) { write ( i , writer ) ; } }

Target:
public void write ( java.io.OutputStreamWriter writer ) throws java.io.IOException { for ( int i = 0 ; i < ( com.android.sdklib.internal.export.ApkData.INDEX_MAX ) ; i ++ ) { write ( i , writer ) ; } }
Source:
public static void register ( ) { com.android.tools.rpclib.rpccore.RpcError.register ( ) ; }

Target:
public static void register ( ) { com.android.tools.rpclib.any.Factory.register ( ) ; com.android.tools.rpclib.schema.Factory.register ( ) ; com.android.tools.rpclib.rpccore.RpcError.register ( ) ; }
Source:
public java.util.jar.JarFile getJarFile ( ) throws java.io.IOException { connect ( ) ; if ( ( jarFile ) == null ) { jarFile = new java.util.jar.JarFile ( strictJarFile.getName ( ) ) ; } return jarFile ; }

Target:
public java.util.jar.JarFile getJarFile ( ) throws java.io.IOException { connect ( ) ; java.lang.String jarFileName = strictJarFile.getName ( ) ; if ( jarFileMustBehaveAsCached ) { jarFile = this . getSharedJarFile ( ) ; } else { jarFile = new java.util.jar.JarFile ( jarFileName ) ; } return jarFile ; }
Source:
org.apache.harmony.luni.lang.reflect.ImplForVariable < java.lang.reflect.GenericDeclaration > parseTypeVariableSignature ( ) { expect ( 'T' ) ; scanIdentifier ( ) ; expect ( ';' ) ; return new org.apache.harmony.luni.lang.reflect.ImplForVariable < java.lang.reflect.GenericDeclaration > ( genericDecl , identifier ) ; }

Target:
libcore.reflect.TypeVariableImpl < java.lang.reflect.GenericDeclaration > parseTypeVariableSignature ( ) { expect ( 'T' ) ; scanIdentifier ( ) ; expect ( ';' ) ; return new libcore.reflect.TypeVariableImpl < java.lang.reflect.GenericDeclaration > ( genericDecl , identifier ) ; }
Source:
public void activated ( ) { if ( mNeedsRecompute ) { recomputeLayout ( ) ; } }

Target:
public void activated ( ) { if ( ! ( mActive ) ) { mActive = true ; boolean changed = mConfigComposite.syncRenderState ( ) ; if ( changed ) { return ; } if ( mNeedsRecompute ) { recomputeLayout ( ) ; } } }
Source:
protected void deliverResponse ( android.graphics.Bitmap response ) { if ( ( mListener ) != null ) { mListener.onResponse ( response ) ; } }

Target:
protected void deliverResponse ( android.graphics.Bitmap response ) { com.android.volley.Response.Listener < android.graphics.Bitmap > listener ; synchronized ( mLock ) { listener = mListener ; } if ( listener != null ) { listener.onResponse ( response ) ; } }
Source:
public android.bluetooth.le.AdvertisingSetParameters build ( ) { return new android.bluetooth.le.AdvertisingSetParameters ( connectable , isLegacy , isAnonymous , includeTxPower , primaryPhy , secondaryPhy , interval , txPowerLevel ) ; }

Target:
public android.bluetooth.le.AdvertisingSetParameters build ( ) { return new android.bluetooth.le.AdvertisingSetParameters ( connectable , scannable , isLegacy , isAnonymous , includeTxPower , primaryPhy , secondaryPhy , interval , txPowerLevel ) ; }
Source:
public void setResult ( java.lang.String resultFormat , java.lang.Object ... args ) { mRoot.setResult ( resultFormat , args ) ; }

Target:
public void setDescription ( java.lang.String format , java.lang.Object ... args ) { mRoot.setDescription ( format , args ) ; }
Source:
public com.android.builder.internal.IOptionalLibrary [ ] getOptionalLibraries ( ) { return new com.android.builder.internal.IOptionalLibrary [ 0 ] ; }

Target:
public java.util.List < com.android.builder.internal.OptionalLibrary > getOptionalLibraries ( ) { return com.google.common.collect.ImmutableList.of ( ) ; }
Source:
public void visitRuntimeInvisibleParameterAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute ) { if ( ( runtimeInvisibleParameterAnnotationsAttribute.u2parametersCount ) > 0 ) { runtimeInvisibleParameterAnnotationsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitRuntimeInvisibleParameterAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute ) { if ( ( runtimeInvisibleParameterAnnotationsAttribute.u1parametersCount ) > 0 ) { attributeVisitor.visitRuntimeInvisibleParameterAnnotationsAttribute ( clazz , method , runtimeInvisibleParameterAnnotationsAttribute ) ; } }
Source:
public java.lang.Object clone ( ) throws java.lang.CloneNotSupportedException { org.conscrypt.OpenSSLMessageDigestJDK d = ( ( org.conscrypt.OpenSSLMessageDigestJDK ) ( super . clone ( ) ) ) ; d.ctx = org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( getCtx ( ) ) ; return d ; }

Target:
protected byte [ ] engineDigest ( ) { final byte [ ] result = new byte [ size ] ; org.conscrypt.NativeCrypto.EVP_DigestFinal ( ctx , result , 0 ) ; resetContext ( ) ; return result ; }
Source:
public org.objectweb.asm.MethodVisitor visitMethod ( int access , java.lang.String name , java.lang.String desc , java.lang.String signature , java.lang.String [ ] exceptions ) { mHasNativeMethods |= ( access & ( org.objectweb.asm.Opcodes.ACC_NATIVE ) ) != 0 ; return null ; }

Target:
protected void setHasNativeMethods ( boolean hasNativeMethods , java.lang.String methodName ) { mHasNativeMethods = hasNativeMethods ; }
Source:
native void rsnScriptSetVarJ ( int con , int id , int slot , long val ) ;

Target:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;
Source:
public void describeTo ( org.hamcrest.Description description ) { description.appendText ( "exception with message " ) ; description.appendDescriptionOf ( matcher ) ; }

Target:
private void handleException ( java.lang.Throwable e ) throws java.lang.Throwable { if ( isAnyExceptionExpected ( ) ) { org.junit.Assert.assertThat ( e , matcherBuilder.build ( ) ) ; } else { throw e ; } }
Source:
private java.io.File getBuildLog ( java.lang.String appPackage , int versionCode ) { return new java.io.File ( ( ( ( appPackage + "." ) + versionCode ) + ".log" ) ) ; }

Target:
private com.android.sdklib.io.IAbstractFile getBuildLog ( java.lang.String appPackage , int versionCode ) { return new com.android.sdklib.io.FileWrapper ( ( ( ( appPackage + "." ) + versionCode ) + ".log" ) ) ; }
Source:
private static org.eclipse.core.runtime.IPath getPathToMake ( ) { return com.android.ide.eclipse.ndk.internal.NdkHelper.getUtilitiesFolder ( ) . append ( com.android.ide.eclipse.ndk.internal.NdkHelper.MAKE ) ; }

Target:
private static org.eclipse.core.runtime.IPath getPathToMake ( ) { return com.android.ide.eclipse.ndk.internal.NdkHelper.getFullPathTo ( com.android.ide.eclipse.ndk.internal.NdkHelper.MAKE ) ; }
Source:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , long [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public android.bluetooth.BluetoothCodecStatus getCodecStatus ( ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return null ; } return service.getCodecStatus ( ) ; }

Target:
public void setCodecConfigPreference ( android.bluetooth.BluetoothDevice device , android.bluetooth.BluetoothCodecConfig codecConfig ) { com.android.bluetooth.a2dp.A2dpService service = getService ( ) ; if ( service == null ) { return ; } service.setCodecConfigPreference ( device , codecConfig ) ; }
Source:
public static long min ( long a , long b ) { return a <= b ? a : b ; }

Target:
public static long min ( long a , long b ) { return java.lang.Math.min ( a , b ) ; }
Source:
public void setPlusSign ( char plus ) { plusSign = plus ; char [ ] plusArray = new char [ ] { plusSign } ; plusString = new java.lang.String ( plusArray ) ; }

Target:
public java.lang.String getDecimalSeparatorString ( ) { return decimalSeparatorString ; }
Source:
public int getInt ( java.lang.String name , int defaultValue ) { java.lang.String value = get ( name , null ) ; return value == null ? defaultValue : java.lang.Integer.parseInt ( value ) ; }

Target:
public int getInt ( java.lang.String name , int defaultValue ) { java.lang.String value = get ( name , null ) ; return value == null ? defaultValue : java.lang.Integer.decode ( value ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir dir ) { return vfs.getVDirLocation ( dir ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVFileLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
static com.android.internal.telephony.ITelephony getTelephonyService ( ) { return ITelephony.Stub.asInterface ( android.os.ServiceManager.checkService ( Context.TELEPHONY_SERVICE ) ) ; }

Target:
public android.view.animation.Animation createForceHideWallpaperExitAnimation ( boolean goingToNotificationShade ) { if ( goingToNotificationShade ) { return null ; } else { return android.view.animation.AnimationUtils.loadAnimation ( mContext , R.anim.lock_screen_wallpaper_exit ) ; } }
Source:
private void writePackagesList ( ) { writeFile ( new java.io.File ( getContext ( ) . getFilesDir ( ) , "system/packages.list" ) , ( "com.google.app1 11000 0 /data/data/com.google.app1" + ( "com.google.app2 11001 0 /data/data/com.google.app2" + "com.android.app3 11030 0 /data/data/com.android.app3" ) ) . getBytes ( ) ) ; }

Target:
private void writePackagesList ( ) { writeFile ( new java.io.File ( getContext ( ) . getFilesDir ( ) , "system/packages.list" ) , ( "com.google.app1 11000 0 /data/data/com.google.app1 seinfo1" + ( "com.google.app2 11001 0 /data/data/com.google.app2 seinfo2" + "com.android.app3 11030 0 /data/data/com.android.app3 seinfo3" ) ) . getBytes ( ) ) ; }
Source:
public int hashCode ( ) { return com.android.internal.util.Objects.hashCode ( mType , mSubType , mSubscriberId , mNetworkId , mRoaming ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mType , mSubType , mSubscriberId , mNetworkId , mRoaming ) ; }
Source:
public static int DivN1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 1 ) ; }

Target:
public static int $noinline$DivN1 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 1 ) ; }
Source:
public boolean isFirstBoot ( ) { return ! ( mRestoredSettings ) ; }

Target:
public boolean isFirstBoot ( ) { return ( ! ( mRestoredSettings ) ) || ( mPackageUsage.isFirstBoot ( ) ) ; }
Source:
public void invokeOemRilRequestRaw ( byte [ ] data , android.os.Message response ) { }

Target:
public void startNattKeepalive ( int contextId , android.net.KeepalivePacketData packetData , int intervalMillis , android.os.Message result ) { }
Source:
public void TestEmptyContext ( ) { expect ( " { a } > b;" , "xay a " , "xby b " ) ; }

Target:
public void TestEmptyContext ( ) { android.icu.dev.test.translit.TransliteratorTest.expect ( " { a } > b;" , "xay a " , "xby b " ) ; }
Source:
public void testVFE11 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_20" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE12 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_21 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected VerifyError" ) ; } catch ( java.lang.VerifyError t ) { } }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.common.resources.configuration.FolderConfiguration configuration , com.android.ide.common.resources.ResourceResolver resolver ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , configuration , resolver ) ; return renderService ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration , com.android.ide.common.resources.ResourceResolver resolver ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , configuration , resolver ) ; return renderService ; }
Source:
private boolean wasDialing ( ) { return DialerCall.State.isDialing ( prevCallState ) ; }

Target:
private boolean wasDialing ( ) { return com.android.incallui.call.state.DialerCallState.isDialing ( prevCallState ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public static java.lang.String toUnicode ( java.lang.String input , int flags ) { return libcore.icu.NativeIDN.toUnicode ( input , flags ) ; }

Target:
public static java.lang.String toUnicode ( java.lang.String input , int flags ) { try { return java.net.IDN.convertFullStop ( com.ibm.icu.text.IDNA.convertIDNToUnicode ( input , flags ) ) . toString ( ) ; } catch ( java.net.com.ibm e ) { return input ; } }
Source:
public void testHasTransformer_ClassWithoutTransformer ( ) { initializePsiClass ( false , false ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.intellij.endpoints.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertFalse ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }

Target:
public void testHasTransformer_ClassWithoutTransformer ( ) { initializePsiClass ( false , false ) ; org.mockito.MockitoAnnotations.initMocks ( this ) ; com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor endpointPsiElementVisitor = new com.google.gct.idea.appengine.validation.EndpointPsiElementVisitor ( ) ; junit.framework.Assert.assertFalse ( endpointPsiElementVisitor.hasTransformer ( mockPsiClass ) ) ; }
Source:
public static java.lang.String decode ( java.lang.String s ) { return com.android.exchange.utility.UriCodec.decode ( s , false , Charsets.UTF_8 ) ; }

Target:
public static java.lang.String decode ( java.lang.String s ) { return com.android.exchange.utility.UriCodec.decode ( s , false , com.android.exchange.utility.UriCodec.UTF_8 ) ; }
Source:
public void testDefaultConfiguration ( ) throws java.lang.Exception { libcore.javax.net.ssl.SSLDefaultConfigurationAsserts.assertSSLServerSocket ( ( ( javax.net.ssl.SSLServerSocket ) ( javax.net.ssl.SSLServerSocketFactory.getDefault ( ) . createServerSocket ( ) ) ) ) ; }

Target:
public void testDefaultConfiguration ( ) throws java.lang.Exception { libcore.javax.net.ssl.SSLConfigurationAsserts.assertSSLServerSocketDefaultConfiguration ( ( ( javax.net.ssl.SSLServerSocket ) ( javax.net.ssl.SSLServerSocketFactory.getDefault ( ) . createServerSocket ( ) ) ) ) ; }
Source:
public void validateConfigWithoutHomeSp ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.homeSp = null ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }

Target:
public void validateConfigWithoutHomeSp ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; config.setHomeSp ( null ) ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }
Source:
public void setImageUrl_requestsImage ( ) { mNIV.setLayoutParams ( new android.view.ViewGroup.LayoutParams ( android.view.ViewGroup.LayoutParams.WRAP_CONTENT , android.view.ViewGroup.LayoutParams.WRAP_CONTENT ) ) ; mNIV.setImageUrl ( "http://foo" , mMockImageLoader ) ; assertEquals ( "http://foo" , mMockImageLoader.lastRequestUrl ) ; assertEquals ( 0 , mMockImageLoader.lastMaxWidth ) ; assertEquals ( 0 , mMockImageLoader.lastMaxHeight ) ; }

Target:
public void setImageUrl_requestsImage ( ) { mNIV.setLayoutParams ( new android.view.ViewGroup.LayoutParams ( android.view.ViewGroup.LayoutParams.WRAP_CONTENT , android.view.ViewGroup.LayoutParams.WRAP_CONTENT ) ) ; mNIV.setImageUrl ( "http://foo" , mMockImageLoader ) ; org.junit.Assert.assertEquals ( "http://foo" , mMockImageLoader.lastRequestUrl ) ; org.junit.Assert.assertEquals ( 0 , mMockImageLoader.lastMaxWidth ) ; org.junit.Assert.assertEquals ( 0 , mMockImageLoader.lastMaxHeight ) ; }
Source:
public void addVariable ( java.lang.String variableName , org.apache.harmony.jpda.tests.framework.jdwp.Value initialValue , org.apache.harmony.jpda.tests.framework.jdwp.Value newValue ) { variables.add ( new org.apache.harmony.jpda.tests.jdwp.StackFrame.JDWPStackFrameAccessTest.VariableInfo ( variableName , initialValue , newValue ) ) ; }

Target:
public void addVariable ( java.lang.String variableName , org.apache.harmony.jpda.tests.framework.jdwp.Value initialValue , org.apache.harmony.jpda.tests.framework.jdwp.Value setValue , org.apache.harmony.jpda.tests.framework.jdwp.Value newValue ) { variables.add ( new org.apache.harmony.jpda.tests.jdwp.StackFrame.JDWPStackFrameAccessTest.VariableInfo ( variableName , initialValue , setValue , newValue ) ) ; }
Source:
public void trackingDisabled_unsolicitedResultsIgnored_withoutToken ( ) { configureTrackingDisabled ( ) ; mPackageTracker.start ( ) ; mFakeIntentHelper.assertReliabilityTriggeringDisabled ( ) ; mPackageTracker.recordCheckResult ( null , true ) ; mFakeIntentHelper.assertReliabilityTriggeringDisabled ( ) ; checkPackageStorageStatusIsInitialOrReset ( ) ; }

Target:
public void trackingDisabled_unsolicitedResultsIgnored_withoutToken ( ) { configureTrackingDisabled ( ) ; mPackageTracker.start ( ) ; mFakeIntentHelper.assertReliabilityTriggerNotScheduled ( ) ; mPackageTracker.recordCheckResult ( null , true ) ; mFakeIntentHelper.assertReliabilityTriggerNotScheduled ( ) ; checkPackageStorageStatusIsInitialOrReset ( ) ; }
Source:
public TestCaseBuilder addCanvasClientWithoutUsingPicture ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { }

Target:
public android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientWithoutUsingPicture ( android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware ) { return addCanvasClientInternal ( null , canvasClient , useHardware , false ) ; }
Source:
public org.bouncycastle.math.ec.ECFieldElement divide ( org.bouncycastle.math.ec.ECFieldElement b ) { return new org.bouncycastle.math.ec.ECFieldElement.Fp ( q , modMult ( x , b.toBigInteger ( ) . modInverse ( q ) ) ) ; }

Target:
public org.bouncycastle.math.ec.ECFieldElement subtract ( org.bouncycastle.math.ec.ECFieldElement b ) { return new org.bouncycastle.math.ec.ECFieldElement.Fp ( q , r , modSubtract ( x , b.toBigInteger ( ) ) ) ; }
Source:
public com.android.internal.telephony.Connection dial ( java.lang.String dialString , com.android.internal.telephony.UUSInfo uusInfo , int videoState , android.os.Bundle intentExtras ) throws com.android.internal.telephony.CallStateException { return dialInternal ( dialString , videoState , intentExtras , null ) ; }

Target:
public com.android.internal.telephony.imsphone.ImsPhone.ImsDialArgs.Builder setClirMode ( int clirMode ) { this . mClirMode = clirMode ; return this ; }
Source:
private static native int lastImpl ( int address ) ;

Target:
private static native boolean isBoundaryImpl ( int address , java.lang.String text , int offset ) ;
Source:
int $noinline$f ( ) throws java.lang.Exception { g ( 1 ) ; g ( 2 ) ; for ( int i = 0 ; i < 10 ; i ++ ) { java.lang.Thread.sleep ( 0 ) ; } return 0 ; }

Target:
int $noinline$f ( ) throws java.lang.Exception { g ( 1 ) ; g ( 2 ) ; if ( doThrow ) { throw new java.lang.Error ( ) ; } return 0 ; }
Source:
public void test_plus_Duration_null ( ) { TEST_2008_6_30_11_30_59_000000500.plus ( ( ( java.time.Duration ) ( null ) ) ) ; }

Target:
public void test_plus_Duration_null ( ) { tck.java.time.TCKOffsetDateTime.TEST_2008_6_30_11_30_59_000000500.plus ( ( ( java.time.Duration ) ( null ) ) ) ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , int legacyType ) { sendRequestForNetwork ( request.networkCapabilities , networkCallback , timeoutMs , android.net.ConnectivityManager.REQUEST , legacyType ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback ) { requestNetwork ( request , networkCallback , getDefaultHandler ( ) ) ; }
Source:
public void setIndex ( int index ) { this . methodNodeIndex = index ; }

Target:
public void setId ( @ javax.annotation.Nonnull java.lang.String id ) { this . methodId = id ; }
Source:
private void addImageAsync ( final android.net.Uri uri , final boolean append ) { runAsyncWithDialog ( new java.lang.Runnable ( ) { public void run ( ) { addImage ( uri , append ) ; } } , R.string.adding_attachments_title ) ; }

Target:
private void addImageAsync ( final android.net.Uri uri , final boolean append ) { getAsyncDialog ( ) . runAsync ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { addImage ( uri , append ) ; } } , null , R.string.adding_attachments_title ) ; }
Source:
protected boolean isModified ( java.io.File toFile ) throws java.io.IOException { return ( myChecksum ) != ( myPatch.digestFile ( toFile , myPatch.isNormalized ( ) ) ) ; }

Target:
protected boolean isModified ( java.io.File toFile ) throws java.io.IOException { return ( ( myChecksum ) == ( Digester.INVALID ) ) || ( ( myChecksum ) != ( myPatch.digestFile ( toFile , myPatch.isNormalized ( ) ) ) ) ; }
Source:
public void setEmitLocalDebugInfo ( boolean emitLocalDebugInfo ) { this . emitLocalDebugInfo = java.lang.Boolean.valueOf ( emitLocalDebugInfo ) ; }

Target:
public void setResourceDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > resourceDirs ) { resImport = resourceDirs ; }
Source:
public int queryCapabilityStatus ( ) throws android.os.RemoteException { return this . queryCapabilityStatus ( ) . mCapabilities ; }

Target:
public int queryCapabilityStatus ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . queryCapabilityStatus ( ) . mCapabilities ; } }
Source:
public void testMissingUsesSdk ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all versions of Android set it to 1. [UsesMinSdkAttributes]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testMissingUsesSdk ( ) throws java.lang.Exception { mEnabled = java.util.Collections.singleton ( ManifestOrderDetector.USES_SDK ) ; assertEquals ( ( "AndroidManifest.xml: Warning: Manifest should specify a minimum API level with <uses-sdk android:minSdkVersion=\"?\" />; if it really supports all versions of Android set it to 1. [UsesMinSdkAttributes]\n" + "0 errors, 1 warnings\n" ) , lintProject ( "missingusessdk.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
private void decrementWaiters ( com.google.common.util.concurrent.Monitor.Guard guard ) { int waiters = -- ( guard.waiterCount ) ; if ( waiters == 0 ) { activeGuards.remove ( guard ) ; } }

Target:
private void beginWaitingFor ( com.google.common.util.concurrent.Monitor.Guard guard ) { int waiters = ( guard.waiterCount ) ++ ; if ( waiters == 0 ) { guard.next = activeGuards ; activeGuards = guard ; } }
Source:
public long size ( ) throws java.io.IOException { checkOpen ( ) ; try { return Libcore.os.fstat ( fd ) . st_size ; } catch ( libcore.io.ErrnoException errnoException ) { throw errnoException.rethrowAsIOException ( ) ; } }

Target:
public long size ( ) throws java.io.IOException { checkOpen ( ) ; try { return Libcore.os.fstat ( fd ) . st_size ; } catch ( android.system.ErrnoException errnoException ) { throw errnoException.rethrowAsIOException ( ) ; } }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( networkKey , rssiCurve , meteredHint ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( networkKey , rssiCurve , meteredHint , attributes ) ; }
Source:
public void callSessionMayHandover ( int srcAccessTech , int targetAccessTech ) throws android.os.RemoteException { mListener.callSessionMayHandover ( srcAccessTech , targetAccessTech ) ; }

Target:
public void callSessionHandoverFailed ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; }
Source:
public java.lang.reflect.Field getFieldFromName ( java.lang.String name ) { return nameToField.get ( name ) ; }

Target:
public com.google.devtools.common.options.OptionDefinition getFieldFromName ( java.lang.String name ) { return nameToField.get ( name ) ; }
Source:
private boolean needsKeyStoreAccess ( ) { return ( ( mCredentials.hasKeyPair ( ) ) || ( mCredentials.hasUserCertificate ( ) ) ) && ( ( mKeyStore.state ( ) ) != ( KeyStore.State.UNLOCKED ) ) ; }

Target:
private boolean needsKeyStoreAccess ( ) { return ( ( mCredentials.hasKeyPair ( ) ) || ( mCredentials.hasUserCertificate ( ) ) ) && ( ! ( mKeyStore.isUnlocked ( ) ) ) ; }
Source:
public java.lang.String getP2pClientList ( int netId ) { return null ; }

Target:
public java.lang.String getP2pClientList ( int netId ) { return mSupplicantP2pIfaceHal.getClientList ( netId ) ; }
Source:
public void err ( @ com.android.annotations.Nullable java.lang.String line ) { if ( line != null ) { mLogger.warning ( line ) ; } }

Target:
public void err ( @ com.android.annotations.Nullable java.lang.String line ) { if ( line != null ) { mLogger.warning ( "AAPT warning(%1$s): %2$s" , mJob , line ) ; } }
Source:
public void testCerficateException ( ) throws java.lang.Exception { try { generateCert ( tests.security.cert.X509Certificate2Test.CERT_TAMPERED ) ; fail ( ) ; } catch ( java.security.cert.CertificateException expected ) { } try { generateCert ( tests.security.cert.X509Certificate2Test.CERT ) ; fail ( ) ; } catch ( java.security.cert.CertificateException expected ) { } }

Target:
public void testCertificateException ( ) throws java.lang.Exception { try { generateCert ( tests.security.cert.X509Certificate2Test.CERT_TAMPERED ) ; fail ( ) ; } catch ( java.security.cert.CertificateException expected ) { } try { generateCert ( tests.security.cert.X509Certificate2Test.CERT ) ; fail ( ) ; } catch ( java.security.cert.CertificateException expected ) { } }
Source:
public void setNextValueAsArrayTypeID ( long val ) { this . setNextValueAsObjectID ( val ) ; }

Target:
public void setNextValueAsClassID ( long val ) { this . setNextValueAsReferenceTypeID ( val ) ; }
Source:
private static java.lang.String to3DigitVersionString ( int version ) { try { return java.lang.String.format ( java.util.Locale.ROOT , "%03d" , libcore.tzdata.update2.DistroVersion.validate3DigitVersion ( version ) ) ; } catch ( libcore.tzdata.update2.DistroException e ) { throw new java.lang.IllegalArgumentException ( e ) ; } }

Target:
private static java.lang.String to3DigitVersionString ( int version ) { try { return java.lang.String.format ( java.util.Locale.ROOT , "%03d" , libcore.tzdata.shared2.DistroVersion.validate3DigitVersion ( version ) ) ; } catch ( libcore.tzdata.shared2.DistroException e ) { throw new java.lang.IllegalArgumentException ( e ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) { Main.negInt ( ) ; Main.$opt$InplaceNegOneInt ( 1 ) ; Main.negLong ( ) ; Main.$opt$InplaceNegOneLong ( 1L ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { Main.negInt ( ) ; Main.$opt$InplaceNegOneInt ( 1 ) ; Main.negLong ( ) ; Main.$opt$InplaceNegOneLong ( 1L ) ; Main.negFloat ( ) ; Main.negDouble ( ) ; }
Source:
public android.net.IpSecAlgorithm getEncryptionAlgo ( int direction ) { return flow [ direction ] . encryptionAlgo ; }

Target:
public android.net.IpSecAlgorithm getEncryption ( int direction ) { return flow [ direction ] . encryption ; }
Source:
private com.android.rs.test.Float3 pack_f3 ( float [ ] val ) { assert ( val.length ) == 3 ; return new com.android.rs.test.Float3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }

Target:
private android.renderscript.Float3 pack_f3 ( float [ ] val ) { assert ( val.length ) == 3 ; return new android.renderscript.Float3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }
Source:
static long $opt$DoubleToLong ( double a ) { return ( ( long ) ( a ) ) ; }

Target:
static double $opt$CharToDouble ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public final void testCollectExistingIds1 ( ) { java.util.Set < java.lang.String > existing = new java.util.HashSet < java.lang.String > ( ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) . add ( com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button2" ) ) ; new com.android.ide.common.layout.BaseLayout ( ) . collectExistingIds ( node , existing ) ; assertEquals ( 2 , existing.size ( ) ) ; assertContainsSame ( java.util.Arrays.asList ( "@+id/Button2" , "@+id/Button012" ) , existing ) ; }

Target:
public final void testCollectExistingIds1 ( ) { java.util.Set < java.lang.String > existing = new java.util.HashSet < java.lang.String > ( ) ; com.android.ide.common.api.INode node = com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button012" ) . add ( com.android.ide.common.layout.TestNode.create ( "android.widget.Button" ) . id ( "@+id/Button2" ) ) ; new com.android.ide.common.layout.BaseLayoutRule ( ) . collectExistingIds ( node , existing ) ; assertEquals ( 2 , existing.size ( ) ) ; assertContainsSame ( java.util.Arrays.asList ( "@+id/Button2" , "@+id/Button012" ) , existing ) ; }
Source:
public void run ( ) { com.android.hierarchyviewerlib.device.DeviceBridge.outputDisplayList ( selectedNode.viewNode ) ; }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.IHvDevice hvDevice = getHvDevice ( selectedNode.viewNode.window.getDevice ( ) ) ; hvDevice.requestLayout ( selectedNode.viewNode ) ; }
Source:
public void monitor ( ) { synchronized ( mWindowMap ) { } synchronized ( mKeyguardDisabled ) { } synchronized ( mKeyWaiter ) { } }

Target:
public void monitor ( ) { synchronized ( mWindowMap ) { } synchronized ( mKeyguardTokenWatcher ) { } synchronized ( mKeyWaiter ) { } }
Source:
private native boolean configureInbandRingingEnabledUsingBsirNative ( boolean value ) ;

Target:
private native boolean sendBsirNative ( boolean value , byte [ ] address ) ;
Source:
private static java.lang.String getServiceNameLocked ( ) { if ( ( android.webkit.WebViewZygote.sPackage ) == null ) return null ; if ( java.util.Arrays.asList ( Build.SUPPORTED_64_BIT_ABIS ) . contains ( android.webkit.WebViewZygote.sPackage.applicationInfo.primaryCpuAbi ) ) { return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_64 ; } return android.webkit.WebViewZygote.WEBVIEW_ZYGOTE_SERVICE_32 ; }

Target:
private static void stopZygoteLocked ( ) { if ( ( android.webkit.WebViewZygote.sZygote ) != null ) { android.webkit.WebViewZygote.sZygote.close ( ) ; java.lang.Process.killProcess ( android.webkit.WebViewZygote.sZygote.getPid ( ) ) ; android.webkit.WebViewZygote.sZygote = null ; } }
Source:
private void connectNativeNetdService ( ) { mNetdService = android.net.util.NetdService.get ( ) ; }

Target:
private void connectNativeNetdService ( ) { mNetdService = mServices.getNetd ( ) ; }
Source:
public synchronized void setStandardFontFamily ( java.lang.String font ) { throw new android.webkit.MustOverrideException ( ) ; }

Target:
public abstract void setFantasyFontFamily ( java.lang.String font ) ;
Source:
public static native void doCommonClassRedefinition ( java.lang.Class < ? > target , byte [ ] class_file , byte [ ] dex_file ) ;

Target:
public static void doCommonClassRedefinition ( java.lang.Class < ? > target , byte [ ] class_file , byte [ ] dex_file ) { art.Redefinition.doCommonClassRedefinition ( target , class_file , dex_file ) ; }
Source:
public < T extends com.android.jack.api.JackConfig > boolean isConfigSupported ( @ javax.annotation.Nonnull java.lang.Class < T > cls ) { return cls == ( com.android.jack.api.v01.Api01Config.class ) ; }

Target:
public < T extends com.android.jack.api.JackConfig > boolean isConfigSupported ( @ javax.annotation.Nonnull java.lang.Class < T > cls ) { return ( cls == ( com.android.jack.api.v01.Api01Config.class ) ) || ( cls == ( com.android.jack.api.v01.Cli01Config.class ) ) ; }
Source:
public com.android.jack.library.OutputJackLibrary getOutputJackLibrary ( ) { if ( ( incrementalInputLibrary ) == null ) { return getOutputJackLibraryFromVfs ( ) ; } return com.android.jack.library.JackLibraryFactory.getOutputLibrary ( incrementalInputLibrary , com.android.jack.Jack.getEmitterId ( ) , com.android.jack.Jack.getVersionString ( ) ) ; }

Target:
public com.android.jack.library.OutputJackLibrary getOutputJackLibrary ( ) { if ( ( incrementalInputLibrary ) == null ) { return getOutputJackLibraryFromVfs ( ) ; } return com.android.jack.library.JackLibraryFactory.getOutputLibrary ( com.android.sched.util.config.ThreadConfig.get ( Options.LIBRARY_OUTPUT_DIR ) , com.android.jack.Jack.getEmitterId ( ) , com.android.jack.Jack.getVersionString ( ) ) ; }