Searched refs:on (Results 1 - 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/security/
H A DDigestInputStream.java12 * distributed under the License is distributed on an "AS IS" BASIS,
35 // Indicates whether digest functionality is on or off
43 * {@code DigestInputStream}. All operations on such a stream will fail.
76 * for the byte if this function is {@link #on(boolean)}.
89 // - digest functionality is on
101 * {@link #on(boolean)}.
115 // - digest functionality is on
125 * Enables or disables the digest function (default is on).
127 * @param on
132 public void on(boolea argument
[all...]
H A DDigestOutputStream.java12 * distributed under the License is distributed on an "AS IS" BASIS,
35 // Indicates whether digest functionality is on or off
73 * this function is {@link #on(boolean)}.
82 // update digest only if digest functionality is on
92 * offset. Updates the digest if this function is {@link #on(boolean)}.
105 // update digest only if digest functionality is on
114 * Enables or disables the digest function (default is on).
116 * @param on
121 public void on(boolean on) { argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DOtherName.java12 * distributed under the License is distributed on an "AS IS" BASIS,
97 OtherName on = (OtherName) object;
98 values[0] = ObjectIdentifier.toIntArray(on.typeID);
99 values[1] = on.value;
/libcore/tzdata/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
21 # Library of tools classes for tzdata updates. Not required on device, except in tests.
32 # on-device code.
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DDigestOutputStreamTest.java12 * distributed under the License is distributed on an "AS IS" BASIS,
168 * Test #1 for <code>on(boolean)</code> method<br>
171 * Assertion: <code>on(boolean)</code> turns digest functionality on
184 dos.on(false);
237 * functionality is on
256 * Test #2 for <code>on(boolean)</code> method<br>
267 dos.on(false);
402 dos.on(false);
480 * Test for <code>on()</cod
[all...]
H A DDigestInputStream2Test.java12 * distributed under the License is distributed on an "AS IS" BASIS,
58 * java.security.DigestInputStream#on(boolean)
61 // Test for method void java.security.DigestInputStream.on(boolean)
66 dis.on(false);
79 // turn on processing
80 dis.on(true);
85 assertTrue("MessageDigest did not change with processing on",
225 // create a ByteArrayInputStream to perform digesting on
H A DDigestInputStreamTest.java12 * distributed under the License is distributed on an "AS IS" BASIS,
173 * Test #1 for <code>on(boolean)</code> method<br>
176 * Assertion: <code>on(boolean)</code> turns digest functionality on
189 dis.on(false);
243 * functionality is on
254 fail("read() must not work when digest functionality is on");
262 * Test #2 for <code>on(boolean)</code> method<br>
275 dis.on(false);
461 dis.on(fals
[all...]
/libcore/benchmarks/
H A DAndroid.mk11 # distributed under the License is distributed on an "AS IS" BASIS,
/libcore/tzdata/update_test_app/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
/libcore/luni/src/main/java/java/net/
H A DSocket.java12 * distributed under the License is distributed on an "AS IS" BASIS,
94 * the port on the target host to connect to.
96 * the address on the local host to bind to.
98 * the port on the local host to bind to.
134 * to any available port on the local host.
143 * the port on the target host to connect to.
156 * the socket is bound to the given address {@code localAddress} on port
166 * the port on the target host to connect to.
168 * the address on the local host to bind to.
170 * the port on th
524 setSoLinger(boolean on, int timeout) argument
553 setTcpNoDelay(boolean on) argument
[all...]
/libcore/
H A DAndroid.mk11 # distributed under the License is distributed on an "AS IS" BASIS,
H A DCaCerts.mk11 # distributed under the License is distributed on an "AS IS" BASIS,
H A DNativeCode.mk11 # distributed under the License is distributed on an "AS IS" BASIS,
30 # and stick them on core_src_files. The submakefiles are
H A DJavaLibrary.mk11 # distributed under the License is distributed on an "AS IS" BASIS,
29 # main/ # To be shipped on every device.
33 # test/ # Built only on demand, for testing.
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java11 * distributed under the License is distributed on an "AS IS" BASIS,
105 * Connects socket 'fd' to 'inetAddress' on 'port', with no timeout. The lack of a timeout
117 * Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'.
328 throw new UnsupportedOperationException("Use IP_MULTICAST_IF2 on Android");
356 boolean on = false;
359 on = true;
362 StructLinger linger = new StructLinger(booleanToInt(on), seconds);
611 // remove this code. Until then, we manually set the hop limit on IPv6 datagram sockets.
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java11 * distributed under the License is distributed on an "AS IS" BASIS,
238 // Check that if we don't read to the end of a response, the next request on the
493 * Verify that we don't retry connections on certificate verification errors.
634 assertEquals("Connect line failure on proxy",
1702 // Fails on the RI, which gets "Proxy Response"
1777 * This relies on the fact that MockWebServer doesn't close the
2957 @Override public void setSoLinger(boolean on, int timeout) throws SocketException { argument
2958 delegate.setSoLinger(on, timeout);
2965 @Override public void setTcpNoDelay(boolean on) throws SocketException { argument
2966 delegate.setTcpNoDelay(on);
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 356 milliseconds