HomeSort by relevance Sort by last modified time
    Searched refs:Socket (Results 176 - 200 of 282) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium/third_party/libjingle/source/talk/p2p/base/
transportchannelproxy.cc 66 int TransportChannelProxy::SetOption(talk_base::Socket::Option opt, int value) {
udpport.cc 51 LOG_J(LS_WARNING, this) << "UDP socket creation failed";
93 int UDPPort::SetOption(talk_base::Socket::Option opt, int value) {
101 void UDPPort::OnAddresReady(talk_base::AsyncPacketSocket* socket,
107 talk_base::AsyncPacketSocket* socket, const char* data, size_t size,
109 ASSERT(socket == socket_);
tcpport.h 70 virtual int SetOption(talk_base::Socket::Option opt, int value);
79 // Handles sending using the local TCP socket.
84 void OnNewConnection(talk_base::AsyncPacketSocket* socket,
90 talk_base::AsyncPacketSocket* socket; member in struct:cricket::TCPPort::Incoming
96 // Receives packet signal from the local TCP Socket.
97 void OnReadPacket(talk_base::AsyncPacketSocket* socket,
101 void OnAddresReady(talk_base::AsyncPacketSocket* socket,
116 // Connection is outgoing unless socket is specified
118 talk_base::AsyncPacketSocket* socket = 0);
124 talk_base::AsyncPacketSocket* socket() { return socket_; function in class:cricket::TCPConnection
    [all...]
  /frameworks/base/core/java/android/net/http/
AndroidHttpClientConnection.java 58 import java.net.Socket;
81 private Socket socket = null; field in class:AndroidHttpClientConnection
89 * Bind socket and set HttpParams to AndroidHttpClientConnection
90 * @param socket outgoing socket
95 final Socket socket,
97 if (socket == null) {
98 throw new IllegalArgumentException("Socket may not be null")
    [all...]
HttpsConnection.java 44 import java.net.Socket;
57 * SSL socket factory
175 Socket proxySock = null;
177 proxySock = new Socket
268 "failed to create an SSL socket";
302 errorMessage = "failed to create an SSL socket";
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldSocketChannelTest.java 25 import java.net.Socket;
171 Socket gotSocket = this.channel1.socket();
252 Socket acceptedSocket = server1.accept();
286 ssc.socket().bind(null, 0);
305 sc.connect(ssc.socket().getLocalSocketAddress());
321 sc.connect(ssc.socket().getLocalSocketAddress());
358 public Socket socket() { method in class:OldSocketChannelTest.MockSocketChannel
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerFlakyNetworkTest.java 35 import java.net.Socket;
265 Socket socket, int buffersize, HttpParams params) throws IOException {
266 return createSessionOutputBuffer(socket, buffersize, params);
270 Socket socket, int buffersize, HttpParams params) throws IOException {
271 return new SocketOutputBuffer(socket, buffersize, params) {
  /external/apache-http/src/org/apache/http/impl/conn/
SingleClientConnManager.java 36 import java.net.Socket;
254 // When using a recycled Socket, we need to re-tag it with any
257 final Socket socket = uniquePoolEntry.connection.getSocket();
258 if (socket != null) {
259 SocketTagger.get().tag(socket);
262 log.debug("Problem tagging socket.", iox);
297 // When recycling a Socket, we un-tag it to avoid collecting
299 final Socket socket = uniquePoolEntry.connection.getSocket()
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
asynctcpsocket.cc 53 // This will still return a socket even if we failed to listen on
55 // connections on this socket, the corresponding port is still
63 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen)
64 : socket_(socket),
141 Socket::ConnState AsyncTCPSocket::GetState() const {
145 int AsyncTCPSocket::GetOption(Socket::Option opt, int* value) {
149 int AsyncTCPSocket::SetOption(Socket::Option opt, int value) {
213 void AsyncTCPSocket::OnConnectEvent(AsyncSocket* socket) {
217 void AsyncTCPSocket::OnReadEvent(AsyncSocket* socket) {
218 ASSERT(socket_.get() == socket);
    [all...]
sslsocketfactory.cc 40 // the socket adapter is the more appropriate idiom for automatic proxy
117 Socket* SslSocketFactory::CreateSocket(int type) {
131 AsyncSocket* socket = factory_->CreateAsyncSocket(type); local
132 if (!socket)
137 socket = new LoggingSocketAdapter(socket, logging_level_,
144 proxy_socket = new AsyncSocksProxySocket(socket, proxy.address,
149 new AsyncHttpsProxySocket(socket, agent_, proxy.address,
155 delete socket;
158 socket = proxy_socket; // for our purposes the proxy is now the socke
    [all...]
win32socketserver.h 37 #include "talk/base/socket.h"
54 int Attach(SOCKET s);
84 void OnSocketNotify(SOCKET socket, int event, int error);
87 SOCKET socket_;
113 virtual Socket* CreateSocket(int type);
  /frameworks/base/core/java/android/net/
TrafficStats.java 30 import java.net.Socket;
113 * Set active tag to use when accounting {@link Socket} traffic originating
117 * {@link #tagSocket(Socket)}.
130 * Get the active tag used when accounting {@link Socket} traffic originating
132 * {@link #tagSocket(Socket)}.
141 * Clear any active tag set to account {@link Socket} traffic originating
151 * Set specific UID to use when accounting {@link Socket} traffic
156 * {@link #tagSocket(Socket)}.
173 * Tag the given {@link Socket} with any statistics parameters active for
175 * parameters. When finished, call {@link #untagSocket(Socket)} to remov
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
KeyManagerImpl.java 19 import java.net.Socket;
45 * from socket or engine.
87 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewHierarchyLoader.java 31 import java.net.Socket;
42 Socket socket = null; local
51 socket = new Socket();
52 socket.connect(new InetSocketAddress("127.0.0.1",
55 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
56 in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "utf-8"));
125 socket.close();
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java 26 import java.net.Socket;
467 Socket socket = event.getSocket();
480 System.out.println("Socket=" + socket);
516 assertNotNull(socket);
517 assertSame(client, socket);
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFactoriesTest.java 25 import java.net.Socket;
183 + "socket,String,int,boolean)");
185 Socket socket = new Socket( local
189 socket, "localhost", ssocket.getLocalPort(),
289 final String server_message = "Hello from SSL Server Socket!";
290 final String client_message = "Hello from SSL Socket!";
306 System.out.println("Socket accepted: " + s);
  /external/javassist/src/main/javassist/tools/web/
Webserver.java 37 private ServerSocket socket; field in class:Webserver
102 socket = new ServerSocket(port);
132 * Closes the socket.
135 socket.close();
180 ServiceThread th = new ServiceThread(this, socket.accept());
188 final void process(Socket clnt) throws IOException {
393 Socket sock;
395 public ServiceThread(Webserver w, Socket s) {
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 27 import java.net.Socket;
62 public void tagSocket(Socket socket) throws SocketException {
65 public void untagSocket(Socket socket) throws SocketException {
77 public void enableTlsExtensions(SSLSocket socket, String uriHost) {
84 public void supportTlsIntolerantServer(SSLSocket socket) {
85 socket.setEnabledProtocols(new String[] {"SSLv3"});
89 public byte[] getNpnSelectedProtocol(SSLSocket socket) {
94 * Sets client-supported protocols on a socket to send to a server. Th
    [all...]
  /external/v8/src/
d8-debug.cc 171 // Make sure that socket support is initialized.
172 ok = i::Socket::SetUp();
174 printf("Unable to initialize socket support %d\n", i::Socket::LastError());
185 printf("Unable to connect to debug agent %d\n", i::Socket::LastError());
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 30 import java.net.Socket;
221 Socket socket) {
226 socket.getInetAddress().getHostName(), socket.getPort(),
242 Socket socket) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 33 import java.net.Socket;
109 Socket s = defaultSSLSF
131 // create the SSL server socket acting as a server
171 // create the SSL server socket acting as a server
209 // create the SSL server socket acting as a server
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
TCPMessageChannel.java 67 private Socket mySock;
108 * Constructor - gets called from the SIPStack class with a socket on accepting a new client.
110 * new connections. The sock input is the socket that is returned from the accept. Global data
113 * @param sock Socket from which to read and write messages. The socket is already connected
119 protected TCPMessageChannel(Socket sock, SIPTransactionStack sipStack,
193 sipStack.getStackLogger().logDebug("Error closing socket " + ex);
246 * TCPMessageChannels are now pointing to the same socket.getInputStream().
250 // Socket s = this.sipStack.ioHandler.getSocket(IOHandler.makeKey(
252 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress()
    [all...]
TLSMessageChannel.java 75 private Socket mySock;
111 * Constructor - gets called from the SIPStack class with a socket on accepting a new client.
113 * new connections. The sock input is the socket that is returned from the accept. Global data
116 * @param sock Socket from which to read and write messages. The socket is already connected
124 protected TLSMessageChannel(Socket sock, SIPTransactionStack sipStack,
205 sipStack.getStackLogger().logDebug("Error closing socket " + ex);
255 Socket sock = this.sipStack.ioHandler.sendBytes(
258 // Created a new socket so close the old one and stick the new
259 // one in its place but dont do this if it is a datagram socket
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
CollectTraceAction.java 57 import java.net.Socket;
63 /** Abstract Unix Domain Socket Name used by the gltrace device code. */
66 /** Local port that is forwarded to the device's {@link #GLTRACE_UDS} socket. */
234 Socket socket = new Socket(); local
238 socket.connect(new java.net.InetSocketAddress("127.0.0.1", port)); //$NON-NLS-1$
239 socket.setTcpNoDelay(true);
240 traceDataStream = new DataInputStream(socket.getInputStream());
241 traceCommandsStream = new DataOutputStream(socket.getOutputStream())
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
NativeCryptoTest.java 26 import java.net.Socket;
635 Socket socket, FileDescriptor fd,
651 if (socket != null) {
652 socket.close();
658 private final Socket socket; field in class:NativeCryptoTest.TestSSLHandshakeCallbacks
662 public TestSSLHandshakeCallbacks(Socket socket,
665 this.socket = socket
    [all...]

Completed in 591 milliseconds

1 2 3 4 5 6 78 91011>>