Home
last modified time | relevance | path

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

/external/smack/src/org/jivesoftware/smack/
DRoster.java28 import org.jivesoftware.smack.packet.Presence;
64 private Map<String, Map<String, Presence>> presenceMap;
118 presenceMap = new ConcurrentHashMap<String, Map<String, Presence>>(); in Roster()
123 PacketFilter presenceFilter = new PacketTypeFilter(Presence.class); in Roster()
307 Presence presencePacket = new Presence(Presence.Type.subscribe); in createEntry()
607 public Presence getPresence(String user) { in getPresence()
609 Map<String, Presence> userPresences = presenceMap.get(key); in getPresence()
611 Presence presence = new Presence(Presence.Type.unavailable); in getPresence()
618 Presence presence = null; in getPresence()
621 Presence p = userPresences.get(resource); in getPresence()
[all …]
DBOSHConnection.java38 import org.jivesoftware.smack.packet.Presence;
352 sendPacket(new Presence(Presence.Type.available)); in login()
401 sendPacket(new Presence(Presence.Type.available)); in loginAnonymously()
445 public void disconnect(Presence unavailablePresence) { in disconnect()
487 protected void shutdown(Presence unavailablePresence) { in shutdown()
668 shutdown(new Presence(Presence.Type.unavailable)); in notifyConnectionError()
DRosterListener.java23 import org.jivesoftware.smack.packet.Presence;
82 public void presenceChanged(Presence presence); in presenceChanged()
DXMPPConnection.java26 import org.jivesoftware.smack.packet.Presence;
269 packetWriter.sendPacket(new Presence(Presence.Type.available)); in login()
314 packetWriter.sendPacket(new Presence(Presence.Type.available)); in loginAnonymously()
404 protected void shutdown(Presence unavailablePresence) { in shutdown()
474 public synchronized void disconnect(Presence unavailablePresence) { in disconnect()
1083 shutdown(new Presence(Presence.Type.unavailable)); in notifyConnectionError()
DConnection.java44 import org.jivesoftware.smack.packet.Presence;
490 disconnect(new Presence(Presence.Type.unavailable)); in disconnect()
509 public abstract void disconnect(Presence unavailablePresence); in disconnect()
DConnection.java.orig44 import org.jivesoftware.smack.packet.Presence;
490 disconnect(new Presence(Presence.Type.unavailable));
509 public abstract void disconnect(Presence unavailablePresence);
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
DAgentRoster.java29 import org.jivesoftware.smack.packet.Presence;
57 private Map<String, Map<String, Presence>> presenceMap;
72 presenceMap = new HashMap<String, Map<String, Presence>>(); in AgentRoster()
78 new PacketTypeFilter(Presence.class)); in AgentRoster()
116 Map<String,Presence> userPresences = presenceMap.get(jid); in addListener()
118 Iterator<Presence> presences = userPresences.values().iterator(); in addListener()
198 public Presence getPresence(String user) { in getPresence()
200 Map<String, Presence> userPresences = presenceMap.get(key); in getPresence()
202 Presence presence = new Presence(Presence.Type.unavailable); in getPresence()
210 Presence p; in getPresence()
[all …]
DAgentSession.java62 private Presence.Mode presenceMode;
112 filter.addFilter(new PacketTypeFilter(Presence.class)); in AgentSession()
171 public Presence.Mode getPresenceMode() { in getPresenceMode()
255 Presence presence; in setOnline()
259 presence = new Presence(Presence.Type.available); in setOnline()
264 …his.connection.createPacketCollector(new AndFilter(new PacketTypeFilter(Presence.class), new FromC… in setOnline()
268 presence = (Presence)collector.nextResult(5000); in setOnline()
286 presence = new Presence(Presence.Type.unavailable); in setOnline()
317 public void setStatus(Presence.Mode presenceMode, int maxChats) throws XMPPException { in setStatus()
343 public void setStatus(Presence.Mode presenceMode, int maxChats, String status) in setStatus()
[all …]
DAgentRosterListener.java22 import org.jivesoftware.smack.packet.Presence;
34 public void presenceChanged(Presence presence); in presenceChanged()
/external/smack/src/org/jivesoftware/smackx/
DGateway.java19 import org.jivesoftware.smack.packet.Presence;
231 new PacketTypeFilter(Presence.class)); in register()
288 Presence presence = new Presence(Presence.Type.available); in login()
297 public void login(Presence presence){ in login()
298 presence.setType(Presence.Type.available); in login()
309 Presence presence = new Presence(Presence.Type.unavailable); in logout()
318 if(packet instanceof Presence){ in processPacket()
319 Presence presence = (Presence)packet; in processPacket()
322 presence.getType().equals(Presence.Type.subscribe)){ in processPacket()
323 Presence response = new Presence(Presence.Type.subscribed); in processPacket()
DLastActivityManager.java31 import org.jivesoftware.smack.packet.Presence;
109 Presence presence = (Presence) packet; in LastActivityManager()
110 Presence.Mode mode = presence.getMode(); in LastActivityManager()
120 }, new PacketTypeFilter(Presence.class)); in LastActivityManager()
/external/smack/src/org/jivesoftware/smackx/muc/
DDeafOccupantInterceptor.java26 import org.jivesoftware.smack.packet.Presence;
48 Presence presence = (Presence) packet; in interceptPacket()
50 if (Presence.Type.available == presence.getType() && in interceptPacket()
DMultiUserChat.java56 import org.jivesoftware.smack.packet.Presence;
91 private Map<String, Presence> occupantsMap = new ConcurrentHashMap<String, Presence>();
335 Presence joinPresence = new Presence(Presence.Type.available); in create()
348 new PacketTypeFilter(Presence.class)); in create()
353 Presence presence = in create()
354 (Presence) response.nextResult(SmackConfiguration.getPacketReplyTimeout()); in create()
465 Presence joinPresence = new Presence(Presence.Type.available); in join()
486 new PacketTypeFilter(Presence.class)); in join()
488 Presence presence; in join()
494 presence = (Presence) response.nextResult(timeout); in join()
[all …]
DOccupant.java25 import org.jivesoftware.smack.packet.Presence;
50 Occupant(Presence presence) { in Occupant()
DPacketMultiplexListener.java30 import org.jivesoftware.smack.packet.Presence;
42 private static final PacketFilter PRESENCE_FILTER = new PacketTypeFilter(Presence.class);
/external/chromium_org/net/quic/
Dquic_config.h20 enum Presence { enum
29 QuicNegotiableValue(QuicTag tag, Presence presence);
37 const Presence presence_;
44 QuicNegotiableUint32(QuicTag name, Presence presence);
89 QuicNegotiableTag(QuicTag name, Presence presence);
Dquic_config.cc16 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) in QuicNegotiableValue()
22 QuicNegotiableUint32::QuicNegotiableUint32(QuicTag tag, Presence presence) in QuicNegotiableUint32()
113 QuicNegotiableTag::QuicNegotiableTag(QuicTag tag, Presence presence) in QuicNegotiableTag()
/external/smack/src/org/jivesoftware/smack/packet/
DPresence.java59 public class Presence extends Packet { class
72 public Presence(Type type) { in Presence() method in Presence
84 public Presence(Type type, String status, int priority, Mode mode) { in Presence() method in Presence
/external/smack/src/org/jivesoftware/smackx/entitycaps/
DEntityCapsManager.java31 import org.jivesoftware.smack.packet.Presence;
265 …PacketFilter packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new PacketExtensio… in init()
291 …packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new NotFilter(new PacketExtensi… in init()
303 packetFilter = new PacketTypeFilter(Presence.class); in init()
314 PacketFilter capsPacketFilter = new PacketTypeFilter(Presence.class); in init()
492 Presence presence = new Presence(Presence.Type.available); in updateLocalEntityCaps()
/external/smack/src/org/jivesoftware/smackx/workgroup/user/
DWorkgroup.java158 Presence directedPresence = new Presence(Presence.Type.available); in isAvailable()
160 PacketFilter typeFilter = new PacketTypeFilter(Presence.class); in isAvailable()
167Presence response = (Presence)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); in isAvailable()
178 return Presence.Type.available == response.getType(); in isAvailable()
/external/smack/src/org/jivesoftware/smack/util/
DPacketParserUtils.java40 import org.jivesoftware.smack.packet.Presence;
189 public static Presence parsePresence(XmlPullParser parser) throws Exception { in parsePresence()
190 Presence.Type type = Presence.Type.available; in parsePresence()
194 type = Presence.Type.valueOf(typeString); in parsePresence()
200 Presence presence = new Presence(type); in parsePresence()
238 presence.setMode(Presence.Mode.valueOf(modeText)); in parsePresence()
DPacketParserUtils.java.orig41 import org.jivesoftware.smack.packet.Presence;
187 * @return a Presence packet.
190 public static Presence parsePresence(XmlPullParser parser) throws Exception {
191 Presence.Type type = Presence.Type.available;
195 type = Presence.Type.valueOf(typeString);
201 Presence presence = new Presence(type);
232 // Presence priority is out of range so assume priority to be zero
239 presence.setMode(Presence.Mode.valueOf(modeText));
263 System.err.println("Failed to parse extension packet in Presence packet.");
/external/chromium_org/third_party/icu/patches/
Dlocale3.patch648 +# rfc3920 : XMPP (Extensible Messaging and Presence Protocol)
/external/wpa_supplicant_8/wpa_supplicant/
DREADME-P2P416 Send a P2P Presence Request to the GO (this is only available when
/external/strace/
DChangeLog-CVS1609 * strace.c [!USE_PROCFS] (trace): Presence of PT_GETSIGINFO