Home
last modified time | relevance | path

Searched refs:runNextReady (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
H A DFakeExecutorTest.java71 assertTrue(fakeExecutor.runNextReady()); in testNoDelay()
76 assertTrue(fakeExecutor.runNextReady()); in testNoDelay()
82 assertFalse(fakeExecutor.runNextReady()); in testNoDelay()
114 assertFalse(fakeExecutor.runNextReady()); in testDelayed()
148 assertFalse(fakeExecutor.runNextReady()); in testDelayed_AdvanceAndRun()
206 fakeExecutor.runNextReady(); in testExecutionOrder()
208 fakeExecutor.runNextReady(); in testExecutionOrder()
210 fakeExecutor.runNextReady(); in testExecutionOrder()
212 fakeExecutor.runNextReady(); in testExecutionOrder()
H A DMessageRouterImplTest.java150 mFakeExecutor.runNextReady(); in testRepeatedMessage()
152 mFakeExecutor.runNextReady(); in testRepeatedMessage()
154 mFakeExecutor.runNextReady(); in testRepeatedMessage()
230 mFakeExecutor.runNextReady(); in testUnsubscribe_SpecificMessage_WithMetadata()
232 mFakeExecutor.runNextReady(); in testUnsubscribe_SpecificMessage_WithMetadata()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
H A DFakeExecutor.java58 public boolean runNextReady() { in runNextReady() method in FakeExecutor
80 while (runNextReady()) { in runAllReady()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dexecutors.md216 <td>runNextReady()</td>
225 Calls runNextReady() in a loop until
292 executor.runNextReady(); // One thing run.
294 executor.runNextReady(); // One thing run.
295 executor.runNextReady(); // Extra calls do nothing. (Returns false).
297 executor.runNextReady(); // Last item run.
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/condition/
H A DSelfExecutingMonitor.java50 mExecutor.runNextReady(); in removeSubscription()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNotifLiveDataImplTest.kt159 assertThat(executor.runNextReady()).isTrue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationListenerTest.java137 assertThat(mFakeExecutor.runNextReady()).isTrue(); in testRankingUpdateWillCallAgainIfQueueIsSlow()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
H A DImageWallpaperTest.java170 mFakeExecutor.runNextReady(); in testLoadDrawAndUnloadBitmap()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinatorTest.java336 mFakeExecutor.runNextReady(); in testTemporarilyAllowSectionChangesTimeout()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
H A DProximitySensorImplDualTest.java209 mFakeExecutor.runNextReady(); in testSecondaryPausing()