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.java5636 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
5639 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
5642 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
5768 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
5769 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
5825 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
5829 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
5835 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
5859 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
5861 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()