/libcore/luni/src/test/java/libcore/java/security/ |
D | AllPermissionTest.java | 42 assertTrue(permission.implies(null)); in testImplies() 43 assertTrue(permission.implies(permission)); in testImplies() 44 assertTrue(permission.implies(permission2)); in testImplies()
|
D | BasicPermissionTest.java | 41 assertTrue(permission.implies(null)); in testImplies() 42 assertTrue(permission.implies(permission)); in testImplies() 43 assertTrue(permission.implies(permission2)); in testImplies()
|
D | PrincipalTest.java | 43 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()
|
D | UnresolvedPermissionTest.java | 68 assertFalse(p.implies(null)); in testImplies() 69 assertFalse(p.implies(p)); in testImplies()
|
D | CodeSourceTest.java | 92 assertTrue(codeSource.implies(null)); in testImplies() 93 assertTrue(codeSource.implies(codeSource)); in testImplies()
|
D | ProtectionDomainTest.java | 86 assertTrue(domain.implies(null)); in testImplies() 114 public boolean implies(Permission permission) { in implies() method in ProtectionDomainTest.TestPermissionCollection
|
D | PermissionCollectionTest.java | 39 public boolean implies(Permission permission) { in implies() method in PermissionCollectionTest.TestPermissionCollection
|
/libcore/ojluni/src/main/java/java/security/ |
D | Policy.java | 91 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
|
D | AllPermission.java | 40 public boolean implies(Permission p) { return true; } in implies() method in AllPermission
|
D | PermissionCollection.java | 40 public abstract boolean implies(Permission permission); in implies() method in PermissionCollection
|
D | BasicPermission.java | 42 public boolean implies(Permission p) { return true; } in implies() method in BasicPermission
|
D | Permissions.java | 43 public boolean implies(Permission permission) { return true; } in implies() method in Permissions
|
D | Principal.java | 89 public default boolean implies(Subject subject) { in implies() method
|
D | Permission.java | 44 public abstract boolean implies(Permission permission); in implies() method in Permission
|
D | ProtectionDomain.java | 53 public boolean implies(Permission permission) { return true; } in implies() method in ProtectionDomain
|
D | CodeSource.java | 71 public boolean implies(CodeSource codesource) { return true; } in implies() method in CodeSource
|
D | UnresolvedPermission.java | 52 public boolean implies(Permission p) { return false; } in implies() method in UnresolvedPermission
|
/libcore/ojluni/src/main/java/java/io/ |
D | FilePermission.java | 40 public boolean implies(Permission p) { return true; } in implies() method in FilePermission
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketPermission.java | 43 public boolean implies(Permission p) { return true; } in implies() method in SocketPermission
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | PrivateCredentialPermission.java | 48 public boolean implies(Permission p) { return true; } in implies() method in PrivateCredentialPermission
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPermissions.java | 53 public boolean implies(Permission permission) { return true; } in implies() method in CryptoPermissions
|
D | CryptoPermission.java | 60 public boolean implies(Permission p) { return true; } in implies() method in CryptoPermission
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XSLTExFuncTest.java | 256 public boolean implies(ProtectionDomain pd, Permission p) { in implies() method in XSLTExFuncTest.SimplePolicy 257 return perms.implies(p); in implies()
|
D | XPathExFuncTest.java | 291 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/ |
D | IdentityScopeTest.java | 45 if (denied!=null && denied.implies(permission)) throw new SecurityException(); in checkPermission()
|