/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | LoginTest.java | 56 mActivityRule.runOnUiThread(() -> { in testFocus_noService() 76 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill() 79 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_serviceDoesNotAutofill() 81 mActivityRule.runOnUiThread(() -> { in testFocus_serviceDoesNotAutofill() 108 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields() 113 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields() 123 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields() 128 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields() 161 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillUsernameOnly() 166 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillUsernameOnly() [all …]
|
D | AbstractAutofillPerfTestCase.java | 49 public ActivityTestRule<PerfTestActivity> mActivityRule = field in AbstractAutofillPerfTestCase 66 mActivityRule.runOnUiThread(() -> { in prepareActivity() 71 PerfTestActivity activity = mActivityRule.getActivity(); in prepareActivity()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 63 private ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in ValueAnimatorTests 90 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 104 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 113 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 136 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 148 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 159 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 174 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 200 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 214 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() [all …]
|
D | EventsTest.java | 52 public final ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in EventsTest 280 mActivityRule.runOnUiThread(() -> { in testStartCancel() 301 mActivityRule.runOnUiThread(() -> { in testStartEnd() 322 mActivityRule.runOnUiThread(() -> { in testStartDelayedCancel() 343 mActivityRule.runOnUiThread(() -> { in testStartDelayedEnd() 363 mActivityRule.runOnUiThread(() -> { in testPlayingCancel() 384 mActivityRule.runOnUiThread(() -> { in testPlayingEnd() 406 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancel() 428 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedEnd() 449 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancelMidDelay() [all …]
|
D | ViewPropertyAnimatorTest.java | 54 public final ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in ViewPropertyAnimatorTest 139 final BasicAnimatorActivity activity = mActivityRule.getActivity(); in setUp() 205 mActivityRule.runOnUiThread(() -> { in testStartCancel() 226 mActivityRule.runOnUiThread(() -> { in testStartDelayedCancel() 246 mActivityRule.runOnUiThread(() -> { in testPlayingCancel() 268 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancel() 289 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancelMidDelay() 314 mActivityRule.runOnUiThread(() -> { in testStartDoubleCancel() 336 mActivityRule.runOnUiThread(() -> { in testStartDelayedDoubleCancel()
|
D | AnimatorSetActivityTest.java | 43 public final ActivityTestRule<AnimatorSetActivity> mActivityRule = field in AnimatorSetActivityTest 79 mActivity = mActivityRule.getActivity(); in setUp() 253 mActivityRule.runOnUiThread(() -> { 273 mActivityRule.runOnUiThread(s::start); 286 mActivityRule.runOnUiThread(s::start); 300 mActivityRule.runOnUiThread(() -> { 309 mActivityRule.runOnUiThread(() -> { 347 mActivityRule.runOnUiThread(() -> { in testStart() 400 mActivityRule.runOnUiThread(s::start); in testCancel() 403 mActivityRule.runOnUiThread(() -> { in testCancel() [all …]
|
D | AutoCancelTest.java | 35 public final ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in AutoCancelTest 133 mActivityRule.runOnUiThread(() -> { in testAutoCancel() 147 mActivityRule.runOnUiThread(() -> { in testAutoCancelDelayed() 161 mActivityRule.runOnUiThread(() -> { in testAutoCancelTestLater() 175 mActivityRule.runOnUiThread(() -> { in testAutoCancelDelayedTestLater()
|
D | StateListAnimatorTest.java | 43 public final ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in StateListAnimatorTest 49 .loadStateListAnimator(mActivityRule.getActivity(), R.anim.test_state_anim); in testInflateFromAnimator() 58 final BasicAnimatorActivity activity = mActivityRule.getActivity(); in testAttachDetach() 94 .loadStateListAnimator(mActivityRule.getActivity(), R.anim.test_state_anim); in testStateListLoading()
|
D | AnimatorSetEventsTest.java | 41 button = mActivityRule.getActivity().findViewById(R.id.animatingButton); in setUp() 64 mActivityRule.runOnUiThread(() -> { in testPlayingCancelDuringChildDelay()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 119 public ActivityTestRule<IntentForwarderWrapperActivity> mActivityRule = field in IntentForwarderActivityTest 158 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent() 191 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent() 212 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent() 234 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in launchInSameProfile_chooserIntent() 268 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_selectorIntent() 297 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_notWhitelisted() 312 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_withResolverActivity() 324 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_call() 336 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callPrivileged() [all …]
|
D | ResolverActivityTest.java | 81 public ActivityTestRule<ResolverWrapperActivity> mActivityRule = field in ResolverActivityTest 99 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne() 131 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight() 175 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue() 208 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity() 238 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption() 276 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne() 322 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile() 400 mActivityRule.launchActivity(sendIntent); in testWorkTab_displayedWhenWorkProfileUserAvailable() 412 mActivityRule.launchActivity(sendIntent); in testWorkTab_hiddenWhenWorkProfileUserNotAvailable() [all …]
|
D | ChooserActivityTest.java | 140 public ActivityTestRule<ChooserWrapperActivity> mActivityRule = field in ChooserActivityTest 170 final ChooserWrapperActivity activity = mActivityRule.launchActivity( in customTitle() 187 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents() 200 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle() 214 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail() 229 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail() 246 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail() 264 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleAndThumbnail() 279 final ChooserWrapperActivity activity = mActivityRule in twoOptionsAndUserSelectsOne() 327 final ChooserWrapperActivity activity = mActivityRule in fourOptionsStackedIntoOneTarget() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewInvalidateTest.java | 55 public ActivityTestRule<Activity> mActivityRule = new ActivityTestRule<>(Activity.class); field in ViewInvalidateTest 66 mActivityRule.runOnUiThread(() -> { in setup() 72 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { in setup() 93 return mActivityRule.getActivity(); in getActivity() 165 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { in testInvalidate_simple() 178 mActivityRule.runOnUiThread(() -> { in testInvalidate_simple() 225 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { in testInvalidateChild_childHardwareLayer() 230 mActivityRule.runOnUiThread(() -> { in testInvalidateChild_childHardwareLayer() 245 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { in testInvalidateChild_childSoftwareLayer() 250 mActivityRule.runOnUiThread(() -> { in testInvalidateChild_childSoftwareLayer()
|
D | ViewGroupTransientViewTest.java | 45 public ActivityTestRule<Activity> mActivityRule = new ActivityTestRule<>(Activity.class); field in ViewGroupTransientViewTest 53 final Activity activity = mActivityRule.getActivity(); in setUp() 120 mActivityRule.getActivity().setShowWhenLocked(true); in drawTransientView() 125 mActivityRule.getActivity().runOnUiThread(() -> { in drawTransientView()
|
D | AccessibilityInteractionControllerTest.java | 62 public ActivityTestRule<AccessibilityTestActivity> mActivityRule = new ActivityTestRule<>( field in AccessibilityInteractionControllerTest 84 mActivityRule.runOnUiThread(() -> { in setUp() 85 mViewRootImpl = mActivityRule.getActivity().getWindow().getDecorView() in setUp() 87 mButton = mActivityRule.getActivity().findViewById(R.id.appNameBtn); in setUp() 139 final Activity activity = mActivityRule.launchActivity(null); in launchActivity()
|
D | RenderNodeAnimatorTest.java | 36 public ActivityTestRule<Activity> mActivityRule = new ActivityTestRule<>(Activity.class); field in RenderNodeAnimatorTest 43 return mActivityRule.getActivity(); in getActivity()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 56 public ActivityTestRule<EmptyActivity> mActivityRule = field in DecorContextTest 94 mActivityRule.runOnUiThread(() -> { in testGetWindowManagerFromVisualDecorContext() 95 Activity activity = mActivityRule.getActivity(); in testGetWindowManagerFromVisualDecorContext() 109 mActivityRule.runOnUiThread(() -> { in testIsUiContextFromVisualDecorContext() 110 Activity activity = mActivityRule.getActivity(); in testIsUiContextFromVisualDecorContext()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LoaderLifecycleTest.java | 42 public ActivityTestRule<EmptyActivity> mActivityRule = field in LoaderLifecycleTest 47 mActivityRule.runOnUiThread(() -> { in loaderIdentityTest() 50 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0)); in loaderIdentityTest() 101 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0)); in loaderIdentityTest() 140 mActivityRule.runOnUiThread(() -> { in backStackLoaderIdentityTest() 143 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0); in backStackLoaderIdentityTest() 183 new TestFragmentHostCallback(mActivityRule.getActivity(), h, 0); in backStackLoaderIdentityTest()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowMetricsHelperTest.java | 50 public ActivityTestRule<TestActivity> mActivityRule = field in WindowMetricsHelperTest 55 mActivityRule.runOnUiThread(() -> { in testGetLegacySizeMatchesDisplayGetSize() 56 Activity activity = mActivityRule.getActivity(); in testGetLegacySizeMatchesDisplayGetSize()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | InternalWindowOperationPerfTest.java | 51 public final PerfTestActivityRule mActivityRule = new PerfTestActivityRule(); field in InternalWindowOperationPerfTest 88 mActivityRule.launchActivity(); in testLaunchAndFinishActivity() 89 mActivityRule.finishActivity(); in testLaunchAndFinishActivity() 90 mActivityRule.waitForIdleSync(Stage.DESTROYED); in testLaunchAndFinishActivity()
|
D | RecentsAnimationPerfTest.java | 72 public final PerfTestActivityRule mActivityRule = field in RecentsAnimationPerfTest 176 final int testActivityTaskId = mActivityRule.getActivity().getTaskId(); in testRecentsAnimation() 195 mActivityRule.waitForIdleSync(Stage.STOPPED); in testRecentsAnimation() 203 mActivityRule.waitForIdleSync(Stage.RESUMED); in testRecentsAnimation()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextLongTextPerfTest.java | 62 public ActivityTestRule<PerfTestActivity> mActivityRule = field in EditTextLongTextPerfTest 69 final EditText editText = new EditText(mActivityRule.getActivity()); in setupEditText() 89 Activity activity = mActivityRule.getActivity(); in setupEditText() 103 mActivityRule.runOnUiThread(() -> { in testEditText()
|
D | TextViewAutoSizeLayoutPerfTest.java | 67 public ActivityTestRule<PerfTestActivity> mActivityRule = field in TextViewAutoSizeLayoutPerfTest 75 mActivityRule.runOnUiThread(() -> { in testConstruction() 81 Activity activity = mActivityRule.getActivity(); in testConstruction()
|
D | LayoutPerfTest.java | 75 public ActivityTestRule<PerfTestActivity> mActivityRule = field in LayoutPerfTest 84 mActivityRule.runOnUiThread(() -> { in testLayoutPerf() 90 Activity activity = mActivityRule.getActivity(); in testLayoutPerf()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 59 public ActivityTestRule<TextViewActivity> mActivityRule = new ActivityTestRule<>( field in TextViewTest 67 mActivity = mActivityRule.getActivity(); in setup() 105 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); in testProcessTextActivityResultNonEditable() 114 mActivityRule.runOnUiThread(() -> { in testProcessTextActivityResultNonEditable() 129 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultEditable() 147 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultCancel() 166 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityNoData()
|