Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java2098 long streamItemId = c.getLong(1); in cleanupPhotoStore() local
2102 streamItemPhotoIdToStreamItemId.put(streamItemPhotoId, streamItemId); in cleanupPhotoStore()
3355 final Long streamItemId = inputValues.getAsLong(StreamItemPhotos.STREAM_ITEM_ID); in insertStreamItemPhoto() local
3356 if (streamItemId == null || streamItemId == 0) { in insertStreamItemPhoto()
3440 long streamItemId = c.getLong(0); in cleanUpOldStreamItems() local
3441 if (insertedStreamItemId == streamItemId) { in cleanUpOldStreamItems()
4052 String streamItemId = uri.getLastPathSegment(); in deleteInTransaction() local
4055 new String[] {rawContactId, streamItemId}); in deleteInTransaction()
4060 String streamItemId = uri.getPathSegments().get(1); in deleteInTransaction() local
4062 (StreamItemPhotos.STREAM_ITEM_ID + "=" + streamItemId + " ") in deleteInTransaction()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java5673 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
5676 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
5679 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
5805 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
5806 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
5862 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
5866 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
5872 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
5896 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
5898 mResolver.update(ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), values, in testUpdateStreamItemById()
[all …]
DBaseContactsProvider2Test.java503 protected Uri insertStreamItemPhoto(long streamItemId, ContentValues values, Account account) { in insertStreamItemPhoto() argument
506 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in insertStreamItemPhoto()