Searched refs:cloudId (Results 1 – 4 of 4) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PickerProviderMediaGenerator.java | 244 public void addMedia(String localId, String cloudId) { in addMedia() argument 245 mDeletedMedia.remove(createPlaceholderMedia(localId, cloudId)); in addMedia() 246 mMedia.add(0, createTestMedia(localId, cloudId)); in addMedia() 249 public void addAlbumMedia(String localId, String cloudId, String albumId) { in addAlbumMedia() argument 250 mMedia.add(0, createTestAlbumMedia(localId, cloudId, albumId)); in addAlbumMedia() 253 public void addMedia(String localId, String cloudId, String albumId, String mimeType, in addMedia() argument 255 mDeletedMedia.remove(createPlaceholderMedia(localId, cloudId)); in addMedia() 257 createTestMedia(localId, cloudId, albumId, mimeType, standardMimeTypeExtension, in addMedia() 261 public void deleteMedia(String localId, String cloudId) { in deleteMedia() argument 262 if (mMedia.remove(createPlaceholderMedia(localId, cloudId))) { in deleteMedia() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
D | PickerDbTestUtils.java | 245 public static Cursor getAlbumMediaCursor(String localId, String cloudId, long dateTakenMs) { in getAlbumMediaCursor() argument 246 return getAlbumMediaCursor(cloudId, dateTakenMs, GENERATION_MODIFIED, in getAlbumMediaCursor() 251 public static Cursor getCloudMediaCursor(String cloudId, String localId, in getCloudMediaCursor() argument 253 return getCloudMediaCursor(cloudId, localId, dateTakenMs, MP4_VIDEO_MIME_TYPE, in getCloudMediaCursor() 257 public static Cursor getCloudMediaCursor(String cloudId, String localId, in getCloudMediaCursor() argument 259 return getMediaCursor(cloudId, dateTakenMs, GENERATION_MODIFIED, toMediaStoreUri(localId), in getCloudMediaCursor()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PickerDbFacade.java | 501 String cloudId = getVisibleCloudIdFromDb(values.getAsString(KEY_LOCAL_ID)); in executeInternal() local 502 demoteCloudMediaToHidden(cloudId); in executeInternal() 544 private void demoteCloudMediaToHidden(@Nullable String cloudId) { in demoteCloudMediaToHidden() argument 545 if (cloudId == null) { in demoteCloudMediaToHidden() 549 final String[] updateArgs = new String[] {cloudId}; in demoteCloudMediaToHidden() 551 Log.d(TAG, "Demoted picker db media item to hidden. CloudId: " + cloudId); in demoteCloudMediaToHidden() 1668 final String cloudId = values.getAsString(KEY_CLOUD_ID); in executeInternal() local 1669 if (!TextUtils.isEmpty(localId) && !TextUtils.isEmpty(cloudId)) { in executeInternal()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | PickerSyncControllerTest.java | 1891 private static void addAlbumMedia(MediaGenerator generator, String localId, String cloudId, in addAlbumMedia() argument 1893 generator.addAlbumMedia(localId, cloudId, albumId); in addAlbumMedia()
|