Home
last modified time | relevance | path

Searched refs:newPresence (Results 1 – 6 of 6) sorted by relevance

/packages/apps/IM/src/com/android/im/imps/
DImpsPresenceUtils.java73 Presence oldPresence, Presence newPresence, PresenceMapping mapping) { in buildUpdatePresenceElems() argument
74 int status = newPresence.getStatus(); in buildUpdatePresenceElems()
92 String statusText = newPresence.getStatusText(); in buildUpdatePresenceElems()
103 byte[] avatar = newPresence.getAvatarData(); in buildUpdatePresenceElems()
109 statusContent.addChild(ImpsTags.ContentType, newPresence.getAvatarType()); in buildUpdatePresenceElems()
DImpsConnection.java633 final Presence newPresence = new Presence(presence); in doUpdateUserPresenceAsync() local
639 savePresenceChange(newPresence); in doUpdateUserPresenceAsync()
651 void savePresenceChange(Presence newPresence) { in savePresenceChange() argument
652 mUserPresence.setStatusText(newPresence.getStatusText()); in savePresenceChange()
653 mUserPresence.setStatus(newPresence.getStatus()); in savePresenceChange()
654 mUserPresence.setAvatar(newPresence.getAvatarData(), newPresence.getAvatarType()); in savePresenceChange()
/packages/apps/IM/src/com/android/im/app/
DUserPresenceView.java215 Presence newPresence = new Presence(mPresence); in updatePresence() local
218 newPresence.setStatus(status); in updatePresence()
220 newPresence.setStatusText(statusText); in updatePresence()
223 int res = mConn.updateUserPresence(newPresence); in updatePresence()
228 mPresence = newPresence; in updatePresence()
/packages/apps/IM/src/com/android/im/engine/
DImConnection.java117 public void updateUserPresenceAsync(Presence newPresence) throws ImException { in updateUserPresenceAsync() argument
122 doUpdateUserPresenceAsync(newPresence); in updateUserPresenceAsync()
/packages/apps/IM/src/com/android/im/
DIImConnection.aidl50 int updateUserPresence(in Presence newPresence); in updateUserPresence() argument
/packages/apps/IM/src/com/android/im/service/
DImConnectionAdapter.java234 public int updateUserPresence(Presence newPresence) { in updateUserPresence() argument
236 mConnection.updateUserPresenceAsync(newPresence); in updateUserPresence()