Home
last modified time | relevance | path

Searched refs:executeDelayed (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java106 fakeExecutor.executeDelayed(runnable, 1); in testDelayed()
107 fakeExecutor.executeDelayed(runnable, 50); in testDelayed()
108 fakeExecutor.executeDelayed(runnable, 100); in testDelayed()
174 fakeExecutor.executeDelayed(runnable, 1); in testDelayed_AdvanceAndRun()
175 fakeExecutor.executeDelayed(runnable, 50); in testDelayed_AdvanceAndRun()
176 fakeExecutor.executeDelayed(runnable, 100); in testDelayed_AdvanceAndRun()
248 fakeExecutor.executeDelayed(runnableA, 100); in testExecutionOrder()
250 fakeExecutor.executeDelayed(runnableC, 50); in testExecutionOrder()
295 fakeExecutor.executeDelayed(runnable, 100); in testRemoval_single()
296 removeFunction = fakeExecutor.executeDelayed(runnable, 200); in testRemoval_single()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DDelayableExecutor.java33 default Runnable executeDelayed(Runnable r, long delayMillis) { in executeDelayed() method
34 return executeDelayed(r, delayMillis, TimeUnit.MILLISECONDS); in executeDelayed()
44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed() method
DRepeatableExecutorImpl.java62 mCancel = mExecutor.executeDelayed(this, mDelay, mUnit); in run()
70 mCancel = mExecutor.executeDelayed(this, startDelay, unit); in start()
DMessageRouterImpl.java44 addCanceler(id, mDelayableExecutor.executeDelayed(() -> onMessage(id), delayMs)); in sendMessageDelayed()
49 addCanceler((Class<Object>) data.getClass(), mDelayableExecutor.executeDelayed( in sendMessageDelayed()
DExecutorImpl.java44 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() method in ExecutorImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardIndicationRotateTextViewControllerTest.java162 verify(mExecutor, never()).executeDelayed(any(), anyLong()); in testShowOneIndication()
181 verify(mExecutor).executeDelayed(any(), anyLong()); in testShowTwoRotatingMessages()
200 verify(mExecutor, never()).executeDelayed(any(), anyLong()); in testUpdateCurrentMessage()
222 verify(mExecutor, never()).executeDelayed(any(), anyLong()); in testUpdateRotatingMessageForUndisplayedIndication()
246 verify(mExecutor).executeDelayed(any(), anyLong()); in testUpdateImmediately()
259 verify(mExecutor).executeDelayed(any(), anyLong()); in testUpdateImmediately()
297 verify(mExecutor).executeDelayed(any(), anyLong()); in testTransientIndication()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md69 Handler. It adds `executeDelayed(Runnable r, long delayMillis)` and
82 bgExecutor.executeDelayed(new Runnable() {
96 Runnable cancel = bgExecutor.executeDelayed(new Runnable() {
117 postDelayed() | `none` | executeDelayed()
281 executor.executeDelayed(() -> {}, 100); // Nothing run yet. Runs at time-100.
282 executor.executeDelayed(() -> {}, 500); // Nothing run yet. Runs at time-500.
296 executor.executeDelayed(() -> {}, 100); // Nothing run yet. Runs at time-100.
297 executor.executeDelayed(() -> {}, 500); // Nothing run yet. Runs at time-500.
314 executorA.executeDelayed(() -> {}, 100);
315 executorB.executeDelayed(() -> {}, 200);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographerTest.kt45 whenever(it.executeDelayed(any(), anyLong())).thenReturn(timeoueSubscription) in <lambda>()
84 verify(executor).executeDelayed(capture(), anyLong()) in scheduleThenEvalTimeoutCallback()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutor.java145 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() method in FakeExecutor
165 executeDelayed(command, 0); in execute()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DUserAspectRatioSettingsWindowManager.java165 mShellExecutor.executeDelayed(this::hideUserAspectRatioButton, disappearTimeMs); in onUserAspectRatioSettingsButtonLongClicked()
188 mShellExecutor.executeDelayed(this::showUserAspectRatioButton, in updateVisibilityOfViews()
192 mShellExecutor.executeDelayed(this::hideUserAspectRatioButton, disappearTimeMs); in updateVisibilityOfViews()
DReachabilityEduWindowManager.java263 mMainExecutor.executeDelayed(this::hideReachability, disappearTimeMs); in updateVisibilityOfViews()
269 mMainExecutor.executeDelayed(this::triggerOnDismissCallback, in updateVisibilityOfViews()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DSyncExecutor.java32 public void executeDelayed(Runnable runnable, long delayMillis) { in executeDelayed() method in SyncExecutor
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestShellExecutor.java36 public void executeDelayed(Runnable r, long delayMillis) { in executeDelayed() method in TestShellExecutor
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DHandlerExecutor.java42 public void executeDelayed(@NonNull Runnable r, long delayMillis) { in executeDelayed() method in HandlerExecutor
DShellExecutor.java88 void executeDelayed(Runnable runnable, long delayMillis); in executeDelayed() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/
DHideComplicationTouchHandler.java154 mExecutor.executeDelayed( in onSessionStart()
172 mExecutor.executeDelayed(mRestoreComplications, in onSessionStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationEntryProcessorFactoryExecutorImpl.kt41 executor.executeDelayed({ processEntry(entry) }, 0L) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DLogBufferFreezer.kt64 pendingToken = executor.executeDelayed({ in onBugreportStarted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRestartDozeListener.kt68 bgExecutor.executeDelayed( in maybeRestartSleep()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DProximityCheck.java72 mDelayableExecutor.executeDelayed(this, timeoutMs); in check()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTapAgainViewController.java83 mHideCanceler = mDelayableExecutor.executeDelayed(this::hide, mDoubleTapTimeMs); in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt200 holdingRunnableCanceler = bgExecutor.executeDelayed(updateListAndNotifyChanges, delay) in processNewList()
274 listeningCanceller = delegate.executeDelayed({ setListeningState() }, 0L) in updateListeningState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DTouchBehavior.kt60 cvh.uiExecutor.executeDelayed({ in initialize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryStateNotifier.kt86 delayableExecutor.executeDelayed(r, DELAY_MILLIS) in scheduleNotificationCancel()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedTimeoutHandler.java96 mMainExecutor.executeDelayed(mTimeoutRunnable, mTimeoutMs); in resetTimer()

1234