HomeSort by relevance Sort by last modified time
    Searched defs:presence (Results 1 - 18 of 18) sorted by null

  /external/chromium/third_party/libjingle/source/talk/examples/call/
friendinvitesendtask.cc 38 // Need to first add to roster, then subscribe to presence.
49 // Subscribe to presence
50 XmlElement* presence = new XmlElement(QN_PRESENCE); local
51 presence->AddAttr(QN_TO, user.Str());
52 presence->AddAttr(QN_TYPE, STR_SUBSCRIBE);
58 presence->AddElement(invitation);
59 QueueStanza(presence);
  /external/smack/src/org/jivesoftware/smackx/pubsub/
AccessModel.java 30 /** Anyone with a presence subscription of both or from may subscribe and retrieve items */
31 presence, enum constant in enum:AccessModel
  /external/smack/src/org/jivesoftware/smackx/muc/
DeafOccupantInterceptor.java 26 import org.jivesoftware.smack.packet.Presence;
29 * Packet interceptor that will intercept presence packets sent to the MUC service to indicate
48 Presence presence = (Presence) packet; local
50 if (Presence.Type.available == presence.getType() &&
51 presence.getExtension("x", "http://jabber.org/protocol/muc") != null) {
MultiUserChat.java 56 import org.jivesoftware.smack.packet.Presence;
91 private Map<String, Presence> occupantsMap = new ConcurrentHashMap<String, Presence>();
333 // We create a room by sending a presence packet to room@service/nick
335 Presence joinPresence = new Presence(Presence.Type.available);
339 // Invoke presence interceptors so that extra information can be dynamically added
344 // Wait for a presence packet back from the server.
348 new PacketTypeFilter(Presence.class))
353 Presence presence = local
488 Presence presence; local
1013 Presence presence = local
1610 Presence presence = occupantsMap.get(user); local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/
Gateway.java 19 import org.jivesoftware.smack.packet.Presence;
231 new PacketTypeFilter(Presence.class));
283 * receives the first presence broadcasted by your server. But it is possible to
284 * manually login and logout by sending a directed presence. This method sends an
285 * empty available presence direct to the gateway.
288 Presence presence = new Presence(Presence.Type.available); local
289 login(presence);
309 Presence presence = new Presence(Presence.Type.unavailable); local
319 Presence presence = (Presence)packet; local
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
PacketParserUtils.java 40 import org.jivesoftware.smack.packet.Presence;
183 * Parses a presence packet.
185 * @param parser the XML parser, positioned at the start of a presence packet.
186 * @return a Presence packet.
189 public static Presence parsePresence(XmlPullParser parser) throws Exception {
190 Presence.Type type = Presence.Type.available;
194 type = Presence.Type.valueOf(typeString);
197 System.err.println("Found invalid presence type " + typeString);
200 Presence presence = new Presence(type) local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/agent/
AgentSession.java 45 * This class embodies the agent's active presence within a given workgroup. The application
62 private Presence.Mode presenceMode;
112 filter.addFilter(new PacketTypeFilter(Presence.class));
167 * Returns the agent's current presence mode.
169 * @return the agent's current presence mode.
171 public Presence.Mode getPresenceMode() {
195 * new data, the revised meta data will be rebroadcast in an agent's presence broadcast.
215 * the revised meta data will be rebroadcast in an agent's presence broadcast.
255 Presence presence; local
355 Presence presence = new Presence(Presence.Type.available); local
410 Presence presence = new Presence(Presence.Type.available); local
695 Presence presence = (Presence)packet; local
    [all...]
AgentRoster.java 29 import org.jivesoftware.smack.packet.Presence;
42 * Manges information about the agents in a workgroup and their presence.
57 private Map<String, Map<String, Presence>> presenceMap;
72 presenceMap = new HashMap<String, Map<String, Presence>>();
76 // Listen for any presence packets.
78 new PacketTypeFilter(Presence.class));
116 Map<String,Presence> userPresences = presenceMap.get(jid);
118 Iterator<Presence> presences = userPresences.values().iterator();
120 // Fire the presence changed event
190 * Returns the presence info for a particular agent, or <tt>null</tt> if the agent
202 Presence presence = new Presence(Presence.Type.unavailable); local
211 Presence presence = null; local
283 Presence presence = (Presence)packet; local
317 userPresences.put(StringUtils.parseResource(from), presence); local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 67 "(SELECT " + StatusUpdates.PRESENCE +
75 int presence = -1; field in class:GlobalSearchSupport.SearchSuggestion
95 if (presence != -1) {
96 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence));
153 presence = -1;
262 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4);
  /external/smack/src/org/jivesoftware/smack/
Roster.java 28 import org.jivesoftware.smack.packet.Presence;
38 * presence updates for. Roster items are categorized into groups for easier management.<p>
64 private Map<String, Map<String, Presence>> presenceMap;
118 presenceMap = new ConcurrentHashMap<String, Map<String, Presence>>();
122 // Listen for any presence packets.
123 PacketFilter presenceFilter = new PacketTypeFilter(Presence.class);
131 // Changes the presence available contacts to unavailable
136 // Changes the presence available contacts to unavailable
164 * listens for Presence packets that have a type of
165 * {@link org.jivesoftware.smack.packet.Presence.Type#subscribe}
611 Presence presence = new Presence(Presence.Type.unavailable); local
618 Presence presence = null; local
671 Presence presence = new Presence(Presence.Type.unavailable); local
676 Presence presence = userPresences.get(resource); local
703 Presence presence = new Presence(Presence.Type.unavailable); local
718 Presence presence = new Presence(Presence.Type.unavailable); local
842 Presence presence = (Presence) packet; local
863 userPresences.put(StringUtils.parseResource(from), presence); local
891 userPresences.put(StringUtils.parseResource(from), presence); local
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 180 mPresenceView = (ImageView) findViewById(R.id.presence);
321 * Manually set the presence.
323 public void setPresence(int presence) {
324 mPresenceView.setImageResource(StatusUpdates.getPresenceIconResourceId(presence));
328 * Manually set the presence. If presence is null, it is hidden.
332 public void setPresence(Integer presence) {
333 if (presence == null) {
337 setPresence(presence.intValue());
342 * Turn on/off showing the presence
646 int presence = c.getInt(ContactQuery.CONTACT_PRESENCE_STATUS); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileAdapter.java 270 // Set presence icon and status message
272 int presence = 0; local
274 presence = cursor.getInt(mPresenceIndex);
275 icon = ContactPresenceIconUtil.getPresenceIcon(mContext, presence);
283 // If there is no status message from the contact, but there was a presence value,
285 if (statusMessage == null && presence != 0) {
286 statusMessage = ContactStatusUtil.getStatusString(mContext, presence);
ContactListItemView.java 63 * icons for presence and call.
68 * to the left of the photo, the text lines are aligned to the left and the presence icon (if
413 // Status view height is the biggest of the text view and the presence icon
422 // Presence and status are in a same row, so status will be affected by icon size.
561 // Layout all text view and presence icon
571 // Presence and status
1180 int presence = 0; local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/entitycaps/
EntityCapsManager.java 31 import org.jivesoftware.smack.packet.Presence;
265 PacketFilter packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new PacketExtensionFilter(
268 // Listen for remote presence stanzas with the caps extension
291 packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new NotFilter(new PacketExtensionFilter(
303 packetFilter = new PacketTypeFilter(Presence.class);
311 // Intercept presence packages and add caps data when intended.
313 // with every presence notification it sends.
314 PacketFilter capsPacketFilter = new PacketTypeFilter(Presence.class);
425 * If we are connected and there was already a presence send, another
426 * presence is send to inform others about your new Entity Caps node string
492 Presence presence = new Presence(Presence.Type.available); local
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactFragment.java 431 // Apply presence and status details when available
540 public int presence = -1; field in class:ContactFragment.ViewEntry
576 * and {@link #footerLine}. Otherwise only {@link #presence}
580 presence = status.getPresence();
606 // Choose the presence with the highest precedence.
607 if (StatusUpdates.getPresencePrecedence(presence)
608 < StatusUpdates.getPresencePrecedence(entry.presence)) {
609 presence = entry.presence;
758 // Set the presence ico
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
ContactLoader.java 174 Data.PRESENCE,
246 public static final int PRESENCE = 54;
393 if (!cursor.isNull(ContactQuery.PRESENCE)
512 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) local
529 altDisplayName, phoneticName, starred, presence, sendToVoicemail,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 437 // The presence of a static photo container is not sufficient to determine whether or
659 // Apply presence when available
1238 public int presence = -1; field in class:ContactDetailFragment.DetailViewEntry
    [all...]
  /prebuilts/devtools/tools/lib/
lint-checks.jar 

Completed in 642 milliseconds