Searched refs:PrivilegedExceptionAction (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/security/
H A DPrivilegedExceptionAction.java23 public interface PrivilegedExceptionAction<T> { interface
H A DAccessController.java58 public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws PrivilegedActionException {
71 public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context) throws PrivilegedActionException {
85 public static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) throws PrivilegedActionException {
/libcore/luni/src/test/java/tests/api/javax/security/auth/
H A DSubjectTest.java32 import java.security.PrivilegedExceptionAction;
86 * javax.security.auth.Subject#doAs(Subject subject, PrivilegedExceptionAction action)
90 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction();
91 PrivilegedExceptionAction<Object> peaNull = null;
114 Subject.doAs(subj, new PrivilegedExceptionAction<Object>(){
156 * PrivilegedExceptionAction action,
161 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction();
162 PrivilegedExceptionAction<Object> peaNull = null;
186 Subject.doAsPrivileged(subj, new PrivilegedExceptionAction<Object>(){
245 class myPrivilegedExceptionAction implements PrivilegedExceptionAction <Objec
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java13 import java.security.PrivilegedExceptionAction;
384 public static Callable<Object> callable(final PrivilegedExceptionAction<?> action) {
442 new PrivilegedExceptionAction<T>() {
484 new PrivilegedExceptionAction<T>() {
/libcore/luni/src/main/java/javax/security/auth/
H A DSubject.java31 import java.security.PrivilegedExceptionAction;
214 public static <T> T doAs(Subject subject, PrivilegedExceptionAction<T> action)
238 PrivilegedExceptionAction<T> action, AccessControlContext context)
250 PrivilegedExceptionAction<T> action, final AccessControlContext context)
/libcore/crypto/src/main/java/org/conscrypt/
H A DServerHandshakeImpl.java27 import java.security.PrivilegedExceptionAction;

Completed in 2541 milliseconds