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.java2010 long streamItemId = c.getLong(1); in cleanupPhotoStore() local
2014 streamItemPhotoIdToStreamItemId.put(streamItemPhotoId, streamItemId); in cleanupPhotoStore()
3070 final Long streamItemId = inputValues.getAsLong(StreamItemPhotos.STREAM_ITEM_ID); in insertStreamItemPhoto() local
3071 if (streamItemId == null || streamItemId == 0) { in insertStreamItemPhoto()
3155 long streamItemId = c.getLong(0); in cleanUpOldStreamItems() local
3156 if (insertedStreamItemId == streamItemId) { in cleanUpOldStreamItems()
3786 String streamItemId = uri.getLastPathSegment(); in deleteInTransaction() local
3789 new String[] {rawContactId, streamItemId}); in deleteInTransaction()
3794 String streamItemId = uri.getPathSegments().get(1); in deleteInTransaction() local
3796 (StreamItemPhotos.STREAM_ITEM_ID + "=" + streamItemId + " ") in deleteInTransaction()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java5666 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection() local
5669 insertStreamItemPhoto(streamItemId, photo1Values, null); in testQueryStreamItemPhotoWithSelection()
5672 insertStreamItemPhoto(streamItemId, photo2Values, null); in testQueryStreamItemPhotoWithSelection()
5798 long streamItemId = c.getLong(0); in testInsertStreamItemOverLimit() local
5799 streamItemIds.remove(streamItemId); in testInsertStreamItemOverLimit()
5855 long streamItemId = 0; in testInsertStreamItemsAndPhotosInBatch() local
5859 streamItemId = c.getLong(0); in testInsertStreamItemsAndPhotosInBatch()
5865 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in testInsertStreamItemsAndPhotosInBatch()
5889 long streamItemId = ContentUris.parseId(resultUri); in testUpdateStreamItemById() local
5891 mResolver.update(ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), values, in testUpdateStreamItemById()
[all …]
DBaseContactsProvider2Test.java477 protected Uri insertStreamItemPhoto(long streamItemId, ContentValues values, Account account) { in insertStreamItemPhoto() argument
480 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), in insertStreamItemPhoto()