Searched refs:APP_A_HAS_RES (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 196 private static final TestApp APP_A_HAS_RES = new TestApp("TestAppA", field in ScopedStorageDeviceTest 245 assertThat(checkPermission(APP_A_HAS_RES, in setupApps() 467 assertThat(canOpenFileAs(APP_A_HAS_RES, videoFile, false /* forWrite */)).isFalse(); in testReadWriteFilesInOtherAppExternalDir() 468 assertThat(canOpenFileAs(APP_A_HAS_RES, videoFile, true /* forWrite */)).isFalse(); in testReadWriteFilesInOtherAppExternalDir() 471 assertThat(deleteFileAs(APP_A_HAS_RES, videoFile.getPath())).isFalse(); in testReadWriteFilesInOtherAppExternalDir() 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() 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/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 130 private static final TestApp APP_A_HAS_RES = new TestApp("TestAppA", field in ScopedStorageTest 206 THIS_PACKAGE_NAME, APP_A_HAS_RES.getPackageName())); in testManageExternalStorageCantReadWriteOtherAppExternalDir() 209 assertCreateFilesAs(APP_A_HAS_RES, otherAppExternalDataFile); in testManageExternalStorageCantReadWriteOtherAppExternalDir() 217 assertThat(deleteFileAs(APP_A_HAS_RES, otherAppExternalDataFile.getPath())).isTrue(); in testManageExternalStorageCantReadWriteOtherAppExternalDir() 713 THIS_PACKAGE_NAME, APP_A_HAS_RES.getPackageName())); in testNoIsolatedStorageCantReadWriteOtherAppExternalDir() 716 assertCreateFilesAs(APP_A_HAS_RES, otherAppExternalDataFile); in testNoIsolatedStorageCantReadWriteOtherAppExternalDir() 724 assertThat(deleteFileAs(APP_A_HAS_RES, otherAppExternalDataFile.getPath())).isTrue(); in testNoIsolatedStorageCantReadWriteOtherAppExternalDir()
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 138 private static final TestApp APP_A_HAS_RES = new TestApp("TestAppA", field in LegacyStorageTest 161 assertThat(checkPermission(APP_A_HAS_RES, in setup() 579 assertThat(listAs(APP_A_HAS_RES, TestUtils.getExternalStorageDir().getAbsolutePath())) in testLegacyAppCanOwnAFile_hasW()
|