/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Connection.java | 28 import java.net.Socket; 64 private Socket socket; field in class:Connection 132 socket.close(); 155 socket = connectedSocket.socket; 162 socket.setSoTimeout(0); // SPDY timeouts are set per-stream. 163 spdyConnection = new SpdyConnection.Builder(route.address.uriHost, true, socket) 167 httpConnection = new HttpConnection(pool, this, socket); 207 * Returns the socket that this connection uses, or null if the connectio [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
ConnectionSpecSelector.java | 34 * Handles the connection spec fallback strategy: When a secure socket connection fails 54 * @throws IOException if the socket does not support any of the TLS modes available 68 // This may be the first time a connection has been attempted and the socket does not support 69 // any the required protocols, or it may be a retry (but this socket supports fewer 70 // protocols than was suggested by a prior socket). 136 * possible based on the supplied {@link SSLSocket}. It assumes that a future socket will have the 137 * same capabilities as the supplied socket. 139 private boolean isFallbackPossible(SSLSocket socket) { 141 if (connectionSpecs.get(i).isCompatible(socket)) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DelegatingSSLSocketFactory.java | 20 import java.net.Socket; 86 public SSLSocket createSocket(Socket socket, String host, int port, boolean autoClose) 88 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(socket, host, port, autoClose);
|
/external/openssh/ |
entropy.c | 30 #include <sys/socket.h> 70 * listening either on 'tcp_port', or via Unix domain socket at * 89 fatal("You must specify a port or a socket"); 116 fd = socket(addr.ss_family, SOCK_STREAM, 0); 118 error("Couldn't create socket: %s", strerror(errno)); 127 error("Couldn't connect to PRNGD socket \"%s\": %s", 143 error("Couldn't write to PRNGD socket: %s", 154 error("Couldn't read from PRNGD socket: %s", 176 debug("trying egd/prngd socket %s", PRNGD_SOCKET);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 7 * Functions for opening a raw socket and reading/writing raw Ethernet frames. 91 * A raw socket for talking to the Ethernet card. Exits on error. 93 * Opens a raw Ethernet socket 119 if ((fd = socket(domain, stype, htons(type))) < 0) { 122 fatal("Cannot create raw socket -- pppoe must be run as root."); 124 error("Can't open socket for pppoe: %m"); 129 error("Can't set socket options for pppoe: %m"); 195 * sock -- socket to send to 228 * sock -- socket to read from
|
/external/srtp/test/ |
rtp.c | 18 # include <sys/socket.h> 50 octets_sent = sendto(sender->socket, (void*)&sender->message, 69 octets_recvd = recvfrom(receiver->socket, (void *)&receiver->message, 103 int socket, 119 sender->socket = socket; 127 int socket, 143 rcvr->socket = socket;
|
/external/valgrind/memcheck/tests/ |
null_socket.c | 4 #include <sys/socket.h>
|
/external/vogar/src/vogar/monitor/ |
HostMonitor.java | 26 import java.net.Socket; 55 Socket socket = null; local 57 socket = new Socket("localhost", port); 58 InputStream in = new BufferedInputStream(socket.getInputStream()); 60 log.verbose("action monitor connected to " + socket.getRemoteSocketAddress()); 66 IoUtils.closeQuietly(socket); 79 * Somewhere between the host and client process, broken socket connections
|
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.h | 2 * hostapd / UNIX domain socket -based control interface
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.h | 35 /** Create a TCP based communication channel over @socket */ 36 TCPStream(int socket); 82 * Utility method: start a server listening at @sockName (unix domain socket, 84 * Returns the connected client socket on success, or -1 on failure.
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 28 import java.net.Socket; 47 private Socket[] sockets; 108 * Returns a pair of connected sockets backed by NIO socket channels. 110 private Socket[] newSocketChannelPair() throws IOException { 112 serverSocketChannel.socket().bind(new InetSocketAddress(0)); 114 clientSocketChannel.connect(serverSocketChannel.socket().getLocalSocketAddress()); 117 return new Socket[] { clientSocketChannel.socket(), server.socket() };
|
/libcore/luni/src/test/java/libcore/java/net/ |
ServerSocketTest.java | 23 import java.net.Socket; 32 final Socket[] result = new Socket[1]; 44 new Socket(ss.getInetAddress(), ss.getLocalPort());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
ObexRejectServer.java | 35 * Will reject the OBEX connection, start a timer, and at timeout close the socket. 51 public ObexRejectServer(int result, BluetoothSocket socket) { 54 mSocket = socket; 78 Log.w(TAG, "Unable to close socket - ignoring", e);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
smb.h | 39 /* The socket */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
atalk.h | 6 #include <linux/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
adptif.h | 13 HANDLE WINAPI CreateSocketPort(USHORT Socket);
|
qos2.h | 83 SOCKET Socket, 132 SOCKET Socket,
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
if_pppolac.h | 15 #include <linux/socket.h>
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
if_pppolac.h | 15 #include <linux/socket.h>
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/prebuilts/ndk/9/platforms/android-12/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/prebuilts/ndk/9/platforms/android-13/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/prebuilts/ndk/9/platforms/android-15/arch-x86/usr/include/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|