/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
D | PickerDbTestUtils.java | 139 public static Cursor getMediaCursor(String id, long dateTakenMs, long generationModified, in getMediaCursor() argument 160 String.valueOf(dateTakenMs), in getMediaCursor() 177 public static Cursor getAlbumCursor(String albumId, long dateTakenMs, String coverId, in getAlbumCursor() argument 191 String.valueOf(dateTakenMs), in getAlbumCursor() 204 long dateTakenMs, in getAlbumMediaCursor() argument 226 String.valueOf(dateTakenMs), in getAlbumMediaCursor() 239 public static Cursor getLocalMediaCursor(String localId, long dateTakenMs) { in getLocalMediaCursor() argument 240 return getMediaCursor(localId, dateTakenMs, GENERATION_MODIFIED, toMediaStoreUri(localId), in getLocalMediaCursor() 245 public static Cursor getAlbumMediaCursor(String localId, String cloudId, long dateTakenMs) { in getAlbumMediaCursor() argument 246 return getAlbumMediaCursor(cloudId, dateTakenMs, GENERATION_MODIFIED, in getAlbumMediaCursor() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PickerProviderMediaGenerator.java | 412 public final long dateTakenMs; field in PickerProviderMediaGenerator.TestMedia 441 this.dateTakenMs = System.currentTimeMillis(); in TestMedia() 458 String.valueOf(dateTakenMs), in toArray() 472 String.valueOf(dateTakenMs), in toAlbumMediaArray() 510 long dateTakenMs = 0; in toArray() local 516 dateTakenMs = m.dateTakenMs; in toArray() 527 String.valueOf(dateTakenMs), in toArray()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | NotificationContentObserver.java | 65 void onNotificationReceived(String dateTakenMs, String albumId); in onNotificationReceived() argument 161 String dateTakenMs = uri.getLastPathSegment(); in onChange() local 165 mUrisToCallback.get(keys).onNotificationReceived(dateTakenMs, albumId); in onChange()
|
D | PickerSyncController.java | 1603 @Nullable String dateTakenMs) { in buildNotificationUri() argument 1606 dateTakenMs, "Cannot notify subscribers without a date taken timestamp."); in buildNotificationUri() 1640 builder.appendPath(dateTakenMs); in buildNotificationUri()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/ |
D | PhotosTabAdapterTest.java | 109 final long dateTakenMs = mediaItems.get(mediaItems.size() - 1).getDateTaken(); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem() local 111 final Item lastItem = generateJpegItem(lastItemId, dateTakenMs, /* generationModified */ 1); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem() 203 final long dateTakenMs = System.currentTimeMillis() in generateFakeImageItem() local 205 return generateJpegItem(id, dateTakenMs, /* generationModified */ 1L); in generateFakeImageItem()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | ExternalDbFacadeTest.java | 1209 long dateTakenMs) { in assertMediaColumns() argument 1210 assertMediaColumns(facade, cursor, id, dateTakenMs, IS_FAVORITE); in assertMediaColumns() 1214 long dateTakenMs, int isFavorite) { in assertMediaColumns() argument 1215 assertMediaColumns(facade, cursor, id, dateTakenMs, isFavorite, IMAGE_MIME_TYPE); in assertMediaColumns() 1219 long dateTakenMs, int isFavorite, String mimeType) { in assertMediaColumns() argument 1240 .isEqualTo(dateTakenMs); in assertMediaColumns() 1278 String displayName, long dateTakenMs, long count) { in assertAlbumColumns() argument 1291 .that(cursor.getLong(dateTakenIndex)).isEqualTo(dateTakenMs); in assertAlbumColumns() 1312 private static ContentValues getContentValues(long dateTakenMs, long generation) { in getContentValues() argument 1315 cv.put(MediaColumns.DATE_TAKEN, dateTakenMs); in getContentValues()
|
D | SelectionTest.java | 580 final long dateTakenMs = System.currentTimeMillis() + Long.parseLong(id) in generateFakeImageItem() local 583 return generateJpegItem(id, dateTakenMs, /* generationModified */ 1L); in generateFakeImageItem()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | TestableContentObserverCallback.java | 35 public void onNotificationReceived(String dateTakenMs, String albumId) { in onNotificationReceived() argument
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelTest.java | 449 final long dateTakenMs = System.currentTimeMillis() in generateFakeImageItem() local 451 return ModelTestUtils.generateJpegItem(id, dateTakenMs, /* generationModified */ 1L); in generateFakeImageItem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModel.java | 227 (dateTakenMs, albumId) -> { in PickerViewModel()
|