Home
last modified time | relevance | path

Searched refs:pendingTasks (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java100 Context context, List<Bundle> pendingTasks, long delayMillis, boolean isNewJob) { in scheduleJob() argument
104 VvmLog.i(TAG, "scheduling job with " + pendingTasks.size() + " tasks"); in scheduleJob()
113 for (Bundle pendingTask : pendingTasks) { in scheduleJob()
120 pendingTasks = queue.toBundles(); in scheduleJob()
134 EXTRA_TASK_EXTRAS_ARRAY, pendingTasks.toArray(new Bundle[pendingTasks.size()])); in scheduleJob()
DTaskQueue.java50 public void fromBundles(Context context, List<Bundle> pendingTasks) { in fromBundles() argument
52 for (Bundle pendingTask : pendingTasks) { in fromBundles()
DTaskExecutor.java391 public void onStartJob(Job job, List<Bundle> pendingTasks) {
394 tasks.fromBundles(appContext, pendingTasks);
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsDiscoveryManager.java142 @NonNull private final ArrayList<Runnable> pendingTasks = new ArrayList<>(); field in MdnsDiscoveryManager.DiscoveryExecutor
147 synchronized (pendingTasks) { in DiscoveryExecutor()
154 synchronized (pendingTasks) { in DiscoveryExecutor()
156 for (Runnable pendingTask : pendingTasks) { in DiscoveryExecutor()
159 pendingTasks.clear(); in DiscoveryExecutor()
180 synchronized (pendingTasks) { in execute()
182 pendingTasks.add(function); in execute()
198 synchronized (pendingTasks) { in ensureRunningOnHandlerThread()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DAsyncBindingTest.kt128 MAIN_EXECUTOR.submit(callbacks.pendingTasks!!::executeAllAndDestroy).get() in <lambda>()
174 callbacks.pendingTasks!!.executeAllAndDestroy() in <lambda>()
190 var pendingTasks: RunnableList? = null in <lambda>() variable in com.android.launcher3.model.AsyncBindingTest.MyCallbacks
201 pendingTasks: RunnableList, in <lambda>()
206 this.pendingTasks = pendingTasks in <lambda>()
DModelMultiCallbacksTest.java189 public void onInitialBindComplete(IntSet boundPages, RunnableList pendingTasks, in onInitialBindComplete() argument
192 mPendingTasks = pendingTasks; in onInitialBindComplete()
/packages/apps/Launcher3/src/com/android/launcher3/
DModelCallbacks.kt86 pendingTasks: RunnableList, in <lambda>()
102 pendingTasks.add { in <lambda>()
109 ViewOnDrawExecutor(pendingTasks) { in <lambda>()
DLauncher.java2401 public void onInitialBindComplete(IntSet boundPages, RunnableList pendingTasks,
2403 mModelCallbacks.onInitialBindComplete(boundPages, pendingTasks, onCompleteSignal,
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLauncherBinder.java354 RunnableList pendingTasks = new RunnableList(); in bind() local
355 Executor pendingExecutor = pendingTasks::add; in bind()
381 c.onInitialBindComplete(currentScreenIds, pendingTasks, onCompleteSignal, in bind()
DBgDataModel.java545 @NonNull RunnableList pendingTasks, in onInitialBindComplete() argument
548 pendingTasks.executeAllAndDestroy(); in onInitialBindComplete()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java1721 List<RemoteTask> pendingTasks = mTasksToBeNotifiedByClientId.get(task.clientId); in onPendingTaskTimeout() local
1722 if (pendingTasks == null) { in onPendingTaskTimeout()
1726 pendingTasks.remove(task); in onPendingTaskTimeout()
1736 List<RemoteTask> pendingTasks = mTasksToBeNotifiedByClientId.get(clientId); in popTasksFromPendingQueueLocked() local
1737 if (pendingTasks == null) { in popTasksFromPendingQueueLocked()
1741 for (int i = 0; i < pendingTasks.size(); i++) { in popTasksFromPendingQueueLocked()
1743 Slogf.d(TAG, "Prepare to deliver remote task: %s", pendingTasks.get(i)); in popTasksFromPendingQueueLocked()
1745 mHandler.cancelPendingTaskTimeout(pendingTasks.get(i)); in popTasksFromPendingQueueLocked()
1747 return pendingTasks; in popTasksFromPendingQueueLocked()