HomeSort by relevance Sort by last modified time
    Searched full:socket (Results 401 - 425 of 4983) sorted by null

<<11121314151617181920>>

  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
MockSpdyPeer.java 25 import java.net.Socket;
51 private Socket socket; field in class:MockSpdyPeer
92 * will cause the peer to close the socket as soon as this frame has been
132 if (socket != null) throw new IllegalStateException();
133 socket = serverSocket.accept();
134 OutputStream out = socket.getOutputStream();
135 InputStream in = socket.getInputStream();
166 socket.close();
177 public Socket openSocket() throws IOException
183 Socket socket = this.socket; local
    [all...]
  /hardware/ril/libril/
RilSapSocket.cpp 57 RLOGD("Socket id:%d", request->socketId);
64 RLOGE("Invalid socket id");
91 RLOGD("Printing socket list");
93 RLOGD("SocketName:%s",current->socket->name);
94 RLOGD("Socket id:%d",current->socket->id);
107 if(socketId == current->socket->id) {
108 sap_socket = current->socket;
152 RilSapSocket* socket = NULL; local
157 socket = new RilSapSocket(socketName, socketid, uimFuncs)
    [all...]
  /external/srtp/include/
rtp.h 12 * rtp_sender_t sender side socket and rtp info
13 * rtp_receiver_t receiver side socket and rtp info
76 rtp_receiver_init(rtp_receiver_t rcvr, int socket,
80 rtp_sender_init(rtp_sender_t sender, int socket,
89 struct sockaddr_in name, /* socket name */
96 struct sockaddr_in name, /* socket name */
  /libcore/luni/src/test/java/libcore/java/net/
OldSocketImplFactoryTest.java 8 import java.net.Socket;
30 Socket.setSocketImplFactory(factory);
33 new Socket();
41 Socket.setSocketImplFactory(factory);
48 Socket.setSocketImplFactory(null);
65 Field [] fields = Socket.class.getDeclaredFields();
  /libcore/support/src/test/java/tests/net/
StuckServer.java 23 import java.net.Socket;
48 private ArrayList<Socket> clients = new ArrayList<Socket>();
66 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
90 for (Socket client : clients) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
ssl.py 9 SSLSocket -- subtype of socket.socket which does SSL over the socket
90 from socket import socket, _fileobject, _delegate_methods, error as socket_error namespace
91 from socket import getnameinfo as _getnameinfo
100 class SSLSocket(socket):
102 """This class implements a subtype of socket.socket that wraps
103 the underlying OS socket in an SSL context when necessary, an
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_telnetlib.py 1 import socket namespace
18 to the socket.
38 except socket.timeout:
47 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
64 self.assertTrue(socket.getdefaulttimeout() is None)
65 socket.setdefaulttimeout(30)
69 socket.setdefaulttimeout(None
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
ssl.py 9 SSLSocket -- subtype of socket.socket which does SSL over the socket
90 from socket import socket, _fileobject, _delegate_methods, error as socket_error namespace
91 from socket import getnameinfo as _getnameinfo
100 class SSLSocket(socket):
102 """This class implements a subtype of socket.socket that wraps
103 the underlying OS socket in an SSL context when necessary, an
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_telnetlib.py 1 import socket namespace
18 to the socket.
38 except socket.timeout:
47 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
64 self.assertTrue(socket.getdefaulttimeout() is None)
65 socket.setdefaulttimeout(30)
69 socket.setdefaulttimeout(None
    [all...]
  /bionic/libc/bionic/
__recvfrom_chk.cpp 32 #include <sys/socket.h>
35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen,
42 return recvfrom(socket, buf, len, flags, src_addr, addrlen);
  /cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java 30 import java.net.Socket;
200 // Transfer 1MB of data across an explicitly localhost socket.
209 Socket socket = new Socket("localhost", server.getLocalPort()); local
212 socket.setTcpNoDelay(true);
213 OutputStream out = socket.getOutputStream();
217 TrafficStats.tagSocket(socket);
222 socket.close();
230 Socket socket = server.accept() local
    [all...]
  /development/samples/USB/AdbTest/src/com/android/adb/
AdbSocket.java 19 /* This class represents an adb socket. adb supports multiple independent
20 * socket connections to a single device. Typically a socket is created
  /device/lge/hammerhead/sepolicy/
thermald.te 8 allow thermald self:socket create_socket_perms;
20 # Talk to qmuxd (/dev/socket/qmux_radio)
38 # Create and access to /dev/socket/thermal-.*
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServerSocket.java 22 import java.net.Socket;
37 * Blocks until a connection is made, or the socket times out.
49 Socket s = instance.accept();
  /external/boringssl/src/tool/
transport_common.h 21 // InitSocketLibrary calls the Windows socket init functions, if needed.
24 // Connect sets |*out_sock| to be a socket connected to the destination given
29 // Accept sets |*out_sock| to be a socket connected to the port given
  /external/kernel-headers/original/uapi/linux/
mqueue.h 37 * - sigev_signo must be the file descriptor of an AF_NETLINK socket. It's not
38 * necessary that the socket is bound.
42 * socket. The last byte of the cookie is replaced with the NOTIFY_?? codes:
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Transport.java 45 /** Flush the request to the underlying socket. */
55 * Configures the response body to pool or close the socket connection when
63 * Returns true if the socket connection held by this transport can be reused
  /external/strace/tests/
net-accept-connect.c 7 #include <sys/socket.h>
37 assert(socket(PF_LOCAL, SOCK_STREAM, 0) == 0);
64 assert(socket(PF_LOCAL, SOCK_STREAM, 0) == 1);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
MockSocketChannel.java 21 import java.net.Socket;
34 public Socket socket() { method in class:MockSocketChannel
  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeNfcManager.java 123 LlcpConnectionlessSocket socket = doCreateLlcpConnectionlessSocket(nSap, sn); local
124 if (socket != null) {
125 return socket;
130 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
147 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength); local
148 if (socket != null) {
149 return socket;
154 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
171 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength); local
172 if (socket != null)
    [all...]
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeNfcManager.java 181 LlcpConnectionlessSocket socket = doCreateLlcpConnectionlessSocket(nSap, sn); local
182 if (socket != null) {
183 return socket;
188 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
205 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength); local
206 if (socket != null) {
207 return socket;
212 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
229 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength); local
230 if (socket != null)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
mqueue.h 37 * - sigev_signo must be the file descriptor of an AF_NETLINK socket. It's not
38 * necessary that the socket is bound.
42 * socket. The last byte of the cookie is replaced with the NOTIFY_?? codes:
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
mqueue.h 37 * - sigev_signo must be the file descriptor of an AF_NETLINK socket. It's not
38 * necessary that the socket is bound.
42 * socket. The last byte of the cookie is replaced with the NOTIFY_?? codes:
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
mswsock.h 55 int WINAPI WSARecvEx(SOCKET s,char *buf,int len,int *flags);
67 WINBOOL WINAPI TransmitFile(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved);
68 WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
72 typedef WINBOOL (WINAPI *LPFN_TRANSMITFILE)(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved);
76 typedef WINBOOL (WINAPI *LPFN_ACCEPTEX)(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
105 typedef WINBOOL (WINAPI *LPFN_TRANSMITPACKETS) (SOCKET hSocket,LPTRANSMIT_PACKETS_ELEMENT lpPacketArray,DWORD nElementCount,DWORD nSendSize,LPOVERLAPPED lpOverlapped,DWORD dwFlags);
109 typedef WINBOOL (WINAPI *LPFN_CONNECTEX)(SOCKET s,const struct sockaddr *name,int namelen,PVOID lpSendBuffer,DWORD dwSendDataLength,LPDWORD lpdwBytesSent,LPOVERLAPPED lpOverlapped);
113 typedef WINBOOL (WINAPI *LPFN_DISCONNECTEX)(SOCKET s,LPOVERLAPPED lpOverlapped,DWORD dwFlags,DWORD dwReserved)
    [all...]
  /bionic/libc/kernel/uapi/asm-arm/asm/
socket.h 19 #include <asm-generic/socket.h>

Completed in 182 milliseconds

<<11121314151617181920>>