/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | FilePathAccessTestUtils.java | 68 public static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite) in assertAccess() argument 70 assertAccess(file, exists, canRead, canWrite, true /* checkExists */); in assertAccess() 88 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite, in assertAccess() argument 93 assertThat(file.canRead()).isEqualTo(canRead); in assertAccess() 104 assertAccess(file, R_OK, canRead); in assertAccess() 106 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess()
|
D | TestUtils.java | 1515 assertThat(file.canRead()).isTrue(); in canReadWriteFilesInDirs() 1518 assertThat(file.canRead()).isFalse(); in canReadWriteFilesInDirs()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 58 assertTrue(file.canRead()); in testSystemDirAccess() 71 assertTrue(file.canRead()); in testSystemDirAccess() 95 assertTrue(f.canRead()); in testApksAlwaysReadable() 106 assertFalse(file.canRead()); in testAccessAppDataDir() 113 assertTrue(dir.canRead()); in testAccessAppDataDir()
|
/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 | 90 assertTrue(absPath + " must be readable", font.getFile().canRead()); in testAvailableFonts_ReadOnlyFile() 136 assertFalse(file.canRead()); in testFontsFallbackUnreadable()
|
D | NativeSystemFontTest.java | 140 assertTrue(fontFile.canRead()); in testMatchFamilyStyleCharacter_notCrash()
|
D | FontManagerTest.java | 117 assertThat(font.getFile().canRead()).isTrue(); in fontManager_getFontConfig_checkFamilies()
|
/cts/tools/cfassembler/src/dxconvext/util/ |
D | FileUtils.java | 62 if (!file.canRead()) { in readFile()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 134 .filter((f) -> f.canRead() && f.isDirectory()) in collectLocaleDataFilesInfo() 146 .filter((f) -> f != null && f.canRead() && isIcuFile(f)) in collectLocaleDataFilesInfo()
|
/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 | 117 assertEquals(expectedAllowed, dex2oatBinary.canRead()); in checkDex2oatBinaryAccess()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 152 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/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 195 boolean measureIo = procIo.exists() && procIo.canRead(); in measureIO()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 3515 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite) in assertAccess() argument 3517 assertAccess(file, exists, canRead, canWrite, true /* checkExists */); in assertAccess() 3520 private static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite, in assertAccess() argument 3525 assertThat(file.canRead()).isEqualTo(canRead); in assertAccess() 3536 assertAccess(file, R_OK, canRead); in assertAccess() 3538 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess()
|
/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/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 632 assertThat(file.canRead()).isTrue(); in doMediaEscalation_RequestWrite_withFilePathSupport() 659 assertThat(file.canRead()).isTrue(); in assertAccessFileAPISupport()
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 455 intent.putExtra(queryType, file.exists() && file.canRead() && file.canWrite()); in accessFile()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 4238 name: "canRead"
|
D | Shell.apk.pb.txt | 6212 name: "canRead"
|