Home
last modified time | relevance | path

Searched refs:contactId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/IM/src/com/android/im/app/
DChatSwitcher.java533 String contact, long contactId, int groupChat) { in makeChatIntent() argument
535 ContentUris.withAppendedId(Im.Chats.CONTENT_URI, contactId)); in makeChatIntent()
614 long contactId = c.getLong(mContactIdColumn); in select() local
621 contact, contactId, groupChat); in select()
/packages/apps/IM/src/com/android/im/service/
DStatusBarNotifier.java85 long contactId, String username, String nickname) { in notifySubscriptionRequest() argument
93 ContentUris.withAppendedId(Im.Contacts.CONTENT_URI, contactId)); in notifySubscriptionRequest()
DContactListManagerAdapter.java771 long contactId = cursor.getLong(0); in insertOrUpdateSubscription() local
772 uri = ContentUris.withAppendedId(Im.Contacts.CONTENT_URI, contactId); in insertOrUpdateSubscription()
1029 private ContentValues getPresenceValues(long contactId, Presence p) { in getPresenceValues() argument
1031 values.put(Im.Presence.CONTACT_ID, contactId); in getPresenceValues()
DChatSessionAdapter.java123 long contactId = listManager.queryOrInsertContact(contact); in init() local
129 mChatURI = ContentUris.withAppendedId(Im.Chats.CONTENT_URI, contactId); in init()
/packages/providers/ImProvider/src/com/android/providers/im/
DImProvider.java2146 private void performContactRemovalCleanup(long contactId) { in performContactRemovalCleanup() argument
2149 if (contactId > 0) { in performContactRemovalCleanup()
2150 deleteWithContactId(db, contactId, TABLE_PRESENCE, Im.Presence.CONTACT_ID); in performContactRemovalCleanup()
2151 deleteWithContactId(db, contactId, TABLE_CHATS, Im.Chats.CONTACT_ID); in performContactRemovalCleanup()
2152 deleteWithContactId(db, contactId, TABLE_GROUP_MEMBERS, Im.GroupMembers.GROUP); in performContactRemovalCleanup()
2153 deleteWithContactId(db, contactId, TABLE_GROUP_MESSAGES, Im.GroupMessages.GROUP); in performContactRemovalCleanup()
2162 private void deleteWithContactId(SQLiteDatabase db, long contactId, in deleteWithContactId() argument
2164 db.delete(tableName, columnName + '=' + contactId, null /* selection args */); in deleteWithContactId()