Searched refs:listAs (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 78 import static android.scopedstorage.cts.lib.TestUtils.listAs; 740 assertThat(listAs(APP_B_NO_PERMS, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles() 741 assertThat(listAs(APP_B_NO_PERMS, dir.getPath())).containsExactly(videoFileName); in testListDirectoriesWithMediaFiles() 745 assertThat(listAs(APP_A_HAS_RES, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles() 746 assertThat(listAs(APP_A_HAS_RES, dir.getPath())).containsExactly(videoFileName); in testListDirectoriesWithMediaFiles() 777 assertThat(listAs(APP_B_NO_PERMS, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles() 778 assertThat(listAs(APP_B_NO_PERMS, dir.getPath())).containsExactly(pdfFileName); in testListDirectoriesWithNonMediaFiles() 782 assertThat(listAs(APP_A_HAS_RES, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles() 783 assertThat(listAs(APP_A_HAS_RES, dir.getPath())).doesNotContain(pdfFileName); in testListDirectoriesWithNonMediaFiles() 809 () -> listAs(APP_A_HAS_RES, getAndroidDataDir().getPath())); in testListFilesFromExternalFilesDirectory() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 47 import static android.scopedstorage.cts.lib.TestUtils.listAs; 579 assertThat(listAs(APP_A_HAS_RES, TestUtils.getExternalStorageDir().getAbsolutePath())) in testLegacyAppCanOwnAFile_hasW()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 245 public static ArrayList<String> listAs(TestApp testApp, String dirPath) throws Exception { in listAs() method in TestUtils
|