Home
last modified time | relevance | path

Searched refs:implies (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/
DPrincipalTest.java43 assertTrue(principalA.implies(subject)); in test_Principal_implies()
45 assertFalse(principalC.implies(subject)); in test_Principal_implies()
46 assertFalse(principalC.implies(null)); in test_Principal_implies()
/libcore/ojluni/src/main/java/java/security/
DPolicy.java91 public boolean implies(ProtectionDomain domain, Permission permission) { in implies() method in Policy
108 @Override public boolean implies(Permission permission) { in implies() method in Policy.UnsupportedEmptyCollection
DAllPermission.java40 public boolean implies(Permission p) { return true; } in implies() method in AllPermission
DPermissionCollection.java40 public abstract boolean implies(Permission permission); in implies() method in PermissionCollection
DBasicPermission.java42 public boolean implies(Permission p) { return true; } in implies() method in BasicPermission
DPermissions.java43 public boolean implies(Permission permission) { return true; } in implies() method in Permissions
DPrincipal.java89 public default boolean implies(Subject subject) { in implies() method
DPermission.java44 public abstract boolean implies(Permission permission); in implies() method in Permission
DProtectionDomain.java53 public boolean implies(Permission permission) { return true; } in implies() method in ProtectionDomain
DCodeSource.java71 public boolean implies(CodeSource codesource) { return true; } in implies() method in CodeSource
DUnresolvedPermission.java52 public boolean implies(Permission p) { return false; } in implies() method in UnresolvedPermission
DUnresolvedPermissionCollection.java108 public boolean implies(Permission permission) in implies() method in UnresolvedPermissionCollection
/libcore/ojluni/src/main/java/java/io/
DFilePermission.java40 public boolean implies(Permission p) { return true; } in implies() method in FilePermission
/libcore/ojluni/src/main/java/java/net/
DSocketPermission.java43 public boolean implies(Permission p) { return true; } in implies() method in SocketPermission
/libcore/ojluni/src/main/java/javax/security/auth/
DPrivateCredentialPermission.java48 public boolean implies(Permission p) { return true; } in implies() method in PrivateCredentialPermission
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPermissions.java53 public boolean implies(Permission permission) { return true; } in implies() method in CryptoPermissions
DCryptoPermission.java60 public boolean implies(Permission p) { return true; } in implies() method in CryptoPermission
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java45 if (denied!=null && denied.implies(permission)) throw new SecurityException(); in checkPermission()
DSignerTest.java52 if (denied!=null && denied.implies(permission)) throw new SecurityException(); in checkPermission()
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java50 if (denied!=null && denied.implies(permission)) throw new SecurityException(); in checkPermission()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java1162 public boolean implies(ProtectionDomain pd, Permission p) {
1163 return perms.implies(p);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest3.java1656 ((PermissionCollection) objLoaded).implies(test)); in test_18_128_writeObject()