Home
last modified time | relevance | path

Searched refs:Jid (Results 1 – 25 of 64) sorted by relevance

123

/external/webrtc/webrtc/libjingle/xmpp/
Djid.cc24 Jid::Jid() { in Jid() function in buzz::Jid
27 Jid::Jid(const std::string& jid_string) { in Jid() function in buzz::Jid
54 Jid::Jid(const std::string& node_name, in Jid() function in buzz::Jid
63 void Jid::ValidateOrReset() { in ValidateOrReset()
79 std::string Jid::Str() const { in Str()
97 Jid::~Jid() { in ~Jid()
100 bool Jid::IsEmpty() const { in IsEmpty()
105 bool Jid::IsValid() const { in IsValid()
109 bool Jid::IsBare() const { in IsBare()
117 bool Jid::IsFull() const { in IsFull()
[all …]
Djid.h28 class Jid {
30 explicit Jid();
31 explicit Jid(const std::string& jid_string);
32 explicit Jid(const std::string& node_name,
35 ~Jid();
42 Jid BareJid() const;
49 bool BareEquals(const Jid& other) const;
50 void CopyFrom(const Jid& jid);
51 bool operator==(const Jid& other) const;
52 bool operator!=(const Jid& other) const { return !operator==(other); }
[all …]
Drostermoduleimpl.h33 virtual const Jid jid() const;
99 virtual const Jid jid() const;
102 virtual XmppReturnStatus set_jid(const Jid& jid);
186 const Jid& to_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);
[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;
200 const Jid& requesting_jid,
206 const Jid& from,
267 const Jid& to_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;
[all …]
Dmucroomlookuptask.h20 Jid jid;
39 const Jid& lookup_server_jid,
44 const Jid& lookup_server_jid,
45 const Jid& room_jid);
48 const Jid& lookup_server_jid,
52 const Jid& lookup_server_jid,
64 const Jid& lookup_server_jid,
68 static XmlElement* MakeJidQuery(const Jid& room_jid);
Djid_unittest.cc14 using buzz::Jid;
17 Jid jid("dude"); in TEST()
29 Jid jid("walter@dude"); in TEST()
41 Jid jid("dude/bowlingalley"); in TEST()
53 Jid jid("walter@dude/bowlingalley"); in TEST()
65 Jid jid("walter@"); in TEST()
77 Jid jid("/bowlingalley"); in TEST()
89 Jid jid("walter@/bowlingalley"); in TEST()
101 Jid jid("bowling@muchat/walter@dude"); in TEST()
113 Jid jid("muchat/walter@dude"); in TEST()
Drostermoduleimpl.cc132 const Jid
135 return Jid(); in jid()
137 return Jid(raw_xml_->Attr(QN_FROM)); in jid()
372 const Jid
374 return Jid(raw_xml_->Attr(QN_JID)); in jid()
378 XmppRosterContactImpl::set_jid(const Jid& jid) in set_jid()
617 const Jid& to_jid) { in SendDirectedPresence()
656 XmppRosterModuleImpl::GetIncomingPresenceForJidCount(const Jid& jid) in GetIncomingPresenceForJidCount()
670 XmppRosterModuleImpl::GetIncomingPresenceForJid(const Jid& jid, in GetIncomingPresenceForJid()
711 explicit RosterPredicate(const Jid& jid) : jid_(jid) { in RosterPredicate()
[all …]
Dmucroomlookuptask.cc22 const Jid& lookup_server_jid, in CreateLookupTaskForRoomName()
31 const Jid& lookup_server_jid, in CreateLookupTaskForRoomJid()
32 const Jid& room_jid) { in CreateLookupTaskForRoomJid()
39 const Jid& lookup_server_jid, in CreateLookupTaskForHangoutId()
48 const Jid& lookup_server_jid, in CreateLookupTaskForExternalId()
56 const Jid& lookup_server_jid, in MucRoomLookupTask()
75 XmlElement* MucRoomLookupTask::MakeJidQuery(const Jid& room_jid) { in MakeJidQuery()
132 room.jid = Jid(item_elem->Attr(buzz::QN_JID)); in HandleResult()
Drostermodule_unittest.cc157 const Jid& requesting_jid, in SubscriptionRequest()
167 const Jid& from, in SubscriptionError()
277 engine->SetUser(Jid("david@my-server")); in TEST_F()
372 Jid("myhoney@honey.net"))); in TEST_F()
400 engine->SetUser(Jid("david@my-server")); in TEST_F()
470 EXPECT_EQ(roster->GetIncomingPresenceForJidCount(Jid("maude@example.net")), in TEST_F()
472 EXPECT_EQ(roster->GetIncomingPresenceForJidCount(Jid("walter@example.net")), in TEST_F()
476 presence = roster->GetIncomingPresenceForJid(Jid("walter@example.net"), 1); in TEST_F()
532 engine->SetUser(Jid("david@my-server")); in TEST_F()
564 TEST_OK(roster->RequestSubscription(Jid("maude@example.net"))); in TEST_F()
[all …]
Dchatroommoduleimpl.cc43 virtual XmppReturnStatus set_chatroom_jid(const Jid& chatroom_jid);
44 virtual const Jid& chatroom_jid() const;
47 virtual const Jid member_jid() const;
85 typedef std::map<Jid, XmppChatroomMemberImpl*> JidMemberMap;
88 Jid chatroom_jid_;
102 const Jid member_jid() const;
103 const Jid full_jid() const;
161 Jid from_jid = Jid(stanza->Attr(QN_FROM)); in HandleStanza()
195 XmppChatroomModuleImpl::set_chatroom_jid(const Jid& chatroom_jid) { in set_chatroom_jid()
208 const Jid&
[all …]
Dpubsubtasks.h35 const Jid& pubsubjid,
50 const Jid& pubsubjid, in PubSubReceiveTask()
66 Jid pubsubjid_;
76 const Jid& pubsubjid,
97 const Jid& pubsubjid,
Dxmpptask.cc93 const buzz::Jid& to, in MakeIq()
116 const Jid& to, in MatchResponseIq()
128 const Jid& to) { in MatchStanzaFrom()
129 Jid from(stanza->Attr(QN_FROM)); in MatchStanzaFrom()
139 Jid me = GetClient()->jid(); in MatchStanzaFrom()
140 return (from == Jid(me.domain())) || (from == me.BareJid()); in MatchStanzaFrom()
Dchatroommodule.h49 virtual XmppReturnStatus set_chatroom_jid(const Jid& chatroom_jid) = 0;
52 virtual const Jid& chatroom_jid() const = 0;
64 virtual const Jid member_jid() const = 0;
144 virtual const Jid member_jid() const = 0;
149 virtual const Jid full_jid() const = 0;
Dxmppengineimpl.h54 virtual XmppReturnStatus SetUser(const Jid& jid);
57 virtual const Jid& GetUser();
162 virtual const Jid& FullJid() { return bound_jid_; } in FullJid()
182 void SignalBound(const Jid& fullJid);
230 Jid user_jid_;
240 Jid bound_jid_;
Dmucroomconfigtask.h24 const Jid& room_jid,
34 const Jid& room_jid() const { return room_jid_; } in room_jid()
42 Jid room_jid_;
Djingleinfotask.cc28 MakeIq(STR_GET, Jid(), task_id())); in ProcessStart()
43 if (!MatchResponseIq(stanza, Jid(), task_id())) in HandleStanza()
74 Jid from(stanza->Attr(QN_FROM)); in HandleStanza()
77 from != Jid(GetClient()->jid().domain())) in HandleStanza()
Dxmpptask.h60 virtual const Jid& jid() const = 0;
141 bool MatchStanzaFrom(const XmlElement* stanza, const Jid& match_jid);
143 bool MatchResponseIq(const XmlElement* stanza, const Jid& to,
150 const Jid& to, const std::string& task_id);
Dfakexmppclient.h46 virtual const Jid& jid() const { in jid()
82 void set_jid(const Jid& jid) { in set_jid()
99 Jid jid_;
Dpubsubclient.h28 class Jid; variable
39 const Jid& pubsubjid, in PubSubClient()
105 Jid pubsubjid_;
Dhangoutpubsubclient.h30 class Jid; variable
40 const Jid& mucjid,
43 const Jid& mucjid() const { return mucjid_; } in mucjid()
164 Jid mucjid_;
Dpresenceouttask.h27 XmppReturnStatus SendDirected(const Jid & j, const PresenceStatus & s);
28 XmppReturnStatus SendProbe(const Jid& jid);
Dpresencereceivetask.h46 void HandlePresence(const Jid& from, const XmlElement * stanza);
50 static void DecodeStatus(const Jid& from, const XmlElement * stanza,
Dpresencereceivetask.cc37 Jid from(stanza->Attr(QN_FROM)); in ProcessStart()
55 void PresenceReceiveTask::HandlePresence(const Jid& from, in HandlePresence()
66 void PresenceReceiveTask::DecodeStatus(const Jid& from, in DecodeStatus()
Diqtask.h24 const std::string& verb, const Jid& to,
42 Jid to_;
Dsaslplainmechanism.h22 SaslPlainMechanism(const buzz::Jid user_jid, const rtc::CryptString & password) : in SaslPlainMechanism()
42 Jid user_jid_;

123