Searched refs:perm (Results 1 - 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
H A DAccessControlException.java48 private Permission perm; field in class:AccessControlException
70 perm = p;
80 return perm;
H A DAccessControlContext.java49 public void checkPermission(Permission perm) argument
H A DAccessController.java99 public static void checkPermission(Permission perm) argument
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarFileFactory.java126 Permission perm = getPermission(result);
127 if (perm != null) {
131 sm.checkPermission(perm);
135 if ((perm instanceof java.io.FilePermission) &&
136 perm.getActions().indexOf("read") != -1) {
137 sm.checkRead(perm.getName());
138 } else if ((perm instanceof
140 perm.getActions().indexOf("connect") != -1) {
/libcore/ojluni/src/main/java/java/lang/
H A DSecurityManager.java115 public void checkPermission(Permission perm) { argument
119 public void checkPermission(Permission perm, Object context) { argument
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldRuntimeTest.java72 public void checkPermission(Permission perm) {
73 if (perm.getName().equals("shutdownHooks")) {
111 public void checkPermission(Permission perm) {
112 if (perm.getName().equals("checkExec")) {
158 public void checkPermission(Permission perm) {
159 if (perm.getName().equals("checkExec")) {
204 public void checkPermission(Permission perm) {
205 if (perm.getName().equals("checkExec")) {
253 public void checkPermission(Permission perm) {
254 if (perm
[all...]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLambdaTestHelpers.java418 List<List<Function<S, S>>> opFunctionPermutations = perm(opFunctions);
440 public static <T> List<List<T>> perm(List<T> l) { method in class:LambdaTestHelpers
443 for (List<T> perm : perm(sub(l, i))) {
444 perm.add(0, l.get(i));
445 result.add(perm);
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLambdaTestHelpers.java419 List<List<Function<S, S>>> opFunctionPermutations = perm(opFunctions);
441 public static <T> List<List<T>> perm(List<T> l) { method in class:LambdaTestHelpers
444 for (List<T> perm : perm(sub(l, i))) {
445 perm.add(0, l.get(i));
446 result.add(perm);
/libcore/ojluni/src/main/java/sun/misc/
H A DURLClassPath.java441 Permission perm = urlConnection.getPermission();
442 if (perm != null) {
444 security.checkPermission(perm);
448 if ((perm instanceof java.io.FilePermission) &&
449 perm.getActions().indexOf("read") != -1) {
450 security.checkRead(perm.getName());
451 } else if ((perm instanceof
453 perm.getActions().indexOf("connect") != -1) {
/libcore/ojluni/src/main/java/java/util/prefs/
H A DFileSystemPreferences.java891 int perm = (usernode? USER_READ_WRITE: USER_RW_ALL_READ);
892 result = lockFile0(lockFile.getCanonicalPath(), perm, shared);
/libcore/ojluni/src/main/java/java/util/
H A DCalendar.java2710 RuntimePermission perm = new RuntimePermission("accessClassInPackage.sun.util.calendar");
2711 PermissionCollection perms = perm.newPermissionCollection();
2712 perms.add(perm);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DJarFileTest.java146 public void checkPermission(Permission perm) {
147 if (perm.getName().equals(forbidenPermissionName)) {
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java1154 void addPermission(Permission perm) { perms.add(perm); } argument
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketTest.java53 public void checkPermission(Permission perm) {}
473 public void checkPermission(Permission perm) {

Completed in 321 milliseconds