Home
last modified time | relevance | path

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

123456

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
H A DFakeExecutorTest.java55 RunnableImpl runnable = new RunnableImpl(); in testNoDelay() local
104 RunnableImpl runnable = new RunnableImpl(); in testDelayed() local
138 RunnableImpl runnable = new RunnableImpl(); in testDelayed_AdvanceAndRun() local
253 RunnableImpl runnable = new RunnableImpl(); in testRemoval_single() local
293 RunnableImpl runnable = new RunnableImpl(); in testRemoval_multi() local
329 Runnable runnable = () -> assertThat(fakeExecutor.isExecuting()).isTrue(); in testIsExecuting() local
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DThreadUtils.java67 public static Future postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread()
83 public static void postOnMainThread(Runnable runnable) { in postOnMainThread()
90 public static void postOnMainThreadDelayed(Runnable runnable, long delayMillis) { in postOnMainThreadDelayed()
H A DHandlerInjector.java33 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed()
38 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/incident/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A 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()
/aosp14/frameworks/base/core/java/android/window/
H A 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
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
H A DUnfoldTransitionHandlerTest.java262 public void execute(Runnable runnable) { in execute()
267 public void executeDelayed(Runnable runnable, long delayMillis) { in executeDelayed()
272 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
276 public boolean hasCallback(Runnable runnable) { in hasCallback()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemServerInitThreadPool.java80 public static @NonNull Future<?> submit(@NonNull Runnable runnable, in submit()
94 private @NonNull Future<?> submitTask(@NonNull Runnable runnable, in submitTask()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/wakelock/
H A DWakeLockFake.java39 public Runnable wrap(Runnable runnable) { in wrap()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
H A DInputMethodServiceTest.java616 Runnable runnable, boolean expected, boolean inputViewStarted) in verifyInputViewStatus()
623 Runnable runnable, boolean expected, boolean inputViewStarted) in verifyInputViewStatusOnMainSync()
638 Runnable runnable, boolean expected, boolean inputViewStarted, boolean runOnMainSync) in verifyInputViewStatusInternal()
688 Runnable runnable, boolean expected, boolean orientationPortrait) in verifyFullscreenMode()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DExecutorImpl.java72 public final Runnable runnable; field in ExecutorImpl.ExecutionToken
74 private ExecutionToken(Runnable runnable) { in ExecutionToken()
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserSwitchWaiter.java82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) throws RemoteException { in runThenWaitUntilBootCompleted()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserSwitchWaiter.java82 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilSwitchCompleted()
90 FunctionalUtils.ThrowingRunnable runnable, Runnable onFail) { in runThenWaitUntilBootCompleted()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastUI.java171 private void hideCurrentToast(Runnable runnable) { in hideCurrentToast()
218 @Nullable Runnable runnable) { in ToastOutAnimatorListener()
224 void setShowNextToastRunnable(Runnable runnable) { in setShowNextToastRunnable()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DCommonUtils.java29 public static void runWithShellPermissionIdentity(Runnable runnable) { in runWithShellPermissionIdentity()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DUiOffloadThread.java40 public Future<?> execute(Runnable runnable) { in execute()
H A DDejankUtils.java133 public static void detectBlockingIpcs(Runnable runnable) { in detectBlockingIpcs()
186 public static void whitelistIpcs(Runnable runnable) { in whitelistIpcs()
H A DInitController.java45 public void addPostInitTask(Runnable runnable) { in addPostInitTask()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DWorkSourceUidPreservingRunnable.java31 public WorkSourceUidPreservingRunnable(Runnable runnable) { in WorkSourceUidPreservingRunnable()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DTestThreadingDomain.java43 @NonNull public final Runnable runnable; field in TestThreadingDomain.QueuedRunnable
47 QueuedRunnable(@NonNull Runnable runnable, @Nullable Object token, in QueuedRunnable()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DProtoLogIntegrationTest.java69 private void runWith(ProtoLogImpl mockInstance, Runnable runnable) { in runWith()

123456