Home
last modified time | relevance | path

Searched refs:mTestActivity (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DLocalVoiceInteractionTest.java45 private TestLocalInteractionActivity mTestActivity; field in LocalVoiceInteractionTest
62 mTestActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()
68 .that(mTestActivity.isLocalVoiceInteractionSupported()).isTrue(); in testLifecycle()
69 mTestActivity.startLocalInteraction(mLatchStart); in testLifecycle()
74 mTestActivity.stopLocalInteraction(mLatchStop); in testLifecycle()
79 mTestActivity.finish(); in testLifecycle()
DVoiceInteractionTest.java50 private TestStartActivity mTestActivity; field in VoiceInteractionTest
85 mTestActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()
111 mTestActivity.finish(); in testAll()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java83 private TestStartActivity mTestActivity; field in AssistTestBase
141 mTestActivity.finish(); in tearDown()
184 mTestActivity.startActivity(intent); in startTest()
203 mTestActivity.startActivity(intent); in start3pApp()
217 mTestActivity = getActivity(); in startTestActivity()
270 Display display = mTestActivity.getWindowManager().getDefaultDisplay(); in addDimensionsToIntent()
323 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
350 mView = mTestActivity.findViewById(android.R.id.content).getRootView(); in verifyAssistStructure()
412 parentViewId = mTestActivity.getResources().getResourceEntryName(parentView.getId()); in traverseViewAndStructure()
537 mTestActivity.getResources().getResourceEntryName(viewId), in verifyViewProperties()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsPolicyTest.java73 public final ActivityTestRule<TestActivity> mTestActivity = field in WindowInsetsPolicyTest
96 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_dispatched()
106 final TestActivity activity = launchAndWait(mTestActivity); in testWindowInsets_root()
132 final TestActivity activity = launchAndWait(mTestActivity); in testForcedConsumedTopInsets()
DEnsureBarContrastTest.java64 private final ActivityTestRule<TestActivity> mTestActivity = field in EnsureBarContrastTest
72 .around(mTestActivity);
87 TestActivity activity = launchAndWait(mTestActivity, lightBars, true /* ensureContrast */); in runTestEnsureContrast()
115 TestActivity activity = launchAndWait(mTestActivity, lightBars, false /* ensureContrast */); in runTestDontEnsureContrast()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java358 private T mTestActivity; field in ActivityManagerTestBase.TestActivitySession
375 mTestActivity = (T) monitor.waitForActivityWithTimeout(ACTIVITY_LAUNCH_TIMEOUT); in launchTestActivityOnDisplaySync()
376 assertNotNull(mTestActivity); in launchTestActivityOnDisplaySync()
378 final ComponentName testActivityName = mTestActivity.getComponentName(); in launchTestActivityOnDisplaySync()
385 if (mTestActivity != null) { in finishCurrentActivityNoWait()
386 mTestActivity.finishAndRemoveTask(); in finishCurrentActivityNoWait()
387 mTestActivity = null; in finishCurrentActivityNoWait()
414 return mTestActivity; in getActivity()
419 if (mTestActivity != null && mFinishAfterClose) { in close()
420 mTestActivity.finishAndRemoveTask(); in close()