Searched refs:getMusicDir (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 57 import static android.scopedstorage.cts.lib.TestUtils.getMusicDir; 325 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents() 355 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_OnlyImageFile() 382 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_OnlyVideoFile() 409 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_OnlyAudioFile() 439 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_MediaFile() 472 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_MediaFileWithRES() 495 final File otherAppAudio = new File(getMusicDir(), "other-" + AUDIO_FILE_NAME); in testAccess_MediaFileLegacy() 628 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() 679 final File otherAppMusic = new File(getMusicDir(), "other" + AUDIO_FILE_NAME); in testManageExternalStorageReaddir() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 237 assertThat(TestUtils.getMusicDir().list()).isNull(); in testMkdirInRandomPlaces_hasW() 257 final File newMusicFile = new File(TestUtils.getMusicDir(), "LegacyStorageTest.mp3"); in testCantAccessExternalStorage() 283 assertThat(TestUtils.getMusicDir().list()).isNull(); in testCantAccessExternalStorage() 317 assertThat(TestUtils.getMusicDir().list()).isNotNull(); in testReadOnlyExternalStorage_hasR() 342 final File newFile = new File(TestUtils.getMusicDir(), "LegacyStorageTest.mp3"); in testReadOnlyExternalStorage_hasR()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 73 import static android.scopedstorage.cts.lib.TestUtils.getMusicDir; 296 final File musicDir = getMusicDir(); in testTypePathConformity() 689 assertThat(getMusicDir().list()).isNotNull(); in testOpendirRestrictions() 1514 final File imageInAnObviouslyWrongPlace = new File(getMusicDir(), IMAGE_FILE_NAME); in testSystemGalleryAppHasFullAccessToImages() 1554 final File otherAppAudioFile = new File(getMusicDir(), "other_" + AUDIO_FILE_NAME); in testSystemGalleryAppHasNoFullAccessToAudio() 1595 final File musicFile = new File(getMusicDir(), AUDIO_FILE_NAME); in testSystemGalleryCanRenameImagesAndVideos() 1651 assertCantRenameFile(pdfFile1, new File(getMusicDir(), NONMEDIA_FILE_NAME)); in testRenameFile() 1741 final File mpegFile = new File(getMusicDir(), audioFileName + ".mp3"); in testScanUpdatesMimeTypeForRenameFileExtension() 1742 final File nonMpegFile = new File(getMusicDir(), audioFileName + ".snd"); in testScanUpdatesMimeTypeForRenameFileExtension() 2393 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 | 1724 public static File getMusicDir() { in getMusicDir() method in TestUtils 1779 getMusicDir(), in getDefaultTopLevelDirs() 1794 getMusicDir(), in getDefaultTopLevelDirs()
|