Home
last modified time | relevance | path

Searched refs:Permission (Results 1 – 25 of 78) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/security/
DPermissionCollection.java51 public abstract void add(Permission permission); in add()
62 public abstract boolean implies(Permission permission); in implies()
69 public abstract Enumeration<Permission> elements(); in elements()
91 public Stream<Permission> elementsAsStream() { in elementsAsStream()
DAccessController.java71 AccessControlContext context, Permission... perms) { in doPrivilegedWithCombiner()
115 AccessControlContext context, Permission... perms) in doPrivileged()
128 Permission... perms) in doPrivilegedWithCombiner()
140 AccessControlContext context, Permission... perms) { in doPrivileged()
148 public static void checkPermission(Permission perm) in checkPermission()
DPermissions.java43 public void add(Permission permission) { } in add()
45 public boolean implies(Permission permission) { return true; } in implies()
47 public Enumeration<Permission> elements() { return null; } in elements()
DAccessControlException.java49 private Permission perm;
69 public AccessControlException(String s, Permission p) { in AccessControlException()
80 public Permission getPermission() { in getPermission()
DPolicy.java91 public boolean implies(ProtectionDomain domain, Permission permission) { in implies()
105 @Override public void add(Permission permission) { in add()
108 @Override public boolean implies(Permission permission) { in implies()
112 @Override public Enumeration<Permission> elements() { in elements()
DPermission.java33 public abstract class Permission implements Guard, java.io.Serializable { class
37 public Permission(String name) { in Permission() method in Permission
43 public abstract boolean implies(Permission permission); in implies()
DUnresolvedPermissionCollection.java77 public void add(Permission permission) { in add()
108 List<UnresolvedPermission> getUnresolvedPermissions(Permission p) { in getUnresolvedPermissions()
117 public boolean implies(Permission permission) { in implies()
128 public Enumeration<Permission> elements() { in elements()
129 List<Permission> results = in elements()
DAllPermission.java33 public final class AllPermission extends Permission {
39 public boolean implies(Permission p) { return true; } in implies()
DBasicPermission.java34 public abstract class BasicPermission extends Permission
42 public boolean implies(Permission p) { return true; } in implies()
DUnresolvedPermission.java43 public final class UnresolvedPermission extends Permission
52 public boolean implies(Permission p) { return false; } in implies()
DAccessControlContext.java68 Permission[] perms) in AccessControlContext()
110 public void checkPermission(Permission perm) in checkPermission()
/libcore/ojluni/src/main/java/java/security/acl/
DAclEntry.java118 public boolean addPermission(Permission permission); in addPermission()
128 public boolean removePermission(Permission permission); in removePermission()
139 public boolean checkPermission(Permission permission); in checkPermission()
146 public Enumeration<Permission> permissions(); in permissions()
DAcl.java206 public Enumeration<Permission> getPermissions(Principal user); in getPermissions()
235 public boolean checkPermission(Principal principal, Permission permission); in checkPermission()
/libcore/luni/src/test/java/libcore/java/security/
DPermissionCollectionTest.java25 import java.security.Permission;
35 public void add(Permission permission) { in add()
39 public boolean implies(Permission permission) { in implies()
44 public Enumeration<Permission> elements() { in elements()
DProtectionDomainTest.java33 import java.security.Permission;
110 public void add(Permission permission) { in add()
114 public boolean implies(Permission permission) { in implies()
119 public Enumeration<Permission> elements() { in elements()
DAccessControlExceptionTest.java28 import java.security.Permission;
36 Permission permission = new AllPermission(); in testConstructor()
DPolicySpiTest.java26 import java.security.Permission;
38 protected boolean engineImplies(ProtectionDomain domain, Permission permission) { in engineImplies()
/libcore/ojluni/src/main/java/java/net/
DSocketPermission.java28 import java.security.Permission;
37 public final class SocketPermission extends Permission
43 public boolean implies(Permission p) { return true; } in implies()
/libcore/ojluni/src/main/java/javax/security/auth/
DPrivateCredentialPermission.java29 import java.security.Permission;
37 public final class PrivateCredentialPermission extends Permission {
48 public boolean implies(Permission p) { return true; } in implies()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java47 public enum Permission { enum in FtpDirEntry
52 Permission(int v) { in Permission() method in FtpDirEntry.Permission
217 public boolean canRead(Permission p) { in canRead()
230 public boolean canWrite(Permission p) { in canWrite()
243 public boolean canExexcute(Permission p) { in canExexcute()
/libcore/ojluni/src/main/java/java/io/
DFilePermission.java36 public final class FilePermission extends Permission implements Serializable {
40 public boolean implies(Permission p) { return true; } in implies()
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPermissions.java51 public void add(Permission permission) { } in add()
53 public boolean implies(Permission permission) { return true; } in implies()
DCryptoPermission.java36 class CryptoPermission extends java.security.Permission {
60 public boolean implies(Permission p) { return true; } in implies()
/libcore/ojluni/src/test/javax/xml/jaxp/transform/
DXSLTExFuncTest.java37 import java.security.Permission;
238 public SimplePolicy(Permission... permissions) { in SimplePolicy()
240 for (Permission permission : permissions) { in SimplePolicy()
256 public boolean implies(ProtectionDomain pd, Permission p) { in implies()
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreXML.java44 import java.security.Permission;
64 public SimplePolicy(Permission...permissions) { in SimplePolicy()
66 for (Permission permission : permissions) in SimplePolicy()
81 public boolean implies(ProtectionDomain pd, Permission p) { in implies()

1234