Searched refs:getPicturesDir (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/ |
D | BypassDatabaseOperationsTest.java | 27 import static android.scopedstorage.cts.lib.TestUtils.getPicturesDir; 233 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppDoesntBypassDatabaseOps() 259 final File renamedFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testAppBypassesDatabaseOps()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StableUrisTest.java | 23 import static android.scopedstorage.cts.lib.TestUtils.getPicturesDir; 219 File buffer = new File(getPicturesDir(), in createFiles() 223 final File file = new File(getPicturesDir(), in createFiles()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 75 import static android.scopedstorage.cts.lib.TestUtils.getPicturesDir; 297 final File picturesDir = getPicturesDir(); in testTypePathConformity() 574 final File mediaFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testCantAccessOtherAppsContents() 869 File jpgFile = new File(getPicturesDir(), "img_metadata.jpg"); in testMetaDataRedaction() 1556 final File audioInAnObviouslyWrongPlace = new File(getPicturesDir(), AUDIO_FILE_NAME); in testSystemGalleryAppHasNoFullAccessToAudio() 1592 final File imageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testSystemGalleryCanRenameImagesAndVideos() 1593 final File videoFile = new File(getPicturesDir(), VIDEO_FILE_NAME); in testSystemGalleryCanRenameImagesAndVideos() 2150 final File trashedVideoFile = new File(getPicturesDir(), VIDEO_FILE_NAME); in testOpenPendingAndTrashed() 2211 final File trashedImageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testDeletePendingAndTrashed_ownerCanDelete() 2238 final File trashedImageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testDeletePendingAndTrashed_otherAppCantDelete() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 48 import static android.scopedstorage.cts.lib.TestUtils.getPicturesDir; 863 final File videoFile = new File(getPicturesDir(), VIDEO_FILE_NAME); in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates() 894 final File imageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testLegacySystemGalleryCanUpdateToExistingDirectory() 927 final File videoFile = new File(getPicturesDir(), VIDEO_FILE_NAME); in testLegacySystemGalleryWithoutWESCannotRename() 949 final File videoFile = new File(getPicturesDir(), VIDEO_FILE_NAME); in testLegacyWESCanRenameImagesAndVideosWithDbUpdates_hasW() 972 final File jpgFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testScanUpdatesMetadataForNewlyAddedFile_hasRW()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 58 import static android.scopedstorage.cts.lib.TestUtils.getPicturesDir; 626 final File pdfInObviouslyWrongPlace = new File(getPicturesDir(), NONMEDIA_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() 710 final File otherHiddenFile = new File(getPicturesDir(), ".otherHiddenFile.jpg"); in testManageExternalStorageQueryOtherAppsFile() 1052 final File otherHiddenFile = new File(getPicturesDir(), ".otherHiddenFile.jpg"); in testNoIsolatedStorageQueryOtherAppsFile() 1071 final File imageFile = new File(getPicturesDir(), IMAGE_FILE_NAME); in testRenameFromShell() 1118 File fileToRemain = new File(getPicturesDir(), IMAGE_FILE_NAME); in testClearPackageData()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1739 public static File getPicturesDir() { in getPicturesDir() method in TestUtils 1782 getPicturesDir(), in getDefaultTopLevelDirs() 1797 getPicturesDir(), in getDefaultTopLevelDirs()
|