Home
last modified time | relevance | path

Searched refs:getExternalMediaDir (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java300 new File(TestUtils.getExternalMediaDir(), in testCantAccessExternalStorage()
473 new File(TestUtils.getExternalMediaDir(), in testCantRename_hasR()
476 new File(TestUtils.getExternalMediaDir(), in testCantRename_hasR()
508 new File(TestUtils.getExternalMediaDir(), in testCantRename_noStoragePermission()
511 new File(TestUtils.getExternalMediaDir(), in testCantRename_noStoragePermission()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java585 final String androidMediaDir = getExternalMediaDir().toString(); in verifyInsertFromExternalMediaDirViaRelativePath_allowed()
612 getExternalMediaDir().toString() + "/" + System.currentTimeMillis(); in verifyInsertFromExternalMediaDirViaData_allowed()
622 getExternalMediaDir().toString() + "/" + System.currentTimeMillis(); in verifyUpdateToExternalDirsViaData_denied()
642 final String androidMediaDir = getExternalMediaDir().toString(); in verifyUpdateToExternalMediaDirViaRelativePath_allowed()
1686 public static File getExternalMediaDir() { in getExternalMediaDir() method in TestUtils
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java63 import static android.scopedstorage.cts.lib.TestUtils.getExternalMediaDir;
843 final File videoFile = new File(getExternalMediaDir(), VIDEO_FILE_NAME); in testListFilesFromExternalMediaDirectory()
860 assertThat(listAs(APP_A_HAS_RES, getExternalMediaDir().getPath())) in testListFilesFromExternalMediaDirectory()
1796 final File testFile = new File(getExternalMediaDir(), IMAGE_FILE_NAME); in testRenameFileToAppSpecificDir()
1797 final File testFileNew = new File(getExternalMediaDir(), NONMEDIA_FILE_NAME); in testRenameFileToAppSpecificDir()
2862 final File externalMediaPath = new File(getExternalMediaDir(), VIDEO_FILE_NAME); in testCantSetAttrOtherAppsFile()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java51 import static android.scopedstorage.cts.lib.TestUtils.getExternalMediaDir;
868 final File myMediaDir = getExternalMediaDir(); in testAndroidMedia()