/external/libbrillo/brillo/message_loops/ |
D | message_loop_unittest.cc | 77 TaskId task_id = this->loop_->PostTask(FROM_HERE, in TYPED_TEST() local 79 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TYPED_TEST() 87 TaskId task_id = this->loop_->PostTask(FROM_HERE, in TYPED_TEST() local 89 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST() 93 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST() 98 TaskId task_id = this->loop_->PostDelayedTask( in TYPED_TEST() local 102 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TYPED_TEST() 134 TaskId task_id = this->loop_->WatchFileDescriptor( in TYPED_TEST() local 137 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TYPED_TEST() 142 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST() [all …]
|
D | glib_message_loop.cc | 24 << "Removing task_id " << task.second->task_id in ~GlibMessageLoop() 35 TaskId task_id = NextTaskId(); in PostDelayedTask() local 40 this, from_here, task_id, 0, false, std::move(task)}; in PostDelayedTask() 41 DVLOG_LOC(from_here, 1) << "Scheduling delayed task_id " << task_id in PostDelayedTask() 49 tasks_[task_id] = scheduled_task; in PostDelayedTask() 50 return task_id; in PostDelayedTask() 94 TaskId task_id = NextTaskId(); in WatchFileDescriptor() local 96 this, from_here, task_id, 0, persistent, std::move(task)}; in WatchFileDescriptor() 113 << " as task_id " << task_id in WatchFileDescriptor() 120 tasks_[task_id] = scheduled_task; in WatchFileDescriptor() [all …]
|
D | base_message_loop.cc | 87 TaskId task_id = NextTaskId(); in PostDelayedTask() local 92 task_id), in PostDelayedTask() 94 DVLOG_LOC(from_here, 1) << "Scheduling delayed task_id " << task_id in PostDelayedTask() 99 delayed_tasks_.emplace(task_id, in PostDelayedTask() 100 DelayedTask{from_here, task_id, std::move(task)}); in PostDelayedTask() 101 return task_id; in PostDelayedTask() 126 TaskId task_id = NextTaskId(); in WatchFileDescriptor() local 129 std::forward_as_tuple(task_id), in WatchFileDescriptor() 131 from_here, this, task_id, fd, base_mode, persistent, task)); in WatchFileDescriptor() 139 << " as task_id " << task_id in WatchFileDescriptor() [all …]
|
D | glib_message_loop_unittest.cc | 43 TaskId task_id = loop_->WatchFileDescriptor( in TEST_F() local 46 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TEST_F() 49 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F() 56 TaskId task_id = loop_->WatchFileDescriptor( in TEST_F() local 63 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TEST_F() 66 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F()
|
D | base_message_loop.h | 52 bool CancelTask(TaskId task_id) override; 74 void OnRanPostedTask(MessageLoop::TaskId task_id); 80 void OnFileReadyPostedTask(MessageLoop::TaskId task_id); 91 MessageLoop::TaskId task_id; member 99 MessageLoop::TaskId task_id,
|
D | fake_message_loop.cc | 50 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask() argument 51 if (task_id == MessageLoop::kTaskIdNull) in CancelTask() 53 bool ret = tasks_.erase(task_id) > 0; in CancelTask() 54 VLOG_IF(1, ret) << "Removing task_id " << task_id; in CancelTask()
|
D | message_loop_utils.cc | 17 MessageLoop::TaskId task_id = loop->PostDelayedTask( in MessageLoopRunUntil() local 26 loop->CancelTask(task_id); in MessageLoopRunUntil()
|
D | fake_message_loop_unittest.cc | 93 TaskId task_id = loop_->WatchFileDescriptor( in TEST_F() local 96 EXPECT_NE(MessageLoop::kTaskIdNull, task_id); in TEST_F() 113 EXPECT_FALSE(loop_->CancelTask(task_id)); in TEST_F()
|
D | glib_message_loop.h | 36 bool CancelTask(TaskId task_id) override; 68 MessageLoop::TaskId task_id; member
|
D | message_loop.h | 102 virtual bool CancelTask(TaskId task_id) = 0;
|
D | fake_message_loop.h | 49 bool CancelTask(TaskId task_id) override;
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | pubsubclient_unittest.cc | 51 const std::string& task_id, in OnPublishResult() argument 53 result_task_id = task_id; in OnPublishResult() 57 const std::string& task_id, in OnPublishError() argument 61 error_task_id = task_id; in OnPublishError() 65 const std::string& task_id) { in OnRetractResult() argument 66 result_task_id = task_id; in OnRetractResult() 70 const std::string& task_id, in OnRetractError() argument 73 error_task_id = task_id; in OnRetractError() 196 std::string task_id; in TEST_F() local 197 client->PublishItem(itemid, payload, &task_id); in TEST_F() [all …]
|
D | hangoutpubsubclient.cc | 244 const std::string& task_id, const XmlElement* item) { in OnPresenterPublishResult() argument 245 SignalPublishPresenterResult(task_id); in OnPresenterPublishResult() 249 const std::string& task_id, const XmlElement* item, in OnPresenterPublishError() argument 251 SignalPublishPresenterError(task_id, stanza); in OnPresenterPublishError() 301 const std::string& task_id, const XmlElement* item) { in OnAudioMutePublishResult() argument 304 SignalRemoteMuteResult(task_id, mutee_nick); in OnAudioMutePublishResult() 306 SignalPublishAudioMuteResult(task_id); in OnAudioMutePublishResult() 311 const std::string& task_id, const XmlElement* item, in OnAudioMutePublishError() argument 315 SignalRemoteMuteError(task_id, mutee_nick, stanza); in OnAudioMutePublishError() 317 SignalPublishAudioMuteError(task_id, stanza); in OnAudioMutePublishError() [all …]
|
D | hangoutpubsubclient.h | 129 void OnPresenterPublishResult(const std::string& task_id, 131 void OnPresenterPublishError(const std::string& task_id, 135 void OnAudioMutePublishResult(const std::string& task_id, 137 void OnAudioMutePublishError(const std::string& task_id, 141 void OnVideoMutePublishResult(const std::string& task_id, 143 void OnVideoMutePublishError(const std::string& task_id, 147 void OnVideoPausePublishResult(const std::string& task_id, 149 void OnVideoPausePublishError(const std::string& task_id, 153 void OnRecordingPublishResult(const std::string& task_id, 155 void OnRecordingPublishError(const std::string& task_id, [all …]
|
D | hangoutpubsubclient_unittest.cc | 91 void OnPublishAudioMuteError(const std::string& task_id, in OnPublishAudioMuteError() argument 94 error_task_id = task_id; in OnPublishAudioMuteError() 97 void OnPublishVideoMuteError(const std::string& task_id, in OnPublishVideoMuteError() argument 100 error_task_id = task_id; in OnPublishVideoMuteError() 103 void OnPublishVideoPauseError(const std::string& task_id, in OnPublishVideoPauseError() argument 106 error_task_id = task_id; in OnPublishVideoPauseError() 109 void OnPublishPresenterError(const std::string& task_id, in OnPublishPresenterError() argument 112 error_task_id = task_id; in OnPublishPresenterError() 115 void OnPublishRecordingError(const std::string& task_id, in OnPublishRecordingError() argument 118 error_task_id = task_id; in OnPublishRecordingError() [all …]
|
D | pubsubclient.cc | 52 *task_id_out = publish_task->task_id(); in PublishItem() 64 *task_id_out = retract_task->task_id(); in RetractItem() 98 SignalPublishResult(this, task->task_id(), item); in OnPublishResult() 106 SignalPublishError(this, publish_task->task_id(), item, error_stanza); in OnPublishError() 110 SignalRetractResult(this, task->task_id()); in OnRetractResult() 117 SignalRetractError(this, retract_task->task_id(), stanza); in OnRetractError()
|
D | pubsubstateclient.h | 224 const std::string& task_id, in OnPublishResult() argument 226 SignalPublishResult(task_id, item); in OnPublishResult() 230 const std::string& task_id, in OnPublishError() argument 233 SignalPublishError(task_id, item, stanza); in OnPublishError() 237 const std::string& task_id) { in OnRetractResult() argument 242 SignalPublishResult(task_id, item); in OnRetractResult() 246 const std::string& task_id, in OnRetractError() argument 252 SignalPublishError(task_id, item, stanza); in OnRetractError()
|
D | xmpptask.h | 119 std::string task_id() const { return id_; } in task_id() function 144 const std::string& task_id); 150 const Jid& to, const std::string& task_id);
|
D | iqtask.cc | 26 stanza_(MakeIq(verb, to_, task_id())) { in IqTask() 38 if (!MatchResponseIq(stanza, to_, task_id())) in HandleStanza()
|
D | pingtask.cc | 33 if (!MatchResponseIq(stanza, Jid(STR_EMPTY), task_id())) { in HandleStanza() 70 MakeIq(buzz::STR_GET, Jid(STR_EMPTY), task_id())); in ProcessStart()
|
D | jingleinfotask.cc | 28 MakeIq(STR_GET, Jid(), task_id())); in ProcessStart() 43 if (!MatchResponseIq(stanza, Jid(), task_id())) in HandleStanza()
|
D | pubsub_task.cc | 44 if (MatchResponseIq(stanza, pubsub_node_jid_, task_id())) { in HandleStanza() 86 MakeIq(buzz::STR_GET, pubsub_node_jid_, task_id())); in SubscribeToNode()
|
/external/libchrome/base/task/ |
D | cancelable_task_tracker_unittest.cc | 111 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F() local 113 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F() 117 task_tracker_.TryCancel(task_id); in TEST_F() 129 CancelableTaskTracker::TaskId task_id = in TEST_F() local 134 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F() 136 task_tracker_.TryCancel(task_id); in TEST_F() 148 CancelableTaskTracker::TaskId task_id = in TEST_F() local 153 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F() 157 task_tracker_.TryCancel(task_id); in TEST_F() 167 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTaskAndReply( in TEST_F() local [all …]
|
/external/autotest/client/cros/cellular/wardmodem/ |
D | at_transceiver_unittest.py | 441 task_id = 3 444 mox.IgnoreArg()).AndReturn(task_id) 445 self._mock_task_loop.cancel_posted_task(task_id) 481 task_id = 3 487 mox.IgnoreArg()).AndReturn(task_id)
|
/external/skia/infra/bots/recipe_modules/skia_swarming/ |
D | api.py | 216 for idx, task_id in enumerate(ids): 217 link = MILO_LOG_LINK % task_id
|