Home
last modified time | relevance | path

Searched refs:streamItemId (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java4341 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
4344 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
4347 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
4485 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
4486 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
4543 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
4547 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
4553 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
4577 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
4579 mResolver.update(ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), values, in testUpdateStreamItemById()
[all …]
DBaseContactsProvider2Test.java447 protected Uri insertStreamItemPhoto(long streamItemId, ContentValues values, Account account) { in insertStreamItemPhoto() argument
450 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in insertStreamItemPhoto()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java1831 long streamItemId = c.getLong(1); in cleanupPhotoStore() local
1835 streamItemPhotoIdToStreamItemId.put(streamItemPhotoId, streamItemId); in cleanupPhotoStore()
2791 long streamItemId = mValues.getAsLong(StreamItemPhotos.STREAM_ITEM_ID); in insertStreamItemPhoto() local
2792 if (streamItemId != 0) { in insertStreamItemPhoto()
2793 long rawContactId = lookupRawContactIdForStreamId(streamItemId); in insertStreamItemPhoto()
2854 private long lookupRawContactIdForStreamId(long streamItemId) { in lookupRawContactIdForStreamId() argument
2859 StreamItems._ID + "=?", new String[]{String.valueOf(streamItemId)}, in lookupRawContactIdForStreamId()
2921 long streamItemId = c.getLong(0); in cleanUpOldStreamItems() local
2922 if (insertedStreamItemId == streamItemId) { in cleanUpOldStreamItems()
3560 String streamItemId = uri.getLastPathSegment(); in deleteInTransaction() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java784 long streamItemId = sipCursor.getLong( in loadStreamItems() local
786 StreamItemEntry streamItem = streamItemsById.get(streamItemId); in loadStreamItems()