HomeSort by relevance Sort by last modified time
    Searched defs:sockets (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/extensions/common/api/sockets/
sockets_manifest_handler.cc 5 #include "extensions/common/api/sockets/sockets_manifest_handler.h"
7 #include "extensions/common/api/sockets/sockets_manifest_data.h"
8 #include "extensions/common/api/sockets/sockets_manifest_permission.h"
20 const base::Value* sockets = NULL; local
21 CHECK(extension->manifest()->Get(manifest_keys::kSockets, &sockets));
23 SocketsManifestData::FromValue(*sockets, error);
sockets_manifest_permission.cc 5 #include "extensions/common/api/sockets/sockets_manifest_permission.h"
12 #include "extensions/common/api/sockets/sockets_manifest_data.h"
26 using core_api::extensions_manifest_types::Sockets;
99 scoped_ptr<Sockets> sockets = Sockets::FromValue(value, error); local
100 if (!sockets)
104 if (sockets->udp) {
107 sockets->udp->bind,
113 sockets->udp->send
193 Sockets sockets; local
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
SSLLoopbackBenchmark.java 41 SSLSocket[] sockets = TestSSLSocketPair.connect(context, null, null); local
43 sockets[0].close();
44 sockets[1].close();
  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
main.cc 96 SocketArray sockets; local
104 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i)
113 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i) {
165 i = sockets.erase(i);
166 if (i == sockets.end())
175 if (sockets.size() >= kMaxConnections) {
179 sockets.push_back(s);
185 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i
    [all...]
  /external/chromium_org/third_party/webrtc/base/
macsocketserver.h 49 const std::set<MacAsyncSocket*>& sockets() { function in class:rtc::MacBaseSocketServer
  /frameworks/native/libs/gui/
BitTube.cpp 71 int sockets[2]; local
72 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets) == 0) {
74 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf));
75 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf));
77 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size));
78 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
79 fcntl(sockets[0], F_SETFL, O_NONBLOCK);
80 fcntl(sockets[1], F_SETFL, O_NONBLOCK);
81 mReceiveFd = sockets[0];
82 mSendFd = sockets[1]
    [all...]
  /external/chromium_org/extensions/browser/api/bluetooth_socket/
bluetooth_socket_event_dispatcher.h 29 // Dispatch events related to "bluetooth" sockets from callback on native socket
72 scoped_refptr<SocketData> sockets; member in struct:extensions::core_api::BluetoothSocketEventDispatcher::SocketParams
  /external/chromium_org/extensions/browser/api/sockets_tcp/
tcp_socket_event_dispatcher.h 23 // Dispatch events related to "sockets.tcp" sockets from callback on native
62 scoped_refptr<SocketData> sockets; member in struct:extensions::core_api::TCPSocketEventDispatcher::ReadParams
  /external/chromium_org/extensions/browser/api/sockets_udp/
udp_socket_event_dispatcher.h 23 // Dispatch events related to "sockets.udp" sockets from callback on native
62 scoped_refptr<SocketData> sockets; member in struct:extensions::core_api::UDPSocketEventDispatcher::ReceiveParams
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLSocketPair.java 60 SSLSocket[] sockets = connect(c, null, null); local
61 return new TestSSLSocketPair(c, sockets[0], sockets[1]);
  /external/chromium_org/remoting/webapp/js_proto/
chrome_proto.js 529 chrome.sockets = {};
532 chrome.sockets.tcp = {};
535 chrome.sockets.tcp.CreateInfo = function() {
542 * @param {function(chrome.sockets.tcp.CreateInfo):void} callback
544 chrome.sockets.tcp.create = function(properties, callback) {};
548 chrome.sockets.tcp.ConnectInfo = function() {
557 * @param {function(chrome.sockets.tcp.ConnectInfo):void} callback
559 chrome.sockets.tcp.connect =
564 chrome.sockets.tcp.SendInfo = function() {
575 * @param {function(chrome.sockets.tcp.SendInfo):void} callbac
    [all...]
  /external/chromium_org/chrome/utility/image_writer/
image_writer_mac.cc 81 int sockets[2]; local
82 int result = socketpair(AF_UNIX, SOCK_STREAM, 0, sockets);
87 base::ScopedFD parent_socket(sockets[0]);
88 base::ScopedFD child_socket(sockets[1]);
  /external/chromium_org/chrome/browser/local_discovery/
service_discovery_host_client.cc 28 SocketInfoList sockets; local
44 sockets.push_back(socket);
48 return sockets;
285 void ServiceDiscoveryHostClient::OnSocketsReady(const SocketInfoList& sockets) {
294 if (sockets.empty()) {
298 utility_host_->Send(new LocalDiscoveryMsg_SetSockets(sockets));
  /external/chromium_org/media/audio/win/
audio_output_win_unittest.cc 666 base::SyncSocket sockets[2]; local
667 ASSERT_TRUE(base::SyncSocket::CreatePair(&sockets[0], &sockets[1]));
669 SyncSocketSource source(&sockets[0], params);
677 thread_context.socket = &sockets[1];
  /external/chromium_org/net/udp/
udp_socket_unittest.cc 172 // Delete sockets so they log their final events.
297 std::vector<UDPClientSocket*> sockets; local
301 // Create and connect sockets and save port numbers.
309 sockets.push_back(socket);
318 delete sockets.back();
319 sockets.pop_back();
338 STLDeleteElements(&sockets);
  /external/chromium_org/third_party/libevent/
http-internal.h 114 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 47 private Socket[] sockets; field in class:InterruptedStreamTest
57 if (sockets != null) {
58 sockets[0].close();
59 sockets[1].close();
98 sockets = newSocketChannelPair();
99 testInterruptReadableChannel(sockets[0].getChannel());
103 sockets = newSocketChannelPair();
104 testInterruptWritableChannel(sockets[0].getChannel());
108 * Returns a pair of connected sockets backed by NIO socket channels.
  /system/core/init/
init.h 107 struct socketinfo *sockets; member in struct:service
  /external/chromium_org/net/socket/
ssl_client_socket_pool_unittest.cc 46 // times comes from mock client sockets in these tests, so primarily serves to
245 // Tests that the final socket will connect even if all sockets
248 // All sockets should wait for the first socket to attempt to
249 // connect. Once it fails to connect, all other sockets should
252 // Although we request four sockets, the first three socket connect
253 // failures cause the socket pool to create three more sockets because
330 // Tests that sockets will still connect in parallel if the
377 std::vector<MockSSLClientSocket*> sockets = local
380 // All sockets should have started their connections.
381 for (std::vector<MockSSLClientSocket*>::iterator it = sockets.begin()
451 std::vector<MockSSLClientSocket*> sockets = local
519 std::vector<MockSSLClientSocket*> sockets = local
599 std::vector<MockSSLClientSocket*> sockets = local
679 std::vector<MockSSLClientSocket*> sockets = local
    [all...]
  /external/chromium_org/base/process/
process_util_unittest.cc 615 int sockets[2]; local
616 socketpair(AF_UNIX, SOCK_STREAM, 0, sockets);
623 ret = IGNORE_EINTR(close(sockets[0]));
625 ret = IGNORE_EINTR(close(sockets[1]));
  /external/chromium_org/net/dns/
mdns_client_impl.cc 42 ScopedVector<DatagramServerSocket>* sockets) {
50 sockets->push_back(socket.release());
142 ScopedVector<DatagramServerSocket> sockets; local
143 socket_factory->CreateSockets(&sockets);
145 for (size_t i = 0; i < sockets.size(); ++i) {
147 new MDnsConnection::SocketHandler(make_scoped_ptr(sockets[i]), this));
149 sockets.weak_clear();
151 // All unbound sockets need to be bound before processing untrusted input.
163 VLOG(1) << "Sockets ready:" << socket_handlers_.size();
  /frameworks/native/libs/input/
InputTransport.cpp 122 int sockets[2]; local
123 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets)) {
133 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize));
134 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize));
135 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize));
136 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize));
140 outServerChannel = new InputChannel(serverChannelName, sockets[0]);
144 outClientChannel = new InputChannel(clientChannelName, sockets[1]);
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java 1479 final Socket[] sockets = new Socket[2]; local
    [all...]
  /external/smack/asmack-master/lib/
jstun.jar 

Completed in 1120 milliseconds