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.java1961 long streamItemId = c.getLong(1); in cleanupPhotoStore() local
1965 streamItemPhotoIdToStreamItemId.put(streamItemPhotoId, streamItemId); in cleanupPhotoStore()
3026 final Long streamItemId = inputValues.getAsLong(StreamItemPhotos.STREAM_ITEM_ID); in insertStreamItemPhoto() local
3027 if (streamItemId == null || streamItemId == 0) { in insertStreamItemPhoto()
3111 long streamItemId = c.getLong(0); in cleanUpOldStreamItems() local
3112 if (insertedStreamItemId == streamItemId) { in cleanUpOldStreamItems()
3742 String streamItemId = uri.getLastPathSegment(); in deleteInTransaction() local
3745 new String[] {rawContactId, streamItemId}); in deleteInTransaction()
3750 String streamItemId = uri.getPathSegments().get(1); in deleteInTransaction() local
3752 (StreamItemPhotos.STREAM_ITEM_ID + "=" + streamItemId + " ") in deleteInTransaction()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java5662 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
5665 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
5668 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
5794 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
5795 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
5851 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
5855 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
5861 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
5885 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
5887 mResolver.update(ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), values, in testUpdateStreamItemById()
[all …]
DBaseContactsProvider2Test.java485 protected Uri insertStreamItemPhoto(long streamItemId, ContentValues values, Account account) { in insertStreamItemPhoto() argument
488 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in insertStreamItemPhoto()