Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTransitionDrawableTest.java52 public final ActivityTestRule<TestActivity> mActivityTestRule = field in ActivityTransitionDrawableTest
57 mActivityTestRule.runOnUiThread(() -> { in stopTransitionDrawableAlphaRestored()
58 Activity activity = mActivityTestRule.getActivity(); in stopTransitionDrawableAlphaRestored()
70 mActivityTestRule.runOnUiThread(() -> { in stopTransitionDrawableAlphaRestored()
DActivityThreadTest.java123 public final ActivityTestRule<TestActivity> mActivityTestRule = field in ActivityThreadTest
168 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch()
178 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch()
189 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume()
207 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch()
234 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testOverrideScale()
322 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged()
337 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in relaunchActivityAndAssertPreserveWindow()
364 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations()
382 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextViewCursorAnchorInfoPerfTest.java67 public ActivityTestRule<PerfTestActivity> mActivityTestRule = new ActivityTestRule<>( field in TextViewCursorAnchorInfoPerfTest
79 Activity activity = mActivityTestRule.getActivity(); in setUpTextView()
100 mActivityTestRule.runOnUiThread(() -> { in testPopulateCharacterBounds()
/frameworks/base/apct-tests/perftests/core/src/android/accessibility/
DAccessibilityPerfTest.java55 ActivityTestRule<PerfTestActivity> mActivityTestRule = field in AccessibilityPerfTest
60 RuleChain.outerRule(mBenchmarkRule).around(mActivityTestRule);
87 mActivity = mActivityTestRule.getActivity(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsImeTest.java61 public ActivityTestRule<TestActivity> mActivityTestRule = new ActivityTestRule<>( field in GlobalActionsImeTest
93 final TestActivity activity = mActivityTestRule.launchActivity(null); in testGlobalActions_doesntStealImeControl()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java124 private final ActivityTestRule<EmptyLayoutActivity> mActivityTestRule = field in AssistStructureTest
131 mActivity = mActivityTestRule.launchActivity(null); in setup()