/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | DelegatedTask.java | 26 private final Runnable action; field in class:DelegatedTask 28 public DelegatedTask(Runnable action, HandshakeProtocol handshaker) { argument 29 this.action = action; 36 action.run();
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CodingErrorAction.java | 27 * Denotes the action to ignore any errors. 33 * Denotes the action to fill in the output with a replacement character 40 * Denotes the action to report the encountered error in an appropriate 47 // The name of this action 48 private String action; field in class:CodingErrorAction 53 private CodingErrorAction(String action) { argument 54 this.action = action; 58 * Returns a text description of this action indication. 60 * @return a text description of this action indicatio [all...] |
H A D | CharsetDecoder.java | 51 * further action, which includes filling the input buffer, flushing the output 166 * encountered, and the action for malformed error is 170 * charset was encountered, and the action for unmappable 257 * result can be returned only if the malformed action is 264 * only if the unmappable character action is 323 // We have a real error, so do what the appropriate action tells us what to do... 324 CodingErrorAction action = 326 if (action == CodingErrorAction.REPORT) { 328 } else if (action == CodingErrorAction.REPLACE) { 353 * implement the error action itsel [all...] |
H A D | CharsetEncoder.java | 238 * encountered, and the action for malformed error is 242 * charset is encountered, and the action for unmappable 311 * kind of result can be returned only if the malformed action is 385 // We have a real error, so do what the appropriate action tells us what to do... 386 CodingErrorAction action = 388 if (action == CodingErrorAction.REPORT) { 390 } else if (action == CodingErrorAction.REPLACE) { 415 * implement the error action themselves. 440 * {@link #implFlush(ByteBuffer) implFlush} to perform writing action. 491 * the new action [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | AccessController.java | 42 * Calls {@code action.run()}. 44 public static <T> T doPrivileged(PrivilegedAction<T> action) { argument 45 return action.run(); 49 * Calls {@code action.run()}. 51 public static <T> T doPrivileged(PrivilegedAction<T> action, AccessControlContext context) { argument 52 return action.run(); 56 * Calls {@code action.run()}. 58 public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws PrivilegedActionException { argument 60 return action.run(); 69 * Calls {@code action 71 doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context) argument 78 doPrivilegedWithCombiner(PrivilegedAction<T> action) argument 85 doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) argument [all...] |
H A D | SecurityPermission.java | 26 public SecurityPermission(String name, String action) { super("", ""); } argument
|
H A D | BasicPermission.java | 28 public BasicPermission(String name, String action) { super(""); } argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | PrivilegedActionTest.java | 34 MyPrivilegedAction action = new MyPrivilegedAction(); 35 String result = AccessController.doPrivileged(action); 37 assertTrue("run method was not called", action.called);
|
/libcore/luni/src/main/java/java/net/ |
H A D | SocketPermission.java | 27 public SocketPermission(String host, String action) { super(""); } argument
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 43 private static int translateCodingErrorAction(CodingErrorAction action) { argument 44 if (action == CodingErrorAction.REPORT) { 46 } else if (action == CodingErrorAction.IGNORE) { 48 } else if (action == CodingErrorAction.REPLACE) {
|
/libcore/luni/src/main/java/javax/security/auth/ |
H A D | PrivateCredentialPermission.java | 32 public PrivateCredentialPermission(String name, String action) { super(""); } argument
|
H A D | Subject.java | 135 * Runs the code defined by {@code action} using the permissions granted to 140 * @param action 142 * @return the {@code Object} returned when running the {@code action}. 145 public static <T> T doAs(Subject subject, PrivilegedAction<T> action) { argument 146 return doAs_PrivilegedAction(subject, action, AccessController.getContext()); 150 * Run the code defined by {@code action} using the permissions granted to 156 * @param action 159 * the specific context in which the {@code action} is invoked. 162 * @return the {@code Object} returned when running the {@code action}. 165 public static <T> T doAsPrivileged(Subject subject, PrivilegedAction<T> action, argument 176 doAs_PrivilegedAction(Subject subject, PrivilegedAction<T> action, final AccessControlContext context) argument 214 doAs(Subject subject, PrivilegedExceptionAction<T> action) argument 237 doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext context) argument 249 doAs_PrivilegedExceptionAction(Subject subject, PrivilegedExceptionAction<T> action, final AccessControlContext context) argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | DoPrivilegedBenchmark.java | 58 final PrivilegedAction<String> action = new ReusableAction("line.separator"); 60 String lineSeparator = AccessController.doPrivileged(action);
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | LSParser.java | 345 * node. For this action to work, the context node must be an 351 * parse operation. For this action to work, the context node must be an 358 * sibling of the context node. For this action to work the context 365 * sibling of the context node. For this action to work the context 372 * this action to work, the context node must have a parent, and the 382 * <code>action</code> arguments. When parsing the input stream, the 391 * <br> If the context node is a <code>Document</code> node and the action 416 * the context node of type <code>DOCUMENT_NODE</code>, and the action 425 * @param action This parameter describes which action shoul 454 parseWithContext(LSInput input, Node contextArg, short action) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Executors.java | 337 * {@code Callable} to an otherwise resultless action. 364 * called, runs the given privileged action and returns its result. 365 * @param action the privileged action to run 367 * @throws NullPointerException if action null 369 public static Callable<Object> callable(final PrivilegedAction<?> action) { argument 370 if (action == null) 373 public Object call() { return action.run(); }}; 378 * called, runs the given privileged exception action and returns 380 * @param action th 384 callable(final PrivilegedExceptionAction<?> action) argument [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldDatabaseTest.java | 1047 public int authorize(int action, String arg1, String arg2, String arg3, argument 1049 Logger.global.info("DB authorization callback " + action + " " + arg1 + " " + arg2 + " " 1052 if (action != Constants.SQLITE_SELECT || arg1.contains("private_table")) {
|