Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 – 25 of 116) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java54 apr.send(this, RESULT_OK, res); in onCreate()
98 setResult(RESULT_OK, res); in onResume()
115 setResult(RESULT_OK); in onActivityResult()
128 if (resultCode != RESULT_OK) { in onActivityResult()
DTestedActivity.java60 setResult(RESULT_OK);
71 setResult(RESULT_OK); in queueIdle()
DTestedScreen.java51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
104 setResult(RESULT_OK);
121 setResult(RESULT_OK); in queueIdle()
DClearTop.java43 setResult(RESULT_OK); in onNewIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java249 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getAllProfiles()
297 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getProfile()
345 callback.onComplete(EuiccCardManager.RESULT_OK); in disableProfile()
397 callback.onComplete(EuiccCardManager.RESULT_OK, profile); in switchToProfile()
459 callback.onComplete(EuiccCardManager.RESULT_OK); in setNickname()
511 callback.onComplete(EuiccCardManager.RESULT_OK); in deleteProfile()
563 callback.onComplete(EuiccCardManager.RESULT_OK); in resetMemory()
611 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getDefaultSmdpAddress()
659 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getSmdsAddress()
707 callback.onComplete(EuiccCardManager.RESULT_OK); in setDefaultSmdpAddress()
[all …]
DEuiccController.java401 case EuiccService.RESULT_OK: in onGetMetadataComplete()
594 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete()
628 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete()
677 case EuiccService.RESULT_OK: in downloadSubscriptionPrivileged()
832 case EuiccService.RESULT_OK: in onGetDefaultListComplete()
927 case EuiccService.RESULT_OK: in deleteSubscriptionPrivileged()
1051 case EuiccService.RESULT_OK: in switchToSubscriptionPrivileged()
1114 case EuiccService.RESULT_OK: in updateSubscriptionNickname()
1153 case EuiccService.RESULT_OK: in eraseSubscriptions()
1193 case EuiccService.RESULT_OK: in eraseSubscriptionsWithOptions()
[all …]
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseCompatActivityTest.java135 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testSecondaryToolbarButtonListenerIsDefault()
150 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testPrimaryToolbarButtonListenerIsDefault()
320 spyBaseCompatActivity.finishAction(BaseCompatActivity.RESULT_OK); in testFinishActionWithResultCode()
322 verify(spyBaseCompatActivity).nextAction(BaseCompatActivity.RESULT_OK, null); in testFinishActionWithResultCode()
568 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity()
569 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity()
577 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume()
580 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java337 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testGetDownloadableSubscriptionMetadata_success()
386 EuiccService.RESULT_OK, in testGetDefaultDownloadableSubscriptionList_success()
448 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_success()
458 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_noSwitch_success()
563 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges()
568 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges()
580 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim()
585 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim()
597 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent()
617 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent_multiSim()
[all …]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java113 Activity.RESULT_OK, null, null);
116 Activity.RESULT_OK, null, null);
119 Activity.RESULT_OK, null, null);
127 Activity.RESULT_OK, null, null);
130 Activity.RESULT_OK, null, null);
133 Activity.RESULT_OK, null, null);
148 Activity.RESULT_OK, null, null);
151 Activity.RESULT_OK, null, null);
155 Activity.RESULT_OK, null, null);
290 null, Activity.RESULT_OK, null, null); in onCreateOptionsMenu()
[all …]
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceTest.java89 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testGraphicBufferMetrics()
95 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithoutExtraLoad()
114 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithExtraLoad()
/frameworks/base/telephony/java/android/service/carrier/
DCarrierService.java145 public static final int RESULT_OK = 0; field in CarrierService.ICarrierServiceWrapper
156 result.send(RESULT_OK, data); in getCarrierConfig()
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/
DLatencyAnalyzer.h251 RESULT_OK = 0, enumerator
445 int32_t newResult = RESULT_OK; in analyze()
473 if (getResult() == RESULT_OK) { in analyze()
532 return RESULT_OK; in processInputFrame()
560 return RESULT_OK; in processOutputFrame()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionTest.java91 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceCompositionPerformance()
114 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceAllocationPerformance()
/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java204 private static final int RESULT_OK = 1; field in VerityUtils.SetupResult
217 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok()
239 return mCode == RESULT_OK; in isOk()
/frameworks/base/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/
DCujs.java51 finish(Activity.RESULT_OK, null); in onStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountAuthenticatorDummyActivity.java39 setResult(RESULT_OK, result); in onCreate()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java69 setResult(RESULT_OK); in onCreate()
153 setResult(RESULT_OK); in onClick()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java73 public static final int RESULT_OK = 0; field in MbmsDownloadReceiver
255 setResultCode(RESULT_OK); in moveDownloadedFile()
286 setResultCode(RESULT_OK); in moveDownloadedFile()
325 setResultCode(RESULT_OK); in generateTempFiles()
338 setResultCode(RESULT_OK); in generateTempFiles()
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/
DTestCommsReceiver.java44 setResult(Activity.RESULT_OK, null, resultExtras); in onReceive()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult()
126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
DTestAppWidgetConfigure.java50 setResult(RESULT_OK);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseActivity.java413 nextAction(RESULT_OK); in resetPrimaryToolbarButtonOnClickListener()
456 nextAction(RESULT_OK); in resetSecondaryToolbarButtonOnClickListener()
/frameworks/base/telephony/java/android/service/euicc/
DGetDownloadableSubscriptionMetadataResult.java88 if (this.result == EuiccService.RESULT_OK) { in GetDownloadableSubscriptionMetadataResult()
DGetDefaultDownloadableSubscriptionListResult.java92 if (this.result == EuiccService.RESULT_OK) { in GetDefaultDownloadableSubscriptionListResult()

12345