/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | ShellExecutor.java | 36 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 D | SyncExecutor.java | 27 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 D | FakeExecutorTest.java | 55 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 D | ThreadUtils.java | 67 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 D | HandlerInjector.java | 33 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 D | ExponentialBackoff.java | 54 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 D | RequestQueue.java | 66 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 D | OneShotPreDrawListener.java | 41 @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 D | ThreadingDomain.java | 77 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 D | SurfaceSyncGroup.java | 241 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 D | UnfoldTransitionHandlerTest.java | 262 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 D | SystemServerInitThreadPool.java | 80 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 D | WakeLockFake.java | 39 public Runnable wrap(Runnable runnable) { in wrap()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/ |
H A D | InputMethodServiceTest.java | 616 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 D | ExecutorImpl.java | 72 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 D | UserSwitchWaiter.java | 82 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 D | UserSwitchWaiter.java | 82 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 D | ToastUI.java | 171 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 D | CommonUtils.java | 29 public static void runWithShellPermissionIdentity(Runnable runnable) { in runWithShellPermissionIdentity()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | UiOffloadThread.java | 40 public Future<?> execute(Runnable runnable) { in execute()
|
H A D | DejankUtils.java | 133 public static void detectBlockingIpcs(Runnable runnable) { in detectBlockingIpcs() 186 public static void whitelistIpcs(Runnable runnable) { in whitelistIpcs()
|
H A D | InitController.java | 45 public void addPostInitTask(Runnable runnable) { in addPostInitTask()
|
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | WorkSourceUidPreservingRunnable.java | 31 public WorkSourceUidPreservingRunnable(Runnable runnable) { in WorkSourceUidPreservingRunnable()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
H A D | TestThreadingDomain.java | 43 @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 D | ProtoLogIntegrationTest.java | 69 private void runWith(ProtoLogImpl mockInstance, Runnable runnable) { in runWith()
|