Searched refs:queryFile (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 683 try (Cursor c = queryFile(cr, file, MediaStore.MediaColumns._ID)) { in getFileRowIdFromDatabase() 698 try (Cursor c = queryFile(file, MediaStore.MediaColumns.OWNER_PACKAGE_NAME)) { in getFileOwnerPackageFromDatabase() 713 try (Cursor c = queryFile(file, MediaStore.MediaColumns.SIZE)) { in getFileSizeFromDatabase() 727 return queryFile(getContentResolver(), in queryVideoFile() 738 return queryFile(getContentResolver(), in queryImageFile() 750 try (Cursor c = queryFile(file, MediaStore.MediaColumns.MIME_TYPE)) { in getFileMimeTypeFromDatabase() 1523 return queryFile(getContentResolver(), MediaStore.Files.getContentUri(sStorageVolumeName), in queryFileExcludingPending() 1528 public static Cursor queryFile(ContentResolver cr, @NonNull File file, String... projection) { in queryFile() method in TestUtils 1529 return queryFile(cr, MediaStore.Files.getContentUri(sStorageVolumeName), in queryFile() 1534 public static Cursor queryFile(@NonNull File file, String... projection) { in queryFile() method in TestUtils [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 721 try (Cursor c = TestUtils.queryFile(file, in testCreateDoesntUpsert() 921 try (Cursor c = TestUtils.queryFile(jpgFile, MediaStore.MediaColumns.DATE_TAKEN)) { in testScanUpdatesMetadataForNewlyAddedFile_hasRW() 932 try (Cursor c = TestUtils.queryFile(jpgFile, MediaStore.MediaColumns.DATE_TAKEN)) { in testScanUpdatesMetadataForNewlyAddedFile_hasRW()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 80 import static android.scopedstorage.cts.lib.TestUtils.queryFile; 2434 try (Cursor c = queryFile(pendingFile, MediaStore.MediaColumns.IS_PENDING)) { in testPendingFromFuse() 2450 try (Cursor c = queryFile(pendingFile, MediaStore.MediaColumns.IS_PENDING)) { in testPendingFromFuse() 2707 try (Cursor c = queryFile(jpgFile, MediaStore.MediaColumns.DATE_TAKEN)) { in testScanUpdatesMetadataForRenamedHiddenFile() 2718 try (Cursor c = queryFile(jpgFile, MediaStore.MediaColumns.DATE_TAKEN)) { in testScanUpdatesMetadataForRenamedHiddenFile()
|