Home
last modified time | relevance | path

Searched refs:socketId (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js123 this.serverSocketId = createInfo.socketId;
149 if (info.socketId != this.serverSocketId)
165 if (info.socketId != this.serverSocketId)
171 TcpServer.prototype._onNoMoreConnectionsAvailable = function(socketId) { argument
174 chrome.sockets.tcp.send(socketId, arrayBuffer,
176 chrome.sockets.tcp.close(socketId);
192 function TcpConnection(socketId) { argument
193 this.socketId = socketId;
212 chrome.sockets.tcp.getInfo(this.socketId,
230 chrome.sockets.tcp.setPaused(this.socketId, false);
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DSocketFacade.java127 public static Socket getSocket(String socketId) { in getSocket() argument
128 return sSocketHashMap.get(socketId); in getSocket()
180 public int getPortOfSocket(String socketId) { in getPortOfSocket() argument
181 Socket socket = sSocketHashMap.get(socketId); in getPortOfSocket()
191 public Boolean closeTcpSocket(String socketId) { in closeTcpSocket() argument
192 Socket socket = sSocketHashMap.get(socketId); in closeTcpSocket()
195 sSocketHashMap.remove(socketId); in closeTcpSocket()
258 public String getFileDescriptorOfSocket(String socketId) { in getFileDescriptorOfSocket() argument
259 Socket socket = sSocketHashMap.get(socketId); in getFileDescriptorOfSocket()
324 public Boolean sendDataOverTcpSocket(String socketId, String message) { in sendDataOverTcpSocket() argument
[all …]
DIpSecManagerFacade.java212 String socketId, in ipSecApplyTransportModeTransformDatagramSocket() argument
215 if (socketId == null) { in ipSecApplyTransportModeTransformDatagramSocket()
219 DatagramSocket socket = SocketFacade.getDatagramSocket(socketId); in ipSecApplyTransportModeTransformDatagramSocket()
240 public Boolean ipSecRemoveTransportModeTransformsDatagramSocket(String socketId) { in ipSecRemoveTransportModeTransformsDatagramSocket() argument
241 if (socketId == null) { in ipSecRemoveTransportModeTransformsDatagramSocket()
245 DatagramSocket socket = SocketFacade.getDatagramSocket(socketId); in ipSecRemoveTransportModeTransformsDatagramSocket()
264 String socketId, in ipSecApplyTransportModeTransformSocket() argument
267 if (socketId == null) { in ipSecApplyTransportModeTransformSocket()
271 Socket socket = SocketFacade.getSocket(socketId); in ipSecApplyTransportModeTransformSocket()
292 public Boolean ipSecRemoveTransportModeTransformsSocket(String socketId) { in ipSecRemoveTransportModeTransformsSocket() argument
[all …]
DSocketKeepaliveFacade.java183 public String startTcpSocketKeepalive(String socketId, Integer intervalSeconds) { in startTcpSocketKeepalive() argument
184 Socket socket = SocketFacade.getSocket(socketId); in startTcpSocketKeepalive()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DInternalChannelzTest.java296 private void assertEmptyServerSocketsPage(long serverId, long socketId) { in assertEmptyServerSocketsPage() argument
298 = channelz.getServerSockets(serverId, socketId, /*maxPageSize=*/ 1); in assertEmptyServerSocketsPage()