Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/security/
DPermissionsHash.java36 private final Hashtable perms = new Hashtable(); field in PermissionsHash
45 perms.put(permission, permission); in add()
54 return perms.elements(); in elements()
DSecureClassLoader.java140 PermissionCollection perms = getPermissions(cs); in getPD() local
141 pd = new ProtectionDomain(cs, perms, this, null); in getPD()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java534 Permissions perms = new Permissions(); field in JSR166TestCase.AdjustablePolicy
537 perms.add(permission); in AdjustablePolicy()
539 void addPermission(Permission perm) { perms.add(perm); } in addPermission()
540 void clearPermissions() { perms = new Permissions(); } in clearPermissions()
542 return perms; in getPermissions()
545 return perms; in getPermissions()
548 return perms.implies(p); in implies()
553 for (Enumeration<Permission> e = perms.elements(); e.hasMoreElements();) in toString()