Home
last modified time | relevance | path

Searched refs:DATE_TAKEN_MS (Results 1 – 6 of 6) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java29 import static com.android.providers.media.photopicker.util.PickerDbTestUtils.DATE_TAKEN_MS;
140 Cursor cursor1 = getLocalMediaCursor(LOCAL_ID, DATE_TAKEN_MS + 1); in testAddLocalOnlyMedia()
141 Cursor cursor2 = getLocalMediaCursor(LOCAL_ID, DATE_TAKEN_MS + 2); in testAddLocalOnlyMedia()
151 assertCloudMediaCursor(cr, LOCAL_ID, DATE_TAKEN_MS + 1); in testAddLocalOnlyMedia()
163 assertCloudMediaCursor(cr, LOCAL_ID, DATE_TAKEN_MS + 2); in testAddLocalOnlyMedia()
169 Cursor cursor = getCloudMediaCursor(CLOUD_ID, LOCAL_ID, DATE_TAKEN_MS); in testAddCloudPlusLocal()
178 assertCloudMediaCursor(cr, CLOUD_ID, DATE_TAKEN_MS); in testAddCloudPlusLocal()
184 Cursor cursor1 = getCloudMediaCursor(CLOUD_ID, null, DATE_TAKEN_MS + 1); in testAddCloudOnly()
185 Cursor cursor2 = getCloudMediaCursor(CLOUD_ID, null, DATE_TAKEN_MS + 2); in testAddCloudOnly()
195 assertCloudMediaCursor(cr, CLOUD_ID, DATE_TAKEN_MS + 1); in testAddCloudOnly()
[all …]
DPickerDatabaseHelperTest.java57 private static final long DATE_TAKEN_MS = 1623852851911L; field in PickerDatabaseHelperTest
104 assertThat(cr.getLong(3)).isEqualTo(DATE_TAKEN_MS); in testMediaColumns()
146 assertThat(cr.getLong(3)).isEqualTo(DATE_TAKEN_MS); in testAlbumMediaColumns()
441 values.put(KEY_DATE_TAKEN_MS, DATE_TAKEN_MS); in getBasicContentValues()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java26 import static com.android.providers.media.photopicker.util.PickerDbTestUtils.DATE_TAKEN_MS;
285 Cursor cursor1 = getMediaCursor(LOCAL_ID, DATE_TAKEN_MS, GENERATION_MODIFIED, in testQueryMediaWithInvalidProviders()
288 Cursor cursor2 = getMediaCursor(CLOUD_ID, DATE_TAKEN_MS, GENERATION_MODIFIED, in testQueryMediaWithInvalidProviders()
298 mMockContext, getMediaQueryExtras(Long.MAX_VALUE, DATE_TAKEN_MS, /* pageSize */ 2, in testQueryMediaWithInvalidProviders() argument
308 Cursor cursor1 = getMediaCursor(LOCAL_ID, DATE_TAKEN_MS, GENERATION_MODIFIED, in testQueryMediaWithCloudQueryDisabled()
311 Cursor cursor2 = getMediaCursor(CLOUD_ID, DATE_TAKEN_MS, GENERATION_MODIFIED, in testQueryMediaWithCloudQueryDisabled()
321 mMockContext, getMediaQueryExtras(Long.MAX_VALUE, DATE_TAKEN_MS, /* pageSize */ 2, in testQueryMediaWithCloudQueryDisabled() argument
328 assertMediaCursor(cr, LOCAL_ID, LOCAL_PROVIDER, DATE_TAKEN_MS, MP4_VIDEO_MIME_TYPE); in testQueryMediaWithCloudQueryDisabled()
334 Cursor cursor1 = getMediaCursor(LOCAL_ID_1, DATE_TAKEN_MS + 1, in testQueryLocalMediaSortOrder()
337 Cursor cursor2 = getMediaCursor(LOCAL_ID_2, DATE_TAKEN_MS, GENERATION_MODIFIED, in testQueryLocalMediaSortOrder()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2.java342 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjectedName() in addNextPageKey()
375 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjectedName() in addPrevPageKey()
408 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjection(), in getMediaPageQuery()
417 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getColumnName(), in getMediaPageQuery()
451 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjection() in getMediaNextPageKeyQuery()
456 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getColumnName(), in getMediaNextPageKeyQuery()
491 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjection() in getMediaPreviousPageQuery()
495 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getColumnName(), in getMediaPreviousPageQuery()
564 PickerSQLConstants.MediaResponse.DATE_TAKEN_MS.getProjectedName())), in getMergedAlbumsCursor()
DPickerSQLConstants.java123 DATE_TAKEN_MS(KEY_DATE_TAKEN_MS, CloudMediaProviderContract.MediaColumns.DATE_TAKEN_MILLIS), enumConstant
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java33 public static final long DATE_TAKEN_MS = 1623852851911L; field in PickerDbTestUtils