Home
last modified time | relevance | path

Searched refs:itemid (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/libjingle/xmpp/
Dpubsubclient_unittest.cc24 std::string itemid; member
37 handled_item.itemid = item->itemid; in OnItems()
87 itemid("key") { in PubSubClientTest()
113 std::string itemid; member in PubSubClientTest
146 EXPECT_EQ("key0", listener->items[0].itemid); in TEST_F()
149 EXPECT_EQ("key1", listener->items[1].itemid); in TEST_F()
169 EXPECT_EQ("key0", listener->items[2].itemid); in TEST_F()
173 EXPECT_EQ("key1", listener->items[3].itemid); in TEST_F()
197 client->PublishItem(itemid, payload, &task_id); in TEST_F()
226 client->PublishItem(itemid, payload, &task_id); in TEST_F()
[all …]
Dpubsubtasks.cc60 const std::string& itemid, in CreatePubSubPublishItemElem() argument
66 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubPublishItemElem()
79 const std::string& itemid) { in CreatePubSubRetractItemElem() argument
85 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubRetractItemElem()
94 item.itemid = item_elem->Attr(QN_ID); in ParseItem()
180 const std::string& itemid, in PubSubPublishTask() argument
183 CreatePubSubPublishItemElem(node, itemid, children)), in PubSubPublishTask()
184 itemid_(itemid) { in PubSubPublishTask()
194 const std::string& itemid) in PubSubRetractTask() argument
196 CreatePubSubRetractItemElem(node, itemid)), in PubSubRetractTask()
[all …]
Dpubsubtasks_unittest.cc25 std::string itemid; member
47 handled_item.itemid = item->itemid; in OnItems()
77 itemid("key") { in PubSubTasksTest()
89 std::string itemid; member in PubSubTasksTest
127 EXPECT_EQ("key0", listener->items[0].itemid); in TEST_F()
130 EXPECT_EQ("key1", listener->items[1].itemid); in TEST_F()
179 EXPECT_EQ("key0", listener->items[0].itemid); in TEST_F()
183 EXPECT_EQ("key1", listener->items[1].itemid); in TEST_F()
207 new buzz::PubSubPublishTask(client, pubsubjid, node, itemid, children); in TEST_F()
231 new buzz::PubSubPublishTask(client, pubsubjid, node, itemid, children); in TEST_F()
[all …]
Dpubsubtasks.h24 std::string itemid; member
78 const std::string& itemid,
81 const std::string& itemid() const { return itemid_; } in itemid() function
99 const std::string& itemid);
101 const std::string& itemid() const { return itemid_; } in itemid() function
Dpubsubstateclient.h120 std::string itemid = state_name_.LocalPart() + ":" + key; in Publish() local
122 client_->RetractItem(itemid, task_id_out); in Publish()
126 client_->PublishItem(itemid, state_elem, task_id_out); in Publish()
173 const std::string& itemid = item.itemid; in OnItem() local
180 (info_by_itemid_.find(itemid) != info_by_itemid_.end()); in OnItem()
186 info = info_by_itemid_[itemid]; in OnItem()
187 info_by_itemid_.erase(itemid); in OnItem()
193 info_by_itemid_[itemid] = info; in OnItem()
Dpubsubclient.cc37 const std::string& itemid, XmlElement* payload, std::string* task_id_out) { in PublishItem() argument
40 PublishItem(itemid, children, task_id_out); in PublishItem()
44 const std::string& itemid, const std::vector<XmlElement*>& children, in PublishItem() argument
47 new PubSubPublishTask(parent_, pubsubjid_, node_, itemid, children); in PublishItem()
57 const std::string& itemid, std::string* task_id_out) { in RetractItem() argument
59 new PubSubRetractTask(parent_, pubsubjid_, node_, itemid); in RetractItem()
Dpubsubclient.h76 void PublishItem(const std::string& itemid,
80 void PublishItem(const std::string& itemid,
84 void RetractItem(const std::string& itemid,
Dhangoutpubsubclient.cc72 std::string itemid = published_nick; in Publish() local
76 client()->PublishItem(itemid, children, task_id_out); in Publish()