Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/security/
DAccessControlException.java28 private Permission perm; // Named as demanded by Serialized Form. field in AccessControlException
50 public AccessControlException(String message, Permission perm) { in AccessControlException() argument
52 this.perm = perm; in AccessControlException()
62 return perm; in getPermission()
DAccessControlContext.java44 public void checkPermission(Permission perm) throws AccessControlException { } in checkPermission() argument
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java69 public void checkPermission(Permission perm) { in test_addShutdownHook()
70 if (perm.getName().equals("shutdownHooks")) { in test_addShutdownHook()
108 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArray()
109 if (perm.getName().equals("checkExec")) { in test_execLjava_lang_StringLjava_lang_StringArray()
155 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
156 if (perm.getName().equals("checkExec")) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
201 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
202 if (perm.getName().equals("checkExec")) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
250 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
251 if (perm.getName().equals("checkExec")) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/luni/src/main/java/javax/security/auth/
DSubject.java535 protected SecureSet(AuthPermission perm) { in SecureSet() argument
536 permission = perm; in SecureSet()
542 protected SecureSet(AuthPermission perm, Collection<? extends SST> s) { in SecureSet() argument
543 this(perm); in SecureSet()
/libcore/luni/src/main/java/java/util/logging/
DLogManager.java120 private static final LoggingPermission perm = new LoggingPermission("control", null); field in LogManager
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java567 void addPermission(Permission perm) { perms.add(perm); } in addPermission() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java146 public void checkPermission(Permission perm) {
147 if (perm.getName().equals(forbidenPermissionName)) {
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java53 public void checkPermission(Permission perm) {}
475 public void checkPermission(Permission perm) { in test_setSocketImplFactoryLjava_net_SocketImplFactory()