Home
last modified time | relevance | path

Searched refs:launchActivityForResult (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DPermissionsActivityTest.kt47 import androidx.test.core.app.ActivityScenario.launchActivityForResult in <lambda>()
168 launchActivityForResult<TrampolineActivity>( in <lambda>()
183 val scenario = launchActivityForResult<PermissionsActivity>(unsupportedAppIntent) in <lambda>()
193 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
221 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
253 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
286 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
298 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
310 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
322 launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
[all …]
DMockedPermissionsActivityTest.kt39 import androidx.test.core.app.ActivityScenario.launchActivityForResult in <lambda>()
175 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
234 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
263 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
294 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
339 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
399 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
478 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
556 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
602 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>()
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DProxyActivity.java96 public static Instrumentation.ActivityResult launchActivityForResult( in launchActivityForResult() method in ProxyActivity
102 var scenario = ActivityScenario.launchActivityForResult(containerIntent); in launchActivityForResult()
131 public static Instrumentation.ActivityResult launchActivityForResult(Intent intent) in launchActivityForResult() method in ProxyActivity
133 return launchActivityForResult(intent, null); in launchActivityForResult()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt34 import androidx.test.core.app.ActivityScenario.launchActivityForResult
167 val scenario = launchActivityForResult<TrampolineActivity>(createStartIntent()) in startingActivity_healthConnectNotAvailable_finishesActivity()
175 val scenario = launchActivityForResult<TrampolineActivity>(createStartIntent("no_action")) in startingActivity_noAction_finishesActivity()
185 launchActivityForResult<TrampolineActivity>(createStartIntent()) in homeSettingsAction_onboardingNotDone_redirectsToOnboarding()
195 launchActivityForResult<TrampolineActivity>(createStartIntent(ACTION_HEALTH_HOME_SETTINGS)) in homeSettingsIntent_launchesMainActivity()
212 launchActivityForResult<TrampolineActivity>(createStartIntent(ACTION_MANAGE_HEALTH_DATA)) in manageHealthDataIntent_launchesDataManagementActivity()
220 launchActivityForResult<TrampolineActivity>( in manageHealthPermissions_launchesSettingsActivity()
237 launchActivityForResult<TrampolineActivity>(intent) in manageHealthPermissions_withPackageName_launchesSettingsActivity()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt31 import androidx.test.core.app.ActivityScenario.launchActivityForResult in <lambda>()
175 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
194 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
219 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
244 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
264 launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
323 launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
356 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
392 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
413 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt9 import androidx.test.core.app.ActivityScenario.launchActivityForResult
90 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
118 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
145 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
173 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
203 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
233 launchActivityForResult<MainActivity>(startActivityIntent) in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/
DMainActivityTest.kt33 import androidx.test.core.app.ActivityScenario.launchActivityForResult in <lambda>()
176 with(launchActivityForResult<MainActivity>(intent)) { in <lambda>()
220 with(launchActivityForResult<MainActivity>(intent)) { in <lambda>()
264 with(launchActivityForResult<MainActivity>(intent)) { in <lambda>()
309 with(launchActivityForResult<MainActivity>(intent)) { in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DMimeTypeFilterTest.java54 ActivityScenario.launchActivityForResult( in launchActivity()
112 mScenario = ActivityScenario.launchActivityForResult( in testPickerTabTitleText_forVariousMimeTypeFilters()
117 mScenario = ActivityScenario.launchActivityForResult( in testPickerTabTitleText_forVariousMimeTypeFilters()
DPhotoPickerUserSelectActivityTest.java90 mScenario = ActivityScenario.launchActivityForResult(intent); in testMissingUidExtraReturnsCancelled()
334 ActivityScenario.launchActivityForResult( in launchValidActivity()
340 mScenario = ActivityScenario.launchActivityForResult( in launchValidActivityWithManagedSelectionEnabled()
DProgressBarTest.java79 mScenario = ActivityScenario.launchActivityForResult( in launchPhotosActivity()
DPhotoPickerActivityTest.java75 ActivityScenario.launchActivityForResult( in launchActivity()
DDisabledAccessibilityTest.java84 mScenario = ActivityScenario.launchActivityForResult( in launchActivity()
DMultiSelectTest.java70 ActivityScenario.launchActivityForResult( in launchActivity()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/onboarding/
DOnboardingScreenTest.kt57 return ActivityScenario.launchActivityForResult(startOnboardingActivityIntent) in startOnboardingActivity()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/permissions/
DAdditionalPermissionsRequestUITest.kt147 … val result = ProxyActivity.launchActivityForResult(intent) { skipOnboardingIfAppears() } in requestAdditionalPermissions_noReadPermissions_returnsResultCanceled()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DExerciseRouteRequestTest.kt348 val result = ProxyActivity.launchActivityForResult(requestIntent) in requestRoute_readRoutesPermissionNotDeclared_doesNotShowDialog_returnsNull()
365 val result = ProxyActivity.launchActivityForResult(requestIntent) in requestRoute_ownSession_readRoutesPermissionNotDeclared_doesNotShowDialog_returnsNull()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DTestAppProxy.java197 return ProxyActivity.launchActivityForResult(testAppIntent, runnable); in startActivityForResult()