Searched refs:getMusicDir (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 48 import static android.scopedstorage.cts.lib.TestUtils.getMusicDir; 231 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents() 361 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() 412 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testManageExternalStorageReaddir() 442 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testManageExternalStorageQueryOtherAppsFile() 739 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testNoIsolatedStorageStorageReaddir() 768 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testNoIsolatedStorageQueryOtherAppsFile() 790 final File renamedDir = new File(getMusicDir(), TEST_DIRECTORY_NAME); in testRenameFromShell() 904 final File newMusicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testInstantAppsCantAccessExternalStorage()
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 227 assertThat(TestUtils.getMusicDir().list()).isNull(); in testMkdirInRandomPlaces_hasW() 247 final File newMusicFile = new File(TestUtils.getMusicDir(), "LegacyFileAccessTest.mp3"); in testCantAccessExternalStorage() 273 assertThat(TestUtils.getMusicDir().list()).isNull(); in testCantAccessExternalStorage() 307 assertThat(TestUtils.getMusicDir().list()).isNotNull(); in testReadOnlyExternalStorage_hasR() 332 final File newFile = new File(TestUtils.getMusicDir(), "LegacyFileAccessTest.mp3"); in testReadOnlyExternalStorage_hasR()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 68 import static android.scopedstorage.cts.lib.TestUtils.getMusicDir; 275 final File musicDir = getMusicDir(); in testTypePathConformity() 668 assertThat(getMusicDir().list()).isNotNull(); in testOpendirRestrictions() 1427 final File imageInAnObviouslyWrongPlace = new File(getMusicDir(), IMAGE_FILE_NAME); in testSystemGalleryAppHasFullAccessToImages() 1463 final File otherAppAudioFile = new File(getMusicDir(), "other_" + AUDIO_FILE_NAME); in testSystemGalleryAppHasNoFullAccessToAudio() 1504 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testSystemGalleryCanRenameImagesAndVideos() 1560 assertCantRenameFile(pdfFile1, new File(getMusicDir(), NONMEDIA_FILE_NAME)); in testRenameFile() 1647 final File mpegFile = new File(getMusicDir(), audioFileName + ".mp3"); in testScanUpdatesMimeTypeForRenameFileExtension() 1648 final File nonMpegFile = new File(getMusicDir(), audioFileName + ".snd"); in testScanUpdatesMimeTypeForRenameFileExtension() 2204 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testQueryOtherAppsFiles() [all …]
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1236 public static File getMusicDir() { in getMusicDir() method in TestUtils 1282 getDocumentsDir(), getDownloadDir(), getMusicDir(), getMoviesDir(), in getDefaultTopLevelDirs() 1287 getDocumentsDir(), getDownloadDir(), getMusicDir(), getMoviesDir(), in getDefaultTopLevelDirs()
|