/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/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/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/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/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/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 78 void addMinuteCallback(Runnable runnable, long offset) { in addMinuteCallback() 85 void addQuarterHourCallback(Runnable runnable) { in addQuarterHourCallback() 94 void addHourCallback(Runnable runnable) { in addHourCallback() 103 void addMidnightCallback(Runnable runnable) { in addMidnightCallback() 112 private void addPeriodicCallback(Runnable runnable, Period period, long offset) { in addPeriodicCallback() 121 void removePeriodicCallback(Runnable runnable) { in removePeriodicCallback() 186 private static final class PeriodicRunnable implements Runnable { 188 private final Runnable mDelegate; 192 public PeriodicRunnable(Runnable delegate, Period period, long offset) { in PeriodicRunnable()
|
D | PeriodicCallbackModel.kt | 62 fun addMinuteCallback(runnable: Runnable, offset: Long) { in addMinuteCallback() 69 fun addQuarterHourCallback(runnable: Runnable) { in addQuarterHourCallback() 78 fun addHourCallback(runnable: Runnable) { in addHourCallback() 87 fun addMidnightCallback(runnable: Runnable) { in addMidnightCallback() 96 private fun addPeriodicCallback(runnable: Runnable, period: Period, offset: Long) { in addPeriodicCallback() 105 fun removePeriodicCallback(runnable: Runnable) { in removePeriodicCallback() 119 val mDelegate: Runnable, 122 ) : Runnable {
|
/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/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/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/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/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 71 public static void runOnMain(Runnable action) { in runOnMain() 80 public static void runOnLooper(Looper looper, Runnable action) { in runOnLooper() 91 public static void runOnMainSync(Runnable action) { in runOnMainSync() 102 public static void runOnLooperSync(Looper looper, Runnable action) { in runOnLooperSync() 114 private static final class SyncRunnable implements Runnable { 115 private final Runnable mTarget; 118 public SyncRunnable(Runnable target) { in SyncRunnable()
|
/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/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/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/timer/ |
D | TimerSetupViewTest.java | 79 Runnable selectTabRunnable = () -> { in setUp() 116 Runnable addTimerRunnable = () -> { in validateDefaultState_TimersExist() 126 Runnable runnable = () -> { in validateDefaultState_NoTimersExist() 139 Runnable addTimerRunnable = () -> { in type0InDefaultState_TimersExist() 149 Runnable runnable = () -> { in type0InDefaultState_NoTimersExist() 194 Runnable addTimerRunnable = () -> { in fillDisplayThenDeleteAll_TimersExist() 204 Runnable runnable = () -> { in fillDisplayThenDeleteAll_NoTimersExist() 222 Runnable addTimerRunnable = () -> { in fillDisplayWith9s_TimersExist() 232 Runnable runnable = () -> { in fillDisplayWith9s_NoTimersExist()
|
D | TimerFragmentTest.java | 88 Runnable addTimerRunnable = () -> { in setUpSingleTimer() 96 Runnable addTimerRunnable = () -> { in setUpTwoTimers() 105 Runnable setUpFragmentRunnable = () -> { in setUpFragment() 145 Runnable clearTimersRunnable = () -> { in clearTimers() 358 Runnable expireTimerRunnable = () -> { in fabClick_resetsTimer() 377 Runnable expireTimerRunnable = () -> { in fabClick_resetsSecondTimer() 396 Runnable getTimersRunnable = () -> { in clickAdd_addsOneMinuteToTimer() 421 Runnable getTimersRunnable = () -> { in clickAdd_addsOneMinuteToSecondTimer() 676 Runnable timerRunnable = () -> { in assertStateEquals() 685 Runnable assertRunnable = () -> { in assertAdapter() [all …]
|
/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/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorPlaybackController.java | 61 Runnable onCancelRunnable) { in wrap() 76 private Runnable mEndAction; 79 protected Runnable mOnCancelRunnable; 88 Runnable onCancelRunnable) { in AnimatorPlaybackController() 192 public void setEndAction(Runnable runnable) { in setEndAction() 258 Runnable onCancel = mOnCancelRunnable; in dispatchOnCancelWithoutCancelRunnable() 293 public void setOnCancelRunnable(Runnable runnable) { in setOnCancelRunnable() 313 Runnable onCancelRunnable) { in AnimatorPlaybackControllerVL()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 148 new Thread(new Runnable() { in testStartProfileSelectionWithNoOpportunisticSub() 208 new Thread(new Runnable() { in testStartProfileSelectionSuccess() 293 new Thread(new Runnable() { in testStartProfileSelectionWithDifferentPrioritySubInfo() 351 new Thread(new Runnable() { in testStartProfileSelectionWithActivePrimarySimOnESim() 402 new Thread(new Runnable() { in testselectProfileForDataWithNoOpportunsticSub() 433 new Thread(new Runnable() { in testselectProfileForDataWithInActiveSub() 465 new Thread(new Runnable() { in testselectProfileForDataWithInvalidSubId() 500 new Thread(new Runnable() { in testselectProfileForDataWithValidSub() 562 new Thread(new Runnable() { in testStartProfileSelectionSuccessWithSameArgumentsAgain() 599 new Thread(new Runnable() { in testStartProfileSelectionSuccessWithSameArgumentsAgain() [all …]
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 283 Runnable mReturnToCafRunnable = new Runnable() { 388 mMainHandler.post(new Runnable() { in setNoiseEdgeText() 399 mMainHandler.post(new Runnable() { in setNoiseEdgeTextForReprocessing() 419 mUtilityHandler.post(new Runnable() { in jpegAvailable() 423 mMainHandler.post(new Runnable() { in jpegAvailable() 433 mMainHandler.post(new Runnable() { in jpegAvailable() 444 mMainHandler.post(new Runnable() { in receivedFirstFrame() 465 mMainHandler.post(new Runnable() { in frameDataAvailable() 490 mMainHandler.post(new Runnable() { in frameDataAvailable() 514 mMainHandler.post(new Runnable() { in performanceDataAvailable()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | RecentsAnimationWrapper.java | 47 private final ArrayList<Runnable> mCallbacks = new ArrayList<>(); 82 for (Runnable action : new ArrayList<>(mCallbacks)) { in setController() 89 public synchronized void runOnInit(Runnable action) { in runOnInit() 99 public void finish(boolean toRecents, Runnable onFinishComplete) { in finish() 111 public void finish(boolean toRecents, Runnable onFinishComplete, boolean sendUserLeaveHint) { in finish() 128 private void finishAndClear(boolean toRecents, Runnable onFinishComplete, in finishAndClear()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | AssistantSettings.java | 57 protected final Runnable mOnUpdateRunnable; 69 Runnable onUpdateRunnable) { in AssistantSettings() 78 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createAndRegister() 91 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createForTesting() 114 private void postToHandler(Runnable r) { in postToHandler() 174 Runnable onUpdateRunnable); in createAndRegister()
|