Searched refs:IMAGE_FILE_NAME (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | RedactUriDeviceTest.java | 91 static final String IMAGE_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".jpg"; field in RedactUriDeviceTest 130 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testRedactedUri_single() 168 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testQueryOnRedactionUri() 247 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForWrite() 264 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForRead() 280 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFileForRead() 295 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_query() 309 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFileForRead_withLocationPerm() 328 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForRead_withLocationPerm() 348 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testUnsharedRedactedUri_openFdForRead() [all …]
|
D | BypassDatabaseOperationsTest.java | 113 static final String IMAGE_FILE_NAME = "BypassDatabaseOperations_file_" + NONCE + ".jpg"; field in BypassDatabaseOperationsTest 264 final File file = new File(getDcimDir(), IMAGE_FILE_NAME); in testAppDoesntBypassDatabaseOps() 265 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppDoesntBypassDatabaseOps() 290 final File file = new File(getDcimDir(), IMAGE_FILE_NAME); in testAppBypassesDatabaseOps() 291 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppBypassesDatabaseOps()
|
D | ScopedStorageDeviceTest.java | 188 static final String IMAGE_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".jpg"; field in ScopedStorageDeviceTest 288 new File(musicDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity() 301 new File(moviesDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity() 332 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity() 335 assertCanCreateFile(new File(documentsDir, IMAGE_FILE_NAME)); in testTypePathConformity() 341 assertCanCreateFile(new File(downloadDir, IMAGE_FILE_NAME)); in testTypePathConformity() 351 assertCanCreateFile(new File(picturesDir, IMAGE_FILE_NAME)); in testTypePathConformity() 367 new File(getExternalStorageDir(), IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity() 394 new File(recordingsDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity_recordingsDir() 488 final File imageFile = new File(getDcimDir(), IMAGE_FILE_NAME); in testContributeMediaFile() [all …]
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 124 static final String IMAGE_FILE_NAME = "ScopedStorageTest_file_" + NONCE + ".jpg"; field in ScopedStorageTest 189 final File imageFileInDcim = new File(getDcimDir(), IMAGE_FILE_NAME); in testManageExternalStorageCanCreateFilesAnywhere() 230 final File otherAppImage = new File(getDcimDir(), "other" + IMAGE_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents() 261 final File otherAppImage = new File(getDcimDir(), "other-" + IMAGE_FILE_NAME); in testAccess_file() 411 final File otherAppImg = new File(getDcimDir(), "other" + IMAGE_FILE_NAME); in testManageExternalStorageReaddir() 441 final File otherAppImg = new File(getDcimDir(), "other" + IMAGE_FILE_NAME); in testManageExternalStorageQueryOtherAppsFile() 468 final File mediaFile = new File(nomediaDir, IMAGE_FILE_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 469 final File renamedMediaFile = new File(nomediaDir, "Renamed_" + IMAGE_FILE_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 504 final File mediaFile1InSubDir = new File(nomediaSubDir, "1_" + IMAGE_FILE_NAME); in testScanDoesntSkipDirtySubtree() 505 final File mediaFile2InSubDir = new File(nomediaSubDir, "2_" + IMAGE_FILE_NAME); in testScanDoesntSkipDirtySubtree() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 131 static final String IMAGE_FILE_NAME = "LegacyStorageTest_file_" + NONCE + ".jpg"; field in LegacyStorageTest 371 final String hiddenImageFileName = ".hidden" + IMAGE_FILE_NAME; in testInsertHiddenFile() 630 final File imageFile = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testRenameDoesntInvalidateUri_hasRW() 631 final File temporaryImageFile = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME + "_.tmp"); in testRenameDoesntInvalidateUri_hasRW() 672 final File imageInNoMediaDir = new File(directoryNoMedia, IMAGE_FILE_NAME); in testCanRenameAFileWithNoDBRow_hasRW() 673 final File renamedImageInDCIM = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testCanRenameAFileWithNoDBRow_hasRW() 713 final File file = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testCreateDoesntUpsert() 759 "OwnershipChange" + IMAGE_FILE_NAME); in testLegacyAppUpdatingOwnershipOfExistingEntry() 760 final String relativePath = "DCIM/OwnershipChange" + IMAGE_FILE_NAME; in testLegacyAppUpdatingOwnershipOfExistingEntry() 905 final File jpgFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testScanUpdatesMetadataForNewlyAddedFile_hasRW()
|