Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java4913 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
4916 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
4919 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
5057 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
5058 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
5114 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
5118 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
5124 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
5148 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
5150 mResolver.update(ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), values, in testUpdateStreamItemById()
[all …]
DBaseContactsProvider2Test.java479 protected Uri insertStreamItemPhoto(long streamItemId, ContentValues values, Account account) { in insertStreamItemPhoto() argument
482 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in insertStreamItemPhoto()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java1908 long streamItemId = c.getLong(1); in cleanupPhotoStore() local
1912 streamItemPhotoIdToStreamItemId.put(streamItemPhotoId, streamItemId); in cleanupPhotoStore()
2883 final Long streamItemId = inputValues.getAsLong(StreamItemPhotos.STREAM_ITEM_ID); in insertStreamItemPhoto() local
2884 if (streamItemId == null || streamItemId == 0) { in insertStreamItemPhoto()
2993 long streamItemId = c.getLong(0); in cleanUpOldStreamItems() local
2994 if (insertedStreamItemId == streamItemId) { in cleanUpOldStreamItems()
3623 String streamItemId = uri.getLastPathSegment(); in deleteInTransaction() local
3626 new String[] {rawContactId, streamItemId}); in deleteInTransaction()
3631 String streamItemId = uri.getPathSegments().get(1); in deleteInTransaction() local
3633 (StreamItemPhotos.STREAM_ITEM_ID + "=" + streamItemId + " ") in deleteInTransaction()
[all …]