/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 54 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
|
D | MockExecutorHandlerTest.kt | 37 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/ |
D | MockExecutorHandler.kt | 50 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/ |
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()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
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()
|
/frameworks/base/core/java/com/android/internal/view/ |
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()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | HandlerInjector.java | 33 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() 38 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
|
D | ThreadUtils.java | 74 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/ |
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
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | ThreadUtils.java | 76 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/ |
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()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/ |
D | HookWidget.java | 37 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/ |
D | ListenerSetTest.kt | 56 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/ |
D | ExecutorImpl.java | 72 public final Runnable runnable; field in ExecutorImpl.ExecutionToken 74 private ExecutionToken(Runnable runnable) { in ExecutionToken()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserSwitchWaiter.java | 82 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/ |
D | UserSwitchWaiter.java | 82 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/ |
D | UnfoldTransitionHandlerTest.java | 423 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/ |
D | ToastUI.java | 175 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/ |
D | PipAlphaAnimator.java | 81 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/ |
D | SystemServerInitThreadPool.java | 80 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/ |
D | InputMethodServiceTest.java | 695 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/ |
D | UiOffloadThread.java | 40 public Future<?> execute(Runnable runnable) { in execute()
|
D | DejankUtils.java | 133 public static void detectBlockingIpcs(Runnable runnable) { in detectBlockingIpcs() 186 public static void whitelistIpcs(Runnable runnable) { in whitelistIpcs()
|