Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivityLauncher.java35 private final ActivityTestRule<A> mActivityTestRule; field in ActivityLauncher
41 mActivityTestRule = new ActivityTestRule<>(activityClass); in ActivityLauncher()
58 return mActivityTestRule.launchActivity(mLaunchIntent); in launchActivity()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListTester.java35 private final ActivityTestRule<?> mActivityTestRule; field in ExpandableListTester
44 mActivityTestRule = activityTestRule; in ExpandableListTester()
60 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, null); in expandGroup()
63 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, null); in expandGroup()
84 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
102 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
114 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
129 WidgetTestUtils.runOnMainAndDrawSync(mActivityTestRule, mExpandableListView, in testContextMenus()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetTest.java62 public ActivityTestRule<OverlayTargetActivity> mActivityTestRule = new ActivityTestRule<>( field in OverlayTargetTest
69 assertThat(mActivityTestRule.getActivity()).isNotNull(); in setup()
74 final OverlayTargetActivity targetActivity = mActivityTestRule.getActivity(); in overlayEnabled_activityInForeground()
90 final OverlayTargetActivity targetActivity = mActivityTestRule.getActivity(); in overlayEnabled_activityInBackground_toForeground()
122 mActivityTestRule.launchActivity(intent); in launchOverlayTargetActivity()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBroadcastTestBase.java71 private final ActivityTestRule<BroadcastTestStartActivity> mActivityTestRule = field in BroadcastTestBase
77 .around(mActivityTestRule);
124 mActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DOnDeviceFrameworkSessionLimitTest.java56 public ActivityTestRule<SpeechRecognitionActivity> mActivityTestRule = field in OnDeviceFrameworkSessionLimitTest
68 mActivity = mActivityTestRule.getActivity(); in setup()
DRecognitionServiceMicIndicatorTest.java100 public ActivityTestRule<SpeechRecognitionActivity> mActivityTestRule = field in RecognitionServiceMicIndicatorTest
112 mActivity = mActivityTestRule.getActivity(); in setup()
DAbstractRecognitionServiceTest.java101 public ActivityTestRule<SpeechRecognitionActivity> mActivityTestRule = field in AbstractRecognitionServiceTest
120 mActivity = mActivityTestRule.getActivity(); in setup()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionTest.java58 public final ActivityTestRule<TestStartActivity> mActivityTestRule = field in VoiceInteractionTest
88 mTestActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java110 private final ActivityTestRule<TestStartActivity> mActivityTestRule = field in AssistTestBase
118 .around(mActivityTestRule);
284 mTestActivity = mActivityTestRule.launchActivity(intent); in startTestActivity()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java152 public ActivityTestRule<WallpaperTestActivity> mActivityTestRule = new ActivityTestRule<>( field in WallpaperManagerTest
940 Activity activity = mActivityTestRule.launchActivity(null); in wallpaperCallbackMainThreadTest()
957 mActivityTestRule.finishActivity(); in wallpaperCallbackMainThreadTest()
1306 mActivityTestRule.launchActivity(null); in startAndWaitActivity()
1308 mActivityTestRule.getActivity().getComponentName(), in startAndWaitActivity()
1579 Activity baseActivity = mActivityTestRule.launchActivity(null); in testAlwaysUpdateWallpaperPermission_allowOutOfFocusWallpaperCommand()