/dalvik/libcore/security/src/main/java/java/security/ |
PermissionsHash.java | 69 public boolean implies(Permission permission) { method in class:PermissionsHash 71 if (((Permission)elements.nextElement()).implies(permission)) {
|
AllPermission.java | 23 * Since its {@link #implies(Permission)} method always returns {@code true}, 114 public boolean implies(Permission permission) { method in class:AllPermission
|
AllPermissionCollection.java | 115 public boolean implies(Permission permission) { method in class:AllPermissionCollection
|
BasicPermission.java | 98 * The {@link #implies(Permission)} method should be used for making access 153 public boolean implies(Permission permission) { method in class:BasicPermission 161 * Checks if {@code thisName} implies {@code thatName}, 194 * the {@link #implies(Permission)} method of the permissions which are 195 * stored in it when checking if the collection implies a permission.
|
Permission.java | 39 * The {@link #implies(Permission)} method should be used for making access 92 public abstract boolean implies(Permission permission); method in class:Permission
|
PermissionCollection.java | 71 public abstract boolean implies(Permission permission); method in class:PermissionCollection
|
Policy.java | 110 public boolean implies(ProtectionDomain domain, Permission permission) { method in class:Policy 121 if (total != null && total.implies(permission)) {
|
BasicPermissionCollection.java | 117 public boolean implies(Permission permission) { method in class:BasicPermissionCollection
|
ProtectionDomain.java | 60 * ProtectionDomain#implies(Permission)} always returns {@code false}. 192 public boolean implies(Permission permission) { method in class:ProtectionDomain 193 // First, test with the Policy, as the default Policy.implies() 197 && Policy.getAccessiblePolicy().implies(this, permission)) { 203 // or Policy.implies() did not check for static permissions 205 return permissions == null ? false : permissions.implies(permission);
|
Permissions.java | 164 public boolean implies(Permission permission) { method in class:Permissions 204 return klassMates.implies(permission);
|
UnresolvedPermission.java | 294 public boolean implies(Permission permission) { method in class:UnresolvedPermission
|
UnresolvedPermissionCollection.java | 97 * @see UnresolvedPermission#implies(Permission). 99 public boolean implies(Permission permission) { method in class:UnresolvedPermissionCollection
|
/dalvik/libcore/luni/src/main/java/java/io/ |
FilePermissionCollection.java | 79 * Indicates whether this permissions collection implies a specific 84 * @see java.security.PermissionCollection#implies(java.security.Permission) 87 public boolean implies(Permission permission) { method in class:FilePermissionCollection
|
FilePermission.java | 64 // for implies() to check if one action list is the subset of another. 244 public boolean implies(Permission p) { method in class:FilePermission 279 // \- implies everything except \ 343 // /- implies /- or /*
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/ |
UnresolvedPrincipal.java | 100 return implies((Principal) that); 114 public boolean implies(Principal another) { method in class:UnresolvedPrincipal
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyPermission.java | 49 public boolean implies(Permission permission) { method in class:MyPermission
|
/dalvik/libcore/luni/src/main/java/java/net/ |
SocketPermissionCollection.java | 60 * Returns whether this permission collection implies {@code permission}. 65 public boolean implies(Permission permission) { method in class:SocketPermissionCollection
|
/dalvik/libcore/luni/src/main/java/java/util/ |
PropertyPermissionCollection.java | 61 public boolean implies(Permission perm) { method in class:PropertyPermissionCollection 64 if ((elemEnum.nextElement()).implies(perm)) { 74 && implies(new PropertyPermission(perm.getName(), "read")) //$NON-NLS-1$ 75 && implies(new PropertyPermission(perm.getName(), "write")); //$NON-NLS-1$
|
PropertyPermission.java | 137 public boolean implies(Permission permission) { method in class:PropertyPermission 138 if (super.implies(permission)) {
|
/dalvik/libcore/security/src/test/java/tests/java/security/ |
AllPermissionTest.java | 96 /** AllPermission implies any other permission */ 100 method = "implies", 106 assertTrue(a1.implies(new AllPermission())); 107 assertTrue(a1.implies(new BasicPermission("2323"){})); 108 assertTrue(a1.implies(new UnresolvedPermission("2323", "", "", null)));
|
BasicPermissionTest.java | 132 * implies() should return true if a permission is equal to or is implied 138 method = "implies", 144 assertTrue(b1.implies(b1)); 145 assertTrue(b1.implies(new BasicPermissionImpl("a.b.c"))); 146 assertFalse(b1.implies(new BasicPermissionImpl("a.b.c.*"))); 147 assertFalse(b1.implies(new BasicPermission("a.b.c"){})); 148 assertTrue(new BasicPermissionImpl("a.b.*").implies(b1)); 149 assertTrue(new BasicPermissionImpl("a.*").implies(b1)); 150 assertTrue(new BasicPermissionImpl("*").implies(b1)); 151 assertFalse(new BasicPermissionImpl("a.b*").implies(b1)) [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
CodeSourceTest.java | 488 method = "implies", 493 assertFalse(cs0.implies(null)); 497 * CodeSource with location=null && Certificate[] == null implies any other 503 method = "implies", 509 assertTrue(thatCS.implies(thizCS)); 510 assertTrue(thatCS.implies(thatCS)); 512 assertFalse(thizCS.implies(thatCS)); 521 method = "implies", 528 assertTrue(thizCS.implies(thatCS)); 529 assertTrue(thatCS.implies(thizCS)) [all...] |
Permission2Test.java | 48 public boolean implies(Permission p) { method in class:Permission2Test.ConcretePermission
|
PermissionCollectionTest.java | 65 public boolean implies(Permission permission) method in class:PermissionCollectionTest.RealPermissionCollection 133 public boolean implies(Permission permission) { method in class:RealPermission
|
/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
PrivateCredentialPermission.java | 260 public boolean implies(Permission permission) { method in class:PrivateCredentialPermission 283 if (thisCo[i].implies(thatCo[j])) { 359 // Checks if this CredOwner implies the specified Object. 360 boolean implies(Object obj) { method in class:PrivateCredentialPermission.CredOwner
|