/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 | 244 * encountered, and the action for malformed error is 248 * charset is encountered, and the action for unmappable 317 * kind of result can be returned only if the malformed action is 391 // We have a real error, so do what the appropriate action tells us what to do... 392 CodingErrorAction action = 394 if (action == CodingErrorAction.REPORT) { 396 } else if (action == CodingErrorAction.REPLACE) { 421 * implement the error action themselves. 509 * the new action. 521 * 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);
|
H A D | R.java | 1293 public static final int action = 0; field in class:R
|
/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/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/ |
H A D | MainActivity.java | 64 actionEditText = (EditText) findViewById(R.id.action); 74 final String action = actionEditText.getText().toString(); 100 sendIntent(copyOfContentFile, action, version, requiredHash); 126 File contentFile, String action, String version, String required) { 128 i.setAction(action); 125 sendIntent( File contentFile, String action, String version, String required) argument
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Executors.java | 338 * {@code Callable} to an otherwise resultless action. 365 * called, runs the given privileged action and returns its result. 366 * @param action the privileged action to run 368 * @throws NullPointerException if action null 370 public static Callable<Object> callable(final PrivilegedAction<?> action) { argument 371 if (action == null) 374 public Object call() { return action.run(); }}; 379 * called, runs the given privileged exception action and returns 381 * @param action th 385 callable(final PrivilegedExceptionAction<?> action) argument [all...] |