HomeSort by relevance Sort by last modified time
    Searched full:taskid (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/android/view/
AppTransitionAnimationSpec.java 17 public final int taskId;
21 public AppTransitionAnimationSpec(int taskId, Bitmap bitmap, Rect rect) {
22 this.taskId = taskId;
28 taskId = in.readInt();
40 dest.writeInt(taskId);
59 return "{taskId: " + taskId + ", bitmap: " + bitmap + ", rect: " + rect + "}";
  /packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/
TaskSchedulerServiceTest.java 24 import com.android.phone.vvm.omtp.scheduling.Task.TaskId;
36 TaskId id1 = new TaskId(1, 1);
37 TaskId id2 = new TaskId(1, 1);
38 TaskId id3 = new TaskId(1, 2);
76 new TaskId(1, 0)));
79 new TaskId(2, 0)));
82 new TaskId(1, 1)))
    [all...]
TaskSchedulerServiceTestBase.java 33 import com.android.phone.vvm.omtp.scheduling.Task.TaskId;
66 public static Intent putTaskId(Intent intent, TaskId taskId) {
67 intent.putExtra(EXTRA_ID, taskId.id);
68 intent.putExtra(EXTRA_SUB_ID, taskId.subId);
72 public static TaskId getTaskId(Intent intent) {
73 return new TaskId(intent.getIntExtra(EXTRA_ID, 0), intent.getIntExtra(EXTRA_SUB_ID, 0));
124 private TaskId mId;
139 public TaskId getId() {
  /external/libbrillo/brillo/message_loops/
glib_message_loop.h 26 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
30 TaskId WatchFileDescriptor(const tracked_objects::Location& from_here,
36 bool CancelTask(TaskId task_id) override;
58 TaskId NextTaskId();
68 MessageLoop::TaskId task_id;
74 std::map<MessageLoop::TaskId, ScheduledTask*> tasks_;
76 MessageLoop::TaskId last_id_ = kTaskIdNull;
fake_message_loop.h 39 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
43 TaskId WatchFileDescriptor(const tracked_objects::Location& from_here,
49 bool CancelTask(TaskId task_id) override;
72 std::map<MessageLoop::TaskId, ScheduledTask> tasks_;
76 // TaskId. This determines the order in which the tasks will be fired.
78 std::pair<base::Time, MessageLoop::TaskId>,
79 std::vector<std::pair<base::Time, MessageLoop::TaskId>>,
80 std::greater<std::pair<base::Time, MessageLoop::TaskId>>> fire_order_;
82 // The bag of watched (fd, mode) pair associated with the TaskId that's
84 std::multimap<std::pair<int, WatchMode>, MessageLoop::TaskId> fds_watched_
    [all...]
base_message_loop.h 36 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
40 TaskId WatchFileDescriptor(const tracked_objects::Location& from_here,
46 bool CancelTask(TaskId task_id) override;
68 void OnRanPostedTask(MessageLoop::TaskId task_id);
74 void OnFileReadyPostedTask(MessageLoop::TaskId task_id);
77 TaskId NextTaskId();
85 MessageLoop::TaskId task_id;
89 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_;
95 MessageLoop::TaskId task_id,
126 // TaskId for this task
    [all...]
glib_message_loop_unittest.cc 25 using TaskId = MessageLoop::TaskId;
43 TaskId task_id = loop_->WatchFileDescriptor(
56 TaskId task_id = loop_->WatchFileDescriptor(
message_loop.h 22 using TaskId = uint64_t;
26 static const TaskId kTaskIdNull;
49 // Note that once the call is executed or canceled, the TaskId could be reused
52 virtual TaskId PostDelayedTask(const tracked_objects::Location& from_here,
56 TaskId PostDelayedTask(const base::Closure& task, base::TimeDelta delay) {
62 TaskId PostTask(const base::Closure& task) {
65 TaskId PostTask(const tracked_objects::Location& from_here,
81 // Returns the TaskId describing this task. In case of error, returns
83 virtual TaskId WatchFileDescriptor(const tracked_objects::Location& from_here,
90 TaskId WatchFileDescriptor(int fd
    [all...]
mock_message_loop.h 38 static_cast<TaskId(FakeMessageLoop::*)(
47 static_cast<TaskId(FakeMessageLoop::*)(
61 TaskId(const tracked_objects::Location& from_here,
66 TaskId(const tracked_objects::Location& from_here,
72 MOCK_METHOD1(CancelTask, bool(TaskId task_id));
glib_message_loop.cc 31 MessageLoop::TaskId GlibMessageLoop::PostDelayedTask(
35 TaskId task_id = NextTaskId();
53 MessageLoop::TaskId GlibMessageLoop::WatchFileDescriptor(
94 TaskId task_id = NextTaskId();
124 bool GlibMessageLoop::CancelTask(TaskId task_id) {
152 MessageLoop::TaskId GlibMessageLoop::NextTaskId() {
153 TaskId res;
message_loop_unittest.cc 31 using TaskId = MessageLoop::TaskId;
77 TaskId task_id = this->loop_->PostTask(FROM_HERE,
87 TaskId task_id = this->loop_->PostTask(FROM_HERE,
98 TaskId task_id = this->loop_->PostDelayedTask(
134 TaskId task_id = this->loop_->WatchFileDescriptor(
153 TaskId task_id = this->loop_->WatchFileDescriptor(
171 TaskId task_id = this->loop_->WatchFileDescriptor(
188 TaskId task_id = this->loop_->WatchFileDescriptor(
207 TaskId read_task_id = this->loop_->WatchFileDescriptor
    [all...]
message_loop_utils.cc 17 MessageLoop::TaskId task_id = loop->PostDelayedTask(
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/
Task.java 37 * TaskId to indicate it has not be set. If a task does not provide a default TaskId it should
43 * TaskId to indicate it should always be queued regardless of duplicates. {@link
44 * Task#onDuplicatedTaskAdded(Task)} will never be called on tasks with this TaskId.
53 * Used to differentiate between types of tasks. If a task with the same TaskId is already in
56 class TaskId {
69 public TaskId(int id, int subId) {
76 if (!(object instanceof TaskId)) {
79 TaskId other = (TaskId) object
    [all...]
MinimalIntervalPolicy.java 21 import com.android.phone.vvm.omtp.scheduling.Task.TaskId;
24 * If a task with this policy succeeds, a {@link BlockerTask} with the same {@link TaskId} of the
31 TaskId mId;
  /device/google/contexthub/firmware/src/drivers/tilt_detection/
tilt_detection.c 57 uint32_t taskId;
147 sensorRequest(mTask.taskId, mTask.anyMotionHandle, SENSOR_RATE_ONCHANGE, 0);
148 osEventSubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION);
150 sensorRelease(mTask.taskId, mTask.anyMotionHandle);
151 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION);
157 sensorRequest(mTask.taskId, mTask.noMotionHandle, SENSOR_RATE_ONCHANGE, 0);
158 osEventSubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION);
160 sensorRelease(mTask.taskId, mTask.noMotionHandle);
161 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION);
167 sensorRequest(mTask.taskId, mTask.accelHandle, ACCEL_MIN_RATE
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/component/
ScreenPinningRequestEvent.java 29 public final int taskId;
31 public ScreenPinningRequestEvent(Context context, int taskId) {
33 this.taskId = taskId;
  /external/ims/rcs/rcsservice/src/com/android/service/ims/
TaskManager.java 106 public void putTask(int taskId, Task task){
108 putTaskInternal(taskId, task);
112 private synchronized void putTaskInternal(int taskId, Task task){
113 Task sameKeyTask = mTaskMap.put(String.valueOf(taskId), task);
120 int taskId = TaskManager.getDefault().generateTaskId();
122 Task task = new PresenceCapabilityTask(context, taskId, TASK_TYPE_GET_CAPABILITY,
124 putTaskInternal(taskId, task);
127 return taskId;
131 int taskId = TaskManager.getDefault().generateTaskId();
135 Task task = new PresenceAvailabilityTask(taskId, TASK_TYPE_GET_AVAILABILITY
    [all...]
  /external/libchrome/base/task/
cancelable_task_tracker.h 61 typedef int64_t TaskId;
62 static const TaskId kBadTaskId;
71 TaskId PostTask(base::TaskRunner* task_runner,
75 TaskId PostTaskAndReply(base::TaskRunner* task_runner,
81 TaskId PostTaskAndReplyWithResult(
98 // Creates a tracked TaskId and an associated IsCanceledCallback. Client can
99 // later call TryCancel() with the returned TaskId, and run |is_canceled_cb|
100 // from any thread to check whether the TaskId is canceled.
107 TaskId NewTrackedTaskId(IsCanceledCallback* is_canceled_cb);
116 void TryCancel(TaskId id)
    [all...]
cancelable_task_tracker.cc 63 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0;
74 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTask(
83 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply(
96 TaskId id = next_id_;
116 CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId(
121 TaskId id = next_id_;
145 void CancelableTaskTracker::TryCancel(TaskId id) {
148 hash_map<TaskId, CancellationFlag*>::const_iterator it = task_flags_.find(id);
153 // 2. The TaskId is bad or unknown.
164 for (hash_map<TaskId, CancellationFlag*>::const_iterator it
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
TaskGroup.java 24 public int taskId = -1;
29 return "id=" + taskId + " tokens=" + tokens;
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
ActivityManagerTest.java 49 int taskId = recentTask.persistentId;
50 assertEquals("The task id " + taskId + " should not belong to user " + userId,
51 taskId / UserHandle.PER_USER_RANGE, userId);
TaskPersisterTest.java 55 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE);
56 taskId += UserHandle.PER_USER_RANGE * userId;
57 return taskId;
  /external/clang/test/SemaObjC/
synchronized.m 9 id taskID = [task taskIdentifier]; // expected-warning {{method '-taskIdentifier' not found (return type defaults to 'id')}}
  /frameworks/base/core/java/android/service/voice/
IVoiceInteractionSession.aidl 36 void taskStarted(in Intent intent, int taskId);
37 void taskFinished(in Intent intent, int taskId);
  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityAndWindowManagersState.java 354 log("Task is in AM but not in WM, waiting for it to settle, taskId="
362 log("Task is in WM but not in AM, waiting for it to settle, taskId="
430 final int taskId = aTask.mTaskId;
431 final WindowTask wTask = wStack.getTask(taskId);
433 "taskId=" + taskId + " in AM but not in WM? stackId=" + stackId, wTask);
437 assertEquals("Task fullscreen state in AM and WM must be equal taskId=" + taskId
444 assertNull("Task bounds in AM must be null for fullscreen taskId=" + taskId,
    [all...]

Completed in 8202 milliseconds

1 2 3 4 5 6