Home
last modified time | relevance | path

Searched refs:WRITE (Results 1 – 3 of 3) sorted by relevance

/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/util/
DTargetFileUtilsTest.java53 if (hasPermission(x, FilePermission.WRITE) in testHasPermission()
54 || hasPermission(y, FilePermission.WRITE) in testHasPermission()
55 || hasPermission(z, FilePermission.WRITE)) { in testHasPermission()
56 assertTrue(TargetFileUtils.hasPermission(FilePermission.WRITE, permission)); in testHasPermission()
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/
DTargetFileUtils.java35 WRITE(2); enumConstant
173 && !hasPermission(FilePermission.WRITE, permissionBits) in isReadOnly()
188 && hasPermission(FilePermission.WRITE, permissionBits) in isReadWriteOnly()
/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/
DKernelSelinuxFileApiTest.java62 && TargetFileUtils.hasPermission(FilePermission.WRITE, permissionBits)); in testSelinuxCheckReqProt()
89 && TargetFileUtils.hasPermission(FilePermission.WRITE, permissionBits)); in testSelinuxNull()