/libcore/luni/src/main/java/java/security/ |
D | AccessController.java | 44 public static <T> T doPrivileged(PrivilegedAction<T> action) { in doPrivileged() argument 45 return action.run(); in doPrivileged() 51 public static <T> T doPrivileged(PrivilegedAction<T> action, AccessControlContext context) { in doPrivileged() argument 52 return action.run(); in doPrivileged() 58 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws PrivilegedActionExcep… in doPrivileged() argument 60 return action.run(); in doPrivileged() 71 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context… in doPrivileged() argument 72 return doPrivileged(action); in doPrivileged() 78 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) { in doPrivilegedWithCombiner() argument 79 return action.run(); in doPrivilegedWithCombiner() [all …]
|
D | SecurityPermission.java | 26 public SecurityPermission(String name, String action) { super("", ""); } in SecurityPermission() argument
|
D | BasicPermission.java | 28 public BasicPermission(String name, String action) { super(""); } in BasicPermission() argument
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CodingErrorAction.java | 48 private String action; field in CodingErrorAction 53 private CodingErrorAction(String action) { in CodingErrorAction() argument 54 this.action = action; in CodingErrorAction() 64 return "Action: " + this.action; in toString()
|
D | CharsetDecoder.java | 324 CodingErrorAction action = in decode() local 326 if (action == CodingErrorAction.REPORT) { in decode() 328 } else if (action == CodingErrorAction.REPLACE) { in decode()
|
D | CharsetEncoder.java | 386 CodingErrorAction action = in encode() local 388 if (action == CodingErrorAction.REPORT) { in encode() 390 } else if (action == CodingErrorAction.REPLACE) { in encode()
|
/libcore/luni/src/main/java/javax/security/auth/ |
D | Subject.java | 145 public static <T> T doAs(Subject subject, PrivilegedAction<T> action) { in doAs() argument 146 return doAs_PrivilegedAction(subject, action, AccessController.getContext()); in doAs() 165 public static <T> T doAsPrivileged(Subject subject, PrivilegedAction<T> action, in doAsPrivileged() argument 168 return doAs_PrivilegedAction(subject, action, new AccessControlContext( in doAsPrivileged() 171 return doAs_PrivilegedAction(subject, action, context); in doAsPrivileged() 176 private static <T> T doAs_PrivilegedAction(Subject subject, PrivilegedAction<T> action, in doAs_PrivilegedAction() argument 198 return AccessController.doPrivileged(action, newContext); in doAs_PrivilegedAction() 214 public static <T> T doAs(Subject subject, PrivilegedExceptionAction<T> action) in doAs() argument 216 return doAs_PrivilegedExceptionAction(subject, action, AccessController.getContext()); in doAs() 238 PrivilegedExceptionAction<T> action, AccessControlContext context) in doAsPrivileged() argument [all …]
|
D | PrivateCredentialPermission.java | 32 public PrivateCredentialPermission(String name, String action) { super(""); } in PrivateCredentialPermission() argument
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeConverter.java | 43 private static int translateCodingErrorAction(CodingErrorAction action) { in translateCodingErrorAction() argument 44 if (action == CodingErrorAction.REPORT) { in translateCodingErrorAction() 46 } else if (action == CodingErrorAction.IGNORE) { in translateCodingErrorAction() 48 } else if (action == CodingErrorAction.REPLACE) { in translateCodingErrorAction()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | PrivilegedActionTest.java | 34 MyPrivilegedAction action = new MyPrivilegedAction(); in testRun() local 35 String result = AccessController.doPrivileged(action); in testRun() 37 assertTrue("run method was not called", action.called); in testRun()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DoPrivilegedBenchmark.java | 58 final PrivilegedAction<String> action = new ReusableAction("line.separator"); in timeReusedAction() local 60 String lineSeparator = AccessController.doPrivileged(action); in timeReusedAction()
|
D | R.java | 1293 public static final int action = 0; field in R
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Executors.java | 369 public static Callable<Object> callable(final PrivilegedAction<?> action) { in callable() argument 370 if (action == null) in callable() 373 public Object call() { return action.run(); }}; in callable() 384 public static Callable<Object> callable(final PrivilegedExceptionAction<?> action) { 385 if (action == null) 388 public Object call() throws Exception { return action.run(); }};
|
/libcore/luni/src/main/java/java/net/ |
D | SocketPermission.java | 27 public SocketPermission(String host, String action) { super(""); } in SocketPermission() argument
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
D | LSParser.java | 456 short action) in parseWithContext() argument
|