Home
last modified time | relevance | path

Searched refs:hasPermission (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DTargetFileUtilsTest.java52 if (hasPermission(x, FilePermission.READ) in testHasPermission()
53 || hasPermission(y, FilePermission.READ) in testHasPermission()
54 || hasPermission(z, FilePermission.READ)) { in testHasPermission()
55 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permission)); in testHasPermission()
58 if (hasPermission(x, FilePermission.WRITE) in testHasPermission()
59 || hasPermission(y, FilePermission.WRITE) in testHasPermission()
60 || hasPermission(z, FilePermission.WRITE)) { in testHasPermission()
61 assertTrue(TargetFileUtils.hasPermission(FilePermission.WRITE, permission)); in testHasPermission()
64 if (hasPermission(x, FilePermission.EXECUTE) in testHasPermission()
65 || hasPermission(y, FilePermission.EXECUTE) in testHasPermission()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DTargetFileUtils.java55 public static boolean hasPermission(FilePermission permission, String permissionBits) { in hasPermission() method in TargetFileUtils
57 if (hasPermission(permissionBits, i, permission)) { in hasPermission()
94 private static boolean hasPermission( in hasPermission() method in TargetFileUtils
177 return (hasPermission(FilePermission.READ, permissionBits) in isReadOnly()
178 && !hasPermission(FilePermission.WRITE, permissionBits) in isReadOnly()
179 && !hasPermission(FilePermission.EXECUTE, permissionBits)); in isReadOnly()
192 return (hasPermission(FilePermission.READ, permissionBits) in isReadWriteOnly()
193 && hasPermission(FilePermission.WRITE, permissionBits) in isReadWriteOnly()
194 && !hasPermission(FilePermission.EXECUTE, permissionBits)); in isReadWriteOnly()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java992 public boolean hasPermission() { in hasPermission() method in SigningCertificateLineage.SignerCapabilities
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java1117 expectedCapabilityValues.get(2), capabilities.hasPermission()); in assertExpectedCapabilityValues()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java1225 System.out.println("Has permission capability : " + capabilities.hasPermission()); in printCapabilities()