Lines Matching refs:task
264 * Push a notification task for distribution to notification side channels.
266 private void pushSideChannelQueue(Task task) {
272 sSideChannelManager.queueTask(task);
302 * Queue a new task to be sent to all listeners. This function can be called
305 public void queueTask(Task task) {
306 mHandler.obtainMessage(MSG_QUEUE_TASK, task).sendToTarget();
329 private void handleQueueTask(Task task) {
332 record.taskQueue.add(task);
485 * to flush the task queue, and if an error is encountered, schedule a retry.
500 // Attempt to flush all items in the task queue.
502 Task task = record.taskQueue.peek();
503 if (task == null) {
508 Log.d(TAG, "Sending task " + task);
510 task.send(record.service);