/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 54 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()
|
D | TestedActivity.java | 60 setResult(RESULT_OK); 71 setResult(RESULT_OK); in queueIdle()
|
D | TestedScreen.java | 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate() 104 setResult(RESULT_OK); 121 setResult(RESULT_OK); in queueIdle()
|
D | ClearTop.java | 43 setResult(RESULT_OK); in onNewIntent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 246 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getAllProfiles() 294 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getProfile() 342 callback.onComplete(EuiccCardManager.RESULT_OK); in disableProfile() 394 callback.onComplete(EuiccCardManager.RESULT_OK, profile); in switchToProfile() 456 callback.onComplete(EuiccCardManager.RESULT_OK); in setNickname() 508 callback.onComplete(EuiccCardManager.RESULT_OK); in deleteProfile() 560 callback.onComplete(EuiccCardManager.RESULT_OK); in resetMemory() 608 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getDefaultSmdpAddress() 656 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getSmdsAddress() 704 callback.onComplete(EuiccCardManager.RESULT_OK); in setDefaultSmdpAddress() [all …]
|
D | EuiccController.java | 400 case EuiccService.RESULT_OK: in onGetMetadataComplete() 593 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete() 627 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete() 676 case EuiccService.RESULT_OK: in downloadSubscriptionPrivileged() 831 case EuiccService.RESULT_OK: in onGetDefaultListComplete() 926 case EuiccService.RESULT_OK: in deleteSubscriptionPrivileged() 1050 case EuiccService.RESULT_OK: in switchToSubscriptionPrivileged() 1113 case EuiccService.RESULT_OK: in updateSubscriptionNickname() 1152 case EuiccService.RESULT_OK: in eraseSubscriptions() 1192 case EuiccService.RESULT_OK: in eraseSubscriptionsWithOptions() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 337 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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | BaseCompatActivityTest.java | 135 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/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 112 Activity.RESULT_OK, null, null); 115 Activity.RESULT_OK, null, null); 118 Activity.RESULT_OK, null, null); 126 Activity.RESULT_OK, null, null); 129 Activity.RESULT_OK, null, null); 132 Activity.RESULT_OK, null, null); 147 Activity.RESULT_OK, null, null); 150 Activity.RESULT_OK, null, null); 154 Activity.RESULT_OK, null, null); 289 null, Activity.RESULT_OK, null, null); in onCreateOptionsMenu() [all …]
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierService.java | 145 public static final int RESULT_OK = 0; field in CarrierService.ICarrierServiceWrapper 156 result.send(RESULT_OK, data); in getCarrierConfig()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | VerityUtils.java | 208 private static final int RESULT_OK = 1; field in VerityUtils.SetupResult 221 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok() 243 return mCode == RESULT_OK; in isOk()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionTest.java | 91 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceCompositionPerformance() 114 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceAllocationPerformance()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 73 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/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 69 setResult(RESULT_OK); in onCreate() 153 setResult(RESULT_OK); in onClick()
|
/frameworks/base/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/ |
D | Cujs.java | 51 finish(Activity.RESULT_OK, null); in onStart()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountAuthenticatorDummyActivity.java | 39 setResult(RESULT_OK, result); in onCreate()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult() 126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
|
D | TestAppWidgetConfigure.java | 50 setResult(RESULT_OK);
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | BaseActivity.java | 413 nextAction(RESULT_OK); in resetPrimaryToolbarButtonOnClickListener() 456 nextAction(RESULT_OK); in resetSecondaryToolbarButtonOnClickListener()
|
D | BaseSetupWizardActivity.java | 412 nextAction(RESULT_OK); in resetPrimaryToolbarButtonOnClickListener() 454 nextAction(RESULT_OK); in resetSecondaryToolbarButtonOnClickListener()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 49 setResult(RESULT_OK, resultIntent); in onStart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 87 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onCreate() 179 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onClick()
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | GetDownloadableSubscriptionMetadataResult.java | 88 if (this.result == EuiccService.RESULT_OK) { in GetDownloadableSubscriptionMetadataResult()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseAccountTypeActivity.java | 90 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in onCreate() 118 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
|