/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 165 private void asyncExecuteTaskWithWriteLock(final Runnable task) { in asyncExecuteTaskWithWriteLock() 169 private static void asyncExecuteTaskWithLock(final Lock lock, final Runnable task) { in asyncExecuteTaskWithLock() 170 ExecutorUtils.getBackgroundExecutor(ExecutorUtils.KEYBOARD).execute(new Runnable() { in asyncExecuteTaskWithLock() 200 asyncExecuteTaskWithWriteLock(new Runnable() { in close() 221 asyncExecuteTaskWithWriteLock(new Runnable() { in removeBinaryDictionary() 249 asyncExecuteTaskWithWriteLock(new Runnable() { in clear() 262 asyncExecuteTaskWithWriteLock(new Runnable() { in runGCIfRequired() 279 private void updateDictionaryWithWriteLock(@Nonnull final Runnable updateTask) { in updateDictionaryWithWriteLock() 281 final Runnable task = new Runnable() { in updateDictionaryWithWriteLock() 299 updateDictionaryWithWriteLock(new Runnable() { in addUnigramEntry() [all …]
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 109 private final ArrayList<Runnable> mPendingRunnables = new ArrayList<>(); 130 for (Runnable r : mPendingRunnables) { in shutdown() 136 public List<Runnable> shutdownNow() { in shutdownNow() 138 List<Runnable> runnables = new ArrayList<>(mPendingRunnables); in shutdownNow() 167 public <T> Future<T> submit(Runnable task, T result) { in submit() 172 public Future<?> submit(Runnable task) { in submit() 203 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() 222 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() 228 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() 234 public void execute(Runnable command) { in execute() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | LauncherAnimationRunner.java | 88 Runnable runnable) { in onAnimationStart() 89 Runnable r = () -> { in onAnimationStart() 105 RemoteAnimationTargetCompat[] wallpaperTargets, Runnable runnable) { in onAnimationStart() 113 public void onAnimationStart(RemoteAnimationTargetCompat[] appTargets, Runnable runnable) { in onAnimationStart() 145 private final Runnable mSyncFinishRunnable; 146 private final Runnable mASyncFinishRunnable; 149 private Runnable mOnCompleteCallback; 153 private AnimationResult(Runnable syncFinishRunnable, Runnable asyncFinishRunnable) { in AnimationResult() 184 @Nullable Runnable onCompleteCallback, boolean skipFirstFrame) { in setAnimation()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 70 mMainHandler.execute(new Runnable() { in notifyTaskQueued() 88 mMainHandler.execute(new Runnable() { in notifyTaskDone() 108 mMainHandler.execute(new Runnable() { in notifyTaskFailed() 123 mMainHandler.execute(new Runnable() { in notifyTaskCanceled() 142 mMainHandler.execute(new Runnable() { in notifyTaskProgress() 160 mMainHandler.execute(new Runnable() { in notifyTaskProgressText() 178 mMainHandler.execute(new Runnable() { in notifySessionUpdated() 201 mMainHandler.execute(new Runnable() { in notifySessionCaptureIndicatorAvailable() 215 mMainHandler.execute(new Runnable() { in notifySessionThumbnailAvailable() 230 mMainHandler.execute(new Runnable() { in notifySessionPictureDataAvailable() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 100 private class ImageGetterRunnable implements Runnable { 102 private Runnable callback(final int position, final int offset, in callback() 106 return new Runnable() { in callback() 119 private Runnable completedCallback(final int requestSerial) { 120 return new Runnable() { 180 Runnable cb = callback(mCurrentPosition, offset, 216 Runnable cb = callback(mCurrentPosition, offset, 293 ((Runnable) message.obj).run(); 298 public void postGetterCallback(Runnable callback) { 302 public void postDelayedGetterCallback(Runnable callback, long delay) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ExecutorUtils.java | 54 public Thread newThread(final Runnable runnable) { in newThread() 122 public static Runnable chain(final Runnable... runnables) { in chain() 127 public static class RunnableChain implements Runnable { 128 private final Runnable[] mRunnables; 130 private RunnableChain(final Runnable... runnables) { in RunnableChain() 138 public Runnable[] getRunnables() { in getRunnables() 144 for (Runnable runnable : mRunnables) { in run()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 375 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertBaseUriThrowsSecurityExceptions() 382 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertBaseUriThrowsSecurityExceptions() 389 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertBaseUriThrowsSecurityExceptions() 396 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertBaseUriThrowsSecurityExceptions() 425 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testPermissions_InsertAndQuery() 438 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertOnlyOwnVoicemailsCanBeQueriedAndInserted() 488 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertOnlyOwnVoicemailsCanBeUpdatedAndDeleted() 494 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in assertOnlyOwnVoicemailsCanBeUpdatedAndDeleted() 586 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in checkHasNoReadAccessToUri() 592 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in checkHasNoReadAccessToUri() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 353 Optional.<Runnable> absent()); in receiveImage() 377 Optional<Runnable> runnableWhenDone) in receiveImage() 426 Optional<Runnable> runnableWhenDone) in receiveImage() 524 final Optional<Runnable> runnableOptional; in receiveImage() 527 Runnable unregisterRunnable = new Runnable() { in receiveImage() 535 runnableOptional = Optional.<Runnable> absent(); in receiveImage() 587 Optional<Runnable> runnableWhenDone) { in initializeTaskDone() 760 Runnable closeTask = new Runnable() { in closeImageExecutorSafe() 804 private class TaskDoneWrapper implements Runnable { 833 Runnable doneRunnable = mImageShadowTask.getRunnableWhenDone(); in run() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestScheduledExecutorService.java | 51 public List<Runnable> shutdownNow() { in shutdownNow() 81 public <T> Future<T> submit(Runnable task, T result) { in submit() 86 public Future<?> submit(Runnable task) { in submit() 115 public void execute(Runnable command) { in execute() 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() 132 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() 138 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() 184 final Runnable runnable; 188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventLoader.java | 66 public Runnable uiCallback; 76 final Runnable uiCallback) in LoadEventDaysRequest() 130 public Runnable successCallback; 131 public Runnable cancelCallback; 134 final Runnable successCallback, final Runnable cancelCallback) { in LoadEventsRequest() 240 int startDay, final Runnable successCallback, final Runnable cancelCallback) { in loadEventsInBackground() 272 final Runnable uiCallback) in loadEventDaysInBackground()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiThreadRunner.java | 105 public boolean run(@NonNull Runnable runnable) { in run() 158 public boolean post(@NonNull Runnable runnable) { in post() 171 public boolean postDelayed(@NonNull Runnable runnable, long delayMillis) { in postDelayed() 180 public final void removeCallbacks(@NonNull Runnable r) { in removeCallbacks() 225 private boolean runWithScissors(@NonNull Handler handler, @NonNull Runnable r, in runWithScissors() 248 private static final class BlockingRunnable implements Runnable { 249 private final Runnable mTask; 252 BlockingRunnable(Runnable task) { in BlockingRunnable()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/ |
D | UniqueExecutor.java | 34 private final Collection<Runnable> mRunning = Collections.synchronizedSet(new HashSet<>()); 37 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue) { in UniqueExecutor() 42 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor() 48 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor() 54 @NonNull TimeUnit unit, @NonNull BlockingQueue<Runnable> workQueue, in UniqueExecutor() 61 public void execute(@NonNull Runnable command) { in execute() 69 protected void afterExecute(@NonNull Runnable r, @Nullable Throwable t) { in afterExecute()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.kt | 63 fun addMinuteCallback(runnable: Runnable, offset: Long) { in addMinuteCallback() 70 fun addQuarterHourCallback(runnable: Runnable) { in addQuarterHourCallback() 79 fun addHourCallback(runnable: Runnable) { in addHourCallback() 88 fun addMidnightCallback(runnable: Runnable) { in addMidnightCallback() 97 private fun addPeriodicCallback(runnable: Runnable, period: Period, offset: Long) { in addPeriodicCallback() 106 fun removePeriodicCallback(runnable: Runnable) { in removePeriodicCallback() 120 val mDelegate: Runnable, 123 ) : Runnable {
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | PopupTransitionAnimation.java | 72 private Runnable mOnStartCallback; 73 private Runnable mOnStopCallback; 112 private final Runnable mCleanupRunnable = new Runnable() { 129 final Runnable startAnimation = new Runnable() { in startAfterLayoutComplete() 171 public PopupTransitionAnimation setOnStartCallback(final Runnable onStart) { in setOnStartCallback() 176 public PopupTransitionAnimation setOnStopCallback(final Runnable onStop) { in setOnStopCallback() 210 ThreadUtil.getMainThreadHandler().post(new Runnable() { in dismiss()
|
/packages/apps/TV/src/com/android/tv/ui/hideable/ |
D | AutoHideScheduler.java | 45 private final Runnable mRunnable; 47 public AutoHideScheduler(Context context, Runnable runnable) { in AutoHideScheduler() 55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler() 82 private static class HideHandler extends WeakHandler<Runnable> 87 public HideHandler(Looper looper, Runnable hideRunner) { in HideHandler() 92 protected void handleMessage(Message msg, @NonNull Runnable runnable) { in handleMessage()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | PictureCallbackAdapter.java | 47 mMainExecutor.execute(new Runnable() { in provideQuickExposeUpdatable() 60 mMainExecutor.execute(new Runnable() { 73 mMainExecutor.execute(new Runnable() { 86 mMainExecutor.execute(new Runnable() { 100 mMainExecutor.execute(new Runnable() { 114 mMainExecutor.execute(new Runnable() {
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusController.java | 49 mMainThread.execute(new Runnable() { in showPassiveFocusAtCenter() 68 mMainThread.execute(new Runnable() { in showPassiveFocusAt() 87 mMainThread.execute(new Runnable() { in showActiveFocusAt() 104 mMainThread.execute(new Runnable() { in clearFocusIndicator() 119 mMainThread.execute(new Runnable() { in configurePreviewDimensions() 133 mMainThread.execute(new Runnable() { in setFocusRatio()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivityTest.java | 98 Runnable assertRunnable = () -> { in validateDefaultState_TimerRingtonePicker() 136 Runnable assertRunnable = () -> { in validateDefaultState_AlarmRingtonePicker() 147 Runnable customRingtoneRunnable = () -> { in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 180 Runnable assertRunnable = () -> { in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 192 Runnable removeCustomRingtoneRunnable = () -> { in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 200 Runnable customRingtoneRunnable = () -> { in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() 233 Runnable assertRunnable = () -> { in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() 241 Runnable removeCustomRingtoneRunnable = () -> { in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() 251 Runnable createIntentRunnable = () -> { in createTimerRingtonePickerActivity() 264 Runnable createIntentRunnable = () -> { in createAlarmRingtonePickerActivity()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 84 public static void runOnMain(Runnable action) { in runOnMain() 93 public static void runOnLooper(Looper looper, Runnable action) { in runOnLooper() 104 public static void runOnMainSync(Runnable action) { in runOnMainSync() 115 public static void runOnLooperSync(Looper looper, Runnable action) { in runOnLooperSync() 127 private static final class SyncRunnable implements Runnable { 128 private final Runnable mTarget; 131 public SyncRunnable(Runnable target) { in SyncRunnable()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 80 Runnable selectTabRunnable = () -> { in setUp() 117 Runnable addTimerRunnable = () -> { in validateDefaultState_TimersExist() 127 Runnable runnable = () -> { in validateDefaultState_NoTimersExist() 140 Runnable addTimerRunnable = () -> { in type0InDefaultState_TimersExist() 150 Runnable runnable = () -> { in type0InDefaultState_NoTimersExist() 195 Runnable addTimerRunnable = () -> { in fillDisplayThenDeleteAll_TimersExist() 205 Runnable runnable = () -> { in fillDisplayThenDeleteAll_NoTimersExist() 223 Runnable addTimerRunnable = () -> { in fillDisplayWith9s_TimersExist() 233 Runnable runnable = () -> { in fillDisplayWith9s_NoTimersExist()
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | ContactsExecutors.java | 86 1, 1, 30, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>()); in getSimReadExecutor() 111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { in schedule() 128 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, in scheduleAtFixedRate() 135 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() 145 public List<Runnable> shutdownNow() { in shutdownNow() 165 public void execute(Runnable command) { in execute() 232 final Runnable command) { in fromRunnable()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | SipSessionTracker.java | 67 private final ArrayMap<String, Runnable> mPendingAck = new ArrayMap<>(); 77 final Runnable r; in filterSipMessage() 90 Runnable lastEvent = mPendingAck.get(message.getViaBranchParameter()); in filterSipMessage() 93 Runnable concatRunnable = () -> { in filterSipMessage() 113 Runnable r = mPendingAck.get(viaBranchId); in acknowledgePendingMessage() 265 private Runnable getCreateDialogRunnable(SipMessage m) { in getCreateDialogRunnable() 281 private Runnable getCloseDialogRunnable(SipMessage m) { in getCloseDialogRunnable() 295 private Runnable getDialogStateChangeRunnable(SipMessage m) {
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetView.java | 60 private Runnable mEndRunnable; 61 private Runnable mFastFinishRunnable; 62 private Runnable mOnTargetChangeRunnable; 86 Runnable endRunnable = mEndRunnable; in onAnimationEnd() 127 public void setOnTargetChangeListener(Runnable onTargetChangeListener) { in setOnTargetChangeListener() 132 public void setFastFinishRunnable(Runnable runnable) { in setFastFinishRunnable() 140 Runnable fastFinishRunnable = mFastFinishRunnable; in fastFinish() 144 Runnable endRunnable = mEndRunnable; in fastFinish()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 51 private final LinkedBlockingQueue<Runnable> mQueue = new LinkedBlockingQueue<Runnable>(); 86 public void execute(Runnable command) { 93 public void execute(Runnable command) { in execute() 103 final Runnable command = mQueue.take(); in run()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | AdjustableTemperatureViewTest.java | 173 ArgumentCaptor<Runnable> setTempRunnableCaptor = ArgumentCaptor.forClass(Runnable.class); in adjustableViewIncreaseButton_setsTempWithCarPropertyManager() 190 ArgumentCaptor<Runnable> setTempRunnableCaptor = ArgumentCaptor.forClass(Runnable.class); in adjustableViewDecreaseButton_setsTempWithCarPropertyManager() 211 ArgumentCaptor<Runnable> setTempRunnableCaptor = ArgumentCaptor.forClass(Runnable.class); in adjustableViewIncreaseButton_inFahrenheit_setsTempWithCarPropertyManager() 232 ArgumentCaptor<Runnable> setTempRunnableCaptor = ArgumentCaptor.forClass(Runnable.class); in adjustableViewDecreaseButton_inFahrenheit_setsTempWithCarPropertyManager()
|