Home
last modified time | relevance | path

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

12345

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/eventloop/
DEventLoop.java75 public void postAndWait(final NamedRunnable runnable) throws InterruptedException { in postAndWait()
86 public void postToFrontAndWait(final NamedRunnable runnable) throws InterruptedException { in postToFrontAndWait()
91 public boolean isPosted(NamedRunnable runnable) { in isPosted()
100 public void postRunnable(NamedRunnable runnable) { in postRunnable()
109 public void postEmptyQueueRunnable(final NamedRunnable runnable) { in postEmptyQueueRunnable()
119 public void postRunnableDelayed(NamedRunnable runnable, long delayedMillis) { in postRunnableDelayed()
127 public void removeRunnable(@Nullable NamedRunnable runnable) { in removeRunnable()
143 void postAndWait(NamedRunnable runnable) throws InterruptedException; in postAndWait()
145 void postToFrontAndWait(NamedRunnable runnable) throws InterruptedException; in postToFrontAndWait()
147 boolean isPosted(NamedRunnable runnable); in isPosted()
[all …]
DHandlerEventLoopImpl.java117 public void postAndWait(final NamedRunnable runnable) throws InterruptedException { in postAndWait()
122 public void postToFrontAndWait(final NamedRunnable runnable) throws InterruptedException { in postToFrontAndWait()
128 public boolean isPosted(NamedRunnable runnable) { in isPosted()
138 public void postRunnable(NamedRunnable runnable) { in postRunnable()
149 public void postEmptyQueueRunnable(final NamedRunnable runnable) { in postEmptyQueueRunnable()
173 public void postRunnableDelayed(NamedRunnable runnable, long delayedMillis) { in postRunnableDelayed()
183 public void removeRunnable(@Nullable NamedRunnable runnable) { in removeRunnable()
216 private void internalPostAndWait(final NamedRunnable runnable, boolean postToFront) in internalPostAndWait()
249 NamedRunnable runnable = (NamedRunnable) msg.obj; in handleMessage() local
274 private boolean post(NamedRunnable runnable, long delayedMillis, boolean postToFront) { in post()
[all …]
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileDownloaderTest.java76 WorkerThread(Runnable runnable) { in WorkerThread()
132 Runnable runnable = new Runnable() { in testDownloadSuccessCallback() local
174 Runnable runnable = new Runnable() { in testDownloadFailureUnresolvableError() local
209 Runnable runnable = new Runnable() { in testDownloadFailureMemoryFullError() local
256 Runnable runnable = new Runnable() { in testDownloadFailureConnectionError() local
310 Runnable runnable = new Runnable() { in testDownloadFailureTimeout() local
364 Runnable runnable = new Runnable() { in testDownloadFailureOperationBusy() local
418 Runnable runnable = new Runnable() { in testDownloadFailureInvalidResponse() local
459 Runnable runnable = new Runnable() { in testDownloadOpCode() local
540 Runnable runnable = new Runnable() { in testSMDPErrorParsing() local
DONSProfileActivatorTest.java111 WorkerThread(Runnable runnable) { in WorkerThread()
456 Runnable runnable = new Runnable() { in testCalculateBackoffDelay() local
668 TestRunnable runnable = new TestRunnable(); in testESIMDownloadFailureAndRetry() local
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DThreadUtil.java27 public static void postOnUiThread(Runnable runnable) { in postOnUiThread()
32 public static void postDelayedOnUiThread(Runnable runnable, long delayMillis) { in postDelayedOnUiThread()
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java47 public AutoHideScheduler(Context context, Runnable runnable) { in AutoHideScheduler()
55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler()
92 protected void handleMessage(Message msg, @NonNull Runnable runnable) { in handleMessage()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/
DCancelableAlarm.java47 Runnable runnable, in CancelableAlarm()
68 Runnable runnable, in createSingleAlarm()
88 Runnable runnable, in createRecurringAlarm()
/packages/apps/Contacts/src/com/android/contacts/util/
DSchedulingUtils.java28 public static void doAfterLayout(final View view, final Runnable runnable) { in doAfterLayout()
42 final Runnable runnable) { in doOnPreDraw()
/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/
DSystemUtil.java33 public static void runWithShellPermissionIdentity( in runWithShellPermissionIdentity()
50 @NonNull ThrowingRunnable runnable, in runWithShellPermissionIdentity()
/packages/apps/Settings/src/com/android/settings/network/
DResetNetworkOperationBuilder.java135 Runnable runnable = () -> { in resetEsim() local
194 Runnable runnable = () -> { in resetApn() local
228 Runnable runnable = () -> { in attachSystemServiceWork() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiThreadRunner.java105 public boolean run(@NonNull Runnable runnable) { in run()
128 public boolean runAtFront(@NonNull Runnable runnable) { in runAtFront()
180 public boolean post(@NonNull Runnable runnable) { in post()
193 public boolean postDelayed(@NonNull Runnable runnable, long delayMillis) { in postDelayed()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerSetupViewTest.java127 Runnable runnable = () -> { in validateDefaultState_NoTimersExist() local
150 Runnable runnable = () -> { in type0InDefaultState_NoTimersExist() local
205 Runnable runnable = () -> { in fillDisplayThenDeleteAll_NoTimersExist() local
233 Runnable runnable = () -> { in fillDisplayWith9s_NoTimersExist() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowThreadUtils.java37 protected static void postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread()
42 protected static void postOnMainThread(Runnable runnable) { in postOnMainThread()
/packages/apps/Dialer/java/com/android/dialer/util/
DViewUtil.java90 @NonNull final View view, final boolean drawNextFrame, final Runnable runnable) { in doOnPreDraw()
104 @NonNull final View view, final boolean drawNextFrame, final ViewRunnable runnable) { in doOnPreDraw()
117 public static void doOnGlobalLayout(@NonNull final View view, final ViewRunnable runnable) { in doOnGlobalLayout()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DThreadUtils.java68 public static Future postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread()
84 public static void postOnMainThread(Runnable runnable) { in postOnMainThread()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySetupWizardUtils.java75 Runnable runnable) { in setPrimaryButton()
96 @StringRes int text, Runnable runnable) { in setSecondaryButton()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperExecutor.java43 public void execute(Runnable runnable) { in execute()
54 public void post(Runnable runnable) { in post()
DRunnableList.java31 public void add(Runnable runnable) { in add()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DSearchSessionUtil.java84 @NonNull Runnable runnable) { in safeExecute()
111 @NonNull Runnable runnable) { in safeExecute()
/packages/apps/Messaging/src/com/android/messaging/util/
DSafeAsyncTask.java144 public static void executeOnThreadPool(final Runnable runnable) { in executeOnThreadPool()
158 public static void executeOnThreadPool(final Runnable runnable, final boolean withWakeLock) { in executeOnThreadPool()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/registration/
DBinderListenerRegistrationTest.java133 public BinderListenerRegistration<Runnable> addListener(IBinder binder, Runnable runnable, in addListener()
148 protected TestListenerRegistration(IBinder binder, Runnable runnable, int value) { in TestListenerRegistration()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/watchdog/
DCarWatchdogManagerPermissionTest.java207 private void expectPermissionException(String permission, ThrowingRunnable runnable) { in expectPermissionException()
212 private void expectPermissionException(List<String> permissions, ThrowingRunnable runnable) { in expectPermissionException()
/packages/apps/Camera2/src/com/android/camera/async/
DAndroidPriorityThread.java18 public AndroidPriorityThread(int androidThreadPriority, Runnable runnable) { in AndroidPriorityThread()
DHandlerExecutor.java37 public void execute(Runnable runnable) { in execute()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/common/
DNamedRunnable.java30 public static NamedRunnable create(String name, Runnable runnable) { in create()

12345