Home
last modified time | relevance | path

Searched refs:jid (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmpp/
Djid_unittest.cc17 Jid jid("dude"); in TEST() local
18 EXPECT_EQ("", jid.node()); in TEST()
19 EXPECT_EQ("dude", jid.domain()); in TEST()
20 EXPECT_EQ("", jid.resource()); in TEST()
21 EXPECT_EQ("dude", jid.Str()); in TEST()
22 EXPECT_EQ("dude", jid.BareJid().Str()); in TEST()
23 EXPECT_TRUE(jid.IsValid()); in TEST()
24 EXPECT_TRUE(jid.IsBare()); in TEST()
25 EXPECT_FALSE(jid.IsFull()); in TEST()
29 Jid jid("walter@dude"); in TEST() local
[all …]
Drostermoduleimpl.cc133 XmppPresenceImpl::jid() const { in jid() function in buzz::XmppPresenceImpl
373 XmppRosterContactImpl::jid() const { in jid() function in buzz::XmppRosterContactImpl
378 XmppRosterContactImpl::set_jid(const Jid& jid) in set_jid() argument
383 if (!jid.IsValid()) in set_jid()
386 raw_xml_->SetAttr(QN_JID, jid.Str()); in set_jid()
656 XmppRosterModuleImpl::GetIncomingPresenceForJidCount(const Jid& jid) in GetIncomingPresenceForJidCount() argument
660 pos = incoming_presence_map_->find(jid); in GetIncomingPresenceForJidCount()
670 XmppRosterModuleImpl::GetIncomingPresenceForJid(const Jid& jid, in GetIncomingPresenceForJid() argument
673 pos = incoming_presence_map_->find(jid); in GetIncomingPresenceForJid()
711 explicit RosterPredicate(const Jid& jid) : jid_(jid) { in RosterPredicate() argument
[all …]
Drostermoduleimpl.h33 virtual const Jid jid() const;
99 virtual const Jid jid() const;
102 virtual XmppReturnStatus set_jid(const Jid& jid);
198 virtual size_t GetIncomingPresenceForJidCount(const Jid& jid);
201 virtual const XmppPresence* GetIncomingPresenceForJid(const Jid& jid,
219 virtual const XmppRosterContact* FindRosterContact(const Jid& jid);
231 virtual XmppReturnStatus RequestRosterRemove(const Jid& jid);
236 virtual XmppReturnStatus RequestSubscription(const Jid& jid);
239 virtual XmppReturnStatus CancelSubscription(const Jid& jid);
242 virtual XmppReturnStatus ApproveSubscriber(const Jid& jid);
[all …]
Drostermodule.h93 virtual const Jid jid() const = 0;
151 virtual const Jid jid() const = 0;
154 virtual XmppReturnStatus set_jid(const Jid& jid) = 0;
279 virtual size_t GetIncomingPresenceForJidCount(const Jid& jid) = 0;
282 virtual const XmppPresence* GetIncomingPresenceForJid(const Jid& jid,
300 virtual const XmppRosterContact* FindRosterContact(const Jid& jid) = 0;
312 virtual XmppReturnStatus RequestRosterRemove(const Jid& jid) = 0;
317 virtual XmppReturnStatus RequestSubscription(const Jid& jid) = 0;
320 virtual XmppReturnStatus CancelSubscription(const Jid& jid) = 0;
323 virtual XmppReturnStatus ApproveSubscriber(const Jid& jid) = 0;
[all …]
Dfakexmppclient.h46 virtual const Jid& jid() const { in jid() function
82 void set_jid(const Jid& jid) { in set_jid() argument
83 jid_ = jid; in set_jid()
Dplainsaslhandler.h23 PlainSaslHandler(const Jid & jid, const rtc::CryptString & password, in PlainSaslHandler() argument
24 bool allow_plain) : jid_(jid), password_(password), in PlainSaslHandler()
Dutil_unittest.h53 inline std::ostream& operator<<(std::ostream& os, const buzz::Jid& jid) {
54 os << jid.Str();
Djid.cc134 void Jid::CopyFrom(const Jid& jid) { in CopyFrom() argument
135 this->node_name_ = jid.node_name_; in CopyFrom()
136 this->domain_name_ = jid.domain_name_; in CopyFrom()
137 this->resource_name_ = jid.resource_name_; in CopyFrom()
Dpresencestatus.h38 const Jid& jid() const { return jid_; } in jid() function
56 void set_jid(const Jid& jid) { jid_ = jid; } in set_jid() argument
Dxmppauth.cc25 void XmppAuth::StartPreXmppAuth(const buzz::Jid& jid, in StartPreXmppAuth() argument
30 jid_ = jid; in StartPreXmppAuth()
Djingleinfotask.cc76 !from.BareEquals(GetClient()->jid()) && in HandleStanza()
77 from != Jid(GetClient()->jid().domain())) in HandleStanza()
Dpresenceouttask.cc44 XmppReturnStatus PresenceOutTask::SendProbe(const Jid & jid) { in SendProbe() argument
49 presence->AddAttr(QN_TO, jid.Str()); in SendProbe()
Dxmppengine_unittest.cc63 Jid jid("david@my-server"); in SetUp() local
69 engine_->SetUser(jid); in SetUp()
71 new buzz::PlainSaslHandler(jid, rtc::CryptString(pass), true)); in SetUp()
Dmucroomlookuptask.cc132 room.jid = Jid(item_elem->Attr(buzz::QN_JID)); in HandleResult()
133 if (!room.jid.IsValid()) { in HandleResult()
Dxmpp.gyp37 'jid.cc',
38 'jid.h',
Dmucroomlookuptask_unittest.cc111 EXPECT_EQ(room_jid, listener->last_room.jid); in TEST_F()
151 EXPECT_EQ(room_jid, listener->last_room.jid); in TEST_F()
Dpresenceouttask.h28 XmppReturnStatus SendProbe(const Jid& jid);
Ddiscoitemsquerytask.h45 std::string jid; member
Dxmppauth.h29 virtual void StartPreXmppAuth(const buzz::Jid& jid,
Dprexmppauth.h52 const Jid& jid,
Ddiscoitemsquerytask.cc56 item->jid = element->Attr(QN_JID); in ParseItem()
Dmucroomlookuptask.h20 Jid jid; member
Djid.h50 void CopyFrom(const Jid& jid);
Dxmpplogintask_unittest.cc52 Jid jid("david@my-server"); in SetUp() local
58 engine_->SetUser(jid); in SetUp()
60 new buzz::PlainSaslHandler(jid, rtc::CryptString(pass), true)); in SetUp()
/external/libweave/src/notification/
Dxmpp_channel_unittest.cc191 EXPECT_TRUE(xmpp_client_.jid().empty()); in TEST_F()
199 xmpp_client_.jid()); in TEST_F()

12