/cts/tests/storageaccess/src/android/storageaccess/cts/ |
D | ActivityScenarioExt.kt | 20 import androidx.test.core.app.ActivityScenario in <lambda>() 23 fun launchClientActivity(block: (ActivityScenario<ClientActivity>) -> Unit) = in <lambda>() 24 ActivityScenario.launch(ClientActivity::class.java).use(block) in <lambda>() 26 fun ActivityScenario<ClientActivity>.startActivityForFutureResult( in <lambda>() method
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaRouter2TestActivity.java | 25 import androidx.test.core.app.ActivityScenario; 29 private static ActivityScenario<MediaRouter2TestActivity> sActivityScenario; 31 public static ActivityScenario<MediaRouter2TestActivity> startActivity(Context context) { in startActivity() 34 sActivityScenario = ActivityScenario.launch(intent); in startActivity()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/ |
D | DialogTest.java | 29 import androidx.test.core.app.ActivityScenario; 49 ActivityScenario<LoginActivity> scenario = ActivityScenario.launch(LoginActivity.class); in showAutofillDialog_noResponse_returnsFalse() 67 ActivityScenario<VirtualContainerActivity> scenario = ActivityScenario.launch( in showAutofillDialogForVirtualView_noDialogPresentation_returnsFalse()
|
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/ |
D | ViewSensitiveContentTest.java | 41 import androidx.test.core.app.ActivityScenario; 88 try (ActivityScenario<SensitiveContentActivity> activityScenario = in testScreenCaptureIsBlocked() 89 ActivityScenario.launch(SensitiveContentActivity.class)) { in testScreenCaptureIsBlocked() 152 try (ActivityScenario<SensitiveAutofillHintActivity> activityScenario = in verifyScreenCaptureIsBlockedForSensitiveAutofillHint() 153 ActivityScenario.launch(intent)) { in verifyScreenCaptureIsBlockedForSensitiveAutofillHint() 168 private void verifyScreenCapture(ActivityScenario<? extends Activity> activityScenario) { in verifyScreenCapture() 180 try (ActivityScenario<SensitiveContentActivity> ignored = in testToastIsShown() 181 ActivityScenario.launch(SensitiveContentActivity.class)) { in testToastIsShown()
|
D | SensitiveNotificationAppHidingTest.kt | 39 import androidx.test.core.app.ActivityScenario in <lambda>() 134 private fun verifyScreenCaptureProtected(activityScenario: ActivityScenario<out Activity?>) { in <lambda>() 147 private fun verifyScreenCaptureNotProtected(activityScenario: ActivityScenario<out Activity?>) { in <lambda>() 213 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 231 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 253 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 271 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 295 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 320 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() 348 ActivityScenario.launch(SimpleActivity::class.java).use { activityScenario -> in <lambda>() [all …]
|
/cts/tests/credentials/src/android/credentials/cts/ |
D | CtsCredentialProviderServiceDeviceTest.java | 66 import androidx.test.core.app.ActivityScenario; 197 ActivityScenario<TestCredentialActivity> activityScenario = in testGetCredentialManager_shouldSucceed() 198 ActivityScenario.launch(TestCredentialActivity.class); in testGetCredentialManager_shouldSucceed() 234 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse() 235 ActivityScenario.launch(TestCredentialActivity.class); in testGetPasswordCredentialRequest_serviceSetUp_onErrorInvokedForEmptyResponse() 280 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse() 281 ActivityScenario.launch(TestCredentialActivity.class); in testGetPasswordCredentialRequest_invalidAllowedProviders_onErrorForEmptyResponse() 324 ActivityScenario<TestCredentialActivity> activityScenario = in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse() 325 ActivityScenario.launch(TestCredentialActivity.class); in testGetPasswordCredentialRequest_validAllowedProviders_onErrorForEmptyResponse() 355 ActivityScenario<TestCredentialActivity> activityScenario = in testGetCredentialRequest_nullRequest_throwsNPE() [all …]
|
D | CtsCredentialDescriptionRegistryApiTest.java | 37 import androidx.test.core.app.ActivityScenario; 99 ActivityScenario<TestCredentialActivity> activityScenario = in testRegisterCredentialDescriptionRequest_nullRequest_throwsNPE() 100 ActivityScenario.launch(TestCredentialActivity.class); in testRegisterCredentialDescriptionRequest_nullRequest_throwsNPE() 110 ActivityScenario<TestCredentialActivity> activityScenario = in testUnregisterCredentialDescriptionRequest_nullRequest_throwsNPE() 111 ActivityScenario.launch(TestCredentialActivity.class); in testUnregisterCredentialDescriptionRequest_nullRequest_throwsNPE()
|
D | CtsSettingsIntentTest.java | 48 import androidx.test.core.app.ActivityScenario; 132 ActivityScenario<TestCredentialActivity> activityScenario = in testCredentialManagerSettingsIntent() 133 ActivityScenario.launch(TestCredentialActivity.class); in testCredentialManagerSettingsIntent() 172 ActivityScenario<TestCredentialActivity> activityScenario = in testCredentialManagerAutofillSettingsIntent() 173 ActivityScenario.launch(TestCredentialActivity.class); in testCredentialManagerAutofillSettingsIntent()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInputTest.java | 50 import androidx.test.core.app.ActivityScenario; 131 try (ActivityScenario<TestActivity> driverActivityScenario = ActivityScenario.launch( in testHomeKeyForAnyPassengerMainDisplay_bringsHomeForThePassengerDisplayOnly() 134 try (ActivityScenario<TestActivity> passengerActivityScenario = in testHomeKeyForAnyPassengerMainDisplay_bringsHomeForThePassengerDisplayOnly() 135 ActivityScenario.launch( in testHomeKeyForAnyPassengerMainDisplay_bringsHomeForThePassengerDisplayOnly() 159 ActivityScenario<TestActivity> driverActivityScenario, in doTestHomeKeyForAnyPassengerMainDisplay() 160 ActivityScenario<TestActivity> passengerActivityScenario) { in doTestHomeKeyForAnyPassengerMainDisplay() 188 try (ActivityScenario<TestActivity> passengerActivityScenario = in testBackKeyForAnyPassengerMainDisplay() 189 ActivityScenario.launch( in testBackKeyForAnyPassengerMainDisplay() 221 try (ActivityScenario<TestActivity> passengerActivityScenario = in testAKeyForAnyPassengerMainDisplay() 222 ActivityScenario.launch( in testAKeyForAnyPassengerMainDisplay() [all …]
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | CujTestBase.java | 30 import androidx.test.core.app.ActivityScenario; 53 ActivityScenario<MainActivity> scenario = ActivityScenario.launch(MainActivity.class); in CujTestBase() 62 ActivityScenario<ScrollTestActivity> scenario = ActivityScenario.launch( in CujTestBase()
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerSurfaceTest.java | 26 import androidx.test.core.app.ActivityScenario; 45 private ActivityScenario<MediaPlayerSurfaceStubActivity> mActivityScenario; 50 mActivityScenario = ActivityScenario.launch(MediaPlayerSurfaceStubActivity.class); in setUp()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaTestBase.java | 26 import androidx.test.core.app.ActivityScenario; 46 protected ActivityScenario<MediaStubActivity> mActivityScenario; 51 mActivityScenario = ActivityScenario.launch(MediaStubActivity.class); in setUp()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | PartialNotImportantActivityTest.java | 30 import androidx.test.core.app.ActivityScenario; 46 ActivityScenario<PartialNotImportantActivity> mScenario; 86 mScenario = ActivityScenario.launch(PartialNotImportantActivity.class); in testAddAndRemoveNoImportantChild() 128 mScenario = ActivityScenario.launch(PartialNotImportantActivity.class); in testAddAndRemoveImportantChild() 170 mScenario = ActivityScenario.launch(PartialNotImportantActivity.class); in testAddImportantChildAfterSessionStarted()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/ |
D | BackNavigationTests.java | 33 import androidx.test.core.app.ActivityScenario; 52 private ActivityScenario<BackNavigationActivity> mScenario; 113 ActivityScenario<BackNavigationActivity> newScenario = mScenario.recreate(); in registerCallback_relaunch() 147 private CountDownLatch registerBackCallback(ActivityScenario<?> scenario, in registerBackCallback()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ZoomControlsTest.java | 29 import androidx.test.core.app.ActivityScenario; 129 try (ActivityScenario<ZoomButtonCtsActivity> scenario = in testHasFocus() 130 ActivityScenario.launch(ZoomButtonCtsActivity.class)) { in testHasFocus()
|
/cts/tests/tests/tv/src/android/media/tv/ad/cts/ |
D | TvAdManagerTest.java | 35 import androidx.test.core.app.ActivityScenario; 67 private ActivityScenario<TvAdStubActivity> mActivityScenario; 79 mActivityScenario = ActivityScenario.launch(intent); in setUp()
|
D | TvAdViewTest.java | 35 import androidx.test.core.app.ActivityScenario; 66 private ActivityScenario<TvAdStubActivity> mActivityScenario; 80 mActivityScenario = ActivityScenario.launch(intent); in setUp()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | SpeechRecognizerAvailabilityTest.java | 28 import androidx.test.core.app.ActivityScenario; 45 private ActivityScenario<SpeechRecognitionActivity> mScenario;
|
/cts/tests/tests/packageinstaller/contentprovider/src/android/packageinstaller/contentprovider/cts/ |
D | ContentProviderAppVisibilityTestsBase.kt | 28 import androidx.test.core.app.ActivityScenario 39 private var mScenario: ActivityScenario<TestActivity>? = null 92 mScenario = ActivityScenario.launchActivityForResult(intent) in runTest()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | AttachedSurfaceControlTest.java | 57 import androidx.test.core.app.ActivityScenario; 345 try (ActivityScenario<TestActivity> scenario = in testCropWithChildBoundingInsets() 346 ActivityScenario.launch(TestActivity.class)) { in testCropWithChildBoundingInsets() 421 try (ActivityScenario<TestActivity> scenario = in testGetHostToken() 422 ActivityScenario.launch(TestActivity.class)) { in testGetHostToken() 452 try (ActivityScenario<TestActivity> scenario = in testSyncTransactionViewNotVisible() 453 ActivityScenario.launch(TestActivity.class)) { in testSyncTransactionViewNotVisible() 492 try (ActivityScenario<TestActivity> scenario = in testSyncTransactionNothingToDraw() 493 ActivityScenario.launch(TestActivity.class)) { in testSyncTransactionNothingToDraw()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceTest.kt | 30 import androidx.test.core.app.ActivityScenario 137 val scenario: ActivityScenario<AttributionSourceActivity> = in run() 138 ActivityScenario.launchActivityForResult(mActivityIntent) in run()
|
/cts/tests/tests/media/projection/src/android/media/projection/cts/ |
D | MediaProjectionMirroringTest.java | 61 import androidx.test.core.app.ActivityScenario; 122 public ActivityScenario<TestRotationActivity> mTestRotationActivityActivityScenario; 172 ActivityScenario<Activity> activityScenario = in testDisplayCapture() 173 ActivityScenario.launch(new Intent(mContext, Activity.class)); in testDisplayCapture() 204 ActivityScenario.launch(new Intent(mContext, TestRotationActivity.class)); in testDisplayCapture_rotation() 240 final ActivityScenario<Activity> activityScenario = ActivityScenario.launch( in testSingleAppCapture()
|
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppViewTest.java | 32 import androidx.test.core.app.ActivityScenario; 55 private ActivityScenario<TvInteractiveAppViewStubActivity> mActivityScenario; 115 mActivityScenario = ActivityScenario.launch(intent); in setUp()
|
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/ |
D | TapjackingTest.java | 31 import androidx.test.core.app.ActivityScenario; 65 ActivityScenario<TestActivity> mScenario; 84 mScenario = ActivityScenario.launch(intent); in launchPackageInstaller()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | AnrTests.java | 50 import androidx.test.core.app.ActivityScenario; 145 try (ActivityScenario<HostActivity> scenario = in embeddedWindowTriggersAnr() 146 ActivityScenario.launch(HostActivity.class)) { in embeddedWindowTriggersAnr()
|