HomeSort by relevance Sort by last modified time
    Searched defs:mActivityRule (Results 1 - 25 of 269) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/apct-tests/perftests/core/src/android/widget/
TextViewAutoSizeLayoutPerfTest.java 67 public ActivityTestRule<StubActivity> mActivityRule =
75 mActivityRule.runOnUiThread(() -> {
81 Activity activity = mActivityRule.getActivity();
LayoutPerfTest.java 75 public ActivityTestRule<StubActivity> mActivityRule =
84 mActivityRule.runOnUiThread(() -> {
90 Activity activity = mActivityRule.getActivity();
  /cts/tests/fragment/src/android/fragment/cts/
FragmentManagerConfigTest.java 33 public ActivityTestRule<ConfigOnStopActivity> mActivityRule =
42 ConfigOnStopActivity activity = FragmentTestUtil.recreateActivity(mActivityRule,
43 mActivityRule.getActivity());
NestedInflatedFragmentTest.java 43 public ActivityTestRule<FragmentTestActivity> mActivityRule =
48 mActivityRule.runOnUiThread(new Runnable() {
51 final FragmentTestActivity activity = mActivityRule.getActivity();
PrimaryNavFragmentTest.java 39 public ActivityTestRule<FragmentTestActivity> mActivityRule =
44 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
49 executePendingTransactions(mActivityRule, fm);
57 executePendingTransactions(mActivityRule, cfm);
63 popBackStackImmediate(mActivityRule, fm));
70 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager();
76 executePendingTransactions(mActivityRule, fm);
82 executePendingTransactions(mActivityRule, fm);
87 popBackStackImmediate(mActivityRule, fm);
95 executePendingTransactions(mActivityRule, fm)
    [all...]
  /cts/tests/fragment/sdk26/src/android/fragment/cts/sdk26/
FragmentManagerNonConfigTest.java 37 public ActivityTestRule<NonConfigOnStopActivity> mActivityRule =
47 final NonConfigOnStopActivity activity = mActivityRule.getActivity();
50 mActivityRule.runOnUiThread(() -> activity.recreate());
  /cts/hostsidetests/jvmti/base/app/src/android/jvmti/cts/
JvmtiTestBase.java 44 public ActivityTestRule<JvmtiActivity> mActivityRule =
49 mActivity = mActivityRule.getActivity();
  /cts/tests/sample/src/android/sample/cts/
SampleJUnit4DeviceTest.java 42 public ActivityTestRule<SampleDeviceActivity> mActivityRule =
55 mActivityRule.getActivity().savePreference(KEY, VALUE);
57 mActivityRule.getActivity().getPreference(KEY));
60 mActivityRule.getActivity().clearPreferences();
62 mActivityRule.getActivity().getPreference(KEY));
  /cts/tests/tests/app/src/android/app/cts/
PictureInPictureActionsTest.java 42 public ActivityTestRule<PictureInPictureActivity> mActivityRule =
47 mActivity = mActivityRule.getActivity();
  /developers/samples/android/ui/window/MultiWindowPlayground/Application/src/androidTest/java/
LaunchTests.java 40 public ActivityTestRule<MainActivity> mActivityRule = new ActivityTestRule<>(
  /cts/tests/tests/widget/src/android/widget/cts/
ViewFlipperTest.java 53 public ActivityTestRule<ViewFlipperCtsActivity> mActivityRule =
58 mActivity = mActivityRule.getActivity();
93 mActivityRule.runOnUiThread(() -> {
112 mActivityRule.runOnUiThread(() -> {
125 mActivityRule.runOnUiThread(() -> {
  /cts/tests/app/src/android/app/cts/
FragmentTransactionTest.java 43 public ActivityTestRule<FragmentTestActivity> mActivityRule =
50 mActivity = mActivityRule.getActivity();
171 mActivityRule.runOnUiThread(() -> {
ActivityActionModeTest.java 42 public ActivityTestRule<MockActivity> mActivityRule =
55 if (!mActivityRule.getActivity().getWindow().hasFeature(Window.FEATURE_ACTION_BAR)) {
59 final ActionMode mode = mActivityRule.getActivity().startActionMode(
69 if (!mActivityRule.getActivity().getWindow().hasFeature(Window.FEATURE_ACTION_BAR)) {
73 final ActionMode mode = mActivityRule.getActivity().startActionMode(
83 if (!mActivityRule.getActivity().getWindow().hasFeature(Window.FEATURE_ACTION_BAR)) {
87 final ActionMode mode = mActivityRule.getActivity().startActionMode(mCallback);
  /cts/tests/tests/preference/src/android/preference/cts/
PreferenceRecycleTest.java 50 public ActivityTestRule<PreferencesFromXmlRecycle> mActivityRule =
56 mActivity = mActivityRule.getActivity();
97 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked()));
119 mActivityRule.runOnUiThread(() -> {
133 mActivityRule.runOnUiThread(() -> {
149 mActivityRule.runOnUiThread(() -> recyclePref.setChecked(!recyclePref.isChecked()));
  /cts/tests/tests/systemui/src/android/systemui/cts/
LightBarThemeTest.java 48 public ActivityTestRule<LightBarThemeActivity> mActivityRule = new ActivityTestRule<>(
61 final int visibility = mActivityRule.getActivity().getSystemUiVisibility();
68 assumeHasColoredNavigationBar(mActivityRule);
71 mActivityRule.getActivity().getWindow().getNavigationBarDividerColor());
76 assumeHasColoredNavigationBar(mActivityRule);
85 checkNavigationBarDivider(mActivityRule.getActivity(),
  /cts/tests/tests/text/src/android/text/method/cts/
TransformationMethodTest.java 65 public ActivityTestRule<CtsActivity> mActivityRule = new ActivityTestRule<>(CtsActivity.class);
69 mActivity = mActivityRule.getActivity();
75 mActivityRule.runOnUiThread(() -> {
99 mActivityRule.runOnUiThread(() -> mEditText.setText("some text"));
109 mActivityRule.runOnUiThread(() -> mButton.requestFocus());
116 mActivityRule.runOnUiThread(() -> mEditText.requestFocus());
  /frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
AbstractAutofillPerfTestCase.java 49 public ActivityTestRule<StubActivity> mActivityRule =
66 mActivityRule.runOnUiThread(() -> {
71 StubActivity activity = mActivityRule.getActivity();
  /cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
SimpleDrawFrameTests.java 38 public ActivityTestRule<DrawFramesActivity> mActivityRule =
43 DrawFramesActivity activity = mActivityRule.getActivity();
55 DrawFramesActivity activity = mActivityRule.getActivity();
75 DrawFramesActivity activity = mActivityRule.getActivity();
  /cts/hostsidetests/theme/app/src/android/theme/app/
ReferenceImagesTest.java 46 public ActivityTestRule<GenerateImagesActivity> mActivityRule =
54 mActivity = mActivityRule.getActivity();
  /cts/tests/tests/animation/src/android/animation/cts/
InterpolatorTest.java 41 public ActivityTestRule<AnimationActivity> mActivityRule =
47 mActivity = mActivityRule.getActivity();
  /cts/tests/tests/colormode/src/android/colormode/cts/
AttributeWideColorModeTest.java 40 public ActivityTestRule<AttributeWideColorModeActivity> mActivityRule =
46 mActivity = mActivityRule.getActivity();
DefaultColorModeTest.java 41 public ActivityTestRule<DefaultColorModeActivity> mActivityRule =
47 mActivity = mActivityRule.getActivity();
WideColorModeTest.java 40 public ActivityTestRule<WideColorModeActivity> mActivityRule =
46 mActivity = mActivityRule.getActivity();
  /cts/tests/tests/graphics/src/android/graphics/cts/
CameraGpuTest.java 35 public ActivityTestRule<CameraGpuCtsActivity> mActivityRule =
40 CameraGpuCtsActivity activity = mActivityRule.launchActivity(null);
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeClipBoundsTest.java 58 mActivityRule.runOnUiThread(() -> {
67 mActivityRule.runOnUiThread(() -> {
74 mActivityRule.runOnUiThread(() -> {
82 mActivityRule.runOnUiThread(() -> assertNull(redSquare.getClipBounds()));

Completed in 1063 milliseconds

1 2 3 4 5 6 7 8 91011