/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 56 assertTrue(file.canRead()); in testSystemDirAccess() 69 assertTrue(file.canRead()); in testSystemDirAccess() 93 assertTrue(f.canRead()); in testApksAlwaysReadable() 104 assertFalse(file.canRead()); in testAccessAppDataDir() 111 assertTrue(dir.canRead()); in testAccessAppDataDir()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 208 assertFalse(f.canRead()); in testDevDiagSane() 218 assertFalse(f.canRead()); in testProcInterruptsNotReadable() 228 assertFalse(f.canRead()); in testProcStatNotReadable() 258 assertFalse(f.canRead()); in testPn544Sane() 270 assertFalse(f.canRead()); in testBcm2079xSane() 282 assertFalse(f.canRead()); in testBcm2079xi2cSane() 294 assertFalse(f.canRead()); in testDevQtaguidSane() 306 assertFalse(f.canRead()); in testProcQtaguidCtrlSane() 318 assertFalse(f.canRead()); in testProcQtaguidStatsSane() 338 assertFalse(f.canRead()); in procNetSane() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | DataDirPermissionTest.java | 46 assertThat(file.canRead()).isFalse(); in testDataFontDirPermission() 59 assertThat(file.canRead()).isFalse(); in testDataFontFilesDirPermission()
|
D | SystemFontsTest.java | 71 assertTrue(absPath + " must be readable", font.getFile().canRead()); in testAvailableFonts_ReadOnlyFile()
|
D | NativeSystemFontTest.java | 140 assertTrue(fontFile.canRead()); in testMatchFamilyStyleCharacter_notCrash()
|
D | FontManagerTest.java | 108 assertThat(font.getFile().canRead()).isTrue(); in fontManager_getFontConfig_checkFamilies()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 77 .filter((f) -> f.canRead() && f.isDirectory()) in collectLocaleDataFilesInfo() 86 .filter((f) -> f != null && f.canRead() && f.getName().endsWith(".dat")) in collectLocaleDataFilesInfo()
|
/cts/tools/cfassembler/src/dxconvext/util/ |
D | FileUtils.java | 62 if (!file.canRead()) { in readFile()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 1014 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite) in assertAccess() argument 1016 assertAccess(file, exists, canRead, canWrite, true /* checkExists */); in assertAccess() 1034 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite, in assertAccess() argument 1039 assertThat(file.canRead()).isEqualTo(canRead); in assertAccess() 1050 assertAccess(file, R_OK, canRead); in assertAccess() 1052 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BusinessLogicTestCase.java | 106 if (businessLogicFile.canRead()) { in loadBusinessLogic()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 113 assertEquals(expectedAllowed, dex2oatBinary.canRead()); in checkDex2oatBinaryAccess()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 151 if (!f.canRead()) { in testFileReadAccess()
|
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
D | AccessPrivateDataTest.java | 145 new File(QTAGUID_STATS_FILE).canRead()); in testAccessProcQtaguidTrafficStatsFailed()
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 254 intent.putExtra(queryType, file.exists() && file.canRead() && file.canWrite()); in accessFile()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 3212 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite) in assertAccess() argument 3214 assertAccess(file, exists, canRead, canWrite, true /* checkExists */); in assertAccess() 3217 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite, in assertAccess() argument 3222 assertThat(file.canRead()).isEqualTo(canRead); in assertAccess() 3233 assertAccess(file, R_OK, canRead); in assertAccess() 3235 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 195 boolean measureIo = procIo.exists() && procIo.canRead(); in measureIO()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 426 assertThat(file.canRead()).isTrue(); in doMediaEscalation_RequestWrite_withFilePathSupport() 454 assertThat(file.canRead()).isTrue(); in assertAccessFileAPISupport()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 291 assertTrue("read", path.canRead()); in assertDirReadWriteAccess()
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
D | DalvikTest.java | 376 if (!mIncludeTestFile.isFile() || !mIncludeTestFile.canRead()) { in run()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1039 assertThat(file.canRead()).isTrue(); in canReadWriteFilesInDirs() 1042 assertThat(file.canRead()).isFalse(); in canReadWriteFilesInDirs()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 4238 name: "canRead"
|
D | Shell.apk.pb.txt | 6212 name: "canRead"
|