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;
363 assertCannotReadOrWrite(otherAppAudio); in testAccess_OnlyImageFile()
365 assertCannotReadOrWrite(otherAppVideo); in testAccess_OnlyImageFile()
390 assertCannotReadOrWrite(otherAppImage); in testAccess_OnlyVideoFile()
392 assertCannotReadOrWrite(otherAppAudio); in testAccess_OnlyVideoFile()
417 assertCannotReadOrWrite(otherAppImage); in testAccess_OnlyAudioFile()
419 assertCannotReadOrWrite(otherAppVideo); in testAccess_OnlyAudioFile()
480 assertCannotReadOrWrite(otherAppImage); in testAccess_MediaFileWithRES()
481 assertCannotReadOrWrite(otherAppVideo); in testAccess_MediaFileWithRES()
482 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;
150 assertCannotReadOrWrite(IMAGE_FILE_NO_ACCESS); in other_readVisualMediaFiles()
151 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.java2838 assertCannotReadOrWrite(file); in testCantAccessOtherAppsExternalDirs()
2849 assertCannotReadOrWrite(file); in testCantAccessOtherAppsExternalDirs()
3506 private static void assertCannotReadOrWrite(File file) in assertCannotReadOrWrite() method in ScopedStorageDeviceTest