/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 171 * encountered, and the action for malformed error is 175 * charset was encountered, and the action for unmappable 267 * result can be returned only if the malformed action is 274 * only if the unmappable character action is 319 CodingErrorAction action = null; 345 // set coding error handle action 346 action = malformedInputAction; 348 action = unmappableCharacterAction; 350 // If the action i [all...] |
H A D | CharsetEncoder.java | 261 * encountered, and the action for malformed error is 265 * charset is encountered, and the action for unmappable 355 * kind of result can be returned only if the malformed action is 437 CodingErrorAction action = malformedInputAction; 439 action = unmappableCharacterAction; 441 // If the action is IGNORE or REPLACE, we should continue 443 if (action == CodingErrorAction.REPLACE) { 449 if (action != CodingErrorAction.IGNORE) { 472 * implement the error action itself. 497 * {@link #implFlush(ByteBuffer) implFlush} to perform writing action [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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/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 | 45 private static int translateCodingErrorAction(CodingErrorAction action) { argument 46 if (action == CodingErrorAction.REPORT) { 48 } else if (action == CodingErrorAction.IGNORE) { 50 } 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/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 | 300 * <tt>Callable</tt> to an otherwise resultless action. 327 * called, runs the given privileged action and returns its result. 328 * @param action the privileged action to run 330 * @throws NullPointerException if action null 332 public static Callable<Object> callable(final PrivilegedAction<?> action) { argument 333 if (action == null) 336 public Object call() { return action.run(); }}; 341 * called, runs the given privileged exception action and returns 343 * @param action th 347 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")) {
|