auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static double nextUp ( double d ) { return sun.misc.FpUtils.nextUp ( d ) ; }

Target:
public static double nextUp ( double d ) { return java.lang.Math.nextUp ( d ) ; }
Source:
public void test_getResourceLjava_lang_String ( ) { final java.lang.String name = "/org/apache/harmony/luni/tests/test_resource.txt" ; java.net.URL res = getClass ( ) . getResource ( name ) ; assertNotNull ( res ) ; }

Target:
public void test_getResourceLjava_lang_String ( ) { final java.lang.String name = "/resources/test_resource.txt" ; java.net.URL res = getClass ( ) . getResource ( name ) ; assertNotNull ( res ) ; }
Source:
public void TestJamo ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.Test ( "Latin-Jamo" ) . test ( "[a-zA-Z]" , "[ᄀ-ᄒ ᅡ-ᅵ ᆨ-ᇂ]" , "" , this , new android.icu.dev.test.translit.RoundTripTest.LegalJamo ( ) ) ; showElapsed ( start , "TestJamo" ) ; }

Target:
public void TestJamo ( ) throws java.io.IOException { long start = java.lang.System.currentTimeMillis ( ) ; new android.icu.dev.test.translit.RoundTripTest.TransliterationTest ( "Latin-Jamo" ) . test ( "[a-zA-Z]" , "[ᄀ-ᄒ ᅡ-ᅵ ᆨ-ᇂ]" , "" , this , new android.icu.dev.test.translit.RoundTripTest.LegalJamo ( ) ) ; showElapsed ( start , "TestJamo" ) ; }
Source:
public static boolean isVideoPresenceCompatible ( ) { return true ; }

Target:
public static boolean isCallSubjectCompatible ( ) { return true ; }
Source:
public void factory_intMonth ( ) { org.testng.Assert.assertEquals ( TEST_07_15 , java.time.MonthDay.of ( java.time.Month.JULY , 15 ) ) ; }

Target:
public void factory_intMonth ( ) { org.testng.Assert.assertEquals ( tck.java.time.TCKMonthDay.TEST_07_15 , java.time.MonthDay.of ( java.time.Month.JULY , 15 ) ) ; }
Source:
public void testDump ( ) { android.view.inputmethod.cts.MockPrinter printer = new android.view.inputmethod.cts.MockPrinter ( ) ; java.lang.String prefix = "test" ; mInputMethodInfo.dump ( printer , prefix ) ; }

Target:
public void testDump ( ) { android.view.inputmethod.cts.InputMethodInfoTest.MockPrinter printer = new android.view.inputmethod.cts.InputMethodInfoTest.MockPrinter ( ) ; java.lang.String prefix = "test" ; mInputMethodInfo.dump ( printer , prefix ) ; }
Source:
public void testConstructor_Main ( ) throws java.lang.Exception { vogar.target.TestRunner runner = testRunnerRule.createTestRunner ( ) ; runner.run ( ) ; org.junit.Assert.assertEquals ( ( ( ( ( ( ( ( ( "" + "//00xx{\"outcome\":\"" ) + ( vogar.target.TestRunnerTest.Main.class . getName ( ) ) ) + "\"," ) + "\"runner\":\"" ) + ( vogar.target.MainRunner.class . getName ( ) ) ) + "\"}\n" ) + "//00xx{\"result\":\"SUCCESS\"}\n" ) + "//00xx{\"completedNormally\":true}\n" ) , ios.contents ( Stream.OUT ) ) ; }

Target:
public void testConstructor_Main_RunnerType_MAIN ( ) throws java.lang.Exception { vogar.target.TestRunner runner = testRunnerRule.createTestRunner ( ) ; runner.run ( ) ; org.junit.Assert.assertEquals ( ( ( ( ( ( "" + "//00xx{\"outcome\":\"" ) + ( vogar.target.TestRunnerTest.Main.class . getName ( ) ) ) + "\"}\n" ) + "//00xx{\"result\":\"SUCCESS\"}\n" ) + "//00xx{\"completedNormally\":true}\n" ) , ios.contents ( Stream.OUT ) ) ; }
Source:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { runtimeVisibleAnnotationsAttribute.accept ( clazz , method , optionalAttributeVisitor ) ; } }

Target:
public void visitRuntimeVisibleAnnotationsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitRuntimeVisibleAnnotationsAttribute ( clazz , field , runtimeVisibleAnnotationsAttribute ) ; } }
Source:
private void setNotification ( boolean enable ) { android.bluetooth.BluetoothGattCharacteristic characteristic = getCharacteristic ( com.android.cts.verifier.bluetooth.BleClientService.UPDATE_CHARACTERISTIC_UUID ) ; if ( characteristic != null ) { setNotification ( characteristic , enable ) ; } }

Target:
private void waitForDisableNotificationCompletion ( ) { synchronized ( mRequestNotificationLock ) { try { mRequestNotificationLock.wait ( ) ; } catch ( java.lang.InterruptedException e ) { android.util.Log.e ( com.android.cts.verifier.bluetooth.BleClientService.TAG , ( "Error in waitForDisableNotificationCompletion" + e ) ) ; } } }
Source:
public java.lang.String p2pGetSsid ( java.lang.String deviceAddress ) { return p2pGetParam ( deviceAddress , "oper_ssid" ) ; }

Target:
public java.lang.String p2pGetSsid ( java.lang.String deviceAddress ) { if ( ( com.android.server.wifi.WifiNative.HIDL_P2P_ENABLE ) && ( ( mSupplicantP2pIfaceHal ) != null ) ) { return mSupplicantP2pIfaceHal.getSsid ( deviceAddress ) ; } else { return p2pGetParam ( deviceAddress , "oper_ssid" ) ; } }
Source:
public java.lang.String getDisplayName ( java.util.Locale locale ) { return icuCurrency.getDisplayName ( locale ) ; }

Target:
public java.lang.String getDisplayName ( java.util.Locale locale ) { return icuCurrency.getDisplayName ( java.util.Objects.requireNonNull ( locale ) ) ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { com.google.android.traceur.AtraceUtils.atraceDumpAndSend ( context , tags , Receiver.BUFFER_SIZE_KB ) ; return null ; }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { com.android.traceur.AtraceUtils.atraceDumpAndSend ( context , tags , Receiver.BUFFER_SIZE_KB ) ; return null ; }
Source:
synchronized int nScriptIntrinsicCreate ( int id , int eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
synchronized void nScriptSetVarF ( long id , int slot , float val ) { validate ( ) ; rsnScriptSetVarF ( mContext , id , slot , val ) ; }
Source:
public com.android.manifmerger.AttributeOperationType getAttributeOperationType ( java.lang.String attributeName ) { return mAttributesOperationTypes.containsKey ( attributeName ) ? mAttributesOperationTypes.get ( attributeName ) : AttributeOperationType.STRICT ; }

Target:
public com.android.manifmerger.AttributeOperationType getAttributeOperationType ( com.android.manifmerger.NodeName attributeName ) { return mAttributesOperationTypes.containsKey ( attributeName ) ? mAttributesOperationTypes.get ( attributeName ) : AttributeOperationType.STRICT ; }
Source:
public void setIsOptional ( boolean isOptional ) { this . isOptional = isOptional ; }

Target:
public void setIsOptional ( boolean isOptional ) { this . mutableIsOptional = isOptional ; for ( com.android.build.gradle.internal.dependency.LibInfo libInfo : getLibInfoDependencies ( ) ) { libInfo.setIsOptional ( isOptional ) ; } }
Source:
public static void testSendCmasMonthlyTest ( android.app.Activity activity , int messageId ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.createCmasSmsMessage ( SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE , messageId , "en" , com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.MONTHLY_TEST_ALERT , SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN , SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN , SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN , SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN , SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN ) ; com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.sendBroadcast ( activity , cbMessage ) ; }

Target:
public static void testSendCmasMonthlyTest ( android.app.Activity activity , int serialNumber ) { android.telephony.SmsCbMessage cbMessage = com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.createCmasSmsMessage ( SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE , serialNumber , "en" , com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.MONTHLY_TEST_ALERT , SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN , SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN , SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN , SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN , SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN ) ; com.android.cellbroadcastreceiver.tests.SendCdmaCmasMessages.sendBroadcast ( activity , cbMessage ) ; }
Source:
public void onNewIncomingConnection ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection connection ) { if ( connection.getExtras ( ) . getBoolean ( connectionTag ) ) { com.android.dialer.common.LogUtil.i ( "SimulatorVoiceCall.onNewIncomingConnection" , "connection created" ) ; handleNewConnection ( connection ) ; } }

Target:
public void onNewIncomingConnection ( @ android.support.annotation.NonNull com.android.dialer.simulator.impl.SimulatorConnection connection ) { if ( isMyConnection ( connection ) ) { com.android.dialer.common.LogUtil.i ( "SimulatorVoiceCall.onNewIncomingConnection" , "connection created" ) ; handleNewConnection ( connection ) ; } }
Source:
private static native void setWifiLinkLayerStatsNative ( int iface , int enable ) ;

Target:
public void setWifiLinkLayerStats ( java.lang.String iface , int enable ) { }
Source:
void notifyANQPResponse ( com.android.server.wifi.ScanDetail scanDetail , java.util.Map < com.android.server.wifi.anqp.Constants.ANQPElementType , com.android.server.wifi.anqp.ANQPElement > anqpElements ) ;

Target:
void onANQPResponse ( long bssid , java.util.Map < com.android.server.wifi.anqp.Constants.ANQPElementType , com.android.server.wifi.anqp.ANQPElement > anqpElements ) ;
Source:
public void bindResponse ( int indId , boolean indStatus ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return ; } service.bindResponse ( indId , indStatus ) ; }

Target:
public boolean setActiveDevice ( android.bluetooth.BluetoothDevice device ) { com.android.bluetooth.hfp.HeadsetService service = getService ( ) ; if ( service == null ) { return false ; } return service.setActiveDevice ( device ) ; }
Source:
public abstract java.util.List getPendingMmiCodes ( ) ;

Target:
public abstract Phone.State getState ( ) ;
Source:
private java.lang.String generateUniquePackagePrefix ( java.lang.String newSuperPackagePrefix , proguard.obfuscate.NameFactory packageNameFactory ) { java.lang.String newPackagePrefix ; do { newPackagePrefix = ( newSuperPackagePrefix + ( packageNameFactory.nextName ( ) ) ) + ( ClassConstants.INTERNAL_PACKAGE_SEPARATOR ) ; } while ( packagePrefixMap.containsValue ( newPackagePrefix ) ) ; return newPackagePrefix ; }

Target:
private java.lang.String generateUniquePackagePrefix ( java.lang.String newSuperPackagePrefix , proguard.obfuscate.NameFactory packageNameFactory ) { java.lang.String newPackagePrefix ; do { newPackagePrefix = ( newSuperPackagePrefix + ( packageNameFactory.nextName ( ) ) ) + ( ClassConstants.PACKAGE_SEPARATOR ) ; } while ( packagePrefixMap.containsValue ( newPackagePrefix ) ) ; return newPackagePrefix ; }
Source:
int getMinSdkVersion ( ) ;

Target:
com.android.builder.model.ApiVersion getMinSdkVersion ( ) ;
Source:
private static native long nativeGetTotalStat ( int type ) ;

Target:
private static native long nativeGetTotalStat ( int type , boolean useBpfStats ) ;
Source:
public android.database.Cursor loadInBackground ( ) { android.database.Cursor cursor = super . loadInBackground ( ) ; com.android.dialer.searchfragment.cp2.ContactFilterCursor contactFilterCursor = new com.android.dialer.searchfragment.cp2.ContactFilterCursor ( cursor , query , getContext ( ) ) ; return com.android.dialer.searchfragment.cp2.SearchContactsCursor.newInstance ( getContext ( ) , contactFilterCursor ) ; }

Target:
public boolean isHeader ( ) { return isFirst ( ) ; }
Source:
private static void encodeRegisterRange ( com.android.jack.dx.io.instructions.DecodedInstruction insn , com.android.jack.dx.io.instructions.CodeOutput out ) { out.write ( com.android.jack.dx.io.instructions.InstructionCodec.codeUnit ( insn.getOpcode ( ) , insn.getRegisterCount ( ) ) , insn.getIndexUnit ( ) , insn.getAUnit ( ) ) ; }

Target:
private static void encodeRegisterRange ( com.android.jack.dx.io.instructions.DecodedInstruction insn , com.android.jack.dx.io.instructions.CodeOutput out ) { out.write ( com.android.jack.dx.io.instructions.InstructionCodec.codeUnit ( insn.getOpcode ( ) , insn.getRegisterCount ( ) ) , insn.getFirstIndexUnit ( ) , insn.getAUnit ( ) ) ; }
Source:
public static float scalb ( float f , int scaleFactor ) { return sun.misc.FpUtils.scalb ( f , scaleFactor ) ; }

Target:
public static float ulp ( float f ) { return java.lang.Math.ulp ( f ) ; }
Source:
public void setConferenceMergeFailed ( java.lang.String callId ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = callId ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_CONFERENCE_MERGE_FAILED , args ) . sendToTarget ( ) ; }

Target:
public void setConferenceMergeFailed ( java.lang.String callId , android.telecom.Logging.Session.Info sessionInfo ) { com.android.internal.os.SomeArgs args = com.android.internal.os.SomeArgs.obtain ( ) ; args.arg1 = callId ; mHandler.obtainMessage ( android.telecom.ConnectionServiceAdapterServant.MSG_SET_CONFERENCE_MERGE_FAILED , args ) . sendToTarget ( ) ; }
Source:
public void dispose ( ) { if ( com.android.internal.telephony.uicc.RuimRecords.DBG ) log ( ( "Disposing RuimRecords " + ( this ) ) ) ; mCi.unregisterForIccRefresh ( this ) ; mParentApp.unregisterForReady ( this ) ; resetRecords ( ) ; super . dispose ( ) ; }

Target:
public void dispose ( ) { if ( DBG ) log ( ( "Disposing RuimRecords " + ( this ) ) ) ; mCi.unregisterForIccRefresh ( this ) ; mParentApp.unregisterForReady ( this ) ; resetRecords ( ) ; super . dispose ( ) ; }
Source:
public void filter ( org.junit.runner.manipulation.Filter filter ) throws org.junit.runner.manipulation.NoTestsRemainException { super . filter ( filter ) ; this . parametrizedTestMethodsFilter = new junitparams.internal.ParametrizedTestMethodsFilter ( this , filter ) ; }

Target:
public void filter ( org.junit.runner.manipulation.Filter filter ) throws org.junit.runner.manipulation.NoTestsRemainException { super . filter ( filter ) ; description = null ; this . parametrizedTestMethodsFilter = new junitparams.internal.ParametrizedTestMethodsFilter ( this , filter ) ; }
Source:
private static android.net.Uri getContactUri ( android.database.Cursor cursor ) { long contactId = cursor.getLong ( ContactsCursorLoader.CONTACT_ID ) ; java.lang.String lookupKey = cursor.getString ( ContactsCursorLoader.CONTACT_LOOKUP_KEY ) ; return android.provider.ContactsContract.Contacts.getLookupUri ( contactId , lookupKey ) ; }

Target:
private static android.net.Uri getContactUri ( android.database.Cursor cursor ) { long contactId = com.android.dialer.contactsfragment.ContactsAdapter.getContactId ( cursor ) ; java.lang.String lookupKey = cursor.getString ( ContactsCursorLoader.CONTACT_LOOKUP_KEY ) ; return android.provider.ContactsContract.Contacts.getLookupUri ( contactId , lookupKey ) ; }
Source:
public java.util.Collection < V > transformEntry ( K key , java.util.Collection < V > collection ) { return filterCollection ( collection , new ValuePredicate ( key ) ) ; }

Target:
public java.util.Collection < V > apply ( java.util.Collection < V > collection ) { return com.google.common.collect.Multimaps.unmodifiableValueCollection ( collection ) ; }
Source:
public void onSearchComplete ( java.lang.String address , int status ) throws android.os.RemoteException { }

Target:
public void onDescriptorWrite ( java.lang.String address , int status , int handle ) throws android.os.RemoteException { }
Source:
public void testStarted ( com.android.ddmlib.testrunner.TestIdentifier test ) { mRunResult.reportTestStarted ( test ) ; }

Target:
public void testFailed ( com.android.ddmlib.testrunner.TestIdentifier test , java.lang.String trace ) { mRunResult.testFailed ( test , trace ) ; }
Source:
public static void assertEquals ( double expected , double actual , double delta ) { if ( ! ( ( java.lang.Math.abs ( ( expected - actual ) ) ) <= delta ) ) throw new java.lang.RuntimeException ( "AssertionFailedError: not within delta" ) ; }

Target:
public static void assertEquals ( double expected , double actual , double delta ) { if ( ! ( ( java.lang.Math.abs ( ( expected - actual ) ) ) <= delta ) ) throw new dot.junit.AssertionFailedException ( "not within delta" ) ; }
Source:
public boolean imsIsVolteProvisionedOnDevice ( ) { return mImsManager.isVolteProvisionedOnDevice ( mContext ) ; }

Target:
public void imsSetEnhanced4gMode ( @ com.googlecode.android_scripting.rpc.RpcParameter ( name = "enable" ) java.lang.Boolean enable ) { mImsManager.setEnhanced4gLteModeSettingForSlot ( enable ) ; }
Source:
public boolean testLevel ( ) { if ( ( mAverageEnergyPerBand [ 1 ] ) >= ( com.android.cts.verifier.audio.AudioFrequencyUnprocessedActivity.MIN_ENERGY_BAND_1 ) ) { return true ; } return false ; }

Target:
public void reset ( ) { for ( int i = 0 ; i < ( mBandCount ) ; i ++ ) { mPointsPerBand [ i ] = 0 ; mAverageEnergyPerBand [ i ] = 0 ; mInBoundPointsPerBand [ i ] = 0 ; } }
Source:
public com.android.jack.jayce.ParameterNode getParameterNode ( @ javax.annotation.Nonnegative int parameterNodeIndex ) { assert ( parameters ) != null ; return parameters.get ( parameterNodeIndex ) ; }

Target:
public com.android.jack.jayce.ParameterNode getParameterNode ( @ javax.annotation.Nonnegative int parameterNodeIndex ) { return getParameters ( ) . get ( parameterNodeIndex ) ; }
Source:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copy1DRangeFrom" ) ; validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copy1DRangeFrom ( int off , int count , int [ ] d ) { validateIsInt32 ( ) ; copy1DRangeFromUnchecked ( off , count , d , Element.DataType.SIGNED_32 , d.length ) ; }
Source:
private static java.lang.String outcome ( java.lang.String testClassName , java.lang.String methodName , java.lang.String message , vogar.Result result ) { java.lang.String testName = vogar.target.AbstractTestRunnerTest.ExpectedResults.testName ( testClassName , methodName ) ; return java.lang.String.format ( ( "//00xx{\"outcome\":\"%s\"}\n" + ( "%s" + "//00xx{\"result\":\"%s\"}\n" ) ) , testName , ( message == null ? "" : message ) , result ) ; }

Target:
private static java.lang.String outcome ( java.lang.String testClassName , java.lang.String methodName , java.lang.String message , vogar.Result result ) { java.lang.String testName = vogar.target.junit.JUnitUtils.getTestName ( testClassName , methodName ) ; return java.lang.String.format ( ( "//00xx{\"outcome\":\"%s\"}\n" + ( "%s" + "//00xx{\"result\":\"%s\"}\n" ) ) , testName , ( message == null ? "" : message ) , result ) ; }
Source:
public void testFormat0 ( ) throws java.lang.Exception { android.text.format.Time t = new android.text.format.Time ( android.text.format.Time.TIMEZONE_UTC ) ; java.lang.String r = t.format ( "%Y%m%dT%H%M%S" ) ; assertEquals ( "19700101T000000" , r ) ; }

Target:
public void testFormat ( ) throws java.lang.Exception { android.text.format.Time t = new android.text.format.Time ( android.text.format.Time.TIMEZONE_UTC ) ; java.lang.String r = t.format ( "%Y%m%dT%H%M%S" ) ; assertEquals ( "19700101T000000" , r ) ; }
Source:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; mUids = null ; mEstablishingVpnAppUid = android.net.NetworkCapabilities.INVALID_UID ; }

Target:
public void clearAll ( ) { mNetworkCapabilities = mTransportTypes = mUnwantedNetworkCapabilities = 0 ; mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED ; mNetworkSpecifier = null ; mSignalStrength = android.net.NetworkCapabilities.SIGNAL_STRENGTH_UNSPECIFIED ; mUids = null ; mEstablishingVpnAppUid = android.net.NetworkCapabilities.INVALID_UID ; }
Source:
public java.lang.String telephonyGetNetworkType ( ) { com.googlecode.android_scripting.Log.d ( ( "sl4a:getNetworkType() is deprecated!" + ( "Please use getVoiceNetworkType()" + " or getDataNetworkTpe()" ) ) ) ; return telephonyGetNetworkTypeForSubscription ( android.telephony.SubscriptionManager.getDefaultSubId ( ) ) ; }

Target:
public java.lang.String telephonyGetNetworkOperatorName ( ) { return telephonyGetNetworkOperatorNameForSubscription ( android.telephony.SubscriptionManager.getDefaultSubscriptionId ( ) ) ; }
Source:
public static boolean isFileBasedResourceType ( com.android.resources.ResourceType type ) { java.util.List < com.android.resources.ResourceFolderType > folderTypes = com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.resources.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.resources.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }

Target:
public static boolean isFileBasedResourceType ( com.android.resources.ResourceType type ) { java.util.List < com.android.resources.ResourceFolderType > folderTypes = com.android.resources.FolderTypeRelationship.getRelatedFolders ( type ) ; for ( com.android.resources.ResourceFolderType folderType : folderTypes ) { if ( folderType != ( com.android.resources.ResourceFolderType.VALUES ) ) { return true ; } } return false ; }
Source:
public void testGetView_missing ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.nullValue ( android.view.View.class ) , testViewProvider ) ; try { finder.getView ( ) ; fail ( "No children should pass that matcher!" ) ; } catch ( android.support.test.espresso.NoMatchingViewException expected ) { } }

Target:
public void find_offUiThread ( ) { android.support.test.espresso.ViewFinder finder = new android.support.test.espresso.base.ViewFinderImpl ( org.hamcrest.Matchers.sameInstance ( nestedChild ) , testViewProvider ) ; expectedException.expect ( java.lang.IllegalStateException.class ) ; finder.getView ( ) ; }
Source:
private static void callPostForkChildHooks ( int debugFlags , boolean isSystemServer , java.lang.String instructionSet ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( debugFlags , isSystemServer , instructionSet ) ; }

Target:
private static void callPostForkChildHooks ( int runtimeFlags , boolean isSystemServer , java.lang.String instructionSet ) { com.android.internal.os.Zygote.VM_HOOKS.postForkChild ( runtimeFlags , isSystemServer , instructionSet ) ; }
Source:
private java.io.File createTemporaryZipFile ( ) throws java.io.IOException { java.io.File result = java.io.File.createTempFile ( "ZipFileTest" , "zip" ) ; result.deleteOnExit ( ) ; return result ; }

Target:
private static java.io.File createTemporaryZipFile ( ) throws java.io.IOException { java.io.File result = java.io.File.createTempFile ( "ZipFileTest" , ".zip" ) ; result.deleteOnExit ( ) ; return result ; }
Source:
private void sleep ( ) { try { java.lang.Thread.sleep ( ( ( 1 * 1000 ) / 4 ) ) ; } catch ( java.lang.InterruptedException e ) { } }

Target:
private void sleep ( ) { try { java.lang.Thread.sleep ( ( 1000 / 4 ) ) ; } catch ( java.lang.InterruptedException ignored ) { } }
Source:
public boolean init ( java.io.File fontLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap , com.android.ide.common.rendering.api.LayoutLog log ) { return false ; }

Target:
public boolean init ( java.util.Map < java.lang.String , java.lang.String > platformProperties , java.io.File fontLocation , java.util.Map < java.lang.String , java.util.Map < java.lang.String , java.lang.Integer > > enumValueMap , com.android.ide.common.rendering.api.LayoutLog log ) { return false ; }
Source:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNew = uiDoc.appendNewUiChild ( viewDesc ) ; uiNew.setAttributeValue ( LayoutConstants.ANDROID_NS_PREFIX , XmlnsAttributeDescriptor.XMLNS_URI , SdkConstants.NS_RESOURCES , true ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , false ) ; uiNew.createXmlNode ( ) ; }

Target:
public void run ( ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNew = uiDoc.appendNewUiChild ( viewDesc ) ; uiNew.setAttributeValue ( LayoutConstants.ANDROID_NS_NAME , XmlnsAttributeDescriptor.XMLNS_URI , SdkConstants.NS_RESOURCES , true ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.setDefaultLayoutAttributes ( uiNew , false ) ; uiNew.createXmlNode ( ) ; }
Source:
public static void requestListeningState ( android.content.Context context ) { if ( ( com.android.traceur.QsService.sListeningInstance ) != null ) { com.android.traceur.QsService.sListeningInstance.update ( ) ; } else { com.android.traceur.QsService.requestListeningState ( context , new android.content.ComponentName ( context , com.android.traceur.QsService.class ) ) ; } }

Target:
public static void updateTile ( ) { if ( ( com.android.traceur.QsService.sListeningInstance ) != null ) { com.android.traceur.QsService.sListeningInstance.update ( ) ; } }
Source:
public native long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , libcore.util.MutableLong inOffset , long byteCount ) throws android.system.ErrnoException ;

Target:
public native long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , android.system.Int64Ref offset , long byteCount ) throws android.system.ErrnoException ;
Source:
public com.android.sdklib.repository.FullRevision getFullRevision ( ) { return revision ; }

Target:
public static com.android.sdklib.repository.descriptors.PkgDesc.Builder newTool ( @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision revision , @ com.android.annotations.NonNull com.android.sdklib.repository.FullRevision minPlatformToolsRev ) { com.android.sdklib.repository.descriptors.PkgDesc.Builder p = new com.android.sdklib.repository.descriptors.PkgDesc.Builder ( PkgType.PKG_TOOLS ) ; p.mFullRevision = revision ; p.mMinPlatformToolsRev = minPlatformToolsRev ; return p ; }
Source:
public com.android.layoutlib.api.SceneResult createResult ( java.lang.String errorMessage , java.lang.Throwable throwable ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , throwable ) ; }

Target:
public com.android.ide.common.rendering.api.Result createResult ( java.lang.String errorMessage , java.lang.Throwable throwable ) { return new com.android.ide.common.rendering.api.Result ( this , errorMessage , throwable ) ; }
Source:
public final com.android.ide.eclipse.adt.internal.resources.manager.ResourceFolder getFolder ( ) { return mFolder ; }

Target:
public final com.android.ide.common.resources.ResourceFolder getFolder ( ) { return mFolder ; }
Source:
public com.android.sdklib.repository.descriptors.IPkgDesc getPkgDesc ( ) { return com.android.sdklib.repository.descriptors.PkgDesc.newTool ( new com.android.sdklib.repository.FullRevision ( 1 , 2 , 3 , 4 ) , FullRevision.NOT_SPECIFIED ) ; }

Target:
public com.android.sdklib.repository.descriptors.IPkgDesc getPkgDesc ( ) { return PkgDesc.Builder.newTool ( new com.android.sdklib.repository.FullRevision ( 1 , 2 , 3 , 4 ) , FullRevision.NOT_SPECIFIED ) . create ( ) ; }
Source:
public android.net.wifi.nan.ConfigRequest getConfigRequest ( ) { return mConfigRequest ; }

Target:
public android.net.wifi.aware.ConfigRequest getConfigRequest ( ) { return mConfigRequest ; }
Source:
public void mouseMoved ( java.awt.event.MouseEvent event ) { checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ; }

Target:
public void mouseMoved ( java.awt.event.MouseEvent event ) { checkLockedRegion ( event.getX ( ) , event.getY ( ) ) ; updateHoverRegion ( event.getX ( ) , event.getY ( ) ) ; repaint ( ) ; }
Source:
protected void forEach ( int slot , android.renderscript.Allocation [ ] ains , android.renderscript.Allocation aout , android.renderscript.FieldPacker v ) { forEach ( slot , ains , aout , v , null ) ; }

Target:
protected void forEach ( int slot , android.renderscript.Allocation [ ] ains , android.renderscript.Allocation aout , android.renderscript.FieldPacker v ) { forEach ( slot , ains , aout , v , new android.renderscript.Script.LaunchOptions ( ) ) ; }
Source:
public native long getArtField ( ) ;

Target:
public native java.lang.annotation.Annotation [ ] getDeclaredAnnotations ( ) ;
Source:
public void unregisterListener ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mSensorManager.unregisterListener ( mTestSensorEventListener , mEnvironment.getSensor ( ) ) ; mTestSensorEventListener = null ; }

Target:
public void unregisterListener ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mSensorManager.unregisterListener ( mTestSensorEventListener , mEnvironment.getSensor ( ) ) ; mTestSensorEventListener.assertEventsReceivedInHandler ( ) ; mTestSensorEventListener = null ; }
Source:
public com.android.ahat.heapdump.Value getDumpedValue ( java.lang.String name ) { return getDumpedValue ( name , mSnapshot ) ; }

Target:
public com.android.ahat.heapdump.Value getBaselineDumpedValue ( java.lang.String name ) { return com.android.ahat.TestDump.getDumpedValue ( name , mBaselineMain ) ; }
Source:
private boolean matchesWifi ( android.net.NetworkIdentity ident ) { switch ( ident.mType ) { case android.net.ConnectivityManager.TYPE_WIFI : return com.android.internal.util.Objects.equal ( android.net.wifi.WifiInfo.removeDoubleQuotes ( mNetworkId ) , android.net.wifi.WifiInfo.removeDoubleQuotes ( ident.mNetworkId ) ) ; default : return false ; } }

Target:
private boolean matchesWifi ( android.net.NetworkIdentity ident ) { switch ( ident.mType ) { case android.net.ConnectivityManager.TYPE_WIFI : return java.util.Objects.equals ( android.net.wifi.WifiInfo.removeDoubleQuotes ( mNetworkId ) , android.net.wifi.WifiInfo.removeDoubleQuotes ( ident.mNetworkId ) ) ; default : return false ; } }
Source:
public void setDomains ( java.lang.String domains ) { domains = domains ; }

Target:
public void setDomains ( java.lang.String newDomains ) { domains = newDomains ; }
Source:
public int readArray ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_ARRAY ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return com.android.dx.util.Leb128Utils.readUnsignedLeb128 ( in ) ; }

Target:
public int readArray ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_ARRAY ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return com.android.dex.Leb128.readUnsignedLeb128 ( in ) ; }
Source:
public void process ( ) { mThread = new java.lang.Thread ( this ) ; mThread.start ( ) ; }

Target:
public void process ( ) { mThread = new java.lang.Thread ( this , "SendTransaction" ) ; mThread.start ( ) ; }
Source:
native void rsnObjDestroy ( int con , int id ) ;

Target:
native void rsnContextSendMessage ( long con , int id , int [ ] data ) ;
Source:
void expectAvailableCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent ) { expectAvailableCallbacks ( agent , false , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }

Target:
void expectAvailableAndSuspendedCallbacks ( com.android.server.ConnectivityServiceTest.MockNetworkAgent agent , boolean expectValidated ) { expectAvailableCallbacks ( agent , true , expectValidated , com.android.server.ConnectivityServiceTest.TestNetworkCallback.TIMEOUT_MS ) ; }
Source:
public org.gradle.api.DefaultTask getInstall ( ) { return getApkVariantData ( ) . installTask ; }

Target:
public com.android.build.gradle.tasks.ZipAlign getZipAlign ( ) { com.android.build.gradle.internal.variant.ApkVariantOutputData variantOutputData = getApkVariantData ( ) . getOutputs ( ) . get ( 0 ) ; return variantOutputData.zipAlignTask ; }
Source:
public void enter ( ) { android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_DISCONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; quit ( ) ; }

Target:
public void enter ( ) { if ( com.android.bluetooth.pbapclient.PbapClientStateMachine.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.PbapClientStateMachine.TAG , ( "Enter Disconnected: " + ( getCurrentMessage ( ) . what ) ) ) ; onConnectionStateChanged ( mCurrentDevice , mMostRecentState , BluetoothProfile.STATE_DISCONNECTED ) ; mMostRecentState = android.bluetooth.BluetoothProfile.STATE_DISCONNECTED ; quit ( ) ; }
Source:
public void put ( android.icu.impl.UResource.Key key , android.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , android.icu.impl.SimplePatternFormatter.compile ( value.getString ( ) ) ) ; } }

Target:
public void put ( android.icu.impl.UResource.Key key , android.icu.impl.UResource.Value value ) { if ( key.contentEquals ( "per" ) ) { cacheData.styleToPerPattern.put ( width , android.icu.impl.SimplePatternFormatter.compileToStringMinMaxPlaceholders ( value.getString ( ) , sb , 2 , 2 ) ) ; } }
Source:
public int run ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String mainClass , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runOnHost ( buildCommandLine ( options , mainClass , classpathFiles ) , "ANDROID_HOST_OUT" ) ; }

Target:
public int run ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String mainClass , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runOnHost ( buildCommandLine ( options , mainClass , classpathFiles ) , com.android.jack.test.runner.DalvikRunnerHost.ANDROID_ROOT ) ; }
Source:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintStream printer , @ javax.annotation.Nonnull java.lang.String value ) { printer.print ( ( ( "\"" + ( value.replace ( "\"" , "\\\"" ) ) ) + "\"" ) ) ; return true ; }

Target:
public boolean print ( @ javax.annotation.Nonnull java.io.PrintWriter printer , @ javax.annotation.Nonnull java.lang.String value ) { printer.print ( ( ( "\"" + ( value.replace ( "\"" , "\\\"" ) ) ) + "\"" ) ) ; return true ; }
Source:
public com.android.sdklib.io.NonClosingInputStream setCloseBehavior ( @ com.android.annotations.NonNull com.android.sdklib.io.NonClosingInputStream.CloseBehavior closeBehavior ) { mCloseBehavior = closeBehavior ; return this ; }

Target:
public com.android.io.NonClosingInputStream setCloseBehavior ( @ com.android.annotations.NonNull com.android.io.NonClosingInputStream.CloseBehavior closeBehavior ) { mCloseBehavior = closeBehavior ; return this ; }
Source:
public void startScan ( ) { mBLEScanner.startScan ( mScanFilterList , mScanSettings , mScanCallback ) ; }

Target:
public void startScan ( ) { if ( ( mBLEScanner ) != null ) { mBLEScanner.startScan ( mScanFilterList , mScanSettings , mScanCallback ) ; } else { android.util.Log.e ( com.android.pmc.GattClientListener.TAG , "BLEScanner is null" ) ; } }
Source:
public int getProtocolIdentifier ( ) { android.util.Log.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "getProtocolIdentifier: is not supported in CDMA mode." ) ; return 0 ; }

Target:
public int getProtocolIdentifier ( ) { android.telephony.Rlog.w ( com.android.internal.telephony.cdma.SmsMessage.LOG_TAG , "getProtocolIdentifier: is not supported in CDMA mode." ) ; return 0 ; }
Source:
public boolean test ( int flag ) { return flag == ( com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_A ) ; }

Target:
boolean isCondition1or2Violated ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JStatement startStmt ) { return traverse ( com.google.common.collect.Lists.newArrayList ( startStmt ) , ( ( byte ) ( ( com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ENTRY_POINT ) | ( com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_OR_READS_B ) ) ) , com.android.jack.optimizations.DefUsesChainsSimplifier.CfgHelper.BB_ASSIGNS_A ) ; }
Source:
public void OnPnoNetworkFound ( ) { android.util.Log.d ( com.android.server.wifi.WificondControl.TAG , "Pno scan result event" ) ; mWifiMonitor.broadcastScanResultEvent ( mClientInterfaceName ) ; }

Target:
public void OnPnoNetworkFound ( ) { android.util.Log.d ( com.android.server.wifi.WificondControl.TAG , "Pno scan result event" ) ; mWifiMonitor.broadcastPnoScanResultEvent ( mClientInterfaceName ) ; }
Source:
public java.io.InputStream getInputStream ( ) throws java.io.IOException { return zipInputStream ; }

Target:
public java.io.InputStream getInputStream ( ) throws java.io.IOException { if ( ( bufferedInputStream ) == null ) { bufferedInputStream = new java.io.BufferedInputStream ( zipInputStream ) ; } return bufferedInputStream ; }
Source:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModels ( ) { return getAllModels ( new com.android.build.gradle.integration.common.fixture.GetAndroidModelAction ( ) , false ) ; }

Target:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModelsIgnoringSyncIssues ( ) { return getAllModels ( new com.android.build.gradle.integration.common.fixture.GetAndroidModelAction ( ) , false ) ; }
Source:
public void revertVoiceSearchMode ( com.android.browser.Tab tab ) { mUi.revertVoiceTitleBar ( tab ) ; }

Target:
public void editUrl ( ) { if ( mOptionsMenuOpen ) mActivity.closeOptionsMenu ( ) ; mUi.editUrl ( false , true ) ; }
Source:
public void delete ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotDeleteFileException { assert ! ( closed ) ; dir.delete ( path ) ; }

Target:
public void delete ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotDeleteFileException { assert ! ( isClosed ( ) ) ; dir.delete ( path ) ; }
Source:
public int getDownloadStatus ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.FileInfo fileInfo ) throws android.os.RemoteException { return 0 ; }

Target:
public int requestDownloadState ( android.telephony.mbms.DownloadRequest downloadRequest , android.telephony.mbms.FileInfo fileInfo ) throws android.os.RemoteException { return 0 ; }
Source:
public void testInvalidAppDependencies ( ) throws java.lang.Exception { try { getModelForProject ( com.android.build.gradle.model.AndroidProjectTest.FOLDER_TEST_MANUAL , "invalidDependencyOnAppProject" ) ; fail ( "Should fail." ) ; } catch ( org.gradle.tooling.BuildException e ) { assertTrue ( e.getCause ( ) . getMessage ( ) . contains ( "Only Android library projects can act as dependencies of other projects." ) ) ; } }

Target:
public void testInvalidAppDependencies ( ) throws java.lang.Exception { try { getModelForProject ( com.android.build.gradle.model.AndroidProjectTest.FOLDER_TEST_PROJECT , "invalidDependencyOnAppProject" ) ; fail ( "Should fail." ) ; } catch ( org.gradle.tooling.BuildException e ) { assertTrue ( e.getCause ( ) . getMessage ( ) . contains ( "Only Android library projects can act as dependencies of other projects." ) ) ; } }
Source:
boolean hasAccountEntryForPhoneAccount ( android.telecom.PhoneAccountHandle handle ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { if ( entry.getPhoneAccountHandle ( ) . equals ( handle ) ) { return true ; } } return false ; }

Target:
boolean hasAccountEntryForPhoneAccount ( android.telecom.PhoneAccountHandle handle ) { synchronized ( mAccountsLock ) { for ( com.android.services.telephony.TelecomAccountRegistry.AccountEntry entry : mAccounts ) { if ( entry.getPhoneAccountHandle ( ) . equals ( handle ) ) { return true ; } } } return false ; }
Source:
public com.android.sdklib.ISystemImage getSystemImage ( java.lang.String abiType ) ;

Target:
public com.android.sdklib.ISystemImage getSystemImage ( @ com.android.annotations.NonNull com.android.sdklib.repository.descriptors.IdDisplay tag , @ com.android.annotations.NonNull java.lang.String abiType ) ;
Source:
public void setIsVoipAudioMode ( java.lang.String callId , boolean isVoip ) { findConnectionForAction ( callId , "setIsVoipAudioMode" ) . setIsVoipAudioMode ( isVoip ) ; }

Target:
public void setIsVoipAudioMode ( java.lang.String callId , boolean isVoip , android.telecom.Logging.Session.Info sessionInfo ) { findConnectionForAction ( callId , "setIsVoipAudioMode" ) . setIsVoipAudioMode ( isVoip ) ; }
Source:
public static char checkedCast ( long value ) { char result = ( ( char ) ( value ) ) ; com.google.common.base.Preconditions.checkArgument ( ( result == value ) , "Out of range: %s" , value ) ; return result ; }

Target:
public static char checkedCast ( long value ) { char result = ( ( char ) ( value ) ) ; if ( result != value ) { throw new java.lang.IllegalArgumentException ( ( "Out of range: " + value ) ) ; } return result ; }
Source:
private void notifyScheduledRecordingRemoved ( com.android.tv.dvr.ScheduledRecording ... scheduledRecordings ) { for ( com.android.tv.dvr.DvrDataManager.ScheduledRecordingListener l : mScheduledRecordingListeners ) { l.onScheduledRecordingRemoved ( scheduledRecordings ) ; } }

Target:
private void notifyScheduledRecordingStatusChanged ( com.android.tv.dvr.data.ScheduledRecording ... scheduledRecordings ) { for ( com.android.tv.dvr.DvrDataManager.ScheduledRecordingListener l : mScheduledRecordingListeners ) { l.onScheduledRecordingStatusChanged ( scheduledRecordings ) ; } }
Source:
public void abortCall ( ) { com.android.dialer.common.Assert.checkState ( ( ( currentAction ) != null ) ) ; aborted = true ; }

Target:
public void abortCall ( ) { com.android.dialer.common.Assert.checkState ( ( ( currentAction ) != null ) ) ; aborted = true ; com.android.dialer.logging.Logger.get ( getActivity ( ) ) . logImpression ( Type.PRECALL_CANCELED ) ; }
Source:
public boolean getDataEnabled ( ) { return isDataEnabled ( ) ; }

Target:
public void setUserMobileDataEnabled ( boolean enable ) { setUserMobileDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }
Source:
public void test_twoJar_diff_directGetResourceAsStream ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_directGetResourceAsStream ( dalvik.system.DexClassLoaderTest.Configuration.TWO_JAR , "test2/Resource2.txt" , "Who doesn\'t like a good biscuit?\n" ) ; }

Target:
public void test_twoJar_diff_directGetResourceAsStream ( ) throws java.lang.Exception { java.lang.String result = createLoaderAndGetResource ( "test2/Resource2.txt" , jar1 , jar2 ) ; assertEquals ( "Who doesn\'t like a good biscuit?\n" , result ) ; }
Source:
public android.test.ClassPathPackageInfo getPackageInfo ( java.lang.String pkgName ) { return cache.get ( pkgName ) ; }

Target:
public java.util.Set < java.lang.Class < ? > > getTopLevelClassesRecursive ( java.lang.String packageName ) { android.test.ClassPathPackageInfoSource.ClassPathPackageInfo packageInfo = cache.get ( packageName ) ; return packageInfo.getTopLevelClassesRecursive ( ) ; }
Source:
static boolean isServiceAvailable ( ) { return org.apache.harmony.security.provider.crypto.RandomBitsSupplier.serviceAvailable ; }

Target:
static boolean isServiceAvailable ( ) { return ( org.apache.harmony.security.provider.crypto.RandomBitsSupplier.devURandom ) != null ; }
Source:
boolean enableNativeFromStateMachine ( ) { boolean isGuest = android.os.UserManager.get ( this ) . isGuestUser ( ) ; android.util.Log.d ( "ATST" , ( "enableNativeUser() - isGuest = " + isGuest ) ) ; return enableNative ( isGuest ) ; }

Target:
private void enableNativeWithGuestFlag ( ) { boolean isGuest = android.os.UserManager.get ( this ) . isGuestUser ( ) ; if ( ! ( enableNative ( isGuest ) ) ) { android.util.Log.e ( com.android.bluetooth.btservice.AdapterService.TAG , "enableNative() returned false" ) ; } }
Source:
public static < T > org.hamcrest.Matcher < T > notNullValue ( ) { return org.hamcrest.core.IsNot.not ( org.hamcrest.core.IsNull.< T > nullValue ( ) ) ; }

Target:
public static org.hamcrest.Matcher < java.lang.Object > notNullValue ( ) { return org.hamcrest.core.IsNot.not ( org.hamcrest.core.IsNull.nullValue ( ) ) ; }
Source:
private com.android.ims.internal.IImsServiceController getServiceInterface ( android.os.IBinder b ) { return IImsServiceController.Stub.asInterface ( b ) ; }

Target:
private com.android.ims.internal.IImsMMTelFeature getServiceInterface ( android.os.IBinder b ) { return IImsMMTelFeature.Stub.asInterface ( b ) ; }
Source:
public void getFeatureValue ( int feature , int network , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { }

Target:
public void setFeatureValue ( int feature , int network , int value , com.android.ims.ImsConfigListener listener ) throws android.os.RemoteException { getImsConfigImpl ( ) . setFeatureValue ( feature , network , value , listener ) ; }
Source:
public int equal ( proguard.evaluation.value.ReferenceValue other ) { return this . equals ( other ) ? ALWAYS : MAYBE ; }

Target:
public proguard.evaluation.value.ReferenceValue generalize ( proguard.evaluation.value.ReferenceValue other ) { return other.generalize ( this ) ; }
Source:
private void tryChangeIccLockState ( ) { android.os.Message callback = android.os.Message.obtain ( mHandler , com.android.settings.IccLockSettings.MSG_ENABLE_ICC_PIN_COMPLETE ) ; mPhone.getIccCard ( ) . setIccLockEnabled ( mToState , mPin , callback ) ; }

Target:
private void tryChangeIccLockState ( ) { android.os.Message callback = android.os.Message.obtain ( mHandler , com.android.settings.IccLockSettings.MSG_ENABLE_ICC_PIN_COMPLETE ) ; mPhone.getIccCard ( ) . setIccLockEnabled ( mToState , mPin , callback ) ; mPinToggle.setEnabled ( false ) ; }
Source:
public com.android.layoutlib.api.SceneResult getResult ( java.lang.String errorMessage , java.lang.Throwable throwable ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , throwable ) ; }

Target:
public com.android.layoutlib.api.SceneResult createResult ( java.lang.String errorMessage , java.lang.Throwable throwable ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , throwable ) ; }
Source:
public void setDayGroup ( long rowId , int dayGroup ) { if ( ! ( mDayGroups.containsKey ( rowId ) ) ) { mDayGroups.put ( rowId , dayGroup ) ; } }

Target:
public void setCallbackAction ( long rowId , @ com.android.dialer.calllogutils.CallbackActionHelper.CallbackAction int callbackAction ) { mCallbackActions.put ( rowId , callbackAction ) ; }
Source:
public void setNickname ( java.lang.String callingPackage , java.lang.String iccid , java.lang.String nickname , com.android.internal.telephony.euicc.ISetNicknameCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void setNickname ( java.lang.String callingPackage , java.lang.String cardId , java.lang.String iccid , java.lang.String nickname , com.android.internal.telephony.euicc.ISetNicknameCallback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public java.util.Iterator < com.ibm.icu.text.UnicodeSet.EntryRange > iterator ( ) { return this ; }

Target:
public java.util.Iterator < com.ibm.icu.text.UnicodeSet.EntryRange > iterator ( ) { return new com.ibm.icu.text.UnicodeSet.EntryRangeIterator ( ) ; }
Source:
public void mouseDoubleClick ( org.eclipse.swt.events.MouseEvent e ) { mCanvas.showXml ( e ) ; }

Target:
public void mouseDoubleClick ( org.eclipse.swt.events.MouseEvent e ) { if ( ( e.button ) == 1 ) { mCanvas.showXml ( e ) ; } }