Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Djid_unittest.cc10 Jid jid("dude"); in TEST() local
11 EXPECT_EQ("", jid.node()); in TEST()
12 EXPECT_EQ("dude", jid.domain()); in TEST()
13 EXPECT_EQ("", jid.resource()); in TEST()
14 EXPECT_EQ("dude", jid.Str()); in TEST()
15 EXPECT_EQ("dude", jid.BareJid().Str()); in TEST()
16 EXPECT_TRUE(jid.IsValid()); in TEST()
17 EXPECT_TRUE(jid.IsBare()); in TEST()
18 EXPECT_FALSE(jid.IsFull()); in TEST()
22 Jid jid("walter@dude"); in TEST() local
[all …]
Drostermoduleimpl.cc150 XmppPresenceImpl::jid() const { in jid() function in buzz::XmppPresenceImpl
390 XmppRosterContactImpl::jid() const { in jid() function in buzz::XmppRosterContactImpl
395 XmppRosterContactImpl::set_jid(const Jid& jid) in set_jid() argument
400 if (!jid.IsValid()) in set_jid()
403 raw_xml_->SetAttr(QN_JID, jid.Str()); in set_jid()
673 XmppRosterModuleImpl::GetIncomingPresenceForJidCount(const Jid& jid) in GetIncomingPresenceForJidCount() argument
677 pos = incoming_presence_map_->find(jid); in GetIncomingPresenceForJidCount()
687 XmppRosterModuleImpl::GetIncomingPresenceForJid(const Jid& jid, in GetIncomingPresenceForJid() argument
690 pos = incoming_presence_map_->find(jid); in GetIncomingPresenceForJid()
728 explicit RosterPredicate(const Jid& jid) : jid_(jid) { in RosterPredicate() argument
[all …]
Drostermoduleimpl.h50 virtual const Jid jid() const;
116 virtual const Jid jid() const;
119 virtual XmppReturnStatus set_jid(const Jid& jid);
215 virtual size_t GetIncomingPresenceForJidCount(const Jid& jid);
218 virtual const XmppPresence* GetIncomingPresenceForJid(const Jid& jid,
236 virtual const XmppRosterContact* FindRosterContact(const Jid& jid);
248 virtual XmppReturnStatus RequestRosterRemove(const Jid& jid);
253 virtual XmppReturnStatus RequestSubscription(const Jid& jid);
256 virtual XmppReturnStatus CancelSubscription(const Jid& jid);
259 virtual XmppReturnStatus ApproveSubscriber(const Jid& jid);
[all …]
Drostermodule.h110 virtual const Jid jid() const = 0;
168 virtual const Jid jid() const = 0;
171 virtual XmppReturnStatus set_jid(const Jid& jid) = 0;
296 virtual size_t GetIncomingPresenceForJidCount(const Jid& jid) = 0;
299 virtual const XmppPresence* GetIncomingPresenceForJid(const Jid& jid,
317 virtual const XmppRosterContact* FindRosterContact(const Jid& jid) = 0;
329 virtual XmppReturnStatus RequestRosterRemove(const Jid& jid) = 0;
334 virtual XmppReturnStatus RequestSubscription(const Jid& jid) = 0;
337 virtual XmppReturnStatus CancelSubscription(const Jid& jid) = 0;
340 virtual XmppReturnStatus ApproveSubscriber(const Jid& jid) = 0;
[all …]
/external/chromium_org/remoting/host/
Dhost_event_logger_posix.cc33 virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE;
34 virtual void OnClientDisconnected(const std::string& jid) OVERRIDE;
35 virtual void OnAccessDenied(const std::string& jid) OVERRIDE;
37 const std::string& jid,
69 void HostEventLoggerPosix::OnClientAuthenticated(const std::string& jid) { in OnClientAuthenticated() argument
70 Log("Client connected: " + jid); in OnClientAuthenticated()
73 void HostEventLoggerPosix::OnClientDisconnected(const std::string& jid) { in OnClientDisconnected() argument
74 Log("Client disconnected: " + jid); in OnClientDisconnected()
77 void HostEventLoggerPosix::OnAccessDenied(const std::string& jid) { in OnAccessDenied() argument
78 Log("Access denied for client: " + jid); in OnAccessDenied()
[all …]
Dipc_host_event_logger.cc30 void IpcHostEventLogger::OnAccessDenied(const std::string& jid) { in OnAccessDenied() argument
33 daemon_channel_->Send(new ChromotingNetworkDaemonMsg_AccessDenied(jid)); in OnAccessDenied()
36 void IpcHostEventLogger::OnClientAuthenticated(const std::string& jid) { in OnClientAuthenticated() argument
40 new ChromotingNetworkDaemonMsg_ClientAuthenticated(jid)); in OnClientAuthenticated()
43 void IpcHostEventLogger::OnClientConnected(const std::string& jid) { in OnClientConnected() argument
46 daemon_channel_->Send(new ChromotingNetworkDaemonMsg_ClientConnected(jid)); in OnClientConnected()
49 void IpcHostEventLogger::OnClientDisconnected(const std::string& jid) { in OnClientDisconnected() argument
52 daemon_channel_->Send(new ChromotingNetworkDaemonMsg_ClientDisconnected(jid)); in OnClientDisconnected()
56 const std::string& jid, in OnClientRouteChange() argument
69 jid, channel_name, serialized_route)); in OnClientRouteChange()
Dlog_to_server.cc42 void LogToServer::LogSessionStateChange(const std::string& jid, in LogSessionStateChange() argument
52 DCHECK(connection_route_type_.count(jid) == 1); in LogSessionStateChange()
53 AddConnectionTypeToLogEntry(entry.get(), connection_route_type_[jid]); in LogSessionStateChange()
74 void LogToServer::OnClientConnected(const std::string& jid) { in OnClientConnected() argument
76 LogSessionStateChange(jid, true); in OnClientConnected()
79 void LogToServer::OnClientDisconnected(const std::string& jid) { in OnClientDisconnected() argument
81 LogSessionStateChange(jid, false); in OnClientDisconnected()
82 connection_route_type_.erase(jid); in OnClientDisconnected()
85 void LogToServer::OnClientRouteChange(const std::string& jid, in OnClientRouteChange() argument
91 connection_route_type_[jid] = route.type; in OnClientRouteChange()
Dhost_event_logger_win.cc35 virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE;
36 virtual void OnClientDisconnected(const std::string& jid) OVERRIDE;
37 virtual void OnAccessDenied(const std::string& jid) OVERRIDE;
39 const std::string& jid,
80 void HostEventLoggerWin::OnClientAuthenticated(const std::string& jid) { in OnClientAuthenticated() argument
81 LogString(EVENTLOG_INFORMATION_TYPE, MSG_HOST_CLIENT_CONNECTED, jid); in OnClientAuthenticated()
84 void HostEventLoggerWin::OnClientDisconnected(const std::string& jid) { in OnClientDisconnected() argument
85 LogString(EVENTLOG_INFORMATION_TYPE, MSG_HOST_CLIENT_DISCONNECTED, jid); in OnClientDisconnected()
88 void HostEventLoggerWin::OnAccessDenied(const std::string& jid) { in OnAccessDenied() argument
89 LogString(EVENTLOG_ERROR_TYPE, MSG_HOST_CLIENT_ACCESS_DENIED, jid); in OnAccessDenied()
[all …]
Dhost_status_observer.h30 virtual void OnAccessDenied(const std::string& jid) {} in OnAccessDenied() argument
33 virtual void OnClientAuthenticated(const std::string& jid) {} in OnClientAuthenticated() argument
36 virtual void OnClientConnected(const std::string& jid) {} in OnClientConnected() argument
39 virtual void OnClientDisconnected(const std::string& jid) {} in OnClientDisconnected() argument
43 virtual void OnClientRouteChange(const std::string& jid, in OnClientRouteChange() argument
Dipc_host_event_logger.h37 virtual void OnAccessDenied(const std::string& jid) OVERRIDE;
38 virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE;
39 virtual void OnClientConnected(const std::string& jid) OVERRIDE;
40 virtual void OnClientDisconnected(const std::string& jid) OVERRIDE;
42 const std::string& jid,
/external/smack/src/org/jivesoftware/smackx/bookmark/
DBookmarkedConference.java31 private final String jid; field in BookmarkedConference
37 protected BookmarkedConference(String jid) { in BookmarkedConference() argument
38 this.jid = jid; in BookmarkedConference()
41 protected BookmarkedConference(String name, String jid, boolean autoJoin, String nickname, in BookmarkedConference() argument
45 this.jid = jid; in BookmarkedConference()
84 return jid; in getJid()
120 return conference.getJid().equalsIgnoreCase(jid); in equals()
/external/smack/src/org/jivesoftware/smackx/pubsub/
DSubscription.java23 protected String jid; field in Subscription
65 public Subscription(String jid, String nodeId, String subscriptionId, State state) in Subscription() argument
68 this.jid = jid; in Subscription()
84 …public Subscription(String jid, String nodeId, String subscriptionId, State state, boolean configR… in Subscription() argument
87 this.jid = jid; in Subscription()
100 return jid; in getJid()
136 appendAttribute(builder, "jid", jid); in toXML()
DAffiliation.java31 protected String jid; field in Affiliation
46 public Affiliation(String jid, Type affiliation) in Affiliation() argument
48 this(jid, null, affiliation); in Affiliation()
58 public Affiliation(String jid, String node, Type affiliation) in Affiliation() argument
60 this.jid = jid; in Affiliation()
67 return jid; in getJid()
96 appendAttribute(builder, "jid", jid); in toXML()
DUnsubscribeExtension.java26 protected String jid; field in UnsubscribeExtension
39 public UnsubscribeExtension(String jid, String nodeId, String subscriptionId) in UnsubscribeExtension() argument
42 this.jid = jid; in UnsubscribeExtension()
48 return jid; in getJid()
61 XmlUtils.appendAttribute(builder, "jid", jid); in toXML()
DOptionsExtension.java25 protected String jid; field in OptionsExtension
38 public OptionsExtension(String jid, String nodeId, String subscriptionId) in OptionsExtension() argument
41 this.jid = jid; in OptionsExtension()
47 return jid; in getJid()
60 XmlUtils.appendAttribute(builder, "jid", jid); in toXML()
/external/smack/src/org/jivesoftware/smack/packet/
DBind.java37 private String jid = null; field in Bind
52 return jid; in getJid()
55 public void setJid(String jid) { in setJid() argument
56 this.jid = jid; in setJid()
65 if (jid != null) { in getChildElementXML()
66 buf.append("<jid>").append(jid).append("</jid>"); in getChildElementXML()
/external/smack/src/org/jivesoftware/smackx/
DMultipleRecipientManager.java157 String jid = it.next().getJid(); in reply() local
158 to.add(jid); in reply()
161 String jid = it.next().getJid(); in reply() local
162 cc.add(jid); in reply()
208 String jid = it.next(); in sendToIndividualRecipients() local
209 packet.setTo(jid); in sendToIndividualRecipients()
215 String jid = it.next(); in sendToIndividualRecipients() local
216 packet.setTo(jid); in sendToIndividualRecipients()
222 String jid = it.next(); in sendToIndividualRecipients() local
223 packet.setTo(jid); in sendToIndividualRecipients()
[all …]
/external/smack/src/org/jivesoftware/smackx/muc/
DOccupant.java39 private String jid; field in Occupant
44 this.jid = item.getJid(); in Occupant()
55 this.jid = item.getJid(); in Occupant()
71 return jid; in getJid()
110 return jid.equals(occupant.jid); in equals()
117 result = 17 * result + jid.hashCode(); in hashCode()
/external/smack/src/org/jivesoftware/smackx/packet/
DMUCOwner.java115 private String jid; field in MUCOwner.Item
166 return jid; in getJid()
216 public void setJid(String jid) { in setJid() argument
217 this.jid = jid; in setJid()
283 private String jid; field in MUCOwner.Destroy
292 return jid; in getJid()
309 public void setJid(String jid) { in setJid() argument
310 this.jid = jid; in setJid()
DMultipleAddresses.java57 public void addAddress(String type, String jid, String node, String desc, boolean delivered, in addAddress() argument
61 address.setJid(jid); in addAddress()
123 private String jid; field in MultipleAddresses.Address
138 return jid; in getJid()
141 private void setJid(String jid) { in setJid() argument
142 this.jid = jid; in setJid()
182 if (jid != null) { in toXML()
184 buf.append(jid).append("\""); in toXML()
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
DAgentInfo.java41 private String jid; field in AgentInfo
50 return jid; in getJid()
58 public void setJid(String jid) { in setJid() argument
59 this.jid = jid; in setJid()
86 if (jid != null) { in getChildElementXML()
DOccupantsInfo.java101 private String jid; field in OccupantsInfo.OccupantInfo
105 public OccupantInfo(String jid, String nickname, Date joined) { in OccupantInfo() argument
106 this.jid = jid; in OccupantInfo()
112 return jid; in getJID()
152 String jid = null; in parseOccupantInfo() local
158 jid = parser.nextText(); in parseOccupantInfo()
170 return new OccupantInfo(jid, nickname, joined); in parseOccupantInfo()
DAgentStatusRequest.java93 private String jid; field in AgentStatusRequest.Item
97 public Item(String jid, String type, String name) { in Item() argument
98 this.jid = jid; in Item()
104 return jid; in getJID()
146 String jid = parser.getAttributeValue("", "jid"); in parseAgent() local
160 return new Item(jid, type, name); in parseAgent()
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
Dtunnelsessionclient.h59 TunnelSessionClientBase(const buzz::Jid& jid, SessionManager* manager,
63 const buzz::Jid& jid() const { return jid_; } in jid() function
79 virtual void OnIncomingTunnel(const buzz::Jid &jid, Session *session) = 0;
83 const buzz::Jid &jid, const std::string &description) = 0;
110 TunnelSessionClient(const buzz::Jid& jid, SessionManager* manager);
111 TunnelSessionClient(const buzz::Jid& jid, SessionManager* manager,
128 virtual void OnIncomingTunnel(const buzz::Jid &jid,
131 const buzz::Jid &jid, const std::string &description);
/external/smack/src/org/jivesoftware/smackx/ping/
DPingManager.java199 public IQ ping(String jid, long pingTimeout) { in ping() argument
204 Ping ping = new Ping(connection.getUser(), jid); in ping()
224 public IQ ping(String jid) { in ping() argument
225 return ping(jid, SmackConfiguration.getPacketReplyTimeout()); in ping()
242 public boolean pingEntity(String jid, long pingTimeout) { in pingEntity() argument
243 IQ result = ping(jid, pingTimeout); in pingEntity()
252 public boolean pingEntity(String jid) { in pingEntity() argument
253 return pingEntity(jid, SmackConfiguration.getPacketReplyTimeout()); in pingEntity()
294 public boolean isPingSupported(String jid) { in isPingSupported() argument
297 ServiceDiscoveryManager.getInstanceFor(connection).discoverInfo(jid); in isPingSupported()

1234567