Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java26 import java.security.PrivilegedExceptionAction;
83 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction(); in test_doAs_02()
84 PrivilegedExceptionAction<Object> peaNull = null; in test_doAs_02()
107 Subject.doAs(subj, new PrivilegedExceptionAction<Object>(){ in test_doAs_02()
154 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction(); in test_doAsPrivileged_02()
155 PrivilegedExceptionAction<Object> peaNull = null; in test_doAsPrivileged_02()
179 Subject.doAsPrivileged(subj, new PrivilegedExceptionAction<Object>(){ in test_doAsPrivileged_02()
252 class myPrivilegedExceptionAction implements PrivilegedExceptionAction <Object> {
/libcore/luni/src/main/java/java/security/
DAccessController.java58 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws PrivilegedActionExcep… in doPrivileged()
71 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context… in doPrivileged()
85 …public static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) throws Privilege… in doPrivilegedWithCombiner()
DPrivilegedExceptionAction.java23 public interface PrivilegedExceptionAction<T> { interface
/libcore/luni/src/main/java/java/util/concurrent/
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/
DSubject.java31 import java.security.PrivilegedExceptionAction;
214 public static <T> T doAs(Subject subject, PrivilegedExceptionAction<T> action) in doAs()
238 PrivilegedExceptionAction<T> action, AccessControlContext context) in doAsPrivileged()
250 PrivilegedExceptionAction<T> action, final AccessControlContext context) in doAs_PrivilegedExceptionAction()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java540 Callable c = Executors.callable(new PrivilegedExceptionAction() { in testCallable4()
580 Callable c = Executors.callable((PrivilegedExceptionAction) null); in testCallableNPE4()
DAbstractExecutorServiceTest.java115 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() { in testSubmitPrivilegedExceptionAction()
133 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() { in testSubmitFailedPrivilegedExceptionAction()
DForkJoinPoolTest.java34 import java.security.PrivilegedExceptionAction;
502 Executors.callable(new PrivilegedExceptionAction() { in testSubmitPrivilegedExceptionAction()
523 Executors.callable(new PrivilegedExceptionAction() { in testSubmitFailedPrivilegedExceptionAction()