HomeSort by relevance Sort by last modified time
    Searched defs:socket (Results 1 - 25 of 601) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
socket.cpp 19 #include <sys/socket.h>
21 int socket(int domain, int type, int protocol) { function
22 return __netdClientDispatch.socket(domain, type, protocol);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
socket.c 10 int socket(int domain, int type, int protocol) { function
  /development/tools/axl/
udpEater.py 24 import time, socket, string namespace
29 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
30 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
33 hostname = socket.gethostname()
34 ip = socket.gethostbyname(hostname)
udpServer.py 2 import time, socket, string namespace
9 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
10 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
13 # hostname = socket.gethostname()
15 ip = socket.gethostbyname(hostname)
  /device/generic/goldfish/libqemu/
test_util.h 26 int socket; member in struct:__anon3040
  /external/srtp/
configure 6940 socket (); function
    [all...]
  /sdk/emulator/opengl/tests/ut_renderer/
ut_renderer.cpp 31 TcpStream *socket = new TcpStream(); local
33 if (socket->listen(CODEC_SERVER_PORT) < 0) {
38 UnixStream *socket = new UnixStream();
40 if (socket->listen(CODEC_SERVER_PORT) < 0) {
49 SocketStream *glStream = socket->accept();
  /external/chromium_org/device/bluetooth/
bluetooth_channel_mac.h 26 // Sets the channel's owning socket to |socket|. Should only be called if the
27 // socket was previously unset. Note: This can synchronously call back into
28 // socket->OnChannelOpenComplete().
29 virtual void SetSocket(BluetoothSocketMac* socket);
48 // transmitted, the socket's method OnChannelWriteComplete() will be called
53 BluetoothSocketMac* socket() { return socket_; } function in class:device::BluetoothChannelMac
56 // The socket that owns |this|.
  /external/lldb/test/functionalities/connect_remote/
EchoServer.py 5 Taken from http://docs.python.org/library/socket.html#example.
8 import socket namespace
12 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  /bionic/libc/private/
NetdClientDispatch.h 21 #include <sys/socket.h>
28 int (*socket)(int, int, int); member in struct:NetdClientDispatch
  /external/chromium_org/ppapi/tests/
test_tcp_socket_private_disallowed.cc 38 PP_Resource socket = local
40 if (0 != socket) {
43 socket, kServerName, kPort,
test_udp_socket_private_disallowed.cc 32 PP_Resource socket = local
34 if (0 != socket) {
39 callback.WaitForResult(udp_socket_private_interface_->Bind(socket, &addr,
  /external/chromium_org/third_party/tlslite/tlslite/integration/
httptlsconnection.py 11 import socket namespace
25 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
pop3_tls.py 6 import socket namespace
15 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
73 sock = socket.create_connection((host, port), timeout)
  /external/chromium_org/third_party/webrtc/test/channel_transport/
udp_socket_manager_unittest.cc 36 // Creates a socket and adds it to the socket manager, and then removes it
37 // before destroying the socket manager.
42 UdpSocketWrapper* socket = local
51 EXPECT_EQ(true, mgr->RemoveSocket(socket));
55 // Creates a socket and add it to the socket manager, but does not remove it
56 // before destroying the socket manager.
57 // On Posix, this destroys the socket.
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
websocket.py 6 import socket namespace
25 sockopt.append((socket.SOL_SOCKET, socket.SO_REUSEADDR, 1))
  /external/lldb/test/pexpect-2.4/examples/
bd_client.py 6 import socket namespace
22 s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
  /libcore/luni/src/test/java/libcore/java/nio/channels/
DatagramChannelTest.java 61 dc.socket().bind(null);
72 DatagramSocket socket = dc.socket(); local
73 assertFalse(socket.isBound());
74 assertFalse(socket.getBroadcast());
75 assertFalse(socket.isClosed());
76 assertFalse(socket.isConnected());
77 assertEquals(0, socket.getLocalPort());
78 assertTrue(socket.getLocalAddress().isAnyLocalAddress());
79 assertNull(socket.getLocalSocketAddress())
    [all...]
  /system/core/libsysutils/src/
NetlinkListener.cpp 19 #include <sys/socket.h>
34 NetlinkListener::NetlinkListener(int socket) :
35 SocketListener(socket, false) {
40 NetlinkListener::NetlinkListener(int socket, int format) :
41 SocketListener(socket, false), mFormat(format) {
46 int socket = cli->getSocket(); local
51 socket, mBuffer, sizeof(mBuffer), &uid));
  /external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
TestUtils.java 18 * Utilities to testing a socket tunnel.
23 // Sends |request| string to UNIX socket socketName on another thread and returns
32 LocalSocket socket = new LocalSocket();
33 socket.connect(new LocalSocketAddress(socketName));
34 writeAndShutdown(socket, request);
36 String response = readAll(socket);
37 socket.close();
45 public static void writeAndShutdown(LocalSocket socket, String data) throws IOException {
46 socket.getOutputStream().write(data.getBytes(CHARSET));
47 socket.getOutputStream().flush()
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
LocalSocketTest.java 33 // create client and server socket
95 //close client socket
104 //close server socket
115 LocalSocket socket = new LocalSocket(); local
118 assertFalse(socket.isBound());
119 socket.bind(addr);
120 assertTrue(socket.isBound());
121 assertEquals(addr, socket.getLocalSocketAddress());
123 String str = socket.toString();
126 socket.setReceiveBufferSize(1999)
    [all...]
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
ClientSocketHandler.java 10 import java.net.Socket;
26 Socket socket = new Socket(); local
28 socket.bind(null);
29 socket.connect(new InetSocketAddress(mAddress.getHostAddress(),
32 chat = new ChatManager(socket, handler);
37 socket.close();
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLServerSocketTest.java 32 SSLServerSocket socket = local
34 String[] cipherSuites = new String[] {socket.getSupportedCipherSuites()[0]};
35 socket.setEnabledCipherSuites(cipherSuites);
36 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(socket.getEnabledCipherSuites()));
40 SSLServerSocket socket = local
42 String[] array = new String[] {socket.getEnabledCipherSuites()[0]};
44 socket.setEnabledCipherSuites(array);
46 assertEquals(originalFirstElement, socket.getEnabledCipherSuites()[0]);
50 SSLServerSocket socket = local
52 String[] protocols = new String[] {socket.getSupportedProtocols()[0]}
58 SSLServerSocket socket = local
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ProfilesLoader.java 24 import java.net.Socket;
38 Socket socket = null; local
43 socket = new Socket();
44 socket.connect(new InetSocketAddress("127.0.0.1",
47 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
48 in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
72 if (socket != null) {
73 socket.close()
    [all...]
VersionLoader.java 29 import java.net.Socket;
41 Socket socket = null; local
46 socket = new Socket();
47 socket.connect(new InetSocketAddress("127.0.0.1",
50 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
51 in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
68 if (socket != null) {
69 socket.close()
    [all...]

Completed in 716 milliseconds

1 2 3 4 5 6 7 8 91011>>