/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/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AvatarPhotoControllerTest.java | 123 REQUEST_CODE_TAKE_PHOTO, Activity.RESULT_OK, intent); in takePhotoIsFollowedByCrop() 150 REQUEST_CODE_TAKE_PHOTO, Activity.RESULT_OK, intent); in takePhotoIsFollowedByCropWhenTakePhotoUriReturned() 164 REQUEST_CODE_CHOOSE_PHOTO, Activity.RESULT_OK, intent); in choosePhotoIsFollowedByCrop() 191 REQUEST_CODE_CHOOSE_PHOTO, Activity.RESULT_OK, intent); in choosePhotoIsFollowedByCropWhenTakePhotoUriReturned() 201 mController.onActivityResult(REQUEST_CODE_CROP_PHOTO, Activity.RESULT_OK, intent); in cropPhotoResultIsReturnedIfResultOkAndContent() 217 mController.onActivityResult(REQUEST_CODE_CROP_PHOTO, Activity.RESULT_OK, intent); in cropPhotoResultIsNotReturnedIfResultNotContent() 229 REQUEST_CODE_TAKE_PHOTO, Activity.RESULT_OK, intent); in cropDoesNotUseTakePhotoUri() 247 REQUEST_CODE_TAKE_PHOTO, Activity.RESULT_OK, intent); in internalCropUsedIfNoSystemCropperFound()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 331 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getAllProfiles() 381 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getProfile() 466 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getEnabledProfile() 517 callback.onComplete(EuiccCardManager.RESULT_OK); in disableProfile() 571 callback.onComplete(EuiccCardManager.RESULT_OK, profile); in switchToProfile() 635 callback.onComplete(EuiccCardManager.RESULT_OK); in setNickname() 688 callback.onComplete(EuiccCardManager.RESULT_OK); in deleteProfile() 741 callback.onComplete(EuiccCardManager.RESULT_OK); in resetMemory() 791 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getDefaultSmdpAddress() 841 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getSmdsAddress() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsTrampolineActivityTest.java | 175 assertThat(actualResult.getResultCode()).isEqualTo(Activity.RESULT_OK); in queryService_returnedFailed_shouldFinishWithFailed() 189 assertThat(actualResult.getResultCode()).isEqualTo(Activity.RESULT_OK); in queryService_returnedWindowModeUnsupported_shouldFinishWithWindowModeUnsupported() 203 assertThat(actualResult.getResultCode()).isEqualTo(Activity.RESULT_OK); in queryService_returnedScreenshotBlocked_shouldFinishWithBlockedByAdmin() 220 activity.getResultReceiverForTest().send(Activity.RESULT_OK, bundle); in startAppClipsActivity_userCanceled_shouldReturnUserCanceled() 224 assertThat(actualResult.getResultCode()).isEqualTo(Activity.RESULT_OK); in startAppClipsActivity_userCanceled_shouldReturnUserCanceled() 241 activity.getResultReceiverForTest().send(Activity.RESULT_OK, bundle); in startAppClipsActivity_shouldReturnSuccess() 245 assertThat(actualResult.getResultCode()).isEqualTo(Activity.RESULT_OK); in startAppClipsActivity_shouldReturnSuccess()
|
D | AppClipsActivityTest.java | 19 import static android.app.Activity.RESULT_OK; 145 assertThat(resultCode).isEqualTo(RESULT_OK); in screenshotDisplayed_userConsented_screenshotExportedSuccessfully() 164 assertThat(resultCode).isEqualTo(RESULT_OK); in screenshotDisplayed_userDeclined()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 466 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testGetDownloadableSubscriptionMetadata_success() 515 EuiccService.RESULT_OK, in testGetDefaultDownloadableSubscriptionList_success() 584 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_success() 595 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_noSwitch_success() 714 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 719 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 733 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 738 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 752 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent() 774 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent_multiSim() [all …]
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceTest.java | 85 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testGraphicBufferMetrics() 91 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithoutExtraLoad() 110 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithExtraLoad()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 113 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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | BaseCompatActivityTest.java | 140 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testSecondaryToolbarButtonListenerIsDefault() 155 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testPrimaryToolbarButtonListenerIsDefault() 367 spyBaseCompatActivity.finishAction(BaseCompatActivity.RESULT_OK); in testFinishActionWithResultCode() 369 verify(spyBaseCompatActivity).nextAction(BaseCompatActivity.RESULT_OK, null); in testFinishActionWithResultCode() 615 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity() 616 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity() 624 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume() 627 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume()
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierService.java | 229 public static final int RESULT_OK = 0; field in CarrierService.ICarrierServiceWrapper 241 result.send(RESULT_OK, data); in getCarrierConfig()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionTest.java | 92 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceCompositionPerformance() 115 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceAllocationPerformance()
|
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/ |
D | GameSessionTrampolineActivityTest.java | 98 new GameSessionActivityResult(Activity.RESULT_OK, TestActivity.RESULT_INTENT); in launch_targetActivityFinishesSuccessfully_futureCompletedWithSameResults() 117 new GameSessionActivityResult(Activity.RESULT_OK, TestActivity.RESULT_INTENT); in launch_trampolineActivityProcessDeath_futureCompletedWithSameResults() 216 setResult(Activity.RESULT_OK, RESULT_INTENT); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialogDelegate.java | 19 import static android.app.Activity.RESULT_OK; 165 userContext, Activity.RESULT_OK, in requestScreenCapture() 183 if (resultCode == RESULT_OK) { in onReceiveResult()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewProcessTextTest.java | 69 triggerOnActivityResult(Activity.RESULT_OK, "Text is replaced."); in testProcessTextActivityResultNonEditable() 103 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, null); in testProcessTextActivityNoData()
|
/frameworks/base/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/ |
D | Cujs.java | 51 finish(Activity.RESULT_OK, null); in onStart()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/ |
D | CATServiceTest.java | 250 setBroadcastReceiverPendingResult(mCatService.mSmsBroadcastReceiver, Activity.RESULT_OK); in testSendTerminalResponseForSendSuccess() 254 Activity.RESULT_OK, null, null); in testSendTerminalResponseForSendSuccess() 306 Activity.RESULT_OK); in testSendTerminalResponseForDeliverySuccess() 309 Activity.RESULT_OK, null, null); in testSendTerminalResponseForDeliverySuccess()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountAuthenticatorDummyActivity.java | 39 setResult(RESULT_OK, result); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/shortcut/ |
D | CreateNoteTaskShortcutActivity.kt | 51 setResult(Activity.RESULT_OK, shortcutIntent) in onCreate()
|
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/ |
D | TestCommsReceiver.java | 44 setResult(Activity.RESULT_OK, null, resultExtras); in onReceive()
|
/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/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 109 setResult(RESULT_OK); in onCreate() 181 setResult(RESULT_OK); in onClick()
|