Home
last modified time | relevance | path

Searched defs:runnable (Results 1 – 25 of 193) sorted by relevance

12345678

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DShellExecutor.java36 void execute(Runnable runnable); in execute()
45 default void executeBlocking(Runnable runnable, int waitTimeout, TimeUnit waitTimeUnit) in executeBlocking()
61 default void executeBlocking(Runnable runnable) throws InterruptedException { in executeBlocking()
69 default <T> T executeBlockingForResult(Supplier<T> runnable, Class clazz) { in executeBlockingForResult()
88 void executeDelayed(Runnable runnable, long delayMillis); in executeDelayed()
93 void removeCallbacks(Runnable runnable); in removeCallbacks()
98 boolean hasCallback(Runnable runnable); in hasCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DSyncExecutor.java27 public void execute(Runnable runnable) { in execute()
32 public void executeDelayed(Runnable runnable, long delayMillis) { in executeDelayed()
37 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
41 public boolean hasCallback(Runnable runnable) { in hasCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java54 RunnableImpl runnable = new RunnableImpl(); in testNoDelay() local
103 RunnableImpl runnable = new RunnableImpl(); in testDelayed() local
137 RunnableImpl runnable = new RunnableImpl(); in testAtTime() local
171 RunnableImpl runnable = new RunnableImpl(); in testDelayed_AdvanceAndRun() local
286 RunnableImpl runnable = new RunnableImpl(); in testRemoval_single() local
326 RunnableImpl runnable = new RunnableImpl(); in testRemoval_multi() local
362 Runnable runnable = () -> assertThat(fakeExecutor.isExecuting()).isTrue(); in testIsExecuting() local
DMockExecutorHandlerTest.kt37 val runnable = RunnableImpl() in testNoDelay() constant
84 val runnable = RunnableImpl() in testDelayed() constant
117 val runnable = RunnableImpl() in testAtTime() constant
149 val runnable = RunnableImpl() in testRemoveCallback_postDelayed() constant
170 val runnable = RunnableImpl() in testRemoveCallback_postAtTime() constant
192 val runnable = RunnableImpl() in testRemoveCallback_mixed_allRemoved() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DMockExecutorHandler.kt50 val runnable = invocation.getArgument<Runnable>(0) in <lambda>() constant
70 val runnable = invocation.getArgument<Runnable>(0) in <lambda>() constant
90 val runnable = invocation.getArgument<Runnable>(0) in <lambda>() constant
/frameworks/base/telephony/java/com/android/internal/telephony/
DExponentialBackoff.java54 boolean postDelayed(Runnable runnable, long delayMillis); in postDelayed()
55 void removeCallbacks(Runnable runnable); in removeCallbacks()
63 @NonNull Runnable runnable) { in ExponentialBackoff()
72 @NonNull Runnable runnable) { in ExponentialBackoff()
/frameworks/base/services/core/java/com/android/server/incident/
DRequestQueue.java66 public final Runnable runnable; field in RequestQueue.Rec
71 Rec(IBinder key, boolean value, Runnable runnable) { in Rec()
130 public void enqueue(IBinder key, boolean value, Runnable runnable) { in enqueue()
/frameworks/base/core/java/com/android/internal/view/
DOneShotPreDrawListener.java41 @NonNull Runnable runnable) { in OneShotPreDrawListener()
57 public static OneShotPreDrawListener add(@NonNull View view, @NonNull Runnable runnable) { in add()
71 @NonNull Runnable runnable) { in add()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DHandlerInjector.java33 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed()
38 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
DThreadUtils.java74 public static ListenableFuture postOnBackgroundThread(@NonNull Runnable runnable) { in postOnBackgroundThread()
98 public static void postOnMainThread(@NonNull Runnable runnable) { in postOnMainThread()
/frameworks/base/core/java/android/window/
DSurfaceSyncGroup.java241 public void addSyncCompleteCallback(Executor executor, Runnable runnable) { in addSyncCompleteCallback()
320 @Nullable Runnable runnable) { in add()
350 @Nullable Runnable runnable) { in add()
380 @Nullable Runnable runnable) { in add()
400 @Nullable Runnable runnable) { in add()
828 Runnable runnable = () -> { in addTimeout() local
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DThreadUtils.java76 public static ListenableFuture postOnBackgroundThread(@NonNull Runnable runnable) { in postOnBackgroundThread()
100 public static void postOnMainThread(@NonNull Runnable runnable) { in postOnMainThread()
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DThreadingDomain.java77 abstract void post(@NonNull Runnable runnable); in post()
87 final void postAndWait(@NonNull Runnable runnable, @DurationMillisLong long durationMillis) { in postAndWait()
113 abstract void postDelayed(@NonNull Runnable runnable, @DurationMillisLong long delayMillis); in postDelayed()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/
DHookWidget.java37 public static void setOnPreDrawHook(Runnable runnable) { in setOnPreDrawHook()
41 public static void setOnPreMeasure(Runnable runnable) { in setOnPreMeasure()
45 public static void setOnPreLayout(Runnable runnable) { in setOnPreLayout()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/
DListenerSetTest.kt56 val runnable = Runnable {} in isEmpty_changes() constant
185 for (runnable in runnableSet) { in remove_isReentrantSafe() method
209 for (runnable in runnableSet) { in addIfAbsent_isReentrantSafe() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DExecutorImpl.java72 public final Runnable runnable; field in ExecutorImpl.ExecutionToken
74 private ExecutionToken(Runnable runnable) { in ExecutionToken()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserSwitchWaiter.java82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilBootCompleted()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSwitchWaiter.java82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilBootCompleted()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandlerTest.java423 public void execute(Runnable runnable) { in execute()
428 public void executeDelayed(Runnable runnable, long delayMillis) { in executeDelayed()
433 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
437 public boolean hasCallback(Runnable runnable) { in hasCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java175 private void hideCurrentToast(Runnable runnable) { in hideCurrentToast()
223 @Nullable Runnable runnable, in ToastOutAnimatorListener()
231 void setShowNextToastRunnable(Runnable runnable) { in setShowNextToastRunnable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/animation/
DPipAlphaAnimator.java81 public void setAnimationStartCallback(@NonNull Runnable runnable) { in setAnimationStartCallback()
85 public void setAnimationEndCallback(@NonNull Runnable runnable) { in setAnimationEndCallback()
/frameworks/base/services/core/java/com/android/server/
DSystemServerInitThreadPool.java80 public static @NonNull Future<?> submit(@NonNull Runnable runnable, in submit()
94 private @NonNull Future<?> submitTask(@NonNull Runnable runnable, in submitTask()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
DInputMethodServiceTest.java695 Runnable runnable, boolean expected, boolean inputViewStarted) in verifyInputViewStatus()
702 Runnable runnable, boolean expected, boolean inputViewStarted) in verifyInputViewStatusOnMainSync()
717 Runnable runnable, boolean expected, boolean inputViewStarted, boolean runOnMainSync) in verifyInputViewStatusInternal()
767 Runnable runnable, boolean expected, boolean orientationPortrait) in verifyFullscreenMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DUiOffloadThread.java40 public Future<?> execute(Runnable runnable) { in execute()
DDejankUtils.java133 public static void detectBlockingIpcs(Runnable runnable) { in detectBlockingIpcs()
186 public static void whitelistIpcs(Runnable runnable) { in whitelistIpcs()

12345678