Searched refs:activityResult (Results 1 – 9 of 9) sorted by relevance
86 final Instrumentation.ActivityResult activityResult = mRule.getActivityResult(); in testActionCreate_TextFile() local87 assertThat(activityResult.getResultCode()).isEqualTo(RESULT_OK); in testActionCreate_TextFile()89 final Intent resultData = activityResult.getResultData(); in testActionCreate_TextFile()
840 int activityResult = -1; in completeEnableProviderDialogBox() local847 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()
27 val activityResult = MutableStateFlow<Int?>(null) constant in com.android.intentresolver.contentpreview.payloadtoggle.data.repository.ActivityResultRepository
72 activityResult -> {73 if (activityResult.getResultCode() == Activity.RESULT_CANCELED) {
64 activityResultRepo.activityResult.value = Activity.RESULT_OK in <lambda>()
456 activityResult: ActivityResult in <lambda>()463 activityResult, in <lambda>()467 onSetActivityResult(activityResult) in <lambda>()
118 assertThat(activityResultRepository.activityResult.value).isEqualTo(Activity.RESULT_OK) in <lambda>()
142 activity.setResult(activityResultRepo.activityResult.filterNotNull().first()) in <lambda>()
295 assertThat(activityResultRepository.activityResult.value).isEqualTo(Activity.RESULT_OK) in <lambda>()