Home
last modified time | relevance | path

Searched refs:postOnMainThread (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcherTest.java167 mSpyDispatcher.postOnMainThread( in testSchedule()
181 mSpyDispatcher.postOnMainThread( in testDelayMet_success()
202 mSpyDispatcher.postOnMainThread( in testDelayMet_withStop()
205 mSpyDispatcher.postOnMainThread( in testDelayMet_withStop()
227 mSpyDispatcher.postOnMainThread( in testDelayMet_withStopWhenCancelled()
230 mSpyDispatcher.postOnMainThread( in testDelayMet_withStopWhenCancelled()
257 mSpyDispatcher.postOnMainThread( in testSchedule_withConstraints()
275 mSpyDispatcher.postOnMainThread( in testConstraintsChanged_withNoConstraints()
293 mSpyDispatcher.postOnMainThread( in testConstraintsChangedMarkedNotScheduled_withNoConstraints()
313 mSpyDispatcher.postOnMainThread( in testConstraintsChanged_withConstraint()
[all …]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DDelayMetCommandHandler.java117 mDispatcher.postOnMainThread( in onExecuted()
170 mDispatcher.postOnMainThread( in stopWork()
180 mDispatcher.postOnMainThread( in stopWork()
DSystemAlarmDispatcher.java107 postOnMainThread( in onExecuted()
170 void postOnMainThread(@NonNull Runnable runnable) { in postOnMainThread() method in SystemAlarmDispatcher
252 postOnMainThread( in processCommand()
DConstraintsCommandHandler.java100 mDispatcher.postOnMainThread( in handleConstraintsChanged()
DCommandHandler.java219 dispatcher.postOnMainThread( in handleScheduleWorkIntent()
292 dispatcher.postOnMainThread( in handleExecutionCompleted()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java73 public static void postOnMainThread(Runnable runnable) { in postOnMainThread() method in ThreadUtils
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DThreadUtilsTest.java62 ThreadUtils.postOnMainThread(cr); in testPostOnMainThread_shouldRunOnMainTread()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1056 ThreadUtils.postOnMainThread(() -> { in setScanResults()
1064 ThreadUtils.postOnMainThread(() -> { in setScanResults()
1115 ThreadUtils.postOnMainThread(() -> { in update()
1122 ThreadUtils.postOnMainThread(() -> { in update()
1136 ThreadUtils.postOnMainThread(() -> { in update()
DWifiTracker.java884 ThreadUtils.postOnMainThread(() -> { in runAndLog()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java792 ThreadUtils.postOnMainThread(latch::countDown);
835 ThreadUtils.postOnMainThread(() -> {
851 ThreadUtils.postOnMainThread(latch2::countDown);
DWifiTrackerTest.java795 ThreadUtils.postOnMainThread(latch2::countDown); in stopTrackingShouldPreventCallbacksFromOngoingWork()