Home
last modified time | relevance | path

Searched refs:IMAGE_FILE_NAME (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java97 static final String IMAGE_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".jpg"; field in RedactUriDeviceTest
134 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testRedactedUri_single()
172 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testQueryOnRedactionUri()
251 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForWrite()
268 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForRead()
284 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFileForRead()
299 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_query()
313 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFileForRead_withLocationPerm()
332 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testSharedRedactedUri_openFdForRead_withLocationPerm()
351 final File img = stageImageFileWithMetadata(IMAGE_FILE_NAME); in testUnsharedRedactedUri_openFdForRead()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java137 static final String IMAGE_FILE_NAME = "ScopedStorageTest_file_" + NONCE + ".jpg"; field in ScopedStorageTest
241 final File imageFileInDcim = new File(getDcimDir(), IMAGE_FILE_NAME); in testManageExternalStorageCanCreateFilesAnywhere()
256 final File otherAppImage = new File(getDcimDir(), "other" + IMAGE_FILE_NAME); in testManageExternalStorageCanReadRedactedContents()
304 assertCantInsertToOtherPrivateAppDirectories(IMAGE_FILE_NAME, in testManageExternalStorageCantInsertFilesInOtherAppPrivateDir()
315 assertCantUpdateToOtherPrivateAppDirectories(IMAGE_FILE_NAME, in testManageExternalStorageCantUpdateFilesInOtherAppPrivateDir()
324 final File otherAppImage = new File(getDcimDir(), "other" + IMAGE_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents()
353 final File otherAppImage = new File(getDcimDir(), "other-" + IMAGE_FILE_NAME); in testAccess_OnlyImageFile()
380 final File otherAppImage = new File(getDcimDir(), "other-" + IMAGE_FILE_NAME); in testAccess_OnlyVideoFile()
407 final File otherAppImage = new File(getDcimDir(), "other-" + IMAGE_FILE_NAME); in testAccess_OnlyAudioFile()
437 final File otherAppImage = new File(getDcimDir(), "other-" + IMAGE_FILE_NAME); in testAccess_MediaFile()
[all …]
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/
DBypassDatabaseOperationsTest.java111 static final String IMAGE_FILE_NAME = "BypassDatabaseOperations_file_" + NONCE + ".jpg"; field in BypassDatabaseOperationsTest
232 final File file = new File(getDcimDir(), IMAGE_FILE_NAME); in testAppDoesntBypassDatabaseOps()
233 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppDoesntBypassDatabaseOps()
258 final File file = new File(getDcimDir(), IMAGE_FILE_NAME); in testAppBypassesDatabaseOps()
259 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppBypassesDatabaseOps()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java139 private static final String IMAGE_FILE_NAME = "LegacyStorageTest_file_" + NONCE + ".jpg"; field in LegacyStorageTest
381 final String hiddenImageFileName = ".hidden" + IMAGE_FILE_NAME; in testInsertHiddenFile()
658 final File imageFile = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testRenameDoesntInvalidateUri_hasRW()
659 final File temporaryImageFile = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME + "_.tmp"); in testRenameDoesntInvalidateUri_hasRW()
700 final File imageInNoMediaDir = new File(directoryNoMedia, IMAGE_FILE_NAME); in testCanRenameAFileWithNoDBRow_hasRW()
701 final File renamedImageInDCIM = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testCanRenameAFileWithNoDBRow_hasRW()
741 final File file = new File(TestUtils.getDcimDir(), IMAGE_FILE_NAME); in testCreateDoesntUpsert()
787 "OwnershipChange" + IMAGE_FILE_NAME); in testLegacyAppUpdatingOwnershipOfExistingEntry()
788 final String relativePath = "DCIM/OwnershipChange" + IMAGE_FILE_NAME; in testLegacyAppUpdatingOwnershipOfExistingEntry()
894 final File imageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testLegacySystemGalleryCanUpdateToExistingDirectory()
[all …]
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java202 static final String IMAGE_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".jpg"; field in ScopedStorageDeviceTest
309 new File(musicDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity()
322 new File(moviesDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity()
353 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity()
356 assertCanCreateFile(new File(documentsDir, IMAGE_FILE_NAME)); in testTypePathConformity()
362 assertCanCreateFile(new File(downloadDir, IMAGE_FILE_NAME)); in testTypePathConformity()
372 assertCanCreateFile(new File(picturesDir, IMAGE_FILE_NAME)); in testTypePathConformity()
388 new File(getExternalStorageDir(), IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity()
415 new File(recordingsDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity_recordingsDir()
509 final File imageFile = new File(getDcimDir(), IMAGE_FILE_NAME); in testContributeMediaFile()
[all …]