HomeSort by relevance Sort by last modified time
    Searched defs:presence (Results 1 - 24 of 24) 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/chromium_org/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/chromium_org/third_party/libjingle/source/talk/xmpp/
rostermodule_unittest.cc 128 WritePresence(std::ostream& os, const XmppPresence* presence) {
129 if (presence == NULL) {
134 os<<"[Presence jid:";
135 WriteString(os, presence->jid().Str());
136 os<<" available:"<<presence->available();
138 WritePresenceShow(os, presence->presence_show());
139 os<<" priority:"<<presence->priority();
141 WriteString(os, presence->status());
142 os<<"]"<<presence->raw_xml()->Str();
182 //! Some type of presence error has occure
492 const XmppPresence * presence; local
    [all...]
chatroommoduleimpl.cc 83 XmppReturnStatus ServerChangeMyPresence(const XmlElement& presence);
85 XmppReturnStatus ChangePresence(XmppChatroomState new_state, const XmlElement* presence, bool isServer);
87 XmppChatroomEnteredStatus GetEnterFailureFromXml(const XmlElement* presence);
88 XmppChatroomExitedStatus GetExitFailureFromXml(const XmlElement* presence);
92 void FireEnteredStatus(const XmlElement* presence,
115 XmppReturnStatus SetPresence(const XmppPresence* presence);
121 const XmppPresence* presence() const;
182 // handle presence stanza
290 // entering a chatroom is a presence request to the server
328 // exiting a chatroom is a presence request to the serve
681 XmppChatroomMemberImpl::presence() const { function in class:buzz::XmppChatroomMemberImpl
    [all...]
rostermoduleimpl.cc 622 // Scrub the outgoing presence
637 XmppRosterModuleImpl::SendDirectedPresence(const XmppPresence* presence,
639 if (!presence)
645 XmlElement element(*(presence->raw_xml()));
845 // There are two types of stanzas that we care about: presence and roster push
888 // Clear out the vector of all presence notifications
894 XmppPresenceImpl * presence = *pos; local
896 delete presence;
901 // Clear out all of the small presence vectors per Jid
973 // First add the presence to the ma
987 XmppPresenceImpl* presence; 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);
ContactsProvider2.java 623 Tables.AGGREGATED_PRESENCE + "." + StatusUpdates.PRESENCE)
690 Tables.AGGREGATED_PRESENCE + '.' + StatusUpdates.PRESENCE)
3254 final String presence = values.getAsString(StatusUpdates.PRESENCE); local
    [all...]
  /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 272 // Set presence icon and status message
274 int presence = 0; local
276 presence = cursor.getInt(mPresenceIndex);
277 icon = ContactPresenceIconUtil.getPresenceIcon(mContext, presence);
285 // If there is no status message from the contact, but there was a presence value,
287 if (statusMessage == null && presence != 0) {
288 statusMessage = ContactStatusUtil.getStatusString(mContext, presence);
ContactListItemView.java 65 * icons for presence and call.
70 * to the left of the photo, the text lines are aligned to the left and the presence icon (if
433 // Status view height is the biggest of the text view and the presence icon
442 // Presence and status are in a same row, so status will be affected by icon size.
581 // Layout all text view and presence icon
591 // Presence and status
1270 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/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 174 Data.PRESENCE,
246 public static final int PRESENCE = 54;
381 null /* presence */,
487 if (!cursor.isNull(ContactQuery.PRESENCE)
616 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) local
633 altDisplayName, phoneticName, starred, presence, sendToVoicemail,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 417 // The presence of a static photo container is not sufficient to determine whether or
645 // Apply presence when available
1224 public int presence = -1; field in class:ContactDetailFragment.DetailViewEntry
    [all...]
  /prebuilts/devtools/tools/lib/
lint-checks.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.2.0/
lint-checks-22.2.0.jar 

Completed in 1260 milliseconds