Home
last modified time | relevance | path

Searched refs:activityResult (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActionCreateDocumentUiTest.java86 final Instrumentation.ActivityResult activityResult = mRule.getActivityResult(); in testActionCreate_TextFile() local
87 assertThat(activityResult.getResultCode()).isEqualTo(RESULT_OK); in testActionCreate_TextFile()
89 final Intent resultData = activityResult.getResultData(); in testActionCreate_TextFile()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCredentialManagerPreferenceController.java840 int activityResult = -1; in completeEnableProviderDialogBox() local
847 activityResult = Activity.RESULT_OK; in completeEnableProviderDialogBox()
850 activityResult = Activity.RESULT_CANCELED; in completeEnableProviderDialogBox()
856 return activityResult; in completeEnableProviderDialogBox()
863 activityResult = Activity.RESULT_CANCELED; in completeEnableProviderDialogBox()
868 if (activityResult == -1 || !shouldSetActivityResult) { in completeEnableProviderDialogBox()
869 setActivityResult(activityResult); in completeEnableProviderDialogBox()
872 return activityResult; in completeEnableProviderDialogBox()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/data/repository/
DActivityResultRepository.kt27 val activityResult = MutableStateFlow<Int?>(null) constant in com.android.intentresolver.contentpreview.payloadtoggle.data.repository.ActivityResultRepository
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/wfc/
DWfcActivationActivity.java72 activityResult -> {
73 if (activityResult.getResultCode() == Activity.RESULT_CANCELED) {
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractor.kt64 activityResultRepo.activityResult.value = Activity.RESULT_OK in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivity.kt456 activityResult: ActivityResult in <lambda>()
463 activityResult, in <lambda>()
467 onSetActivityResult(activityResult) in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractorTest.kt118 assertThat(activityResultRepository.activityResult.value).isEqualTo(Activity.RESULT_OK) in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserHelper.kt142 activity.setResult(activityResultRepo.activityResult.filterNotNull().first()) in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModelTest.kt295 assertThat(activityResultRepository.activityResult.value).isEqualTo(Activity.RESULT_OK) in <lambda>()