Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/security/
DAllPermissionTest.java42 assertTrue(permission.implies(null)); in testImplies()
43 assertTrue(permission.implies(permission)); in testImplies()
44 assertTrue(permission.implies(permission2)); in testImplies()
DBasicPermissionTest.java41 assertTrue(permission.implies(null)); in testImplies()
42 assertTrue(permission.implies(permission)); in testImplies()
43 assertTrue(permission.implies(permission2)); in testImplies()
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()
DUnresolvedPermissionTest.java68 assertFalse(p.implies(null)); in testImplies()
69 assertFalse(p.implies(p)); in testImplies()
DCodeSourceTest.java92 assertTrue(codeSource.implies(null)); in testImplies()
93 assertTrue(codeSource.implies(codeSource)); in testImplies()
DProtectionDomainTest.java86 assertTrue(domain.implies(null)); in testImplies()
114 public boolean implies(Permission permission) { in implies() method in ProtectionDomainTest.TestPermissionCollection
DPermissionCollectionTest.java39 public boolean implies(Permission permission) { in implies() method in PermissionCollectionTest.TestPermissionCollection
/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
/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/ojluni/src/test/javax/xml/jaxp/transform/
DXSLTExFuncTest.java256 public boolean implies(ProtectionDomain pd, Permission p) { in implies() method in XSLTExFuncTest.SimplePolicy
257 return perms.implies(p); in implies()
DXPathExFuncTest.java291 public boolean implies(ProtectionDomain pd, Permission p) { in implies() method in XPathExFuncTest.SimplePolicy
292 return perms.implies(p); in implies()
/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()

12