auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public java.lang.String resolveResourceValue ( int [ ] id ) { if ( ( mStyleableValueToNameMap ) != null ) { mWrapper.set ( id ) ; return mStyleableValueToNameMap.get ( mWrapper ) ; } return null ; }

Target:
public java.lang.String resolveStyleable ( int [ ] id ) { if ( ( mStyleableValueToNameMap ) != null ) { mWrapper.set ( id ) ; return mStyleableValueToNameMap.get ( mWrapper ) ; } return null ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder hSpacing ( int h ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.horizontalSpacing = h ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder vSpacing ( int v ) { mGL.verticalSpacing = v ; return this ; }
Source:
public void testMoveAppForwardLocked ( ) { int installFlags = PackageManager.INSTALL_FORWARD_LOCK ; int moveFlags = PackageManager.MOVE_EXTERNAL_MEDIA ; boolean fail = true ; int result = PackageManager.MOVE_FAILED_FORWARD_LOCKED ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }

Target:
public void testMoveAppInternalToInternal ( ) { int installFlags = android.content.pm.PackageManager.INSTALL_INTERNAL ; int moveFlags = android.content.pm.PackageManager.MOVE_INTERNAL ; boolean fail = true ; int result = android.content.pm.PackageManager.MOVE_FAILED_INVALID_LOCATION ; sampleMoveFromRawResource ( installFlags , moveFlags , fail , result ) ; }
Source:
public void testSAXNotSupportedException_String ( ) { org.xml.sax.SAXNotSupportedException e = new org.xml.sax.SAXNotSupportedException ( tests.api.org.xml.sax.SAXNotSupportedExceptionTest.ERR ) ; assertEquals ( tests.api.org.xml.sax.SAXNotSupportedExceptionTest.ERR , e.getMessage ( ) ) ; e = new org.xml.sax.SAXNotSupportedException ( null ) ; assertNull ( e.getMessage ( ) ) ; }

Target:
public void testSAXNotSupportedException_String ( ) { org.xml.sax.SAXNotSupportedException e = new org.xml.sax.SAXNotSupportedException ( org.apache.harmony.tests.org.xml.sax.SAXNotSupportedExceptionTest.ERR ) ; assertEquals ( org.apache.harmony.tests.org.xml.sax.SAXNotSupportedExceptionTest.ERR , e.getMessage ( ) ) ; e = new org.xml.sax.SAXNotSupportedException ( null ) ; assertNull ( e.getMessage ( ) ) ; }
Source:
void expect ( com.ibm.icu.text.Transliterator t , java.lang.String source , java.lang.String expectedResult ) { expect ( t , source , expectedResult , ( ( com.ibm.icu.text.Transliterator.Position ) ( null ) ) ) ; }

Target:
static void expect ( java.lang.String rules , java.lang.String source , java.lang.String expectedResult ) { com.ibm.icu.dev.test.translit.TransliteratorTest.expect ( rules , source , expectedResult , null ) ; }
Source:
public void run ( ) { com.intellij.openapi.ui.Messages.showErrorDialog ( ( "Error importing App Engine module : " + errorMessage ) , com.google.gct.idea.appengine.wizard.NewAppEngineModuleAction.ERROR_MESSAGE_TITLE ) ; }

Target:
public void run ( ) { com.intellij.openapi.ui.Messages.showErrorDialog ( ( "Error importing App Engine module : " + errorMessage ) , com.google.gct.idea.appengine.wizard.CloudModuleUtils.ERROR_MESSAGE_TITLE ) ; }
Source:
public final int getDexMethodIndex ( ) { return artMethod.getDexMethodIndex ( ) ; }

Target:
public java.lang.annotation.Annotation [ ] [ ] getParameterAnnotations ( ) { return libcore.reflect.AnnotationAccess.getParameterAnnotations ( declaringClassOfOverriddenMethod , dexMethodIndex ) ; }
Source:
public void setProcessorOptions ( @ javax.annotation.Nonnull java.util.Map < java.lang.String , java.lang.String > processorOptions ) { throw new java.lang.AssertionError ( ) ; }

Target:
public void setProcessorOptions ( @ javax.annotation.Nonnull java.util.Map < java.lang.String , java.lang.String > processorOptions ) { for ( java.util.Map.Entry < java.lang.String , java.lang.String > entry : processorOptions.entrySet ( ) ) { options.addAnnotationProcessorOption ( entry.getKey ( ) , entry.getValue ( ) ) ; } }
Source:
public void add ( @ javax.annotation.Nonnull java.lang.String name ) { newFieldNames.add ( name ) ; }

Target:
public void add ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.FieldKey key ) { newFieldKeys.add ( key ) ; }
Source:
public android.telephony.ims.aidl.IImsConfig getConfig ( int slotId ) throws android.os.RemoteException { synchronized ( mLock ) { return mIImsServiceController.getConfig ( slotId ) ; } }

Target:
public android.telephony.ims.aidl.IImsConfig getConfig ( int slotId ) throws android.os.RemoteException { synchronized ( mLock ) { return isServiceControllerAvailable ( ) ? mIImsServiceController.getConfig ( slotId ) : null ; } }
Source:
public void exit ( ) { loge ( "WifiStateMachine: Leaving Roaming state" ) ; }

Target:
public void exit ( ) { logd ( "WifiStateMachine: Leaving Roaming state" ) ; }
Source:
private java.lang.String formatDate ( java.util.Locale l , java.lang.String fmt ) { return formatDate ( l , fmt , java.util.TimeZone.getTimeZone ( "UTC" ) ) ; }

Target:
private java.lang.String formatDateUtc ( java.util.Locale l , java.lang.String fmt ) { return formatDate ( l , fmt , libcore.java.text.SimpleDateFormatTest.UTC ) ; }
Source:
private native void gattClientSearchServiceNative ( int conn_id , boolean search_all , long service_uuid_lsb , long service_uuid_msb ) ;

Target:
private native void gattClientSearchServiceNative ( int connId , boolean searchAll , long serviceUuidLsb , long serviceUuidMsb ) ;
Source:
public com.android.layoutlib.api.SceneResult createResult ( java.lang.String errorMessage ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , null ) ; }

Target:
public com.android.ide.common.rendering.api.Result createResult ( java.lang.String errorMessage ) { return new com.android.ide.common.rendering.api.Result ( this , errorMessage , null ) ; }
Source:
public void testExistingIUserI ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_INTERNAL ; int iFlags = PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }

Target:
public void testExistingEUserI ( ) { if ( android.os.Environment.isExternalStorageEmulated ( ) ) { return ; } int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_INTERNAL ; int iFlags = android.content.pm.PackageManager.INSTALL_EXTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }
Source:
public void onChange ( boolean selfChange ) { super . onChange ( selfChange ) ; synchronized ( mLock ) { if ( ( mUiAutomationService ) == null ) { populateEnabledAccessibilityServicesLocked ( ) ; manageServicesLocked ( ) ; } } }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { state.mTouchExplorationGrantedServices.add ( service.mComponentName ) ; persistComponentNamesToSettingLocked ( Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES , state.mTouchExplorationGrantedServices , state.mUserId ) ; Settings.Secure.putIntForUser ( mContext.getContentResolver ( ) , Settings.Secure.TOUCH_EXPLORATION_ENABLED , 1 , service.mUserId ) ; }
Source:
public java.lang.String get ( java.lang.String tableName , java.lang.String subTableName , java.lang.String code ) { return android.icu.impl.ICUResourceTableAccess.getTableString ( bundle , tableName , subTableName , code ) ; }

Target:
public java.lang.String get ( java.lang.String tableName , java.lang.String subTableName , java.lang.String code ) { return android.icu.impl.ICUResourceTableAccess.getTableString ( bundle , tableName , subTableName , code , ( nullIfNotFound ? null : code ) ) ; }
Source:
public java.lang.String imsGetWfcMode ( ) { if ( ! ( mImsManager.isWfcEnabledByUserForSlot ( ) ) ) { return TelephonyConstants.WFC_MODE_DISABLED ; } return com.googlecode.android_scripting.facade.telephony.TelephonyUtils.getWfcModeString ( mImsManager.getWfcModeForSlot ( ) ) ; }

Target:
public java.lang.String imsGetWfcMode ( ) { if ( ! ( mImsManager.isWfcEnabledByUser ( ) ) ) { return TelephonyConstants.WFC_MODE_DISABLED ; } return com.googlecode.android_scripting.facade.telephony.TelephonyUtils.getWfcModeString ( mImsManager.getWfcMode ( ) ) ; }
Source:
public void handleMessage ( android.os.Message msg ) { updateAudioRoute ( ) ; }

Target:
public void handleMessage ( android.os.Message msg ) { updateAudioRoute ( ) ; mWakeLock.release ( ) ; }
Source:
private java.lang.String getADBExecJavaLine ( java.lang.String classpath , java.lang.String mainclass ) { return ( ( ( "DeviceUtil.adbExec(\"" + classpath ) + "\", \"" ) + mainclass ) + "\");" ; }

Target:
private java.lang.String getADBExecJavaLine ( java.lang.String classpath , java.lang.String mainclass ) { return ( ( ( "DeviceUtil.adbExec(getDevice(), \"" + classpath ) + "\", \"" ) + mainclass ) + "\");" ; }
Source:
public abstract long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread ) ;

Target:
public abstract long get ( com.android.tools.perflib.vmtrace.MethodInfo info , com.android.tools.perflib.vmtrace.ThreadInfo thread , java.util.concurrent.TimeUnit unit ) ;
Source:
public long allocate ( ) { return libcore.util.NativeAllocationRegistryTest.doNativeAllocation ( size ) ; }

Target:
public long allocate ( ) { fail ( "allocate function called" ) ; return dummyNativePtr ; }
Source:
com.android.sched.vfs.MessageDigestFS.MessageDigestVFile getVFile ( @ 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.NotFileException { return new com.android.sched.vfs.MessageDigestFS.MessageDigestVFile ( this , vfs.getVFile ( parent , name ) ) ; }

Target:
com.android.sched.vfs.VPath getPathFromDir ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVFile file ) { return vfs.getPathFromDir ( parent.getWrappedDir ( ) , file.getWrappedFile ( ) ) ; }
Source:
public boolean retainAll ( java.util.Collection < ? > collection ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public java.util.SortedSet < E > tailSet ( E fromElement ) { return com.google.common.collect.Maps.removeOnlySortedSet ( super . tailSet ( fromElement ) ) ; }
Source:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { com.android.server.telecom.Log.d ( this , "onIsConferencedChanged %s" , call ) ; updateCall ( call ) ; }

Target:
public void onIsConferencedChanged ( com.android.server.telecom.Call call ) { android.telecom.Log.d ( this , "onIsConferencedChanged %s" , call ) ; updateCall ( call ) ; }
Source:
public static com.google.common.hash.Funnel < java.lang.CharSequence > stringFunnel ( ) { return com.google.common.hash.Funnels.StringFunnel.INSTANCE ; }

Target:
public static com.google.common.hash.Funnel < java.lang.CharSequence > unencodedCharsFunnel ( ) { return com.google.common.hash.Funnels.UnencodedCharsFunnel.INSTANCE ; }
Source:
public void validateConfigWithoutCredential ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = new android.net.wifi.hotspot2.PasspointConfiguration ( ) ; config.homeSp = android.net.wifi.hotspot2.PasspointConfigurationTest.createHomeSp ( ) ; org.junit.Assert.assertFalse ( config.validate ( ) ) ; }

Target:
public void validateFullConfig ( ) throws java.lang.Exception { android.net.wifi.hotspot2.PasspointConfiguration config = android.net.wifi.hotspot2.PasspointConfigurationTest.createConfig ( ) ; org.junit.Assert.assertTrue ( config.validate ( ) ) ; }
Source:
public boolean performDexOptIfNeeded ( java.lang.String packageName , java.lang.String instructionSet ) { return performDexOpt ( packageName , instructionSet , false ) ; }

Target:
public android.content.pm.ParceledListSlice < android.content.pm.ApplicationInfo > getPersistentApplications ( int flags ) { return new android.content.pm.ParceledListSlice ( getPersistentApplicationsInternal ( flags ) ) ; }
Source:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( "1" . equals ( android.os.SystemProperties.get ( "ro.debuggable" ) ) ) { args.debugFlags |= Zygote.DEBUG_ENABLE_DEBUGGER ; } }

Target:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( RoSystemProperties.DEBUGGABLE ) { args.debugFlags |= Zygote.DEBUG_ENABLE_JDWP ; } }
Source:
void requestPairConfirmation ( ) { android.content.Intent dialogIntent = new android.content.Intent ( mContext , com.android.nfc.handover.ConfirmConnectActivity.class ) ; dialogIntent.setFlags ( Intent.FLAG_ACTIVITY_NEW_TASK ) ; dialogIntent.putExtra ( BluetoothDevice.EXTRA_DEVICE , mDevice ) ; mContext.startActivity ( dialogIntent ) ; }

Target:
void requestPairConfirmation ( ) { android.content.Intent dialogIntent = new android.content.Intent ( mContext , com.android.nfc.handover.ConfirmConnectActivity.class ) ; dialogIntent.setFlags ( ( ( android.content.Intent.FLAG_ACTIVITY_NEW_TASK ) | ( android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK ) ) ) ; dialogIntent.putExtra ( BluetoothDevice.EXTRA_DEVICE , mDevice ) ; mContext.startActivity ( dialogIntent ) ; }
Source:
public final void addInstance ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance instance ) { mInstances.add ( instance ) ; }

Target:
public final void addInstance ( @ com.android.annotations.NonNull com.android.tools.perflib.heap.Instance instance ) { mShalowSize += instance.getSize ( ) ; mInstances.add ( instance ) ; }
Source:
public static java.lang.String toZid ( java.lang.String zid ) { if ( java.time.format.ZoneName.aliases.containsKey ( zid ) ) { return java.time.format.ZoneName.aliases.get ( zid ) ; } return zid ; }

Target:
public static java.lang.String toZid ( java.lang.String zid ) { java.lang.String canonicalCldrId = android.icu.impl.ZoneMeta.getCanonicalCLDRID ( zid ) ; if ( canonicalCldrId != null ) { return canonicalCldrId ; } return zid ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setPassedTestCaseCount ( int value ) { bitField0_ |= 16384 ; passedTestCaseCount_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setModulesTotal ( int value ) { bitField0_ |= 262144 ; modulesTotal_ = value ; onChanged ( ) ; return this ; }
Source:
native void rsnAllocationData3D ( int con , int id , int xoff , int yoff , int zoff , int mip , int w , int h , int depth , short [ ] d , int sizeBytes ) ;

Target:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , int [ ] d , int sizeBytes ) ;
Source:
public void visitVariableInstruction ( proguard.optimize.evaluation.Clazz clazz , proguard.optimize.evaluation.Method method , proguard.optimize.evaluation.CodeAttribute codeAttribute , int offset , proguard.optimize.evaluation.VariableInstruction variableInstruction ) { if ( variableInstruction.isLoad ( ) ) { markVariableInitializers ( offset , variableInstruction.variableIndex ) ; } }

Target:
public void visitVariableInstruction ( proguard.optimize.evaluation.Clazz clazz , proguard.optimize.evaluation.Method method , proguard.optimize.evaluation.CodeAttribute codeAttribute , int offset , proguard.optimize.evaluation.VariableInstruction variableInstruction ) { if ( variableInstruction.isLoad ( ) ) { markVariableInitializersBefore ( offset , variableInstruction.variableIndex ) ; } }
Source:
public void onCallRemoved ( com.android.server.telecom.Call call ) { mClccIndexMap.remove ( call ) ; updateHeadsetWithCallState ( false ) ; }

Target:
public void onCallRemoved ( com.android.server.telecom.Call call ) { if ( call.isExternalCall ( ) ) { return ; } mClccIndexMap.remove ( call ) ; updateHeadsetWithCallState ( false ) ; }
Source:
public static com.android.dialer.contactsfragment.ContactsCursorLoader createInstanceDisplayNameAlternative ( android.content.Context context , java.lang.String sortKey ) { return new com.android.dialer.contactsfragment.ContactsCursorLoader ( context , com.android.dialer.contactsfragment.ContactsCursorLoader.CONTACTS_PROJECTION_DISPLAY_NAME_ALTERNATIVE , sortKey ) ; }

Target:
private static java.lang.String getSortKey ( android.content.Context context ) { com.android.contacts.common.preference.ContactsPreferences contactsPrefs = new com.android.contacts.common.preference.ContactsPreferences ( context ) ; boolean sortOrderPrimary = ( contactsPrefs.getSortOrder ( ) ) == ( com.android.contacts.common.preference.ContactsPreferences.SORT_ORDER_PRIMARY ) ; return sortOrderPrimary ? android.provider.ContactsContract.Contacts.SORT_KEY_PRIMARY : android.provider.ContactsContract.Contacts.SORT_KEY_ALTERNATIVE ; }
Source:
private void incrementWaiters ( com.google.common.util.concurrent.Monitor.Guard guard ) { int waiters = ( guard.waiterCount ) ++ ; if ( waiters == 0 ) { activeGuards.add ( guard ) ; } }

Target:
private void signalAllWaiters ( ) { for ( com.google.common.util.concurrent.Monitor.Guard guard = activeGuards ; guard != null ; guard = guard.next ) { guard.condition.signalAll ( ) ; } }
Source:
public lombok.ast.AstVisitor createJavaVisitor ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.JavaContext context ) { return null ; }

Target:
public java.util.List < java.lang.Class < ? extends lombok.ast.Node > > getApplicableNodeTypes ( ) { return null ; }
Source:
public void testLinearAcceleration ( ) throws java.lang.Throwable { sensorTestHelper ( Sensor.TYPE_LINEAR_ACCELERATION ) ; }

Target:
public void testRotationVector_5hz ( ) throws java.lang.Throwable { runSensorTest ( Sensor.TYPE_ROTATION_VECTOR , android.hardware.cts.SingleSensorTests.RATE_5HZ , android.hardware.cts.SingleSensorTests.BATCHING_OFF ) ; }
Source:
public void testEncodeDecodeVideoFromSurfaceToSurface720p ( ) throws java.lang.Throwable { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; android.media.cts.EncodeDecodeTest.SurfaceToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_VP8 , true , false ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }
Source:
public static synchronized void setInstanceForTesting ( com.android.incallui.InCallPresenter inCallPresenter ) { com.android.incallui.InCallPresenter.sInCallPresenter = inCallPresenter ; }

Target:
public static synchronized void setInstanceForTesting ( com.android.incallui.InCallPresenter inCallPresenter ) { com.android.incallui.InCallPresenter.inCallPresenter = inCallPresenter ; }
Source:
public void getOperatorResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 , java.lang.String var3 , java.lang.String var4 ) { }

Target:
public void getLastCallFailCauseResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_0.LastCallFailCauseInfo fcInfo ) { responseLastCallFailCauseInfo ( responseInfo , fcInfo ) ; }
Source:
protected abstract void classSetUp ( ) ;

Target:
protected void classSetUp ( ) { com.google.android.droiddriver.helpers.BaseDroidDriverTest.DroidDriversInitializer.get ( com.google.android.droiddriver.helpers.BaseDroidDriverTest.getInstrumentation ( ) ) . singleRun ( ) ; }
Source:
public boolean isJniDebuggable ( ) { return com.google.common.base.Objects.firstNonNull ( buildType.getNdk ( ) . getIsDebuggable ( ) , false ) ; }

Target:
public boolean isJniDebuggable ( ) { return com.google.common.base.Objects.firstNonNull ( buildType.getNdk ( ) . getDebuggable ( ) , false ) ; }
Source:
public static int intConditionNotEqualOne ( int i ) { return ( i > 42 ) == true ? 13 : 54 ; }

Target:
private static boolean $inline$false ( ) { return false ; }
Source:
public void callSessionHandover ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandover ( srcAccessTech , targetAccessTech , reasonInfo ) ; }

Target:
public void callSessionHandoverFailed ( int srcAccessTech , int targetAccessTech , com.android.ims.ImsReasonInfo reasonInfo ) throws android.os.RemoteException { mListener.callSessionHandoverFailed ( srcAccessTech , targetAccessTech , reasonInfo ) ; }
Source:
public void recycle ( ) { for ( int i = 0 ; i < ( numberOfSpans ) ; i ++ ) { spans [ i ] = null ; } }

Target:
public void recycle ( ) { if ( ( spans ) != null ) { java.util.Arrays.fill ( spans , 0 , numberOfSpans , null ) ; } }
Source:
public com.android.ims.internal.IImsCallSession getPendingCallSession ( int sessionId , java.lang.String callId ) throws android.os.RemoteException { synchronized ( mLock ) { checkBinderConnection ( ) ; return getServiceInterface ( mBinder ) . getPendingCallSession ( mSlotId , mSupportedFeature , sessionId , callId ) ; } }

Target:
public com.android.ims.internal.IImsCallSession getPendingCallSession ( int sessionId , java.lang.String callId ) throws android.os.RemoteException { synchronized ( mLock ) { checkServiceIsReady ( ) ; return getServiceInterface ( mBinder ) . getPendingCallSession ( mSlotId , mSupportedFeature , sessionId , callId ) ; } }
Source:
public void test_minusWeeks_overLeapYears ( ) { java.time.LocalDate t = TEST_2007_07_15.minusYears ( ( - 1 ) ) . minusWeeks ( 104 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2006 , 7 , 18 ) ) ; }

Target:
public void test_minusWeeks_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusWeeks ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 7 , 22 ) ) ; }
Source:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = 7.0 ; b = 3.0 ; c = a * b ; return c ; }

Target:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }
Source:
public void findNext ( boolean forward ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "findNext" ) ; mProvider.findNext ( forward ) ; }

Target:
public void findNext ( boolean forward ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "findNext" ) ; mProvider.findNext ( forward ) ; }
Source:
private final void resetContext ( ) { org.conscrypt.OpenSSLDigestContext ctxLocal = new org.conscrypt.OpenSSLDigestContext ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxLocal ) ; org.conscrypt.NativeCrypto.EVP_DigestInit ( ctxLocal , evp_md ) ; ctx = ctxLocal ; }

Target:
private final void resetContext ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxLocal = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxLocal ) ; org.conscrypt.NativeCrypto.EVP_DigestInit ( ctxLocal , evp_md ) ; ctx = ctxLocal ; }
Source:
private void queueOrSendMessage ( int what , java.lang.Object obj ) { queueOrSendMessage ( what , obj , 0 , 0 ) ; }

Target:
private void sendMessage ( int what , java.lang.Object obj , int arg1 ) { sendMessage ( what , obj , arg1 , 0 , false ) ; }
Source:
private static boolean isInnerClass ( @ com.android.annotations.Nullable lombok.ast.ClassDeclaration node ) { return ( node == null ) || ( ( com.android.tools.lint.checks.JavaContext.getParentOfType ( node , lombok.ast.ClassDeclaration.class , true ) ) != null ) ; }

Target:
private static boolean isInnerClass ( @ com.android.annotations.Nullable lombok.ast.ClassDeclaration node ) { return ( node == null ) || ( ( com.android.tools.lint.detector.api.JavaContext.getParentOfType ( node , lombok.ast.ClassDeclaration.class , true ) ) != null ) ; }
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( T ... elements ) { return org.junit.internal.matchers.IsCollectionContaining.hasItems ( elements ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( T ... elements ) { return org.hamcrest.CoreMatchers.hasItems ( elements ) ; }
Source:
public void smsStartTrackingIncomingMmsMessage ( ) { android.content.IntentFilter mmsReceived = new android.content.IntentFilter ( android.provider.Telephony.Sms.Intents.MMS_DOWNLOADED_ACTION ) ; mmsReceived.addAction ( Intents.WAP_PUSH_RECEIVED_ACTION ) ; mmsReceived.addAction ( Intents.DATA_SMS_RECEIVED_ACTION ) ; mService.registerReceiver ( mMmsIncomingListener , mmsReceived ) ; mListeningIncomingSms = true ; }

Target:
public void smsStartTrackingIncomingMmsMessage ( ) { android.content.IntentFilter mmsReceived = new android.content.IntentFilter ( android.provider.Telephony.Sms.Intents.MMS_DOWNLOADED_ACTION ) ; mmsReceived.addAction ( Intents.WAP_PUSH_RECEIVED_ACTION ) ; mmsReceived.addAction ( Intents.DATA_SMS_RECEIVED_ACTION ) ; mService.registerReceiver ( mMmsIncomingListener , mmsReceived ) ; mListeningIncomingMms = true ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( ( mRawImage ) != null ) { mRawImage = mRawImage.getRotated ( ) ; updateImageDisplay ( shell ) ; } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { if ( ( mRawImage ) != null ) { mRotateCount = ( ( mRotateCount ) + 1 ) % 4 ; mRawImage = mRawImage.getRotated ( ) ; updateImageDisplay ( shell ) ; } }
Source:
protected dexfuzz.ExecutionResult executeOnDevice ( java.lang.String command , boolean captureOutput ) { java.lang.String timeoutString = ( "timeout " + ( timeout ) ) + " " ; return executeCommand ( ( ( timeoutString + ( device.getExecutionShellPrefix ( ) ) ) + command ) , captureOutput ) ; }

Target:
public void prepareProgramForExecution ( java.lang.String programName ) { if ( ! ( dexfuzz.Options.executeOnHost ) ) { device.pushProgramToDevice ( programName , testLocation ) ; } if ( needsCleanCodeCache ) { device.cleanCodeCache ( architecture , testLocation , programName ) ; } }
Source:
public void test_CheckedList_sort ( ) { libcore.java.util.ListDefaultMethodTester.test_sort ( java.util.Collections.checkedList ( new java.util.ArrayList < > ( ) , java.lang.Integer.class ) ) ; }

Target:
public void test_CheckedList_sort ( ) { libcore.java.util.ListDefaultMethodTester.test_sort ( java.util.Collections.checkedList ( new java.util.ArrayList < > ( ) , java.lang.Double.class ) ) ; }
Source:
public void startDtmf ( char c ) { if ( ! ( android.telephony.PhoneNumberUtils.is12Key ( c ) ) ) { android.util.Log.e ( com.android.internal.telephony.sip.SipPhone.LOG_TAG , ( ( "startDtmf called with invalid character '" + c ) + "'" ) ) ; } else { sendDtmf ( c ) ; } }

Target:
public void startDtmf ( char c ) { if ( ! ( android.telephony.PhoneNumberUtils.is12Key ( c ) ) ) { android.telephony.Rlog.e ( com.android.internal.telephony.sip.SipPhone.LOG_TAG , ( ( "startDtmf called with invalid character '" + c ) + "'" ) ) ; } else { sendDtmf ( c ) ; } }
Source:
private void updateDownloadCacheSize ( ) { long size = mDownloadCache.getCurrentSize ( ) ; java.lang.String str = com.android.sdklib.util.ConvertionsUtil.bytesToString ( size ) ; mTextCacheSize.setText ( str ) ; }

Target:
private void updateDownloadCacheSize ( ) { long size = mDownloadCache.getCurrentSize ( ) ; java.lang.String str = com.android.sdklib.util.FormatUtils.byteSizeToString ( size ) ; mTextCacheSize.setText ( str ) ; }
Source:
public int hashCode ( ) { return java.util.Objects.hash ( mType , mSubType , mSubscriberId , mNetworkId , mRoaming , mMetered ) ; }

Target:
public int hashCode ( ) { return java.util.Objects.hash ( mType , mSubType , mSubscriberId , mNetworkId , mRoaming , mMetered , mDefaultNetwork ) ; }
Source:
public int read ( char [ ] buf ) throws java.io.IOException { return read ( buf , 0 , buf.length ) ; }

Target:
public int read ( char [ ] buffer ) throws java.io.IOException { return read ( buffer , 0 , buffer.length ) ; }
Source:
void addDataToScores ( java.lang.String desired , java.lang.String supported , com.ibm.icu.impl.Row.R3 < com.ibm.icu.util.LocaleMatcher.LocalePatternMatcher , com.ibm.icu.util.LocaleMatcher.LocalePatternMatcher , java.lang.Double > data ) { scores.add ( data ) ; }

Target:
void addDataToScores ( java.lang.String desired , java.lang.String supported , com.ibm.icu.impl.Row.R3 < com.ibm.icu.util.LocaleMatcher.LocalePatternMatcher , com.ibm.icu.util.LocaleMatcher.LocalePatternMatcher , java.lang.Double > data ) { boolean added = scores.add ( data ) ; if ( ! added ) { throw new com.ibm.icu.util.ICUException ( ( "trying to add duplicate data: " + data ) ) ; } }
Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_SRC , getSampleImageSrc ( ) ) ; } }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType.isCreate ( ) ) { node.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_SRC , getSampleImageSrc ( ) ) ; } }
Source:
public void setSelection ( com.android.ddmlib.IDevice device , com.android.hierarchyviewerlib.device.Window window ) { synchronized ( deviceMap ) { selectedDevice = device ; selectedWindow = window ; } }

Target:
public void setSelection ( com.android.ddmlib.IDevice device , com.android.hierarchyviewerlib.device.Window window ) { synchronized ( deviceMap ) { selectedDevice = device ; selectedWindow = window ; } notifySelectionChanged ( device , window ) ; }
Source:
public void setup ( ) { put ( "SecureRandom.SecureRandom1" , libcore.java.security.ProviderTest.SecureRandom1.class . getName ( ) ) ; put ( "SecureRandom.SecureRandom2" , libcore.java.security.ProviderTest.SecureRandom2.class . getName ( ) ) ; put ( "SecureRandom.SecureRandom3" , libcore.java.security.ProviderTest.SecureRandom3.class . getName ( ) ) ; }

Target:
public boolean supportsParameter ( java.lang.Object parameter ) { fail ( "This should not be called" ) ; return false ; }
Source:
public void checkValidity ( ) { if ( ! ( ( ( parent ) instanceof com.android.jack.ir.ast.JMethodBody ) || ( ( parent ) instanceof com.android.jack.ir.ast.JCatchBlock ) ) ) { throw new com.android.jack.ir.InternalCompilerException ( this , "Invalid parent" ) ; } }

Target:
public void checkValidity ( ) { if ( ! ( ( ( parent ) instanceof com.android.jack.ir.ast.JMethodBody ) || ( ( parent ) instanceof com.android.jack.ir.ast.JCatchBlock ) ) ) { throw new com.android.jack.ir.JNodeInternalError ( this , "Invalid parent" ) ; } }
Source:
public void testQuickFix_withInvalidCharacters ( ) { com.google.gct.intellij.endpoints.validation.ApiNameInspection.MyQuickFix localQuickFix = new com.google.gct.intellij.endpoints.validation.ApiNameInspection ( ) . new com.google.gct.intellij.endpoints.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "invalidcharacters" , localQuickFix.getNameSuggestions ( "@invalid&characters#" ) ) ; junit.framework.Assert.assertEquals ( "invalidCharacters" , localQuickFix.getNameSuggestions ( "@Invalid&()Characters#" ) ) ; junit.framework.Assert.assertEquals ( "invalidCharacters" , localQuickFix.getNameSuggestions ( "@23Inval&*idChara(cters#" ) ) ; }

Target:
public void testQuickFix_withInvalidCharacters ( ) { com.google.gct.idea.appengine.validation.ApiNameInspection.MyQuickFix localQuickFix = new com.google.gct.idea.appengine.validation.ApiNameInspection ( ) . new com.google.gct.idea.appengine.validation.MyQuickFix ( ) ; junit.framework.Assert.assertEquals ( "invalidcharacters" , localQuickFix.getNameSuggestions ( "@invalid&characters#" ) ) ; junit.framework.Assert.assertEquals ( "invalidCharacters" , localQuickFix.getNameSuggestions ( "@Invalid&()Characters#" ) ) ; junit.framework.Assert.assertEquals ( "invalidCharacters" , localQuickFix.getNameSuggestions ( "@23Inval&*idChara(cters#" ) ) ; }
Source:
public void onConferenceParticipantsChanged ( java.util.List < android.telecom.ConferenceParticipant > participants ) { updateConferenceParticipants ( participants ) ; }

Target:
public void onExitedEcmMode ( ) { handleExitedEcmMode ( ) ; }
Source:
public static void booted ( ) { sun.misc.VM.booted = true ; }

Target:
public static void booted ( ) { synchronized ( sun.misc.VM.lock ) { sun.misc.VM.booted = true ; sun.misc.VM.lock.notifyAll ( ) ; } }
Source:
synchronized void nAllocationData1D ( long id , int off , int mip , int count , float [ ] d , int sizeBytes ) { validate ( ) ; rsnAllocationData1D ( mContext , id , off , mip , count , d , sizeBytes ) ; }

Target:
synchronized void nAllocationRead1D ( long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , android.support.v8.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationRead1D ( mContext , id , off , mip , count , d , sizeBytes , dt.mID ) ; }
Source:
public java.lang.Boolean telephonyAdjustPreciseCallStateListenLevel ( java.lang.String type , java.lang.Boolean listen ) { return telephonyAdjustPreciseCallStateListenLevelForSubscription ( type , listen , android.telephony.SubscriptionManager.getDefaultVoiceSubscriptionId ( ) ) ; }

Target:
public java.lang.Boolean telephonyAdjustPreciseCallStateListenLevel ( java.lang.String type , java.lang.Boolean listen ) { return telephonyAdjustPreciseCallStateListenLevelForSubscription ( type , listen , android.telephony.SubscriptionManager.getDefaultVoiceSubId ( ) ) ; }
Source:
public java.lang.String getLastPathElement ( ) { java.lang.String internalPath = getInternalPath ( ) ; return internalPath.substring ( ( ( internalPath.lastIndexOf ( com.android.sched.vfs.VPath.INTERNAL_SEPARATOR ) ) + 1 ) ) ; }

Target:
public com.android.sched.vfs.VPath clone ( ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) java.util.ArrayList < com.android.sched.vfs.VPath.VPathFragment > clonedList = ( ( java.util.ArrayList < com.android.sched.vfs.VPath.VPathFragment > ) ( pathFragments.clone ( ) ) ) ; return new com.android.sched.vfs.VPath ( clonedList ) ; }
Source:
public boolean setApfVersion ( int version ) { return version == 2 ; }

Target:
public static boolean supportsVersion ( int version ) { return version >= ( android.net.apf.ApfGenerator.MIN_APF_VERSION ) ; }
Source:
public void test_F32_2_SCALE05_05_inSqure ( ) { testReszie ( inX , inX , Element.DataType.FLOAT_32 , 2 , 0.5F , 0.5F ) ; }

Target:
public void test_F32_2_SCALE05_05_inSqure ( ) { testResize ( inX , inX , Element.DataType.FLOAT_32 , 2 , 0.5F , 0.5F ) ; }
Source:
public int getColumnCount ( ) ;

Target:
public com.android.sched.util.print.DataView getDataView ( ) ;
Source:
public java.lang.String getCompilerVersion ( ) { return compilerVersion ; }

Target:
public static int getReleaseCode ( ) { return com.android.jack.test.toolchain.JackApiToolchainBase.releaseCode ; }
Source:
public void test_SCSU ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "SCSU" ) , "�" , 14 , 255 , 253 ) ; }

Target:
public void test_SCSU_replacement_character ( ) throws java.lang.Exception { assertDecodes ( java.nio.charset.Charset.forName ( "SCSU" ) , "�" , 14 , 255 ) ; assertEncodes ( java.nio.charset.Charset.forName ( "SCSU" ) , "�" , 14 , 255 ) ; }
Source:
public void performReceive ( android.content.Intent intent , int resultCode , java.lang.String data , android.os.Bundle extras , boolean ordered , boolean sticky ) throws android.os.RemoteException { synchronized ( this ) { mDidUpdate = true ; } systemReady ( goingCallback ) ; }

Target:
public void binderDied ( ) { foregroundTokenDied ( this ) ; }
Source:
public static final native android.os.IHwBinder getService ( java.lang.String serviceName ) ;

Target:
public static final native android.os.IHwBinder getService ( java.lang.String serviceName , int versionMajor , int versionMinor ) ;
Source:
public abstract com.android.dialer.speeddial.loader.SpeedDialUiItemLoader speedDialUiItemLoader ( ) ;

Target:
public abstract com.android.dialer.speeddial.loader.SpeedDialUiItemMutator speedDialUiItemMutator ( ) ;
Source:
private native < A extends java.lang.annotation.Annotation > A getAnnotationNative ( java.lang.Class < A > annotationType ) ;

Target:
private static native < A extends java.lang.annotation.Annotation > A getAnnotationNative ( java.lang.reflect.Executable executable , int parameterIndex , java.lang.Class < A > annotationType ) ;
Source:
private com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor createTextAttrDesc ( java.lang.String xmlName ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor ( xmlName , xmlName , com.android.sdklib.SdkConstants.NS_RESOURCES , "" , new com.android.ide.eclipse.adt.internal.resources.AttributeInfo ( xmlName , new com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format [ ] { com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format.STRING } ) ) ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor createTextAttrDesc ( java.lang.String xmlName ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor ( xmlName , xmlName , com.android.sdklib.SdkConstants.NS_RESOURCES , "" , new com.android.ide.eclipse.adt.internal.resources.AttributeInfo ( xmlName , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) ) ; }
Source:
java.lang.String getLocalHostName ( ) throws java.net.UnknownHostException ;

Target:
java.net.InetAddress [ ] lookupAllHostAddr ( java.lang.String hostname , int netId ) throws java.net.UnknownHostException ;
Source:
public void run ( ) { com.android.hierarchyviewerlib.device.Window [ ] windows = com.android.hierarchyviewerlib.device.DeviceBridge.loadWindows ( device ) ; com.android.hierarchyviewerlib.ComponentRegistry.getDeviceSelectionModel ( ) . updateDevice ( device , windows ) ; }

Target:
public void run ( ) { com.android.hierarchyviewerlib.device.Window [ ] windows = com.android.hierarchyviewerlib.device.DeviceBridge.loadWindows ( device ) ; com.android.hierarchyviewerlib.models.DeviceSelectionModel.getModel ( ) . updateDevice ( device , windows ) ; }
Source:
public void onDestroy ( ) { mNM.cancel ( R.string.local_service_started ) ; android.widget.Toast.makeText ( this , R.string.local_service_stopped , Toast.LENGTH_SHORT ) . show ( ) ; }

Target:
public void onDestroy ( ) { mNM.cancel ( NOTIFICATION ) ; android.widget.Toast.makeText ( this , R.string.local_service_stopped , Toast.LENGTH_SHORT ) . show ( ) ; }
Source:
public void spawnDescendant ( com.android.apksig.SigningCertificateLineage.SignerConfig parent , com.android.apksig.SigningCertificateLineage.SignerConfig child ) throws java.security.InvalidKeyException , java.security.NoSuchAlgorithmException , java.security.SignatureException , java.security.cert.CertificateEncodingException { int flags = calculateDefaultFlags ( ) ; spawnDescendant ( parent , flags , child , flags ) ; }

Target:
public void writeToFile ( java.io.File file ) throws java.io.IOException { if ( file == null ) { throw new java.lang.NullPointerException ( "file == null" ) ; } java.io.RandomAccessFile outputFile = new java.io.RandomAccessFile ( file , "rw" ) ; writeToDataSink ( new com.android.apksig.internal.util.RandomAccessFileDataSink ( outputFile ) ) ; }
Source:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.common.resources.configuration.NetworkCodeQualifier.DEFAULT_CODE ) ) && ( code >= 1 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( "mnc%1$d" , code ) ; } return "" ; }

Target:
public static java.lang.String getFolderSegment ( int code ) { if ( ( ( code != ( com.android.ide.common.resources.configuration.NetworkCodeQualifier.DEFAULT_CODE ) ) && ( code >= 1 ) ) && ( code <= 999 ) ) { return java.lang.String.format ( java.util.Locale.US , "mnc%1$03d" , code ) ; } return "" ; }
Source:
public static int getInt ( java.lang.Object obj ) { return ( ( int ) ( com.android.jack.java7.boxing.test001.jack.UnBoxObject.getObject ( obj ) ) ) ; }

Target:
public static int getIntFromObject ( java.lang.Object obj ) { return ( ( int ) ( com.android.jack.java7.boxing.test001.jack.UnBoxObject.getObject ( obj ) ) ) ; }
Source:
public java.lang.String toString ( ) { return ( ( mSourceLocation.print ( true ) ) + ":" ) + ( mPosition.getLine ( ) ) ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( mSourceLocation.print ( true ) ) + ":" ) + ( mPosition.getLine ( ) ) ) + ":" ) + ( mPosition.getColumn ( ) ) ; }
Source:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp2 ( args.in , t ) ; }

Target:
public static void computeExp2 ( android.renderscript.cts.TestExp2.ArgumentsFloatFloat args , android.renderscript.cts.Target t ) { t.setPrecision ( 3 , 16 , false ) ; args.out = android.renderscript.cts.CoreMathVerifier.exp2 ( args.inX , t ) ; }
Source:
public void exit ( ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Exit Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; }

Target:
public void exit ( ) { if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "Exit Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; } }
Source:
public int hashCode ( ) { return ( inputSet.hashCode ( ) ) << ( ( inputSet.size ( ) ) - 1 ) ; }

Target:
public boolean contains ( @ javax.annotation.Nullable java.lang.Object obj ) { if ( obj instanceof java.util.Set ) { java.util.Set < ? > set = ( ( java.util.Set < ? > ) ( obj ) ) ; return inputSet.keySet ( ) . containsAll ( set ) ; } return false ; }
Source:
public void test009 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST009 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.LegacyToolchain.class ) . compileAndRunTest ( ) ; }

Target:
public void test009 ( ) throws java.lang.Exception { new com.android.jack.test.helper.RuntimeTestHelper ( TEST009 ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.JillBasedToolchain.class ) . addIgnoredCandidateToolchain ( com.android.jack.test.toolchain.LegacyBasedToolchain.class ) . compileAndRunTest ( ) ; }
Source:
public java.util.List < com.android.ide.common.resources.ResourceFolder > getFolders ( @ com.android.annotations.NonNull com.android.resources.ResourceFolderType type ) { return mFolderMap.get ( type ) ; }

Target:
public java.util.List < com.android.ide.common.resources.ResourceFolder > getFolders ( @ com.android.annotations.NonNull com.android.resources.ResourceFolderType type ) { ensureInitialized ( ) ; return mFolderMap.get ( type ) ; }
Source:
java.lang.String getCallId ( com.android.server.telecom.Call call ) { if ( ( call == null ) || ( ( mCalls.getKey ( call ) ) == null ) ) { return null ; } return call.getId ( ) ; }

Target:
java.lang.String getCallId ( com.android.server.telecom.Call call ) { if ( ( call == null ) || ( ( mCalls.getKey ( call ) ) == null ) ) { return null ; } return mCallInfo.getCallId ( call ) ; }
Source:
public void test_U8_2_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_2_SCALE05_20_inSquare ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public void testLoadConfigFromXml_Empty ( ) { createManager ( ( ( ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_HEADER ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.CARRIER_EMPTY ) ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_FOOTER ) ) ) ; }

Target:
public void dontTestLoadConfigFromXml_Empty ( ) { createManager ( ( ( ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_HEADER ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.CARRIER_EMPTY ) ) + ( com.android.phone.vvm.omtp.TelephonyVvmConfigManagerTest.XML_FOOTER ) ) ) ; }
Source:
public void postForkChild ( int debugFlags ) { dalvik.system.ZygoteHooks.nativePostForkChild ( token , debugFlags ) ; }

Target:
public void postForkChild ( int debugFlags , java.lang.String instructionSet ) { dalvik.system.ZygoteHooks.nativePostForkChild ( token , debugFlags , instructionSet ) ; }
Source:
public void testIsInManagedCall ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mFakeCallsManager.hasOngoingManagedCalls ( ) ) . thenReturn ( true ) ; assertTrue ( mTSIBinder.isInManagedCall ( com.android.server.telecom.tests.TelecomServiceImplTest.DEFAULT_DIALER_PACKAGE ) ) ; }

Target:
public void testIsInManagedCall ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mFakeCallsManager.hasOngoingManagedCalls ( ) ) . thenReturn ( true ) ; org.junit.Assert.assertTrue ( mTSIBinder.isInManagedCall ( com.android.server.telecom.tests.TelecomServiceImplTest.DEFAULT_DIALER_PACKAGE ) ) ; }
Source:
private static native void nativePostForkChild ( long token , int debugFlags , boolean isSystemServer , java.lang.String instructionSet ) ;

Target:
private static native void nativePostForkChild ( long token , int runtimeFlags , boolean isSystemServer , java.lang.String instructionSet ) ;
Source:
public < T > T getExtension ( com.google.protobuf.nano.Extension < T > extension ) { return com.google.protobuf.nano.WireFormatNano.getExtension ( extension , unknownFieldData ) ; }

Target:
public final < T > M setExtension ( com.google.protobuf.nano.Extension < M , T > extension , T value ) { unknownFieldData = extension.setValueTo ( value , unknownFieldData ) ; @ java.lang.SuppressWarnings ( value = "unchecked" ) M typedThis = ( ( M ) ( this ) ) ; return typedThis ; }
Source:
public java.lang.Object getParent ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.device.ViewNode ) { return ( ( com.android.hierarchyviewerlib.device.ViewNode ) ( element ) ) . parent ; } return null ; }

Target:
public java.lang.Object getParent ( java.lang.Object element ) { if ( element instanceof com.android.hierarchyviewerlib.models.ViewNode ) { return ( ( com.android.hierarchyviewerlib.models.ViewNode ) ( element ) ) . parent ; } return null ; }
Source:
public int getVersionCodeFromManifest ( ) { java.io.File manifestLocation = mDefaultSourceProvider.getManifestFile ( ) ; return com.android.builder.core.VariantConfiguration.sManifestParser.getVersionCode ( manifestLocation ) ; }

Target:
public int getVersionCodeFromManifest ( ) { java.io.File manifestLocation = mDefaultSourceProvider.getManifestFile ( ) ; return sManifestParser.getVersionCode ( manifestLocation ) ; }
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , byte [ ] data ) { validateIsInt8 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , byte [ ] data ) { validateIsInt8 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data , Element.DataType.SIGNED_8 , data.length ) ; }
Source:
boolean isAllTrue ( ) { return ( ( ( code ) && ( resources ) ) && ( rClass ) ) && ( localeList ) ; }

Target:
boolean isAllTrue ( ) { return ( ( ( ( code ) && ( resources ) ) && ( rClass ) ) && ( localeList ) ) && ( manifest ) ; }