/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<StubActivity> mActivityRule = field in AbstractAutofillPerfTestCase 66 mActivityRule.runOnUiThread(() -> { in prepareActivity() 71 StubActivity 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()
|
D | AnimatorInflaterTest.java | 37 public final ActivityTestRule<BasicAnimatorActivity> mActivityRule = field in AnimatorInflaterTest 53 final BasicAnimatorActivity activity = mActivityRule.getActivity(); in testLoadStateListAnimator()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 114 public ActivityTestRule<IntentForwarderWrapperActivity> mActivityRule = field in IntentForwarderActivityTest 144 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent() 177 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent() 198 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent() 224 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_chooserIntent() 262 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_selectorIntent() 291 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_notWhitelisted() 306 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_withResolverActivity() 318 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_call() 330 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callPrivileged() [all …]
|
D | ChooserActivityTest.java | 118 public ActivityTestRule<ChooserWrapperActivity> mActivityRule = field in ChooserActivityTest 144 final ChooserWrapperActivity activity = mActivityRule.launchActivity( in customTitle() 161 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents() 174 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle() 188 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail() 203 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail() 220 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail() 238 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleAndThumbnail() 253 final ChooserWrapperActivity activity = mActivityRule in twoOptionsAndUserSelectsOne() 282 final ChooserWrapperActivity activity = mActivityRule in updateChooserCountsAndModelAfterUserSelection() [all …]
|
D | ResolverActivityTest.java | 66 public ActivityTestRule<ResolverWrapperActivity> mActivityRule = field in ResolverActivityTest 84 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne() 114 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight() 157 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue() 187 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity() 216 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption() 253 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne() 298 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile()
|
/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()
|
D | ScaleGestureDetectorTest.java | 42 public final ActivityTestRule<ScaleGesture> mActivityRule = field in ScaleGestureDetectorTest 48 mScaleGestureActivity = mActivityRule.getActivity(); in setUp()
|
/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/apct-tests/perftests/core/src/android/widget/ |
D | EditTextLongTextPerfTest.java | 62 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); field in EditTextLongTextPerfTest 68 final EditText editText = new EditText(mActivityRule.getActivity()); in setupEditText() 88 Activity activity = mActivityRule.getActivity(); in setupEditText() 102 mActivityRule.runOnUiThread(() -> { in testEditText()
|
D | TextViewAutoSizeLayoutPerfTest.java | 67 public ActivityTestRule<StubActivity> mActivityRule = field in TextViewAutoSizeLayoutPerfTest 75 mActivityRule.runOnUiThread(() -> { in testConstruction() 81 Activity activity = mActivityRule.getActivity(); in testConstruction()
|
D | LayoutPerfTest.java | 75 public ActivityTestRule<StubActivity> mActivityRule = field in LayoutPerfTest 84 mActivityRule.runOnUiThread(() -> { in testLayoutPerf() 90 Activity activity = mActivityRule.getActivity(); in testLayoutPerf()
|
D | TextViewSetTextLocalePerfTest.java | 59 public ActivityTestRule<StubActivity> mActivityRule = new ActivityTestRule(StubActivity.class); field in TextViewSetTextLocalePerfTest 66 TextView textView = new TextView(mActivityRule.getActivity()); in testSetTextLocale()
|
/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()
|
D | EditorCursorTest.java | 61 public ActivityTestRule<TextViewActivity> mActivityRule = new ActivityTestRule<>( field in EditorCursorTest 70 mActivity = mActivityRule.getActivity(); in setUp() 73 mActivityRule.runOnUiThread(() -> { in setUp() 196 mActivityRule.runOnUiThread(() -> { in setEditTextProperties()
|