Searched refs:mTestActivity (Results 1 – 6 of 6) sorted by relevance
45 private TestLocalInteractionActivity mTestActivity; field in LocalVoiceInteractionTest62 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()
50 private TestStartActivity mTestActivity; field in VoiceInteractionTest85 mTestActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()111 mTestActivity.finish(); in testAll()
83 private TestStartActivity mTestActivity; field in AssistTestBase141 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()
73 public final ActivityTestRule<TestActivity> mTestActivity = field in WindowInsetsPolicyTest96 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()
64 private final ActivityTestRule<TestActivity> mTestActivity = field in EnsureBarContrastTest72 .around(mTestActivity);87 TestActivity activity = launchAndWait(mTestActivity, lightBars, true /* ensureContrast */); in runTestEnsureContrast()115 TestActivity activity = launchAndWait(mTestActivity, lightBars, false /* ensureContrast */); in runTestDontEnsureContrast()
358 private T mTestActivity; field in ActivityManagerTestBase.TestActivitySession375 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()