/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/ |
D | BackNavigationTests.java | 52 private ActivityScenario<BackNavigationActivity> mScenario; field in BackNavigationTests 59 mScenario = mScenarioRule.getScenario(); in setup() 65 mScenario.moveToState(Lifecycle.State.RESUMED); in registerCallback_initialized() 71 mScenario.moveToState(Lifecycle.State.CREATED); in registerCallback_created() 73 mScenario.moveToState(Lifecycle.State.RESUMED); in registerCallback_created() 79 mScenario.moveToState(Lifecycle.State.RESUMED); in registerCallback_resumed() 87 mScenario.onActivity(activity -> { in registerCallback_dialog() 100 mScenario.moveToState(Lifecycle.State.RESUMED); in onBackPressedNotCalled() 103 mScenario.onActivity((activity) -> in onBackPressedNotCalled() 110 mScenario.moveToState(Lifecycle.State.RESUMED); in registerCallback_relaunch() [all …]
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TextViewTranslationTest.java | 59 ActivityScenario<SimpleActivity> mScenario; field in TextViewTranslationTest 65 mScenario = mActivityRule.getScenario(); in setup() 66 mScenario.onActivity(activity -> { in setup() 74 if (mScenario != null) { in cleanup() 75 mScenario.close(); in cleanup() 76 mScenario = null; in cleanup() 83 mScenario.onActivity(activity -> { in testOnCreateViewTranslationRequest() 98 mScenario.onActivity(activity -> { in testOnCreateViewTranslationRequest_emptyText_returnsNull() 110 mScenario.onActivity(activity -> { in testOnCreateViewTranslationRequest_hasPassword_returnsNull() 124 mScenario.onActivity(activity -> { in testOnCreateViewTranslationRequest_hasPasswordTransformationMethod_returnsNull() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | PartialNotImportantActivityTest.java | 46 ActivityScenario<PartialNotImportantActivity> mScenario; field in PartialNotImportantActivityTest 57 if (mScenario != null) { in resetActivityStaticState() 58 mScenario.close(); in resetActivityStaticState() 59 mScenario = null; in resetActivityStaticState() 86 mScenario = ActivityScenario.launch(PartialNotImportantActivity.class); in testAddAndRemoveNoImportantChild() 91 mScenario.onActivity((activity) -> container.removeView(child)); in testAddAndRemoveNoImportantChild() 98 mScenario.onActivity((activity) -> activity.finish()); in testAddAndRemoveNoImportantChild() 128 mScenario = ActivityScenario.launch(PartialNotImportantActivity.class); in testAddAndRemoveImportantChild() 133 mScenario.onActivity((activity) -> container.removeView(child)); in testAddAndRemoveImportantChild() 135 mScenario.onActivity((activity) -> activity.finish()); in testAddAndRemoveImportantChild() [all …]
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | SpeechRecognizerAvailabilityTest.java | 45 private ActivityScenario<SpeechRecognitionActivity> mScenario; field in SpeechRecognizerAvailabilityTest 54 mScenario = mScenarioRule.getScenario(); in setup() 66 mScenario.onActivity( in testOnDeviceRecognizer_canInstantiateWhenTrue() 80 mScenario.onActivity( in testOnDeviceRecognizer_cannotInstantiateWhenFalse()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 91 private ActivityScenario<DialogStubActivity> mScenario; field in DialogTest 104 if (mScenario != null) { in tearDown() 105 mScenario.close(); in tearDown() 106 mScenario = null; in tearDown() 111 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity() 113 mScenario.onActivity(activity -> { in startDialogActivity() 236 mScenario.onActivity(activity -> { in testAccessOwnerActivity() 249 mScenario.onActivity(activity -> { in testShow() 257 mScenario.onActivity(activity -> { in testShow() 275 mScenario.recreate(); in testOnSaveInstanceState() [all …]
|
D | AlertDialogTest.java | 52 private ActivityScenario<DialogStubActivity> mScenario; field in AlertDialogTest 65 if (mScenario != null) { in tearDown() 66 mScenario.close(); in tearDown() 67 mScenario = null; in tearDown() 72 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity() 74 mScenario.onActivity(activity -> { in startDialogActivity() 175 mScenario.onActivity(activity -> button.performClick()); in performClick()
|
/cts/tests/tests/packageinstaller/packagescheme/src/android/packageinstaller/packagescheme/cts/ |
D | PackageSchemeTestBase.kt | 62 var mScenario: ActivityScenario<TestActivity>? = null in <lambda>() variable in android.packageinstaller.packagescheme.cts.PackageSchemeTestBase 153 mScenario = ActivityScenario.launch(intent) in <lambda>() 154 mScenario!!.onActivity { in <lambda>() 177 mScenario!!.onActivity { in <lambda>() 185 mScenario!!.close() in <lambda>()
|
/cts/tests/tests/packageinstaller/contentprovider/src/android/packageinstaller/contentprovider/cts/ |
D | ContentProviderAppVisibilityTestsBase.kt | 39 private var mScenario: ActivityScenario<TestActivity>? = null variable in android.packageinstaller.contentprovider.cts.ContentProviderAppVisibilityTestsBase 92 mScenario = ActivityScenario.launchActivityForResult(intent) in runTest() 135 assertThat(mScenario!!.result.resultCode).isEqualTo(Activity.RESULT_FIRST_USER) in assertResultFirstUser()
|
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/ |
D | TapjackingTest.java | 65 ActivityScenario<TestActivity> mScenario; field in TapjackingTest 84 mScenario = ActivityScenario.launch(intent); in launchPackageInstaller()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainVisualQueryDetectionService.java | 96 private int mScenario = -1; field in MainVisualQueryDetectionService 137 mDetectionJob = createTestDetectionJob(mScenario); in onStartDetection() 197 mScenario = options.getInt(KEY_VQDS_TEST_SCENARIO); in onUpdateState()
|