Home
last modified time | relevance | path

Searched refs:APP_A_HAS_RES (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java210 private static final TestApp APP_A_HAS_RES = field in ScopedStorageDeviceTest
266 assertThat(checkPermission(APP_A_HAS_RES, in setupApps()
488 assertThat(canOpenFileAs(APP_A_HAS_RES, videoFile, false /* forWrite */)).isFalse(); in testReadWriteFilesInOtherAppExternalDir()
489 assertThat(canOpenFileAs(APP_A_HAS_RES, videoFile, true /* forWrite */)).isFalse(); in testReadWriteFilesInOtherAppExternalDir()
492 assertThat(deleteFileAs(APP_A_HAS_RES, videoFile.getPath())).isFalse(); in testReadWriteFilesInOtherAppExternalDir()
766 assertThat(listAs(APP_A_HAS_RES, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
767 assertThat(listAs(APP_A_HAS_RES, dir.getPath())).containsExactly(videoFileName); in testListDirectoriesWithMediaFiles()
803 assertThat(listAs(APP_A_HAS_RES, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
804 assertThat(listAs(APP_A_HAS_RES, dir.getPath())).doesNotContain(pdfFileName); in testListDirectoriesWithNonMediaFiles()
830 () -> listAs(APP_A_HAS_RES, getAndroidDataDir().getPath())); in testListFilesFromExternalFilesDirectory()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java148 private static final TestApp APP_A_HAS_RES = new TestApp("TestAppA", field in LegacyStorageTest
171 assertThat(checkPermission(APP_A_HAS_RES, in setup()
606 assertThat(listAs(APP_A_HAS_RES, TestUtils.getExternalStorageDir().getAbsolutePath())) in testLegacyAppCanOwnAFile_hasW()