Home
last modified time | relevance | path

Searched refs:runOnUiThread (Results 1 – 25 of 118) sorted by relevance

12345

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DDualPaneBaseCarSettingsActivityTest.java59 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()
153 mActivityTestRule.runOnUiThread(() -> mActivity.goBack()); 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()
[all …]
DTopLevelMenuFragmentTest.java61 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()
DConfirmationDialogFragmentTest.java148 mActivityTestRule.runOnUiThread(() -> in clickPositiveButton_callsCallbackWithArgs()
164 mActivityTestRule.runOnUiThread(() -> in clickNegativeButton_callsCallbackWithArgs()
179 mActivityTestRule.runOnUiThread(() -> dialog.dismiss()); in dismissDialog_callsCallbackWithArgs()
188 mActivityTestRule.runOnUiThread( in launchDialogFragment()
DSinglePaneBaseCarSettingsActivityTest.java58 mActivityTestRule.runOnUiThread(() -> in onPreferenceStartFragment_launchesActivity()
75 mActivityTestRule.runOnUiThread(() -> { in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialogTest.java66 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()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothPairingSelectionFragmentTest.java111 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()
DBluetoothDevicePickerFragmentTest.java102 mActivityTestRule.runOnUiThread(() -> { in onStop_clearsBluetoothManagerForegroundActivity()
115 mActivityTestRule.runOnUiThread(() -> { in onStop_hidesProgressBar()
125 mActivityTestRule.runOnUiThread(() -> { in setUpFragment()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DCurrentEthernetNetworksViewModel.java49 private void runOnUiThread(Runnable r) { in runOnUiThread() method in CurrentEthernetNetworksViewModel
146 runOnUiThread(() -> addNetwork(network)); in onAvailable()
154 runOnUiThread(() -> removeNetwork(network)); in onLost()
164 runOnUiThread(() -> onNetworkChanged()); in onCapabilitiesChanged()
173 runOnUiThread(() -> onNetworkChanged()); in onLinkPropertiesChanged()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDialogUiTest.java95 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows()
106 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss()
114 mActivityTestRule.runOnUiThread(() -> mCreateDirectoryFragment.getDialog().dismiss()); in testCreateDialogShowsDismiss()
123 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait()
143 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
164 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity()
184 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity()
206 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DFragmentTestCase.java61 getActivity().runOnUiThread(new Runnable() { in attachFragment()
98 getActivity().runOnUiThread(new Runnable() { in clickButton()
108 getActivity().runOnUiThread(new Runnable() { in setFocus()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewFeatureTest.kt332 composeTestRule.runOnUiThread({ in testNavigateToPreviewImage()
366 composeTestRule.runOnUiThread({ in testNavigateToPreviewVideo()
409 composeTestRule.runOnUiThread({ in testPreviewMediaToggleSelection()
462 composeTestRule.runOnUiThread({ navController.navigateToPreviewSelection() }) in testNavigateToPreviewSelection()
496 composeTestRule.runOnUiThread({ navController.navigateToPreviewSelection() }) in testPreviewSelectionActions()
555 composeTestRule.runOnUiThread({ navController.navigateToPreviewSelection() }) in testPreviewEmitsMediaSelectionConfirmedEvent()
596 composeTestRule.runOnUiThread({ in testVideoUiCreatesRemoteSurfaceController()
638 composeTestRule.runOnUiThread({ in testVideoUiNotifySurfaceCreated()
678 composeTestRule.runOnUiThread({ in testVideoUiRequestsPlayWhenMediaReady()
724 composeTestRule.runOnUiThread({ in testVideoUiShowsAndHidesPlayerControls()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java76 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_fdnIsAvailable_shouldShowFdnMenu()
91 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
107 mActivity.runOnUiThread(() -> mActivity.onResume()); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
124 activityTestRule.runOnUiThread(() -> { in keepScreenOn()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiPasswordDialogTest.java95 mActivityTestRule.runOnUiThread(() -> cb.performClick()); in onCheckboxChanged_editTextInputTypeSet()
99 mActivityTestRule.runOnUiThread(() -> cb.performClick()); in onCheckboxChanged_editTextInputTypeSet()
109 mActivityTestRule.runOnUiThread(() -> confirmButton.performClick()); in onConfirm_listenerTriggered()
115 mActivityTestRule.runOnUiThread( in setUpDialog()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java112 Consumer<Size> mPreviewSizeChangeListener = size -> runOnUiThread(() -> {
124 runOnUiThread(() ->
145 runOnUiThread(() -> {
162 runOnUiThread(() -> {
220 runOnUiThread(() -> {
247 runOnUiThread(() -> {
310 runOnUiThread(this::setupMainLayout); in onConfigurationChanged()
508 runOnUiThread(() -> { in setHighQualityMode()
542 runOnUiThread(() -> { in rotateUiByRotationDegrees() method
584 runOnUiThread(() -> { in onServiceDestroyed() method
[all …]
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DEmbmsTestStreamingApp.java49 EmbmsTestStreamingApp.this.runOnUiThread(() ->
58 runOnUiThread(() -> Toast.makeText(EmbmsTestStreamingApp.this, "Successfully bound",
246 runOnUiThread(() -> mStreamingServicesDisplayAdapter.update(services)); in updateStreamingServicesList()
255 runOnUiThread(() -> { in setUriDisplay() method
262 runOnUiThread(() -> { in setStreamStateDisplay() method
269 runOnUiThread(() -> { in setStreamMethodDisplay() method
DStreamingServiceTracker.java31 mActivity.runOnUiThread(() -> in onError()
95 mActivity.runOnUiThread(() -> in onStreamStateUpdated()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DCalmModeFragmentTest.java105 mActivity.runOnUiThread(()->mCalmModeFragment.updateMediaTitle(testMediaItem)); in fragmentResumed_testMedia_isInvisible()
118 mActivity.runOnUiThread(()->mCalmModeFragment.updateMediaTitle(null)); in fragmentResumed_testMediaItemNull_isGone()
128 mActivity.runOnUiThread(()->mCalmModeFragment.updateMediaTitle(testMediaItem)); in fragmentResumed_testMediaTitleNull_isGone()
138 mActivity.runOnUiThread(()->mCalmModeFragment.updateMediaTitle(testMediaItem)); in fragmentResumed_testMediaSubTitleNull_isVisible()
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
DMainFragment.java145 getActivity().runOnUiThread(()-> { in onCreateView()
154 getActivity().runOnUiThread( in onCreateView()
168 getActivity().runOnUiThread(() -> mTestLog.append( in onCreateView()
184 getActivity().runOnUiThread(() -> mTestLog.append( in onCreateView()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbHostManagementActivity.java182 runOnUiThread(new Runnable() { in shutdown()
193 runOnUiThread(new Runnable() { in processingStarted()
205 runOnUiThread(() -> mHandlerTitle.setText(title)); in titleChanged()
211 runOnUiThread(new Runnable() { in optionsUpdated()
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/
DPrioritizeLatency.java227 getActivity().runOnUiThread(new Runnable() { in updateNetworkRequestReleaseButton()
236 getActivity().runOnUiThread(new Runnable() { in updateResultTextView()
245 getActivity().runOnUiThread(new Runnable() { in updateResultTextView()
254 getActivity().runOnUiThread(new Runnable() { in updateUIOnNetworkAvailable()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java102 getActivity().runOnUiThread(() -> handleSearchStarted());
123 getActivity().runOnUiThread(
138 getActivity().runOnUiThread(() -> updateListCategoryFromBroadcastMetadata(
163 getActivity().runOnUiThread(() -> handleSourceRemoved());
429 getActivity().runOnUiThread(() -> in addSource()
438 getActivity().runOnUiThread( in addSource()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DListAdapterTest.java96 rule.runOnUiThread(() -> { in testListAdapterConstructor()
107 rule.runOnUiThread(() -> { in testListAdapterGetViewWithNullConvertView()
122 rule.runOnUiThread(() -> { in testListAdapterGetViewWithNonNullConvertView()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java288 mActivityTestRule.runOnUiThread(() -> { in disableSingleSimDialog_onConfirm_disablesData()
310 mActivityTestRule.runOnUiThread(() -> { in disableSingleSimDialog_onConfirm_setsUnchecked()
342 mActivityTestRule.runOnUiThread(() -> { in enableMutliSimDialog_onConfirm_enablesData()
370 mActivityTestRule.runOnUiThread(() -> { in enableMutliSimDialog_onConfirm_setsChecked()
394 mActivityTestRule.runOnUiThread(() -> { in showDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragmentTest.java62 mActivityTestRule.runOnUiThread(() -> { in testEnterKeyIsEnabledWhenCheckFails()
73 mActivityTestRule.runOnUiThread(() -> { in setUpFragment()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java85 getActivity().runOnUiThread(new Runnable() { in initFragment()
109 getActivity().runOnUiThread(new Runnable() { in loadWithAllContactsCursor()
126 getActivity().runOnUiThread(new Runnable() { in loadWithFrequentContactsCursor()

12345