Home
last modified time | relevance | path

Searched refs:taskId (Results 1 – 25 of 26) sorted by relevance

12

/external/ims/rcs/rcsservice/src/com/android/service/ims/
DTaskManager.java99 public void putTask(int taskId, Task task){ in putTask() argument
101 putTaskInternal(taskId, task); in putTask()
105 private synchronized void putTaskInternal(int taskId, Task task){ in putTaskInternal() argument
106 Task sameKeyTask = mTaskMap.put(String.valueOf(taskId), task); in putTaskInternal()
113 int taskId = TaskManager.getDefault().generateTaskId(); in addCapabilityTask() local
115 Task task = new PresenceCapabilityTask(context, taskId, TASK_TYPE_GET_CAPABILITY, in addCapabilityTask()
117 putTaskInternal(taskId, task); in addCapabilityTask()
120 return taskId; in addCapabilityTask()
124 int taskId = TaskManager.getDefault().generateTaskId(); in addAvailabilityTask() local
128 Task task = new PresenceAvailabilityTask(taskId, TASK_TYPE_GET_AVAILABILITY, in addAvailabilityTask()
[all …]
DTask.java67 public Task(int taskId, int cmdId, ContactCapabilityResponse listener) { in Task() argument
68 mTaskId = taskId; in Task()
DRcsStackAdaptor.java311 public int requestCapability(String[] formattedContacts, int taskId) { in requestCapability() argument
320 mStackPresenceServiceHandle, formattedContacts[0], taskId); in requestCapability()
323 mStackPresenceServiceHandle, formattedContacts, taskId); in requestCapability()
341 public int requestAvailability(String formattedContact, int taskId) { in requestAvailability() argument
348 mStackPresenceServiceHandle, formattedContact, taskId); in requestAvailability()
363 public int requestPublication(RcsContactUceCapability capabilities, String myUri, int taskId) { in requestPublication() argument
401 mStackPresenceServiceHandle, pMyCapInfo, taskId); in requestPublication()
408 logger.error("requestPublication remove taskId=" + taskId); in requestPublication()
414 logger.error("requestPublication remove taskId=" + taskId); in requestPublication()
DAlarmBroadcastReceiver.java59 int taskId = intent.getIntExtra("taskId", -1); in onReceive() local
60 TaskManager.getDefault().onTimeout(taskId); in onReceive()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestDownloadManagerListener.java64 public Integer pollStateChange(String taskId, long timeoutMs) throws InterruptedException { in pollStateChange() argument
65 return getStateQueue(taskId).poll(timeoutMs, TimeUnit.MILLISECONDS); in pollStateChange()
125 private ArrayBlockingQueue<Integer> getStateQueue(String taskId) { in getStateQueue() argument
127 @Nullable ArrayBlockingQueue<Integer> stateQueue = downloadStates.get(taskId); in getStateQueue()
130 downloadStates.put(taskId, stateQueue); in getStateQueue()
136 public void assertRemoved(String taskId, int timeoutMs) { in assertRemoved() argument
137 assertStateInternal(taskId, STATE_REMOVED, timeoutMs); in assertRemoved()
140 public void assertState(String taskId, @State int expectedState, int timeoutMs) { in assertState() argument
141 assertStateInternal(taskId, expectedState, timeoutMs); in assertState()
144 private void assertStateInternal(String taskId, int expectedState, int timeoutMs) { in assertStateInternal() argument
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceSubscriber.java184 int taskId = TaskManager.getDefault().addCapabilityTask(mContext, formatedNumbers, in requestCapability() local
186 logger.print("taskId=" + taskId); in requestCapability()
188 ret = subscriber.requestCapability(formatedContacts, taskId); in requestCapability()
190 logger.error("requestCapability ret=" + ret + " remove taskId=" + taskId); in requestCapability()
191 TaskManager.getDefault().removeTask(taskId); in requestCapability()
194 ret = taskId; in requestCapability()
264 int taskId = TaskManager.getDefault().addAvailabilityTask(formatedContact, listener); in requestAvailability() local
271 ret = subscriber.requestAvailability(formatedContact, taskId); in requestAvailability()
273 logger.error("requestAvailability ret=" + ret + " remove taskId=" + taskId); in requestAvailability()
274 TaskManager.getDefault().removeTask(taskId); in requestAvailability()
[all …]
DSubscribePublisher.java36 int requestCapability(String[] formatedContacts, int taskId); in requestCapability() argument
41 int requestAvailability(String formattedContact, int taskId); in requestAvailability() argument
DPresencePublishTask.java40 public PresencePublishTask(int taskId, int cmdId, ContactCapabilityResponse listener, in PresencePublishTask() argument
42 super(taskId, cmdId, listener, contacts); in PresencePublishTask()
DPresenceTask.java41 public PresenceTask(int taskId, int cmdId, ContactCapabilityResponse listener, in PresenceTask() argument
43 super(taskId, cmdId, listener); in PresenceTask()
DPresenceAvailabilityTask.java47 public PresenceAvailabilityTask(int taskId, int cmdId, ContactCapabilityResponse listener, in PresenceAvailabilityTask() argument
49 super(taskId, cmdId, listener, contacts); in PresenceAvailabilityTask()
DPresenceCapabilityTask.java73 public PresenceCapabilityTask(Context context, int taskId, int cmdId, in PresenceCapabilityTask() argument
76 super(taskId, cmdId, listener, contacts); in PresenceCapabilityTask()
DPresencePublication.java466 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
468 super.onCommandStatusUpdated(taskId, requestId, resultCode); in onCommandStatusUpdated()
923 int taskId = TaskManager.getDefault().addPublishTask(myNumber); in doPublish() local
924 logger.print("doPublish, uri=" + myUri + ", myNumber=" + myNumber + ", taskId=" + taskId); in doPublish()
925 int ret = presencePublisher.requestPublication(presenceInfo, myUri.toString(), taskId); in doPublish()
927 logger.print("doPublish, task=" + taskId + " failed with code=" + ret); in doPublish()
928 TaskManager.getDefault().removeTask(taskId); in doPublish()
DPresenceBase.java173 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
174 Task task = TaskManager.getDefault().getTask(taskId); in onCommandStatusUpdated()
DPresencePublisher.java47 int requestPublication(RcsContactUceCapability capabilities, String contactUri, int taskId); in requestPublication() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadManagerTest.java383 String[] taskIds = {task1.taskId, task2.taskId, task3.taskId}; in getCurrentDownloads_returnsCurrentDownloads()
433 runOnMainThread(() -> downloadManager.setStopReason(task.taskId, APP_STOP_REASON)); in setAndClearSingleDownloadStopReason()
437 runOnMainThread(() -> downloadManager.setStopReason(task.taskId, Download.STOP_REASON_NONE)); in setAndClearSingleDownloadStopReason()
451 runOnMainThread(() -> downloadManager.setStopReason(task.taskId, APP_STOP_REASON)); in setSingleDownloadStopReasonThenRemove_removesDownload()
471 runOnMainThread(() -> downloadManager.setStopReason(runner1.getTask().taskId, APP_STOP_REASON)); in setSingleDownloadStopReason_doesNotAffectOtherDownloads()
678 private final String taskId; field in DownloadManagerTest.TaskWrapper
680 private TaskWrapper(String taskId) { in TaskWrapper() argument
681 this.taskId = taskId; in TaskWrapper()
709 downloadManagerListener.assertState(taskId, expectedState, ASSERT_TRUE_TIMEOUT); in assertState()
714 downloadManagerListener.assertRemoved(taskId, ASSERT_TRUE_TIMEOUT); in assertRemoved()
[all …]
/external/skia/infra/bots/task_drivers/run_gn_to_bp/
Drun_gn_to_bp.go21 taskId = flag.String("task_id", "", "ID of this task.")
28 ctx := td.StartRun(projectId, taskId, taskName, output, local)
/external/skqp/infra/pathkit/perf/
Dwasm_perf_aggregator.go52 taskId = flag.String("task_id", "", "swarming task id") var
178 SwarmingTaskID: *taskId,
/external/skia/infra/wasm-common/perf/
Dwasm_perf_aggregator.go53 taskId = flag.String("task_id", "", "swarming task id") var
181 SwarmingTaskID: *taskId,
/external/skia/infra/lottiecap/gold/
Dlottie-web-aggregator.go49 taskId = flag.String("task_id", "", "Skia task id") var
174 TaskID: *taskId,
/external/skia/infra/bots/task_drivers/canary/
Dcanary.go40 taskId = flag.String("task_id", "", "ID of this task.")
49 ctx := td.StartRun(projectId, taskId, taskName, output, local)
/external/skqp/infra/pathkit/gold/
Dwasm_gold_aggregator.go48 taskId = flag.String("task_id", "", "swarming task id") var
184 SwarmingTaskID: *taskId,
/external/skqp/infra/lottiecap/gold/
Dlottie-web-aggregator.go50 taskId = flag.String("task_id", "", "swarming task id") var
177 SwarmingTaskID: *taskId,
/external/skia/infra/bots/task_drivers/g3_canary/
Dg3_canary.go62 taskId = flag.String("task_id", "", "ID of this task.")
69 ctx := td.StartRun(projectId, taskId, taskName, output, local)
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_messages.py396 taskId = _messages.StringField(2, required=True) variable in FusiontablesTaskDeleteRequest
412 taskId = _messages.StringField(2, required=True) variable in FusiontablesTaskGetRequest
871 taskId = _messages.IntegerField(4) variable in Task
/external/skia/infra/bots/task_drivers/fm_driver/
Dfm_driver.go31 taskId = flag.String("task_id", "", "ID of this task.")
59 ctx = td.StartRun(projectId, taskId, bot, output, local)

12