/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 209 assertFalse(f.canWrite()); in testDevDiagSane() 219 assertFalse(f.canWrite()); in testProcInterruptsNotReadable() 229 assertFalse(f.canWrite()); in testProcStatNotReadable() 259 assertFalse(f.canWrite()); in testPn544Sane() 271 assertFalse(f.canWrite()); in testBcm2079xSane() 283 assertFalse(f.canWrite()); in testBcm2079xi2cSane() 295 assertFalse(f.canWrite()); in testDevQtaguidSane() 307 assertFalse(f.canWrite()); in testProcQtaguidCtrlSane() 319 assertFalse(f.canWrite()); in testProcQtaguidStatsSane() 339 assertFalse(f.canWrite()); in procNetSane() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 57 assertFalse(file.canWrite()); in testSystemDirAccess() 70 assertFalse(file.canWrite()); in testSystemDirAccess() 75 assertFalse(f.canWrite()); in testSystemDirAccess() 105 assertFalse(file.canWrite()); in testAccessAppDataDir() 112 assertTrue(dir.canWrite()); in testAccessAppDataDir()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | DataDirPermissionTest.java | 47 assertThat(file.canWrite()).isFalse(); in testDataFontDirPermission() 60 assertThat(file.canWrite()).isFalse(); in testDataFontFilesDirPermission()
|
D | SystemFontsTest.java | 73 assertFalse(absPath + " must not writable", font.getFile().canWrite()); in testAvailableFonts_ReadOnlyFile()
|
D | NativeSystemFontTest.java | 142 assertFalse(fontFile.canWrite()); in testMatchFamilyStyleCharacter_notCrash()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 1004 private static void assertDirectoryAccess(File dir, boolean exists, boolean canWrite) in assertDirectoryAccess() argument 1011 assertAccess(dir, exists, exists, exists && canWrite); in assertDirectoryAccess() 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 1040 assertThat(file.canWrite()).isEqualTo(canWrite); in assertAccess() 1051 assertAccess(file, W_OK, canWrite); in assertAccess() 1052 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess() 1053 assertAccess(file, W_OK | F_OK, canWrite); in assertAccess()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateBitmapTask.java | 72 if (file.exists() && !file.canWrite()) { in doInBackground()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | RingtoneSyncTest.java | 84 assertTrue(Settings.System.canWrite(mContext)); in testSoundDisableSync()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 427 assertThat(file.canWrite()).isTrue(); in doMediaEscalation_RequestWrite_withFilePathSupport() 430 assertThat(file.canWrite()).isFalse(); in doMediaEscalation_RequestWrite_withFilePathSupport() 455 assertThat(file.canWrite()).isTrue(); in assertAccessFileAPISupport()
|
/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 3223 assertThat(file.canWrite()).isEqualTo(canWrite); in assertAccess() 3234 assertAccess(file, W_OK, canWrite); in assertAccess() 3235 assertAccess(file, R_OK | W_OK, canRead && canWrite); in assertAccess() 3236 assertAccess(file, W_OK | F_OK, canWrite); in assertAccess()
|
/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/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1040 assertThat(file.canWrite()).isTrue(); in canReadWriteFilesInDirs() 1043 assertThat(file.canWrite()).isFalse(); in canReadWriteFilesInDirs()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 4242 name: "canWrite"
|