Home
last modified time | relevance | path

Searched refs:serverSocketId (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js54 this.serverSocketId = null;
75 return this.serverSocketId > 0;
97 if (this.serverSocketId) {
100 socket.close(this.serverSocketId);
110 this.serverSocketId=0;
123 this.serverSocketId = createInfo.socketId;
124 if (this.serverSocketId > 0) {
127 socket.listen(this.serverSocketId, this.addr, this.port, 50,
149 if (info.socketId != this.serverSocketId)
165 if (info.socketId != this.serverSocketId)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DSocketFacade.java136 public static ServerSocket getServerSocket(String serverSocketId) { in getServerSocket() argument
137 return sServerSocketHashMap.get(serverSocketId); in getServerSocket()
229 public int getPortOfServerSocket(String serverSocketId) { in getPortOfServerSocket() argument
230 ServerSocket socket = sServerSocketHashMap.get(serverSocketId); in getPortOfServerSocket()
240 public Boolean closeTcpServerSocket(String serverSocketId) { in closeTcpServerSocket() argument
241 ServerSocket socket = sServerSocketHashMap.get(serverSocketId); in closeTcpServerSocket()
244 sServerSocketHashMap.remove(serverSocketId); in closeTcpServerSocket()
293 public Integer getTcpServerSocketPort(String serverSocketId) { in getTcpServerSocketPort() argument
294 ServerSocket socket = sServerSocketHashMap.get(serverSocketId); in getTcpServerSocketPort()
304 public String acceptTcpSocket(String serverSocketId) { in acceptTcpSocket() argument
[all …]