Searched refs:on (Results 1 - 19 of 19) 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/crypto/src/main/java/org/conscrypt/
H A DOpenSSLSocketImplWrapper.java12 * distributed under the License is distributed on an "AS IS" BASIS,
84 public void setSoLinger(boolean on, int linger) throws SocketException { argument
85 socket.setSoLinger(on, linger);
89 public void setTcpNoDelay(boolean on) throws SocketException { argument
90 socket.setTcpNoDelay(on);
94 public void setReuseAddress(boolean on) throws SocketException { argument
95 socket.setReuseAddress(on);
99 public void setKeepAlive(boolean on) throws SocketException { argument
100 socket.setKeepAlive(on);
H A DSSLSocketWrapper.java12 * distributed under the License is distributed on an "AS IS" BASIS,
105 public void setSoLinger(boolean on, int linger) throws SocketException { argument
106 socket.setSoLinger(on, linger);
110 public void setTcpNoDelay(boolean on) throws SocketException { argument
111 socket.setTcpNoDelay(on);
115 public void setReuseAddress(boolean on) throws SocketException { argument
116 socket.setReuseAddress(on);
120 public void setKeepAlive(boolean on) throws SocketException { argument
121 socket.setKeepAlive(on);
H A DSSLSocketImpl.java12 * distributed under the License is distributed on an "AS IS" BASIS,
576 public void setOOBInline(boolean on) throws SocketException { argument
H A DOpenSSLSocketImpl.java11 * distributed under the License is distributed on an "AS IS" BASIS,
54 * Implementation of the class OpenSSLSocketImpl based on OpenSSL.
101 * Local cache of timeout to avoid getsockopt on every read and
243 * Starts a TLS/SSL handshake on this connection using some native methods
450 // on exceptional exit, treat the socket as closed
875 * TLS Channel ID). The private key must be an Elliptic Curve (EC) key based on the NIST
935 @Override public void setOOBInline(boolean on) throws SocketException { argument
970 * Set the handshake timeout on this socket. This timeout is specified in
/libcore/luni/src/main/native/
H A Djava_io_Console.cpp12 * distributed under the License is distributed on an "AS IS" BASIS,
27 static jint Console_setEchoImpl(JNIEnv* env, jclass, jboolean on, jint previousState) { argument
33 if (on) {
/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/luni/src/main/java/java/io/
H A DConsole.java11 * distributed under the License is distributed on an "AS IS" BASIS,
149 private static int setEcho(boolean on, int previousState) { argument
151 return setEchoImpl(on, previousState);
156 private static native int setEchoImpl(boolean on, int previousState) throws IOException; argument
/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/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
500 setSoLinger(boolean on, int timeout) argument
529 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.
173 # on-the-fly.
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java11 * distributed under the License is distributed on an "AS IS" BASIS,
95 * Connects socket 'fd' to 'inetAddress' on 'port', with no timeout. The lack of a timeout
107 * Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'.
313 throw new UnsupportedOperationException("Use IP_MULTICAST_IF2 on Android");
341 boolean on = false;
344 on = true;
347 StructLinger linger = new StructLinger(booleanToInt(on), seconds);
568 // remove this code. Until then, we manually set the hop limit on IPv6 datagram sockets.
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 4027 milliseconds