Searched refs:activityScenario (Results 1 – 6 of 6) sorted by relevance
134 private fun verifyScreenCaptureProtected(activityScenario: ActivityScenario<out Activity?>) { in <lambda>()135 activityScenario.onActivity { activity: Activity? -> in <lambda>()147 private fun verifyScreenCaptureNotProtected(activityScenario: ActivityScenario<out Activity?>) { in <lambda>()148 activityScenario.onActivity { activity: Activity? -> in <lambda>()213 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() method214 verifyScreenCaptureProtected(activityScenario) in <lambda>()231 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() method232 verifyScreenCaptureProtected(activityScenario) in <lambda>()236 activityScenario.moveToState(State.CREATED) in <lambda>()237 activityScenario.moveToState(State.RESUMED) in <lambda>()[all …]
88 try (ActivityScenario<SensitiveContentActivity> activityScenario = in testScreenCaptureIsBlocked() argument90 verifyScreenCapture(activityScenario); in testScreenCaptureIsBlocked()152 try (ActivityScenario<SensitiveAutofillHintActivity> activityScenario = in verifyScreenCaptureIsBlockedForSensitiveAutofillHint() argument154 verifyScreenCapture(activityScenario); in verifyScreenCaptureIsBlockedForSensitiveAutofillHint()168 private void verifyScreenCapture(ActivityScenario<? extends Activity> activityScenario) { in verifyScreenCapture() argument169 activityScenario.onActivity(activity -> { in verifyScreenCapture()
197 ActivityScenario<TestCredentialActivity> activityScenario = in testGetCredentialManager_shouldSucceed() local200 activityScenario.onActivity( in testGetCredentialManager_shouldSucceed()234 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse() local236 activityScenario.onActivity( in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse()280 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse() local282 activityScenario.onActivity( in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse()324 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse() local326 activityScenario.onActivity( in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse()355 ActivityScenario<TestCredentialActivity> activityScenario = in testGetCredentialRequest_nullRequest_throwsNPE() local358 activityScenario.onActivity( in testGetCredentialRequest_nullRequest_throwsNPE()[all …]
132 ActivityScenario<TestCredentialActivity> activityScenario = in testCredentialManagerSettingsIntent() local135 activityScenario.moveToState(Lifecycle.State.CREATED); in testCredentialManagerSettingsIntent()137 activityScenario.onActivity( in testCredentialManagerSettingsIntent()172 ActivityScenario<TestCredentialActivity> activityScenario = in testCredentialManagerAutofillSettingsIntent() local175 activityScenario.moveToState(Lifecycle.State.CREATED); in testCredentialManagerAutofillSettingsIntent()177 activityScenario.onActivity( in testCredentialManagerAutofillSettingsIntent()
99 ActivityScenario<TestCredentialActivity> activityScenario = in testRegisterCredentialDescriptionRequest_nullRequest_throwsNPE() local101 activityScenario.onActivity(activity -> { in testRegisterCredentialDescriptionRequest_nullRequest_throwsNPE()110 ActivityScenario<TestCredentialActivity> activityScenario = in testUnregisterCredentialDescriptionRequest_nullRequest_throwsNPE() local112 activityScenario.onActivity(activity -> { in testUnregisterCredentialDescriptionRequest_nullRequest_throwsNPE()
172 ActivityScenario<Activity> activityScenario = in testDisplayCapture() local174 activityScenario.onActivity(activity -> mActivity = activity); in testDisplayCapture()195 activityScenario.close(); in testDisplayCapture()240 final ActivityScenario<Activity> activityScenario = ActivityScenario.launch( in testSingleAppCapture() local244 activityScenario.onActivity(activity -> mActivity = activity); in testSingleAppCapture()265 activityScenario.close(); in testSingleAppCapture()