auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , byte [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt ) ;
Source:
public static boolean isExternalMethodNameAndArguments ( java.lang.String externalMemberNameAndArguments ) { return ( externalMemberNameAndArguments.indexOf ( ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN ) ) > 0 ; }

Target:
public static boolean isExternalMethodNameAndArguments ( java.lang.String externalMemberNameAndArguments ) { return ( externalMemberNameAndArguments.indexOf ( JavaConstants.METHOD_ARGUMENTS_OPEN ) ) > 0 ; }
Source:
public void TestHiragana ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.Test ( "Latin-Hiragana" ) . test ( "[a-zA-Z]" , android.icu.dev.test.translit.RoundTripTest.HIRAGANA , android.icu.dev.test.translit.RoundTripTest.HIRAGANA_ITERATION , this , new android.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestHiragana" ) ; }

Target:
public void TestHiragana ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.TransliterationTest ( "Latin-Hiragana" ) . test ( "[a-zA-Z]" , android.icu.dev.test.translit.RoundTripTest.HIRAGANA , android.icu.dev.test.translit.RoundTripTest.HIRAGANA_ITERATION , this , new android.icu.dev.test.translit.RoundTripTest.Legal ( ) ) ; showElapsed ( start , "TestHiragana" ) ; }
Source:
public boolean matches ( java.lang.Object object ) { android.content.Intent intent = ( ( android.content.Intent ) ( object ) ) ; return ( NetworkScoreManager.ACTION_SCORE_NETWORKS.equals ( intent.getAction ( ) ) ) && ( scorer.scorerResolveInfo.activityInfo.packageName.equals ( intent.getPackage ( ) ) ) ; }

Target:
private void mockScoreNetworksDenied ( java.lang.String packageName ) { org.mockito.Mockito.when ( mMockPm.checkPermission ( permission.SCORE_NETWORKS , packageName ) ) . thenReturn ( PackageManager.PERMISSION_DENIED ) ; }
Source:
com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return changeVFS ( vfs.getVDir ( parent , name ) ) ; }

Target:
com.android.sched.vfs.DeflateFS.DeflateVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return new com.android.sched.vfs.DeflateFS.DeflateVDir ( this , vfs.getVDir ( parent.getWrappedDir ( ) , name ) ) ; }
Source:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . compileAndRunTest ( ) ; }

Target:
private void run ( @ javax.annotation.Nonnull com.android.jack.test.runtime.RuntimeTestInfo rti ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( rti ) . setSourceLevel ( SourceLevel.JAVA_8 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JackApiV01.class ) . setWithDebugInfos ( true ) . compileAndRunTest ( ) ; }
Source:
public void sendBurstDtmfResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getAvailableNetworksResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.util.ArrayList < com.android.internal.telephony.V1_0.OperatorInfo > networkInfos ) { responseOperatorInfos ( responseInfo , networkInfos ) ; }
Source:
static void decorateDocument ( @ com.android.annotations.NonNull org.w3c.dom.Document doc , @ com.android.annotations.NonNull java.lang.String fileName ) { doc.setUserData ( com.android.manifmerger.XmlUtils.DATA_FILE_NAME , fileName , null ) ; com.android.manifmerger.XmlUtils.findLineNumbers ( doc , 1 ) ; }

Target:
static void decorateDocument ( @ com.android.annotations.NonNull org.w3c.dom.Document doc , @ com.android.annotations.NonNull java.lang.String fileName ) { doc.setUserData ( com.android.manifmerger.MergerXmlUtils.DATA_FILE_NAME , fileName , null ) ; com.android.manifmerger.MergerXmlUtils.findLineNumbers ( doc , 1 ) ; }
Source:
private java.util.Set < java.lang.String > getAliases ( org.apache.harmony.xnet.provider.jsse.TrustedCertificateStore store ) { switch ( this ) { case SYSTEM : return store.allSystemAliases ( ) ; case USER : return store.userAliases ( ) ; } throw new java.lang.AssertionError ( ) ; }

Target:
private java.util.Set < java.lang.String > getAliases ( com.android.org.conscrypt.TrustedCertificateStore store ) { switch ( this ) { case SYSTEM : return store.allSystemAliases ( ) ; case USER : return store.userAliases ( ) ; } throw new java.lang.AssertionError ( ) ; }
Source:
public void testNoDpiMix ( ) throws java.lang.Exception { assertEquals ( ( "res/drawable-mdpi/frame.xml: Warning: The following images appear in both -nodpi and in a density folder: frame.png, frame.xml [IconNoDpi]\n" + ( ( ( " res/drawable-mdpi/frame.png: <No location-specific message\n" + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi [IconMissingDensityFolder]\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable/states.xml=>res/drawable-nodpi/frame.xml" ) ) ; }

Target:
public void testNoDpiMix ( ) throws java.lang.Exception { mEnabled = com.android.tools.lint.checks.IconDetectorTest.ALL ; assertEquals ( ( "res/drawable-mdpi/frame.xml: Warning: The following images appear in both -nodpi and in a density folder: frame.png, frame.xml [IconNoDpi]\n" + ( ( ( " res/drawable-mdpi/frame.png: <No location-specific message\n" + "res: Warning: Missing density variation folders in res: drawable-hdpi, drawable-xhdpi [IconMissingDensityFolder]\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "res/drawable-mdpi/frame.png" , "res/drawable/states.xml=>res/drawable-nodpi/frame.xml" ) ) ; }
Source:
public static java.lang.String getProperty ( @ javax.annotation.Nonnull java.lang.String key ) { java.lang.String value = com.android.jack.test.TestsProperties.testsProperties.getProperty ( key ) ; if ( value == null ) { throw new com.android.jack.test.TestConfigurationException ( ( ( "Undefined property : '" + key ) + "'" ) ) ; } return value ; }

Target:
public static final java.io.File getAndroidRootDir ( ) { java.lang.String androidHome = com.android.jack.test.TestsProperties.getProperty ( "android.home" ) ; if ( androidHome.equals ( "" ) ) { throw new com.android.jack.test.TestConfigurationException ( "Property 'android.home' is not set'" ) ; } return new java.io.File ( androidHome ) ; }
Source:
public void run ( ) { com.android.rs.test.RenderScript pRS = com.android.rs.test.RenderScript.create ( mCtx ) ; testScriptSide ( pRS ) ; testJavaSide ( pRS ) ; passTest ( ) ; pRS.destroy ( ) ; }

Target:
public void run ( ) { android.renderscript.RenderScript pRS = android.renderscript.RenderScript.create ( mCtx ) ; testScriptSide ( pRS ) ; testJavaSide ( pRS ) ; passTest ( ) ; pRS.destroy ( ) ; }
Source:
public void getNameSingleFlavor ( ) { org.junit.Assert.assertEquals ( "flavor1" , new com.android.build.gradle.internal.ProductFlavorCombo ( f1 ) . getName ( ) ) ; }

Target:
public void getNameSingleFlavor ( ) { org.junit.Assert.assertEquals ( "flavor1" , new com.android.build.gradle.internal.ProductFlavorCombo < com.android.build.gradle.internal.dsl.CoreProductFlavor > ( f1 ) . getName ( ) ) ; }
Source:
public void writeOnImsCallHoldReceived ( int phoneId , com.android.ims.internal.ImsCallSession session ) { }

Target:
public void writeOnImsCallStartFailed ( int phoneId , android.telephony.ims.ImsCallSession session , android.telephony.ims.ImsReasonInfo reasonInfo ) { }
Source:
public static int getExponent ( double d ) { return sun.misc.FpUtils.getExponent ( d ) ; }

Target:
public static double signum ( double d ) { return ( d == 0.0 ) || ( java.lang.Double.isNaN ( d ) ) ? d : java.lang.Math.copySign ( 1.0 , d ) ; }
Source:
public static void computeFloor ( android.renderscript.cts.TestFloor.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 1 ; args.out = ( ( float ) ( java.lang.StrictMath.floor ( args.in ) ) ) ; }

Target:
public static void computeIlogb ( android.renderscript.cts.TestIlogb.ArgumentsFloatInt args ) { args.out = android.renderscript.cts.CoreMathVerifier.ilogb ( args.in ) ; }
Source:
public java.lang.String getDescription ( ) { if ( getVariantConfiguration ( ) . hasFlavors ( ) ) { return java.lang.String.format ( "%s build for flavor %s" , getCapitalizedBuildTypeName ( ) , getCapitalizedFlavorName ( ) ) ; } else { return java.lang.String.format ( "%s build" , getCapitalizedBuildTypeName ( ) ) ; } }

Target:
public java.lang.String getDescription ( ) { if ( getVariantConfiguration ( ) . hasFlavors ( ) ) { return java.lang.String.format ( "%s%s build" , getCapitalizedBuildTypeName ( ) , getCapitalizedFlavorName ( ) ) ; } else { return java.lang.String.format ( "%s build" , getCapitalizedBuildTypeName ( ) ) ; } }
Source:
public boolean matchSchedule ( com.android.tv.dvr.ScheduledRecording schedule ) { return ( ( schedule.getType ( ) ) == ( com.android.tv.dvr.ScheduledRecording.TYPE_PROGRAM ) ) && ( ( mProgram.getId ( ) ) == ( schedule.getProgramId ( ) ) ) ; }

Target:
public boolean matchSchedule ( com.android.tv.dvr.data.ScheduledRecording schedule ) { return ( ( schedule.getType ( ) ) == ( com.android.tv.dvr.data.ScheduledRecording.TYPE_PROGRAM ) ) && ( ( mProgram.getId ( ) ) == ( schedule.getProgramId ( ) ) ) ; }
Source:
static void preCloseImpl ( java.io.FileDescriptor fd ) throws java.io.IOException { if ( fd.isSocket$ ( ) ) { try { dalvik.system.SocketTagger.get ( ) . untag ( fd ) ; } catch ( java.net.SocketException ignored ) { } } sun.nio.ch.FileDispatcherImpl.preClose0 ( fd ) ; }

Target:
void preClose ( java.io.FileDescriptor fd ) throws java.io.IOException { sun.nio.ch.FileDispatcherImpl.preClose0 ( fd ) ; }
Source:
public java.lang.String getComponentShortName ( ) { if ( ( componentShortName ) != null ) { return componentShortName ; } android.content.ComponentName component = getComponentName ( ) ; if ( component != null ) { componentShortName = component.flattenToShortString ( ) ; } return componentShortName ; }

Target:
public void appendComponentShortName ( java.lang.StringBuilder sb ) { android.content.ComponentName.appendShortString ( sb , owner.applicationInfo.packageName , className ) ; }
Source:
public void bluetoothStartPairingHelper ( ) { mService.registerReceiver ( mPairingHelper , mPairingFilter ) ; }

Target:
public void bluetoothStartPairingHelper ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "autoConfirm" , description = "Whether connection should be auto confirmed" ) java.lang.Boolean autoConfirm ) { com.googlecode.android_scripting.Log.d ( "Staring pairing helper" ) ; mPairingHelper.setAutoConfirm ( autoConfirm ) ; mService.registerReceiver ( mPairingHelper , mPairingFilter ) ; }
Source:
private void createSeriesRecordingForRecordedProgramIfNeeded ( com.android.tv.dvr.RecordedProgram recordedProgram ) { if ( ( recordedProgram.getSeriesId ( ) ) != null ) { com.android.tv.dvr.SeriesRecording seriesRecording = mDataManager.getSeriesRecording ( recordedProgram.getSeriesId ( ) ) ; if ( seriesRecording == null ) { addSeriesRecording ( recordedProgram ) ; } } }

Target:
private void createSeriesRecordingForRecordedProgramIfNeeded ( com.android.tv.dvr.data.RecordedProgram recordedProgram ) { if ( ( recordedProgram.getSeriesId ( ) ) != null ) { com.android.tv.dvr.data.SeriesRecording seriesRecording = mDataManager.getSeriesRecording ( recordedProgram.getSeriesId ( ) ) ; if ( seriesRecording == null ) { addSeriesRecording ( recordedProgram ) ; } } }
Source:
public void captivePortalCheckComplete ( ) { try { mService.captivePortalCheckComplete ( ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public boolean startCustomizedScan ( android.net.wifi.ScanSettings requested , android.os.WorkSource workSource ) { try { mService.startScan ( requested , workSource ) ; return true ; } catch ( android.os.RemoteException e ) { return false ; } }
Source:
static native boolean initLocaleDataNative ( java.lang.String locale , libcore.icu.LocaleData result ) ;

Target:
static native boolean initLocaleDataNative ( java.lang.String languageTag , libcore.icu.LocaleData result ) ;
Source:
protected void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( "[ImsPhoneCallTracker] " + msg ) ) ; }

Target:
protected void loge ( java.lang.String msg ) { android.telephony.Rlog.e ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + msg ) ) ; }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Throwable { Main.testfindSpecial_invokeSuperBehaviour ( ) ; Main.testfindSpecial_invokeDirectBehaviour ( ) ; Main.testExceptionDetailMessages ( ) ; Main.testfindVirtual ( ) ; }
Source:
public void run ( ) { loadPrivatePackagesInner ( vol ) ; }

Target:
public void run ( ) { updateExternalMediaStatusInner ( mediaStatus , reportStatus , true ) ; }
Source:
public abstract java.lang.String getAbi ( ) ;

Target:
public abstract java.util.List < java.lang.String > getAbis ( ) ;
Source:
public void createTabs ( org.eclipse.debug.ui.ILaunchConfigurationDialog dialog , java.lang.String mode ) { org.eclipse.debug.ui.ILaunchConfigurationTab [ ] tabs = new org.eclipse.debug.ui.ILaunchConfigurationTab [ ] { new com.android.ide.eclipse.ndk.internal.launch.NdkMainLaunchConfigTab ( ) , new com.android.ide.eclipse.ndk.internal.launch.NdkDebuggerConfigTab ( ) , new org.eclipse.debug.ui.sourcelookup.SourceLookupTab ( ) , new org.eclipse.debug.ui.CommonTab ( ) } ; setTabs ( tabs ) ; }

Target:
public void createTabs ( org.eclipse.debug.ui.ILaunchConfigurationDialog dialog , java.lang.String mode ) { org.eclipse.debug.ui.ILaunchConfigurationTab [ ] tabs = new org.eclipse.debug.ui.ILaunchConfigurationTab [ ] { new com.android.ide.eclipse.ndk.internal.launch.NdkMainLaunchConfigTab ( ) , new com.android.ide.eclipse.ndk.internal.launch.NdkDebuggerTab ( ) , new org.eclipse.debug.ui.sourcelookup.SourceLookupTab ( ) , new org.eclipse.debug.ui.CommonTab ( ) } ; setTabs ( tabs ) ; }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < V > immediateFailedFuture ( java.lang.Throwable throwable ) { com.google.common.base.Preconditions.checkNotNull ( throwable ) ; com.google.common.util.concurrent.SettableFuture < V > future = com.google.common.util.concurrent.SettableFuture.create ( ) ; future.setException ( throwable ) ; return future ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < V > immediateFailedFuture ( java.lang.Throwable throwable ) { com.google.common.base.Preconditions.checkNotNull ( throwable ) ; return new com.google.common.util.concurrent.Futures.ImmediateFailedFuture < V > ( throwable ) ; }
Source:
public void callSessionRttModifyResponseReceived ( int status ) throws android.os.RemoteException { mNewListener.callSessionRttModifyResponseReceived ( status ) ; }

Target:
public void callSessionRttMessageReceived ( java.lang.String rttMessage ) throws android.os.RemoteException { mNewListener.callSessionRttMessageReceived ( rttMessage ) ; }
Source:
public int hashCode ( ) { final int prime = 31 ; int result = 1 ; result = ( prime * result ) + ( java.util.Arrays.hashCode ( mArray ) ) ; return result ; }

Target:
public int hashCode ( ) { return mHashCode ; }
Source:
public int compare ( com.android.ahat.Site.ObjectsInfo a , com.android.ahat.Site.ObjectsInfo b ) { return a.heap.getName ( ) . compareTo ( b.heap.getName ( ) ) ; }

Target:
public int compare ( com.android.ahat.heapdump.Site a , com.android.ahat.heapdump.Site b ) { return java.lang.Long.compare ( b.getTotalSize ( ) , a.getTotalSize ( ) ) ; }
Source:
public java.lang.String getLibraryCategoryName ( ) { return com.intellij.openapi.externalSystem.util.ExternalSystemBundle.message ( GradleConstants.SYSTEM_ID.getReadableName ( ) ) ; }

Target:
public java.lang.String getLibraryCategoryName ( ) { return "Gradle" ; }
Source:
public java.lang.invoke.MethodHandle asCollector ( java.lang.Class < ? > arrayType , int arrayLength ) { asCollectorChecks ( arrayType , arrayLength ) ; throw new java.lang.UnsupportedOperationException ( "asCollector(Class<?>, int)" ) ; }

Target:
public java.lang.invoke.MethodHandle asCollector ( java.lang.Class < ? > arrayType , int arrayLength ) { asCollectorChecks ( arrayType , arrayLength ) ; return new java.lang.invoke.Transformers.Collector ( this , arrayType , arrayLength ) ; }
Source:
private void showErrorAndFinish ( ) { android.widget.Toast.makeText ( this , R.string.settings_license_activity_unavailable , Toast.LENGTH_LONG ) . show ( ) ; finish ( ) ; }

Target:
private void showErrorAndFinish ( ) { mSpinnerDlg.dismiss ( ) ; mSpinnerDlg = null ; android.widget.Toast.makeText ( this , R.string.settings_license_activity_unavailable , Toast.LENGTH_LONG ) . show ( ) ; finish ( ) ; }
Source:
protected java.lang.String getLocaleID ( ) { return null ; }

Target:
public java.util.Enumeration getKeys ( ) { return null ; }
Source:
com.android.manifmerger.AttributeModel build ( ) { return new com.android.manifmerger.AttributeModel ( mName , mIsPackageDependent , mDefaultValue , mOnReadValidator , mOnWriteValidator ) ; }

Target:
com.android.manifmerger.AttributeModel build ( ) { return new com.android.manifmerger.AttributeModel ( com.android.manifmerger.XmlNode.fromXmlName ( ( "android:" + ( mName ) ) ) , mIsPackageDependent , mDefaultValue , mOnReadValidator , mOnWriteValidator , mMergingPolicy ) ; }
Source:
void onHangupLocal ( ) { mCause = android.telephony.DisconnectCause.LOCAL ; }

Target:
void onHangupLocal ( ) { mDisconnecting = true ; mCause = android.telephony.DisconnectCause.LOCAL ; }
Source:
public void uint8 ( short v ) throws java.io.IOException { mBuffer [ 0 ] = ( ( byte ) ( v & 255 ) ) ; write ( 1 ) ; }

Target:
public void uint8 ( short v ) throws java.io.IOException { mBuffer [ 0 ] = ( ( byte ) ( v & 255 ) ) ; mOutputStream.write ( mBuffer , 0 , 1 ) ; }
Source:
private final void decPersistentCountLocked ( com.android.server.am.ProcessRecord app ) { ( app.persistentActivities ) -- ; if ( ( app.persistentActivities ) > 0 ) { return ; } if ( app.persistent ) { return ; } updateOomAdjLocked ( ) ; }

Target:
void grantUriPermissionFromIntentLocked ( int callingUid , java.lang.String targetPkg , android.content.Intent intent , com.android.server.am.UriPermissionOwner owner ) { int targetUid = checkGrantUriPermissionFromIntentLocked ( callingUid , targetPkg , intent ) ; if ( targetUid < 0 ) { return ; } grantUriPermissionUncheckedFromIntentLocked ( targetUid , targetPkg , intent , owner ) ; }
Source:
public boolean matchesSignature ( @ com.android.annotations.NonNull java.lang.String signature ) { return matchesName ( signature ) ; }

Target:
public boolean matchesSignature ( @ com.android.annotations.NonNull java.lang.String signature ) { return com.android.tools.lint.EcjParser.sameChars ( signature , mBinding.readableName ( ) ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAlloc x ) { print ( com.android.jack.ir.impl.ToStringGenerationVisitor.CHARS_ALLOC ) ; print ( "<" ) ; print ( x.getType ( ) . getName ( ) ) ; print ( ">" ) ; return false ; }

Target:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JConstructor x ) { if ( x.isPrivate ( ) ) { print ( com.android.jack.ir.impl.CHARS_PRIVATE ) ; } else { print ( com.android.jack.ir.impl.CHARS_PUBLIC ) ; } printName ( x ) ; printParameterList ( x ) ; return false ; }
Source:
public void testOneExecutableIsPie ( ) throws java.io.IOException { assertTrue ( android.security.cts.ReadElf.read ( new java.io.File ( "/system/bin/cat" ) ) . isPIE ( ) ) ; }

Target:
public void testOneExecutableIsPie ( ) throws java.io.IOException { assertTrue ( android.os.cts.ReadElf.read ( new java.io.File ( "/system/bin/cat" ) ) . isPIE ( ) ) ; }
Source:
private static boolean isIncomingCall ( com.android.incallui.call.DialerCall call ) { return ( call != null ) && ( ( ( call.getState ( ) ) == ( com.android.incallui.call.DialerCall.State.CALL_WAITING ) ) || ( ( call.getState ( ) ) == ( com.android.incallui.call.DialerCall.State.INCOMING ) ) ) ; }

Target:
private static boolean isIncomingCall ( com.android.incallui.call.DialerCall call ) { return ( call != null ) && ( ( ( call.getState ( ) ) == ( com.android.incallui.call.state.DialerCallState.CALL_WAITING ) ) || ( ( call.getState ( ) ) == ( com.android.incallui.call.state.DialerCallState.INCOMING ) ) ) ; }
Source:
public static void computeCeil ( android.renderscript.cts.TestCeil.ArgumentsFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 1 ; args.out = ( ( float ) ( java.lang.StrictMath.ceil ( args.in ) ) ) ; }

Target:
public static void computeLogb ( android.renderscript.cts.TestLogb.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.logb ( args.in ) , 0 , 0 ) ; }
Source:
public java.lang.String getInstrumentationRunner ( ) { com.android.builder.core.VariantConfiguration config = this ; if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { config = getTestedConfig ( ) ; } java.lang.String runner = config.mMergedFlavor.getTestInstrumentationRunner ( ) ; return runner != null ? runner : com.android.builder.core.VariantConfiguration.DEFAULT_TEST_RUNNER ; }

Target:
public java.lang.Boolean getFunctionalTest ( ) { com.android.builder.core.VariantConfiguration config = this ; if ( ( mType ) == ( com.android.builder.core.VariantConfiguration.Type.TEST ) ) { config = getTestedConfig ( ) ; } java.lang.Boolean functionalTest = config.mMergedFlavor.getTestFunctionalTest ( ) ; return functionalTest != null ? functionalTest : com.android.builder.core.VariantConfiguration.DEFAULT_FUNCTIONAL_TEST ; }
Source:
public void testE2 ( ) { try { dot.junit.opcodes.const_class.d.T_const_class_7 t = new dot.junit.opcodes.const_class.d.T_const_class_7 ( ) ; t.run ( ) ; fail ( "expected an IllegalAccessError exception" ) ; } catch ( java.lang.IllegalAccessError e ) { } }

Target:
public void testE2 ( ) { loadAndRun ( "dot.junit.opcodes.const_class.d.T_const_class_7" , java.lang.IllegalAccessError.class ) ; }
Source:
public void serviceConnected ( ) { }

Target:
public void onServiceConnected ( ) { if ( ( mListener ) != null ) { mListener.onServiceConnected ( ) ; } }
Source:
public android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation clone ( ) { android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation operation = new android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation ( ) ; for ( android.hardware.cts.helpers.sensoroperations.ISensorOperation subOperation : mOperations ) { operation.add ( subOperation.clone ( ) ) ; } return operation ; }

Target:
public android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation clone ( ) { android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation operation = new android.hardware.cts.helpers.sensoroperations.ParallelSensorOperation ( ) ; for ( android.hardware.cts.helpers.sensoroperations.SensorOperation subOperation : mOperations ) { operation.add ( subOperation.clone ( ) ) ; } return operation ; }
Source:
private int getPixel ( int x , int y ) { java.awt.image.BufferedImage image = getBufferedImage ( ) ; return image.getRGB ( x , y ) ; }

Target:
public com.android.monkeyrunner.core.IMonkeyImage getImpl ( ) { return impl ; }
Source:
public boolean setP2pClientList ( int netId , java.lang.String list ) { return false ; }

Target:
public boolean setP2pClientList ( int netId , java.lang.String list ) { return mSupplicantP2pIfaceHal.setClientList ( netId , list ) ; }
Source:
public void testConnectWithNoDisconnectAndSingleExistingNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; executeAndValidateConnectSequence ( 0 , true , false ) ; }

Target:
public void testConnectWithSingleExistingNetwork ( ) throws java.lang.Exception { executeAndValidateInitializationSequence ( ) ; executeAndValidateConnectSequence ( 0 , true ) ; }
Source:
boolean stopGattProfileService ( ) { debugLog ( "stopGattProfileService()" ) ; java.lang.Class [ ] supportedProfileServices = com.android.bluetooth.btservice.Config.getSupportedProfiles ( ) ; setGattProfileServiceState ( supportedProfileServices , BluetoothAdapter.STATE_OFF ) ; return true ; }

Target:
void stopProfileServices ( ) { java.lang.Class [ ] supportedProfileServices = com.android.bluetooth.btservice.Config.getSupportedProfiles ( ) ; if ( ( mRunningProfiles.size ( ) ) == 0 ) { debugLog ( "stopProfileServices() - No profiles services to stop or already stopped." ) ; return ; } setAllProfileServiceStates ( supportedProfileServices , BluetoothAdapter.STATE_OFF ) ; }
Source:
protected java.io.File getAapt ( ) { return getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) ) ; }

Target:
public static void setup ( ) { com.android.builder.png.NinePatchAaptProcessorTest.mSourceAndCrunchedFiles = com.google.common.collect.Maps.newHashMap ( ) ; com.android.builder.png.NinePatchAaptProcessorTest.sCruncherKey.set ( com.android.builder.png.NinePatchAaptProcessorTest.sCruncher.start ( ) ) ; }
Source:
public void test ( ) throws java.lang.Exception { com.android.tools.lint.Main client = new com.android.tools.lint.Main ( ) ; int max = client.getHighestKnownApiLevel ( ) ; assertTrue ( ( max >= 16 ) ) ; }

Target:
public void test ( ) throws java.lang.Exception { com.android.tools.lint.LintCliClient client = new com.android.tools.lint.LintCliClient ( ) ; int max = client.getHighestKnownApiLevel ( ) ; assertTrue ( ( max >= 16 ) ) ; }
Source:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; setTestResultAndFinish ( true ) ; }

Target:
public void onClick ( android.view.View v ) { startActivity ( new android.content.Intent ( android.telecom.TelecomManager.ACTION_SHOW_CALL_SETTINGS ) ) ; }
Source:
private void addToRecentDisconnectReasons ( com.android.ims.ImsReasonInfo reason ) { if ( reason == null ) return ; while ( ( mRecentDisconnectReasons.size ( ) ) >= ( com.android.ims.ImsManager.MAX_RECENT_DISCONNECT_REASONS ) ) { mRecentDisconnectReasons.removeFirst ( ) ; } mRecentDisconnectReasons.addLast ( reason ) ; }

Target:
private void addToRecentDisconnectReasons ( android.telephony.ims.ImsReasonInfo reason ) { if ( reason == null ) return ; while ( ( mRecentDisconnectReasons.size ( ) ) >= ( com.android.ims.ImsManager.MAX_RECENT_DISCONNECT_REASONS ) ) { mRecentDisconnectReasons.removeFirst ( ) ; } mRecentDisconnectReasons.addLast ( reason ) ; }
Source:
public android.net.wifi.nan.ConfigRequest build ( ) { if ( ( mClusterLow ) > ( mClusterHigh ) ) { throw new java.lang.IllegalArgumentException ( "Invalid argument combination - must have Cluster Low <= Cluster High" ) ; } return new android.net.wifi.nan.ConfigRequest ( mSupport5gBand , mMasterPreference , mClusterLow , mClusterHigh ) ; }

Target:
public android.net.wifi.aware.ConfigRequest build ( ) { if ( ( mClusterLow ) > ( mClusterHigh ) ) { throw new java.lang.IllegalArgumentException ( "Invalid argument combination - must have Cluster Low <= Cluster High" ) ; } return new android.net.wifi.aware.ConfigRequest ( mSupport5gBand , mMasterPreference , mClusterLow , mClusterHigh ) ; }
Source:
public void handle ( com.android.ide.common.api.INode n ) { node.setAttribute ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.LinearLayoutRule.ATTR_ORIENTATION , valueId ) ; }

Target:
public void handle ( com.android.ide.common.api.INode n ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION , valueId ) ; }
Source:
public boolean retainAll ( java.util.Collection < ? > c ) { return batchRemove ( c , true ) ; }

Target:
public boolean retainAll ( java.util.Collection < ? > c ) { java.util.Objects.requireNonNull ( c ) ; return batchRemove ( c , true ) ; }
Source:
protected T get ( int index ) { return array [ index ] ; }

Target:
public static < T > com.google.common.collect.UnmodifiableIterator < T > forArray ( final T ... array ) { return com.google.common.collect.Iterators.forArray ( array , 0 , array.length , 0 ) ; }
Source:
protected void setUp ( ) { jarName = tests.support.resource.Support_Resources.getURL ( "morestuff/hyts_patch.jar" ) ; jarName2 = tests.support.resource.Support_Resources.getURL ( "morestuff/hyts_patch2.jar" ) ; }

Target:
protected void setUp ( ) { jarName = org.apache.harmony.archive.tests.java.util.jar.JarInputStreamTest.getURL ( "morestuff/hyts_patch.jar" ) ; jarName2 = org.apache.harmony.archive.tests.java.util.jar.JarInputStreamTest.getURL ( "morestuff/hyts_patch2.jar" ) ; }
Source:
protected void leave ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException { if ( isClosed ( ) ) { throw new java.net.SocketException ( "Socket closed" ) ; } libcore.io.IoBridge.setSocketOption ( fd , libcore.io.IoBridge.JAVA_MCAST_LEAVE_GROUP , java.net.PlainDatagramSocketImpl.makeGroupReq ( inetaddr , netIf ) ) ; }

Target:
protected native void join ( java.net.InetAddress inetaddr , java.net.NetworkInterface netIf ) throws java.io.IOException ;
Source:
public void add ( E e ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void add ( E object ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public boolean contains ( java.lang.Object o ) { return containsKey ( o ) ; }

Target:
public V get ( @ javax.annotation.Nullable java.lang.Object key ) { return filteredDelegate.get ( key ) ; }
Source:
public void testAttrs ( ) throws java.lang.Exception { assertEquals ( "customattrlayout.xml: Warning: The resource R.layout.customattrlayout appears to be unused" , lintProject ( "res/values/customattr.xml" , "res/layout/customattrlayout.xml" , "unusedR.java.txt=>gen/my/pkg/R.java" , "AndroidManifest.xml" ) ) ; }

Target:
public void testAttrs ( ) throws java.lang.Exception { assertEquals ( ( "res/layout/customattrlayout.xml: Warning: The resource R.layout.customattrlayout appears to be unused [UnusedResources]\n" + ( "0 errors, 1 warnings\n" + "" ) ) , lintProject ( "res/values/customattr.xml" , "res/layout/customattrlayout.xml" , "unusedR.java.txt=>gen/my/pkg/R.java" , "AndroidManifest.xml" ) ) ; }
Source:
public static java.lang.String [ ] getAvailableIDs ( ) { return libcore.util.ZoneInfoDB.ids.clone ( ) ; }

Target:
public java.lang.String [ ] getAvailableIDs ( ) { return ids.clone ( ) ; }
Source:
public void visitIntInsn ( int opcode , int operand ) { printer.visitIntInsn ( opcode , operand ) ; printTypeOfOperandStackTop ( ) ; super . visitIntInsn ( opcode , operand ) ; }

Target:
public void visitIntInsn ( int opcode , int operand ) { printer.visitIntInsn ( opcode , operand ) ; printTypeOfOperandStack ( ) ; super . visitIntInsn ( opcode , operand ) ; }
Source:
static byte [ ] asBytes ( long [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.crypto.util.Pack.longToBigEndian ( x , z , 0 ) ; return z ; }

Target:
static byte [ ] asBytes ( long [ ] x ) { byte [ ] z = new byte [ 16 ] ; org.bouncycastle.util.Pack.longToBigEndian ( x , z , 0 ) ; return z ; }
Source:
public void remove ( int which ) { removePlaylistItem ( which ) ; }

Target:
public void run ( ) { mTrackList.setBackgroundColor ( Color.WHITE ) ; mTrackList.setCacheColorHint ( 0 ) ; }
Source:
public void testStringsToNpnBytesOversizedInput ( ) { try { android.net.SSLCertificateSocketFactory.toNpnProtocolsList ( new byte [ 256 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }

Target:
public void testStringsToLengthPrefixedBytesOversizedInput ( ) { try { android.net.SSLCertificateSocketFactory.toLengthPrefixedList ( new byte [ 256 ] ) ; fail ( ) ; } catch ( java.lang.IllegalArgumentException expected ) { } }
Source:
public void registerListener ( android.os.IBinder token , android.media.midi.IMidiDeviceListener listener ) { com.android.server.midi.MidiService.Client client = getClient ( token ) ; if ( client == null ) return ; client.addListener ( listener ) ; }

Target:
public void registerListener ( android.os.IBinder token , android.media.midi.IMidiDeviceListener listener ) { com.android.server.midi.MidiService.Client client = getClient ( token ) ; if ( client == null ) return ; client.addListener ( listener ) ; updateStickyDeviceStatus ( client.mUid , listener ) ; }
Source:
private void doTestOther ( java.lang.String mimeType , int w , int h ) throws java.lang.Exception { mTestConfig.mTestPixels = false ; mTestConfig.mTestResult = true ; mTestConfig.mTotalFrames = 3000 ; mTestConfig.mNumberOfRepeat = 2 ; doTest ( false , mimeType , w , h ) ; }

Target:
private void doTestGoog ( java.lang.String mimeType , int w , int h ) throws java.lang.Exception { doTestGoog ( mimeType , w , h , MAX_TIME_MS ) ; }
Source:
public void onAnswer ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.TAG , ( "onAnswer " + ( mCurrentCall ) ) ) ; if ( ! ( mClosed ) ) { mHeadsetProfile.acceptCall ( mDevice , BluetoothHeadsetClient.CALL_ACCEPT_NONE ) ; } }

Target:
public void onAnswer ( ) { if ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnection.TAG , ( "onAnswer " + ( mCurrentCall ) ) ) ; } if ( ! ( mClosed ) ) { mHeadsetProfile.acceptCall ( mDevice , BluetoothHeadsetClient.CALL_ACCEPT_NONE ) ; } }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearTarget ( ) { bitField0_ = ( bitField0_ ) & ( ~ 8 ) ; target_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getTarget ( ) ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearBranch ( ) { bitField0_ = ( bitField0_ ) & ( ~ 8 ) ; branch_ = com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance ( ) . getBranch ( ) ; onChanged ( ) ; return this ; }
Source:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { android.telecom.Log.d ( this , "onIsConferencedChanged %s" , call ) ; updateCall ( call ) ; }

Target:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { if ( call.isSelfManaged ( ) ) { android.telecom.Log.i ( this , "onIsConferencedChanged: skipped self-managed %s" , call ) ; return ; } android.telecom.Log.d ( this , "onIsConferencedChanged %s" , call ) ; updateCall ( call ) ; }
Source:
public synchronized android.bluetooth.BluetoothDevice getActiveDevice ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.a2dp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return mActiveDevice ; }

Target:
public android.bluetooth.BluetoothDevice getActiveDevice ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.a2dp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; synchronized ( mStateMachines ) { return mActiveDevice ; } }
Source:
public void run ( ) { mKeyguardMediator.keyguardDone ( false , true ) ; }

Target:
public void run ( ) { if ( mKeyguardMediator.isDismissable ( ) ) { mKeyguardMediator.keyguardDone ( false , true ) ; } else { mKeyguardMediator.dismiss ( ) ; } }
Source:
private java.lang.String getHeaderSubtitle ( java.lang.String urlString ) { java.net.URL url = com.android.captiveportallogin.CaptivePortalLoginActivity.makeURL ( urlString ) ; if ( url == null ) { return urlString ; } final java.lang.String https = "https" ; if ( https.equals ( url.getProtocol ( ) ) ) { return ( https + "://" ) + ( url.getHost ( ) ) ; } return url.getHost ( ) ; }

Target:
private java.lang.String getHeaderSubtitle ( java.net.URL url ) { java.lang.String host = com.android.captiveportallogin.CaptivePortalLoginActivity.host ( url ) ; final java.lang.String https = "https" ; if ( https.equals ( url.getProtocol ( ) ) ) { return ( https + "://" ) + host ; } return host ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( mMccStr , mMncStr , mLac , mCid , mCpid ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mMccStr , mMncStr , mLac , mCid , mCpid , mAlphaLong , mAlphaShort ) ; }
Source:
public com.android.ide.eclipse.adt.editors.layout.gscripts.Rect moveTo ( int x , int y ) { this . x = x ; this . y = y ; return this ; }

Target:
public com.android.ide.common.api.Rect moveTo ( int x , int y ) { this . x = x ; this . y = y ; return this ; }
Source:
public static java.lang.String hexStringFromByteArray ( byte [ ] bytes ) { if ( bytes == null ) { throw new java.lang.IllegalArgumentException ( "null hex bytes" ) ; } return new java.lang.String ( libcore.util.HexEncoding.encode ( bytes ) ) ; }

Target:
public static java.lang.String hexStringFromByteArray ( byte [ ] bytes ) { if ( bytes == null ) { throw new java.lang.IllegalArgumentException ( "null hex bytes" ) ; } return new java.lang.String ( libcore.util.HexEncoding.encode ( bytes ) ) . toLowerCase ( ) ; }
Source:
public static native java.lang.String toLowerCase ( java.lang.String s , java.lang.String localeName ) ;

Target:
private static native java.lang.String toUpperCase ( java.lang.String s , java.lang.String languageTag ) ;
Source:
private static void displayAddonManifestWarning ( com.android.sdklib.ISdkLog log , java.lang.String addonName , java.lang.String valueName ) { log.warning ( "Ignoring add-on '%1$s': '%2$s' is missing from %3$s." , addonName , valueName , SdkConstants.FN_MANIFEST_INI ) ; }

Target:
private static java.lang.String addonManifestWarning ( java.lang.String valueName ) { return java.lang.String.format ( "'%1$s' is missing from %2$s." , valueName , SdkConstants.FN_MANIFEST_INI ) ; }
Source:
public void setSimPowerState ( boolean powerUp ) { setSimPowerStateForSlot ( getDefaultSim ( ) , powerUp ) ; }

Target:
public void setSimOperatorName ( java.lang.String name ) { int phoneId = getPhoneId ( ) ; setSimOperatorNameForPhone ( phoneId , name ) ; }
Source:
public native void setFloat ( java.lang.Object object , float value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native double getDouble ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
void libToLib ( @ javax.annotation.Nonnull java.io.File in , @ javax.annotation.Nonnull java.io.File out , boolean zipFiles ) throws java.lang.Exception ;

Target:
void libToExe ( @ javax.annotation.Nonnull java.io.File [ ] in , @ javax.annotation.Nonnull java.io.File out , boolean zipFile ) throws java.lang.Exception ;
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { sortPackages ( true ) ; expandInitial ( mCategories ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { onButtonInstall ( ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier getQualifier ( java.lang.String segment ) { if ( com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier.sLanguagePattern.matcher ( segment ) . matches ( ) ) { com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier qualifier = new com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier ( ) ; qualifier.mValue = segment ; return qualifier ; } return null ; }

Target:
public static com.android.ide.common.resources.configuration.LanguageQualifier getQualifier ( java.lang.String segment ) { if ( com.android.ide.common.resources.configuration.LanguageQualifier.sLanguagePattern.matcher ( segment ) . matches ( ) ) { com.android.ide.common.resources.configuration.LanguageQualifier qualifier = new com.android.ide.common.resources.configuration.LanguageQualifier ( ) ; qualifier.mValue = segment ; return qualifier ; } return null ; }
Source:
private static libcore.io.StructGroupSourceReq makeGroupSourceReq ( java.net.InetAddress gsr_group , java.net.NetworkInterface networkInterface , java.net.InetAddress gsr_source ) { int gsr_interface = ( networkInterface != null ) ? networkInterface.getIndex ( ) : 0 ; return new libcore.io.StructGroupSourceReq ( gsr_interface , gsr_group , gsr_source ) ; }

Target:
private static android.system.StructGroupSourceReq makeGroupSourceReq ( java.net.InetAddress gsr_group , java.net.NetworkInterface networkInterface , java.net.InetAddress gsr_source ) { int gsr_interface = ( networkInterface != null ) ? networkInterface.getIndex ( ) : 0 ; return new android.system.StructGroupSourceReq ( gsr_interface , gsr_group , gsr_source ) ; }
Source:
public void generatePushValue ( final org.jetbrains.asm4.commons.GeneratorAdapter generator , final java.lang.Object value ) { final org.jetbrains.asm4.Type enumType = org.jetbrains.asm4.Type.getType ( value.getClass ( ) ) ; generator.getStatic ( enumType , value.toString ( ) , enumType ) ; }

Target:
public void generatePushValue ( final org.jetbrains.org.objectweb.asm.commons.GeneratorAdapter generator , final java.lang.Object value ) { final org.jetbrains.org.objectweb.asm.Type enumType = org.jetbrains.org.objectweb.asm.Type.getType ( value.getClass ( ) ) ; generator.getStatic ( enumType , value.toString ( ) , enumType ) ; }
Source:
private void applyTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.applyTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void applyTransportModeTransform ( java.io.FileDescriptor socket , int direction , android.net.IpSecTransform transform ) throws java.io.IOException { try ( android.os.ParcelFileDescriptor pfd = android.os.ParcelFileDescriptor.dup ( socket ) ) { applyTransportModeTransform ( pfd , direction , transform ) ; } }
Source:
static boolean triggerArrayOOM ( ) { Main.ArrayMemEater.blowup ( new char [ ( 1 * 1024 ) * 1024 ] [ ] ) ; return Main.ArrayMemEater.sawOome ; }

Target:
static boolean triggerArrayOOM ( ) { Main.ArrayMemEater.blowup ( new char [ 128 * 1024 ] [ ] ) ; return Main.ArrayMemEater.sawOome ; }
Source:
private native void nativeSetNavClipBounds ( android.graphics.Rect rect ) ;

Target:
private native android.graphics.Rect nativeCursorNodeBounds ( ) ;
Source:
public boolean verifyOnTarget ( ) { if ( executionResult.getFlattenedOutput ( ) . contains ( "VerifyError" ) ) { return false ; } return true ; }

Target:
public boolean didTargetVerify ( ) { java.lang.String output = executionResult.getFlattenedAll ( ) ; if ( ( output.contains ( "VerifyError" ) ) || ( output.contains ( "Verification failed on class" ) ) ) { return false ; } return true ; }
Source:
private native void startSyncNative ( int sid , java.lang.String address , int skip , int timeout , int reg_id ) ;

Target:
private native void startSyncNative ( int sid , java.lang.String address , int skip , int timeout , int regId ) ;
Source:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt ) ;

Target:
native void rsnAllocationData3D ( long con , long id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
synchronized void nScriptGroupSetOutput ( int group , int kernel , int alloc ) { validate ( ) ; rsnScriptGroupSetOutput ( mContext , group , kernel , alloc ) ; }

Target:
synchronized void nScriptSetVarObj ( long id , int slot , long val ) { validate ( ) ; rsnScriptSetVarObj ( mContext , id , slot , val ) ; }
Source:
public boolean bindService ( android.content.Intent service , android.content.ServiceConnection conn , int flags ) { warnIfCallingFromSystemProcess ( ) ; return bindServiceAsUser ( service , conn , flags , java.lang.Process.myUserHandle ( ) ) ; }

Target:
public boolean bindService ( android.content.Intent service , android.content.ServiceConnection conn , int flags ) { warnIfCallingFromSystemProcess ( ) ; return bindServiceCommon ( service , conn , flags , java.lang.Process.myUserHandle ( ) ) ; }
Source:
public com.android.ahat.heapdump.Value getBaselineDumpedValue ( java.lang.String name ) { return getDumpedValue ( name , mBaseline ) ; }

Target:
public com.android.ahat.heapdump.Value getDumpedValue ( java.lang.String name ) { return com.android.ahat.TestDump.getDumpedValue ( name , mMain ) ; }
Source:
public void testGenerate_NotInitialized_Fail ( ) throws java.lang.Exception { assertFalse ( "Should fail when keystore is not initialized" , mKeyStore.generate ( android.security.KeyStoreTest.TEST_KEYNAME , KeyStore.UID_SELF , KeyStore.FLAG_ENCRYPTED ) ) ; }

Target:
public void testGenerate_NotInitialized_Fail ( ) throws java.lang.Exception { assertFalse ( "Should fail when keystore is not initialized" , mKeyStore.generate ( android.security.KeyStoreTest.TEST_KEYNAME , KeyStore.UID_SELF , NativeCrypto.EVP_PKEY_RSA , 1024 , KeyStore.FLAG_ENCRYPTED , null ) ) ; }
Source:
public void onComplete ( int resultCode , byte [ ] info ) { callback.onComplete ( resultCode , info ) ; }

Target:
public void onComplete ( int resultCode , byte [ ] info ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , info ) ) ; }
Source:
public void testE3 ( ) { try { dot.junit.opcodes.instance_of.d.T_instance_of_7 tt = new dot.junit.opcodes.instance_of.d.T_instance_of_7 ( ) ; tt.run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.NoClassDefFoundError e ) { } catch ( java.lang.VerifyError e ) { } }

Target:
public void testVFE2 ( ) { load ( "dot.junit.opcodes.instance_of.d.T_instance_of_5" , java.lang.VerifyError.class ) ; }
Source:
public long getUidTagPersistBytes ( long def ) { return getSecureLong ( android.provider.Settings.Secure.NETSTATS_UID_TAG_PERSIST_BYTES , def ) ; }

Target:
public long getDevPersistBytes ( long def ) { return getGlobalLong ( android.provider.Settings.Global.NETSTATS_DEV_PERSIST_BYTES , def ) ; }
Source:
public native java.lang.Class < ? > [ ] getExceptionTypes ( ) ;

Target:
public java.lang.Class < ? > [ ] getExceptionTypes ( ) { if ( getDeclaringClass ( ) . isProxy ( ) ) { return getExceptionTypesNative ( ) ; } else { return libcore.reflect.AnnotationAccess.getExceptions ( this ) ; } }
Source:
public void test_U8_1_SCALE20_05_inSqure ( ) { testReszie ( inX , inX , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; }

Target:
public void test_U8_1_SCALE20_05_inSqure ( ) { testResize ( inX , inX , Element.DataType.UNSIGNED_8 , 1 , 2.0F , 0.5F ) ; }
Source:
protected boolean cleanup ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "cleanup()" ) ; } if ( mNativeAvailable ) { cleanupNative ( ) ; mNativeAvailable = false ; } return true ; }

Target:
protected boolean start ( ) { if ( com.android.bluetooth.hid.HidDeviceService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidDeviceService.TAG , "start()" ) ; } mHandler = new com.android.bluetooth.hid.HidDeviceService.HidDeviceServiceHandler ( ) ; com.android.bluetooth.hid.HidDeviceService.setHidDeviceService ( this ) ; mHidDeviceNativeInterface.init ( ) ; mNativeAvailable = true ; return true ; }