/aosp12/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
H A D | LoginTest.java | 64 mActivityRule.runOnUiThread(() -> { in testFocus_noService() 82 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill() 86 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_serviceDoesNotAutofill() 90 mActivityRule.runOnUiThread(() -> { in testFocus_serviceDoesNotAutofill() 115 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields() 121 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields() 169 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillUsernameOnly() 175 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillUsernameOnly() 254 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in changeTest() 261 mActivityRule.runOnUiThread(() -> { in changeTest() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewInputConnectionTest.java | 77 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 93 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 114 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 131 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nullInputConnection() 147 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nullInputConnection() 167 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nullInputConnection() 183 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nonEditableInput() 190 mActivityRule.runOnUiThread(view1::requestFocus); in testInputConnectionCallbacks_nonEditableInput() 198 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nonEditableInput() 209 mActivityRule.runOnUiThread(view2::requestFocus); in testInputConnectionCallbacks_nonEditableInput() [all …]
|
H A D | VisibilityTest.java | 72 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testVisibleToInvisible() 86 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testVisibleToGone() 100 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToVisible() 120 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToInvisible() 140 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToVisible() 160 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToGone()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 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() 174 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 200 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 225 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 235 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 248 mActivityRule.runOnUiThread(new Runnable() { in testPause() [all …]
|
H A D | EventsTest.java | 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() 473 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedEndMidDelay() [all …]
|
H A D | AnimatorSetActivityTest.java | 300 mActivityRule.runOnUiThread(() -> { 309 mActivityRule.runOnUiThread(() -> { 347 mActivityRule.runOnUiThread(() -> { in testStart() 403 mActivityRule.runOnUiThread(() -> { in testCancel() 449 mActivityRule.runOnUiThread(() -> { in testPauseAndResume() 459 mActivityRule.runOnUiThread(() -> { in testPauseAndResume() 504 mActivityRule.runOnUiThread(() -> { in testClone() 521 mActivityRule.runOnUiThread(() -> { in testClone() 532 mActivityRule.runOnUiThread(() -> { in testClone() 546 mActivityRule.runOnUiThread(() -> { in testClone() [all …]
|
H A D | ViewPropertyAnimatorTest.java | 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()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
H A D | DualPaneBaseCarSettingsActivityTest.java | 59 mActivityTestRule.runOnUiThread(() -> in onPreferenceStartFragment_launchesFragment() 85 mActivityTestRule.runOnUiThread(() -> { in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions() 117 mActivityTestRule.runOnUiThread(() -> { in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions() 136 mActivityTestRule.runOnUiThread(() -> { in onBackStackChanged_toolbarUpdated() 145 mActivityTestRule.runOnUiThread(() -> { in onBackStackChanged_toolbarUpdated() 190 mActivityTestRule.runOnUiThread(() -> in onTopLevelPreferenceTapped_focusUpdated() 198 mActivityTestRule.runOnUiThread(() -> { in onFragmentLaunched_maintainContentFocus() 204 mActivityTestRule.runOnUiThread(() -> in onFragmentLaunched_maintainContentFocus() 212 mActivityTestRule.runOnUiThread(() -> { in onBack_maintainContentFocus() 227 mActivityTestRule.runOnUiThread(() -> { in onPreferenceDisabled_maintainContentFocus() [all …]
|
H A D | TopLevelMenuFragmentTest.java | 61 mActivityTestRule.runOnUiThread(() -> in onPreferenceTapped_launchesFragment() 69 mActivityTestRule.runOnUiThread(() -> in onPreferenceTapped_preferenceHighlightUpdated() 77 mActivityTestRule.runOnUiThread(() -> { in onSamePreferenceTapped_noDuplicateEntry() 88 mActivityTestRule.runOnUiThread(() -> { in onDifferentPreferenceTapped_clearsBackStack() 99 mActivityTestRule.runOnUiThread(() -> { in setUpFragment()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
H A D | ContentLimitingAdapterUiTest.java | 49 mActivityRule.getActivity().runOnUiThread( in setUp() 58 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(20)); in setMaxItem_toLowerThanTotalItems() 67 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(-1)); in setMaxItem_toLowerThanTotalItems() 76 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(1)); in setMaxItem_toOne() 84 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(-1)); in setMaxItem_toOne() 93 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(0)); in setMaxItem_toZero() 99 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(-1)); in setMaxItem_toZero() 106 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(70)); in setMaxItem_toHigherThanTotalItems() 109 mActivityRule.runOnUiThread(() -> mCarUiRecyclerView.scrollToPosition(49)); in setMaxItem_toHigherThanTotalItems() 115 mActivityRule.runOnUiThread(() -> mContentLimitingAdapter.setMaxItems(-1)); in setMaxItem_toHigherThanTotalItems()
|
H A D | CarUiRecyclerViewTest.java | 445 mActivity.runOnUiThread( in testLayoutManagerSetInXml() 513 mActivity.runOnUiThread( in testVisibility_goneAtInflationWithChangeToVisible() 534 mActivity.runOnUiThread( in testVisibility_invisibleAtInflationWithChangeToVisible() 555 mActivity.runOnUiThread( in testFirstItemAtTop_onInitialLoad() 571 mActivity.runOnUiThread( in testPageUpAndDownMoveSameDistance() 607 mActivity.runOnUiThread( in testContinuousScroll() 629 mActivity.runOnUiThread( in testAlphaJumpToMiddleForThumbWhenTrackClicked() 650 mActivity.runOnUiThread( in testAlphaJumpToEndAndStartForThumbWhenTrackClicked() 677 mActivity.runOnUiThread( in testThumbDragToCenter() 705 mActivity.runOnUiThread( in testPageUpButtonDisabledAtTop() [all …]
|
H A D | DelegatingContentLimitingAdapterTest.java | 96 mActivity.runOnUiThread(() -> { in setMaxItem_noScrolling_noContentLimiting() 126 mActivity.runOnUiThread(() -> { in setMaxItem_noScrolling() 156 mActivity.runOnUiThread(() -> { in setMaxItem_withScrolling() 179 mActivity.runOnUiThread(() -> { in testChangeItem_callsObservers() 203 mActivity.runOnUiThread(() -> { in testInsertItem_callsObservers() 227 mActivity.runOnUiThread(() -> { in testRemoveItem_callsObservers() 251 mActivity.runOnUiThread(() -> { in testMoveItem_callsObservers() 275 mActivity.runOnUiThread(() -> { in testChangeDataSet_callsObservers() 283 mActivity.runOnUiThread(() -> { in testChangeDataSet_callsObservers()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/ |
H A D | AlertDialogBuilderTest.java | 69 runOnUiThread(activity -> in test_AlertDialogBuilder_works() 76 runOnUiThread(activity -> new AlertDialogBuilder(activity) in test_AlertDialogBuilder_works() 89 AlertDialog dialog = runOnUiThread(activity -> in test_simplePropertiesWithResources_work() 122 AlertDialog dialog = runOnUiThread(activity -> in test_simplePropertiesWithStrings_work() 156 AlertDialog dialog = runOnUiThread(activity -> in test_setCursor_works() 171 Context context = runOnUiThread(activity -> in test_getContext_works() 183 AlertDialog dialog = runOnUiThread(activity -> in test_setCarUiRadioButtons_works() 199 AlertDialogBuilder builder = runOnUiThread(activity -> new AlertDialogBuilder(activity) in test_showSingleListChoiceItem_StringArray_hidesDefaultButton() 209 AlertDialogBuilder builder = runOnUiThread(activity -> new AlertDialogBuilder(activity) in test_showSingleListChoiceItem_StringArrayResource_hidesDefaultButton() 227 AlertDialogBuilder builder = runOnUiThread(activity -> new AlertDialogBuilder(activity) in test_singleListChoiceItems_CarUiRadioButtonListItemAdapter_forcesDefaultButton() [all …]
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
H A D | UsageBytesThresholdPickerDialogTest.java | 66 mActivityTestRule.runOnUiThread(() -> { in dialogInit_validValue_showsCurrentValue() 78 mActivityTestRule.runOnUiThread(() -> { in dialogInit_lowInvalidValue_showsLowestPossibleValue() 91 mActivityTestRule.runOnUiThread(() -> { in positiveButtonClick_noChangeInValue_dialogListenerNotCalled() 108 mActivityTestRule.runOnUiThread(() -> { in positiveButtonClick_changeInValue_dialogListenerCalled() 114 mActivityTestRule.runOnUiThread(() -> { in positiveButtonClick_changeInValue_dialogListenerCalled() 130 mActivityTestRule.runOnUiThread(() -> { in getCurrentThreshold_aboveLimit_returnLimit()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/uxr/ |
H A D | DrawableStateViewTest.java | 85 int[] drawableState = runOnUiThread(((View) button)::getDrawableState); in test_drawablestateview_methods_work() 92 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work() 102 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work() 117 drawableState = runOnUiThread(() -> { in test_drawablestateview_methods_work() 137 int[] drawableState = runOnUiThread(() -> { in test_setExtraDrawableState_calledFirst() 154 int[] drawableState = runOnUiThread(() -> { in test_emptyStateToRemove_works() 179 private int[] runOnUiThread(Supplier<int[]> runnable) { in runOnUiThread() method in DrawableStateViewTest
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothPairingSelectionFragmentTest.java | 111 mActivityTestRule.runOnUiThread(() -> { in onStop_clearsBluetoothManagerForegroundActivity() 121 mActivityTestRule.runOnUiThread(() -> { in onStop_unregistersEventListener() 135 mActivityTestRule.runOnUiThread(() -> { in onStop_hidesProgressBar() 147 mActivityTestRule.runOnUiThread(() -> { in onDeviceBondStateChanged_deviceBonded_goesBack() 160 mActivityTestRule.runOnUiThread(() -> { in onBluetoothDisabled_goesBack() 170 mActivityTestRule.runOnUiThread(() -> { in setUpFragment()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListFocusableTest.java | 190 mActivity.runOnUiThread(new Runnable() { in setFullAdapter() 199 mActivity.runOnUiThread(new Runnable() { in setEmptyAdapter() 208 mActivity.runOnUiThread(new Runnable() { in setNullAdapter() 217 mActivity.runOnUiThread(new Runnable() { in setFocusable() 226 mActivity.runOnUiThread(new Runnable() { in setNonFocusable()
|
H A D | ListViewHeightTest.java | 60 mActivity.runOnUiThread(new Runnable() { in testButtons() 69 mActivity.runOnUiThread(new Runnable() { in testButtons() 77 mActivity.runOnUiThread(new Runnable() { in testButtons()
|
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
H A D | DialogUiTest.java | 88 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows() 99 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss() 107 mActivityTestRule.runOnUiThread(() -> mCreateDirectoryFragment.getDialog().dismiss()); in testCreateDialogShowsDismiss() 116 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait() 136 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity() 157 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity() 177 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity() 198 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewProcessTextTest.java | 59 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); in testProcessTextActivityResultNonEditable() 68 mActivityRule.runOnUiThread(() -> { in testProcessTextActivityResultNonEditable() 79 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultCancel() 95 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityNoData()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/appstyledview/ |
H A D | AppStyledDialogControllerTest.java | 63 mActivityRule.runOnUiThread(() -> { in setUp() 79 mActivityRule.runOnUiThread(() -> { in show_shouldDisplayDialog() 99 mActivityRule.runOnUiThread(() -> { in setNavIcon_showCloseIcon() 121 mActivityRule.runOnUiThread(() -> { in setOnCloseClickListener_shouldInvokeCallback() 146 mActivityRule.runOnUiThread(() -> { in setOnDismissListener_shouldInvokeCallback()
|
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
H A D | GeometryTests.kt | 141 runOnUiThread { 154 runOnUiThread { 166 runOnUiThread { 189 runOnUiThread { 202 runOnUiThread { 213 runOnUiThread {
|
H A D | BufferPresentationTests.kt | 103 runOnUiThread { activity -> 122 runOnUiThread { activity -> 137 runOnUiThread { activity -> 158 runOnUiThread { activity ->
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListWithNoFadingEdgeTest.java | 52 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollDownToBottom() 65 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollFromBottomToTop() 69 getActivity().runOnUiThread(new Runnable() { in testScrollFromBottomToTop()
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
H A D | FragmentTestCase.java | 61 getActivity().runOnUiThread(new Runnable() { in attachFragment() 98 getActivity().runOnUiThread(new Runnable() { in clickButton() 108 getActivity().runOnUiThread(new Runnable() { in setFocus()
|