Searched defs:on (Results 1 - 9 of 9) sorted by relevance

/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/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)}.
122 // - digest functionality is on
132 * Enables or disables the digest function (default is on).
134 * @param on
139 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/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/main/java/org/apache/harmony/xnet/provider/jsse/
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,
53 * Implementation of the class OpenSSLSocketImpl based on OpenSSL.
95 * Local cache of timeout to avoid getsockopt on every read and
237 * Starts a TLS/SSL handshake on this connection using some native methods
422 // on exceptional exit, treat the socket as closed
834 @Override public void setOOBInline(boolean on) throws SocketException { argument
869 * Set the handshake timeout on this socket. This timeout is specified in
/libcore/luni/src/main/java/java/net/
H A DSocket.java12 * distributed under the License is distributed on an "AS IS" BASIS,
93 * the port on the target host to connect to.
95 * the address on the local host to bind to.
97 * the port on the local host to bind to.
133 * to any available port on the local host.
142 * the port on the target host to connect to.
155 * the socket is bound to the given address {@code localAddress} on port
165 * the port on the target host to connect to.
167 * the address on the local host to bind to.
169 * the port on th
499 setSoLinger(boolean on, int timeout) argument
528 setTcpNoDelay(boolean on) argument
[all...]

Completed in 154 milliseconds