Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java21 import static android.scopedstorage.cts.lib.FilePathAccessTestUtils.assertCannotReadOrWrite;
365 assertCannotReadOrWrite(otherAppAudio); in testAccess_OnlyImageFile()
367 assertCannotReadOrWrite(otherAppVideo); in testAccess_OnlyImageFile()
392 assertCannotReadOrWrite(otherAppImage); in testAccess_OnlyVideoFile()
394 assertCannotReadOrWrite(otherAppAudio); in testAccess_OnlyVideoFile()
419 assertCannotReadOrWrite(otherAppImage); in testAccess_OnlyAudioFile()
421 assertCannotReadOrWrite(otherAppVideo); in testAccess_OnlyAudioFile()
482 assertCannotReadOrWrite(otherAppImage); in testAccess_MediaFileWithRES()
483 assertCannotReadOrWrite(otherAppVideo); in testAccess_MediaFileWithRES()
484 assertCannotReadOrWrite(otherAppAudio); in testAccess_MediaFileWithRES()
[all …]
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DStorageOtherFilesTest.java22 import static android.scopedstorage.cts.lib.FilePathAccessTestUtils.assertCannotReadOrWrite;
164 assertCannotReadOrWrite(IMAGE_FILE_NO_ACCESS); in other_readVisualMediaFiles()
165 assertCannotReadOrWrite(VIDEO_FILE_NO_ACCESS); in other_readVisualMediaFiles()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DFilePathAccessTestUtils.java73 public static void assertCannotReadOrWrite(File file) in assertCannotReadOrWrite() method in FilePathAccessTestUtils
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java2884 assertCannotReadOrWrite(file); in testCantAccessOtherAppsExternalDirs()
2895 assertCannotReadOrWrite(file); in testCantAccessOtherAppsExternalDirs()
3552 private static void assertCannotReadOrWrite(File file) in assertCannotReadOrWrite() method in ScopedStorageDeviceTest