Home
last modified time | relevance | path

Searched refs:LocalSocket (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/
DSocketTunnelServerTest.java8 import android.net.LocalSocket;
78 LocalSocket socket = connectToSocket(1); in testConnectToSocket()
83 private LocalSocket connectToSocket(int connectionId) throws IOException { in connectToSocket()
113 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReceiveOpenAcknowledgement()
140 LocalSocket socket = connectToSocket(CONNECTION_ID); in testClosingSocket()
157 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReadData()
202 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReadLongDataChunk()
230 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReuseConnectionId()
248 LocalSocket socket = connectToSocket(CONNECTION_ID); in testWriteData()
284 LocalSocket socket = connectToSocket(CONNECTION_ID); in testStopWhileSendingData()
DLocalTunnelBridgeTest.java8 import android.net.LocalSocket;
70 LocalSocket socket = mServerSocket.accept(); in testRequestResponse()
87 LocalSocket socket = mServerSocket.accept(); in testRequestFailure1()
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
DTestUtils.java7 import android.net.LocalSocket;
32 LocalSocket socket = new LocalSocket(); in asyncRequest()
45 public static void writeAndShutdown(LocalSocket socket, String data) throws IOException {
52 public static String readAll(LocalSocket socket) throws IOException {
DSocketTunnelClient.java8 import android.net.LocalSocket;
250 LocalSocket socket = mSocket.accept(); in runListenLoop()
267 private void clientOpenConnection(LocalSocket socket) throws IOException { in clientOpenConnection()
279 public Connection(int id, LocalSocket socket) { in Connection()
/external/chromium_org/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/
DSocketTunnelBase.java7 import android.net.LocalSocket;
281 protected final LocalSocket mSocket;
286 private ConnectionBase(int id, LocalSocket socket, boolean preconnected) { in ConnectionBase()
292 protected ConnectionBase(int id, LocalSocket socket) { in ConnectionBase()
297 this(id, new LocalSocket(), false); in ConnectionBase()
/external/mdnsresponder/mDNSCore/
DuDNS.c785 …mStatus err = mDNSSendDNSMessage(m, &m->omsg, responsePtr, mDNSInterface_Any, q->LocalSocket, &q->… in sendChallengeResponse()
910 …if (ackEnd) mDNSSendDNSMessage(m, &m->omsg, ackEnd, mDNSInterface_Any, q->LocalSocket, srcaddr, sr… in uDNS_recvLLQResponse()
1382 …mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort,… in startLLQHandshake()
3624 …err = mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->ser… in sendLLQRefresh()
4265 if (!q->LocalSocket) q->LocalSocket = mDNSPlatformUDPSocket(m, zeroIPPort); in uDNS_CheckCurrentQuestion()
4266 …if (!q->LocalSocket) err = mStatus_NoMemoryErr; // If failed to make socket (should be very rare),… in uDNS_CheckCurrentQuestion()
4267 …else err = mDNSSendDNSMessage(m, &m->omsg, end, q->qDNSServer->interface, q->LocalSocket, &q->qDNS… in uDNS_CheckCurrentQuestion()
DmDNS.c2897 if (!q->LocalSocket) q->LocalSocket = mDNSPlatformUDPSocket(m, zeroIPPort); in SendQueries()
2898 if (q->LocalSocket) in SendQueries()
2902 …mDNSSendDNSMessage(m, &m->omsg, qptr, mDNSInterface_Any, q->LocalSocket, &q->Target, q->TargetPort… in SendQueries()
6280 if (!tcp && !q->LocalSocket) continue; in ExpectingUnicastResponseForQuestion()
6281 if (mDNSSameIPPort(tcp ? q->tcpSrcPort : q->LocalSocket->port, port) && in ExpectingUnicastResponseForQuestion()
6314 srcp = q->LocalSocket ? q->LocalSocket->port : zeroIPPort; in ExpectingUnicastResponseForRecord()
7672 q->LocalSocket = question->LocalSocket; in UpdateQuestionDuplicates()
7681 question->LocalSocket = mDNSNULL; in UpdateQuestionDuplicates()
7685 if (q->LocalSocket) in UpdateQuestionDuplicates()
8405 question->LocalSocket = mDNSNULL; in mDNS_StartQuery_internal()
[all …]
DmDNSEmbeddedAPI.h1538 UDPSocket *LocalSocket; member