/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/concurrency/ |
H A 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
|
H A 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
|
/aosp_15_r20/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/ |
H A D | ActivityContext.java | 118 public static <E> E getWithContext(Function<ActivityContext, E> runnable) in getWithContext() 127 public static <E> E getWithContext(Function<ActivityContext, E> runnable, in getWithContext() 134 public static void runWithContext(Consumer<ActivityContext> runnable) in runWithContext() 147 public static void runWithContext(Consumer<ActivityContext> runnable, in runWithContext() 157 BiFunction<ActivityContext, E, F> runnable) throws InterruptedException { in getWithContext() 167 BiFunction<ActivityContext, E, F> runnable, in getWithContext() 176 public static <E> void runWithContext(E arg1, BiConsumer<ActivityContext, E> runnable) in runWithContext() 189 public static <E> void runWithContext(E arg1, BiConsumer<ActivityContext, E> runnable, in runWithContext() 200 TriFunction<ActivityContext, E, F, G> runnable) throws InterruptedException { in getWithContext() 210 TriFunction<ActivityContext, E, F, G> runnable, in getWithContext() [all …]
|
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowPausedLooper.java | 203 public boolean post(Runnable runnable, long delayMillis) { in post() 208 public boolean postAtFrontOfQueue(Runnable runnable) { in postAtFrontOfQueue() 217 public void postSync(Runnable runnable) { in postSync() 229 void postSyncQuiet(Runnable runnable) { in postSyncQuiet() 240 public void runPaused(Runnable runnable) { in runPaused() 626 private final Runnable runnable; field in ShadowPausedLooper.PostAndIdleToRunnable 628 PostAndIdleToRunnable(Runnable runnable) { in PostAndIdleToRunnable() 648 private final Runnable runnable; field in ShadowPausedLooper.PostAsyncAndIdleToRunnable 651 PostAsyncAndIdleToRunnable(Runnable runnable) { in PostAsyncAndIdleToRunnable() 676 private void executeOnLooper(ControlRunnable runnable) throws IllegalStateException { in executeOnLooper() [all …]
|
/aosp_15_r20/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileDownloaderTest.java | 82 WorkerThread(Runnable runnable) { in WorkerThread() 141 Runnable runnable = new Runnable() { in testDownloadSuccessCallback() local 186 Runnable runnable = new Runnable() { in testDownloadFailureUnresolvableError() local 224 Runnable runnable = new Runnable() { in testDownloadFailureMemoryFullError() local 274 Runnable runnable = new Runnable() { in testDownloadFailureConnectionError() local 331 Runnable runnable = new Runnable() { in testDownloadFailureTimeout() local 388 Runnable runnable = new Runnable() { in testDownloadFailureOperationBusy() local 445 Runnable runnable = new Runnable() { in testDownloadFailureInvalidResponse() local 489 Runnable runnable = new Runnable() { in testDownloadOpCode() local 573 Runnable runnable = new Runnable() { in testSMDPErrorParsing() local
|
/aosp_15_r20/external/robolectric/utils/src/main/java/org/robolectric/util/ |
H A D | Scheduler.java | 146 public synchronized void post(Runnable runnable) { in post() 156 public synchronized void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() 161 public synchronized void postDelayed(Runnable runnable, long delay, TimeUnit unit) { in postDelayed() 176 public synchronized void postAtFrontOfQueue(Runnable runnable) { in postAtFrontOfQueue() 195 public synchronized void remove(Runnable runnable) { in remove() 356 private void runOrQueueRunnable(Runnable runnable, long scheduledTime) { in runOrQueueRunnable() 385 private final Runnable runnable; field in Scheduler.ScheduledRunnable 389 private ScheduledRunnable(Runnable runnable, long scheduledTime) { in ScheduledRunnable() 393 private ScheduledRunnable(Runnable runnable, long scheduledTime, long timeDisambiguator) { in ScheduledRunnable() 400 public int compareTo(ScheduledRunnable runnable) { in compareTo()
|
/aosp_15_r20/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()
|
/aosp_15_r20/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/ |
H A D | MockA11yIme.java | 371 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable) { in recordEventInternal() 375 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable, in recordEventInternal() 426 void onCreate(@NonNull Runnable runnable) { in onCreate() 430 void onServiceConnected(@NonNull Runnable runnable) { in onServiceConnected() 435 @NonNull Runnable runnable) { in onAccessibilityEvent() 441 void onInterrupt(@NonNull Runnable runnable) { in onInterrupt() 445 void onDestroy(@NonNull Runnable runnable) { in onDestroy() 449 void onStartInput(EditorInfo editorInfo, boolean restarting, @NonNull Runnable runnable) { in onStartInput() 456 void onFinishInput(@NonNull Runnable runnable) { in onFinishInput() 461 int candidatesStart, int candidatesEnd, @NonNull Runnable runnable) { in onUpdateSelection()
|
/aosp_15_r20/external/grpc-grpc-java/api/src/main/java/io/grpc/ |
H A D | SynchronizationContext.java | 91 Runnable runnable; in drain() local 113 public final void executeLater(Runnable runnable) { in executeLater() 150 final ManagedRunnable runnable = new ManagedRunnable(task); in schedule() local 180 final ManagedRunnable runnable = new ManagedRunnable(task); in scheduleWithFixedDelay() local 225 private final ManagedRunnable runnable; field in SynchronizationContext.ScheduledHandle 228 private ScheduledHandle(ManagedRunnable runnable, ScheduledFuture<?> future) { in ScheduledHandle()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
H A 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
|
/aosp_15_r20/external/rust/android-crates-io/crates/async-task/tests/ |
D | waker_panic.rs | 116 let runnable = chan.recv().unwrap(); in wake_during_run() localVariable 159 let runnable = chan.recv().unwrap(); in cancel_during_run() localVariable 201 let runnable = chan.recv().unwrap(); in wake_and_cancel_during_run() localVariable 255 let runnable = chan.recv().unwrap(); in cancel_and_wake_during_run() localVariable 311 let runnable = chan.recv().unwrap(); in panic_and_poll() localVariable
|
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiThreadRunner.java | 122 public boolean run(@NonNull Runnable runnable, String taskName) { in run() 141 public boolean run(@NonNull Runnable runnable) { in run() 153 public boolean runAtFront(@NonNull Runnable runnable, String taskName) { in runAtFront() 208 public boolean post(@NonNull Runnable runnable, @Nullable String taskName) { in post() 217 public boolean post(@NonNull Runnable runnable) { in post() 230 public boolean postDelayed(@NonNull Runnable runnable, long delayMillis, String taskName) { in postDelayed()
|
/aosp_15_r20/external/aws-sdk-java-v2/test/protocol-tests/src/test/java/software/amazon/awssdk/protocol/tests/exception/ |
H A D | RestXmlExceptionTests.java | 236 private void assertThrowsServiceBaseException(Runnable runnable) { in assertThrowsServiceBaseException() 240 private void assertThrowsIllegalArgumentException(Runnable runnable) { in assertThrowsIllegalArgumentException() 244 private void assertThrowsNullPointerException(Runnable runnable) { in assertThrowsNullPointerException() 248 …private void assertThrowsException(Runnable runnable, Class<? extends Exception> expectedException… in assertThrowsException() 256 …private void assertThrowsNestedExceptions(Runnable runnable, Class<? extends Exception> parentExce… in assertThrowsNestedExceptions()
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/network/ |
D | ResetNetworkOperationBuilder.java | 149 Runnable runnable = () -> { in resetEsim() local 211 Runnable runnable = () -> { in resetApn() local 266 Runnable runnable = () -> { in restartPhoneProcess() local 288 Runnable runnable = () -> { in restartRild() local 315 Runnable runnable = () -> { in attachSystemServiceWork() local
|
/aosp_15_r20/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
H A D | CurrentSpanUtilsTest.java | 45 private void executeRunnableAndExpectError(Runnable runnable, Throwable error) { in executeRunnableAndExpectError() 116 Runnable runnable = in withSpanRunnable() local 132 Runnable runnable = in withSpanRunnable_EndSpan() local 149 Runnable runnable = in withSpanRunnable_WithError() local 168 Runnable runnable = in withSpanRunnable_WithErrorNoMessage() local
|
/aosp_15_r20/external/grpc-grpc-java/api/src/test/java/io/grpc/ |
H A D | GlobalInterceptorsTest.java | 40 Class<?> runnable = classLoader.loadClass(StaticTestingClassLoaderSet.class.getName()); in setInterceptorsTracers() local 46 Class<?> runnable = classLoader.loadClass(StaticTestingClassLoaderSetTwice.class.getName()); in setGlobalInterceptorsTracers_twice() local 52 Class<?> runnable = in getBeforeSet_clientInterceptors() local 60 Class<?> runnable = in getBeforeSet_serverInterceptors() local 68 Class<?> runnable = in getBeforeSet_serverStreamTracerFactories() local
|
/aosp_15_r20/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/ |
H A D | LooperDelegatingScheduler.java | 60 public void post(Runnable runnable) { in post() 66 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() 72 public void postDelayed(Runnable runnable, long delay, TimeUnit unit) { in postDelayed() 78 public void postAtFrontOfQueue(Runnable runnable) { in postAtFrontOfQueue() 84 public void remove(Runnable runnable) { in remove()
|
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/ |
H A D | RoboExecutorService.java | 39 public AdvancingFutureTask(Scheduler scheduler, Runnable runnable, V result) { in AdvancingFutureTask() 96 public <T> Future<T> submit(Runnable runnable, T t) { in submit() 101 public Future<?> submit(Runnable runnable) { in submit() 106 Runnable runnable = in schedule() local 146 public void execute(Runnable runnable) { in execute()
|
/aosp_15_r20/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
|
/aosp_15_r20/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | IRunUtil.java | 342 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed() 359 IRunUtil.IRunnableResult runnable, in runTimedWithOutputMonitor() 372 IRunUtil.IRunnableResult runnable); in runTimedRetry() 391 IRunUtil.IRunnableResult runnable); in runTimedRetryWithOutputMonitor() 403 final long maxTime, final IRunUtil.IRunnableResult runnable); in runFixedTimedRetry() 422 final IRunUtil.IRunnableResult runnable); in runFixedTimedRetryWithOutputMonitor() 439 final long maxPollInterval, final long maxTime, final IRunUtil.IRunnableResult in runEscalatingTimedRetry()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/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()
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/android/internal/ |
H A D | LooperDelegatingSchedulerTest.java | 35 Runnable runnable = mock(Runnable.class); in runOneTask() local 49 Runnable runnable = mock(Runnable.class); in advanceTo() local 59 Runnable runnable = mock(Runnable.class); in advanceBy() local 71 Runnable runnable = mock(Runnable.class); in size() local
|
/aosp_15_r20/external/emma/core/java13/com/vladium/util/exit/ |
H A D | ExitHookManager.java | 29 public abstract boolean addExitHook (Runnable runnable); in addExitHook() 30 public abstract boolean removeExitHook (Runnable runnable); in removeExitHook() 61 public synchronized boolean addExitHook (final Runnable runnable) in addExitHook() 84 public synchronized boolean removeExitHook (final Runnable runnable) in removeExitHook()
|
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
H A D | DummyMainThread.java | 54 public void runOnMainThread(final Runnable runnable) { in runOnMainThread() 65 public void runOnMainThread(int timeoutMs, final Runnable runnable) { in runOnMainThread() 75 public void runTestOnMainThread(final TestRunnable runnable) { in runTestOnMainThread() 86 public void runTestOnMainThread(int timeoutMs, final TestRunnable runnable) { in runTestOnMainThread()
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
H A D | DummyMainThread.java | 54 public void runOnMainThread(final Runnable runnable) { in runOnMainThread() 65 public void runOnMainThread(int timeoutMs, final Runnable runnable) { in runOnMainThread() 75 public void runTestOnMainThread(final TestRunnable runnable) { in runTestOnMainThread() 86 public void runTestOnMainThread(int timeoutMs, final TestRunnable runnable) { in runTestOnMainThread()
|