HomeSort by relevance Sort by last modified time
    Searched refs:portNumber (Results 1 - 15 of 15) sorted by null

  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramSocketTest.java 139 int portNumber = Support_PortManager.getNextPortForUDP();
140 ds = new java.net.DatagramSocket(portNumber);
142 ds.getLocalPort() == portNumber);
186 int portNumber = Support_PortManager.getNextPortForUDP();
187 ds = new java.net.DatagramSocket(portNumber, InetAddress
190 ds.getLocalPort() == portNumber);
239 int portNumber = Support_PortManager.getNextPortForUDP();
240 ds = new java.net.DatagramSocket(portNumber);
260 int portNumber = Support_PortManager.getNextPortForUDP();
261 ds.connect(inetAddress, portNumber);
    [all...]
OldServerSocketTest.java 61 int portNumber = theSocket.getLocalPort();
67 portNumber)).toString(), theSocket
70 .getLocalHost(), portNumber)));
78 .getLocalHost(), portNumber);
136 int portNumber = Support_PortManager.getNextPort();
137 s = new ServerSocket(portNumber);
139 new ServerSocket(portNumber);
220 int portNumber = Support_PortManager.getNextPort();
222 ServerSocket newSocket = new ServerSocket(portNumber);
269 int portNumber = s.getLocalPort()
    [all...]
OldSocketTest.java 126 int portNumber = Support_PortManager.getNextPort();
128 InetAddress.getLocalHost(), portNumber);
250 int portNumber = Support_PortManager.getNextPort();
252 InetAddress.getLocalHost(), portNumber);
253 assertTrue("Failed to create socket", s.getLocalPort() == portNumber);
268 int portNumber = Support_PortManager.getNextPort();
269 s = new Socket(InetAddress.getLocalHost(), sport, null, portNumber);
287 int portNumber = Support_PortManager.getNextPort();
288 s = new Socket(InetAddress.getLocalHost(), sport, null, portNumber);
308 int portNumber = Support_PortManager.getNextPort()
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/
ServerSocketFactoryTest.java 94 int portNumber = Support_PortManager.getNextPort();
97 ServerSocket ss = sf.createServerSocket(portNumber);
104 sf.createServerSocket(portNumber);
133 int portNumber = Support_PortManager.getNextPort();
136 ServerSocket ss = sf.createServerSocket(portNumber, 0);
143 sf.createServerSocket(portNumber, 0);
172 int portNumber = Support_PortManager.getNextPort();
175 ServerSocket ss = sf.createServerSocket(portNumber, 0, InetAddress.getLocalHost());
182 sf.createServerSocket(portNumber, 0, InetAddress.getLocalHost());
SocketFactoryTest.java 108 int portNumber = Support_PortManager.getNextPort();
141 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), portNumber);
166 int portNumber = Support_PortManager.getNextPort();
190 Socket s = sf.createSocket(InetAddress.getLocalHost(), portNumber);
216 int portNumber = Support_PortManager.getNextPort();
222 InetAddress.getLocalHost(), portNumber);
225 assertTrue("2: Failed to create socket", s.getLocalPort() == portNumber);
233 InetAddress.getLocalHost(), portNumber);
254 InetAddress.getLocalHost(), portNumber);
280 int portNumber = Support_PortManager.getNextPort()
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
LDAPCertStoreParametersTest.java 165 int portNumber = 1099;
167 new LDAPCertStoreParameters(serverName, portNumber);
169 assertTrue("port", cp.getPort() == portNumber);
191 int[] portNumber = {-1, -100, Integer.MIN_VALUE, Integer.MAX_VALUE};
192 for (int i = 0; i < portNumber.length; i++) {
194 new LDAPCertStoreParameters(serverName, portNumber[i]);
250 int portNumber = -1099;
252 new LDAPCertStoreParameters("serverName", portNumber);
253 assertTrue(cp.getPort() == portNumber);
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketTest.java 154 int portNumber = Support_PortManager.getNextPort();
158 ssl = new mySSLServerSocket(portNumber);
159 assertEquals(portNumber, ssl.getLocalPort());
176 ssl = new mySSLServerSocket(portNumber);
177 new mySSLServerSocket(portNumber);
197 int portNumber = Support_PortManager.getNextPort();
201 ssl = new mySSLServerSocket(portNumber, 1);
202 assertEquals(portNumber, ssl.getLocalPort());
218 portNumber = Support_PortManager.getNextPort();
220 ssl = new mySSLServerSocket(portNumber, 1)
    [all...]
SSLSocketTest.java 124 int portNumber = Support_PortManager.getNextPort();
127 InetAddress.getLocalHost(), portNumber);
130 assertEquals(portNumber, ssl.getLocalPort());
291 int portNumber = Support_PortManager.getNextPort();
295 InetAddress.getLocalHost(), portNumber);
298 assertEquals(portNumber, ssl.getLocalPort());
308 portNumber = Support_PortManager.getNextPort();
311 InetAddress.getLocalHost(), portNumber);
329 portNumber = Support_PortManager.getNextPort();
331 ssl = getSSLSocket("bla-bla", sport, InetAddress.getLocalHost(), portNumber);
    [all...]
SSLSocketFactoryTest.java 41 int portNumber = Support_PortManager.getNextPort();
43 ss = new ServerSocket(portNumber);
  /external/nist-sip/java/gov/nist/javax/sip/stack/
HopImpl.java 71 * @param portNumber port
74 public HopImpl(String hostName, int portNumber, String trans) {
83 port = portNumber;
  /sdk/ddms/app/src/com/android/ddms/
StaticPortConfigDialog.java 265 * @param portNumber port number
267 private void addEntry(String deviceName, String appName, int portNumber) {
273 item.setText(COL_PORT, Integer.toString(portNumber));
276 mPorts.add(portNumber);
296 * @param portNumber The new port number.
298 private void replaceEntry(int index, String deviceName, String appName, int portNumber) {
305 item.setText(COL_PORT, Integer.toString(portNumber));
308 mPorts.set(index, portNumber);
  /external/quake/quake/src/WinQuake/
net_comx.cpp 161 byte portNumber;
320 void TTY_GetComPortConfig (int portNumber, int *port, int *irq, int *baud, qboolean *useModem)
324 p = handleToPort[portNumber];
331 void TTY_SetComPortConfig (int portNumber, int port, int irq, int baud, qboolean useModem)
344 p = handleToPort[portNumber];
361 void TTY_GetModemConfig (int portNumber, char *dialType, char *clear, char *init, char *hangup)
365 p = handleToPort[portNumber];
372 void TTY_SetModemConfig (int portNumber, char *dialType, char *clear, char *init, char *hangup)
376 p = handleToPort[portNumber];
395 p->uart = ISA_uarts[p->portNumber];
    [all...]
net.h 328 extern void (*GetComPortConfig) (int portNumber, int *port, int *irq, int *baud, qboolean *useModem);
329 extern void (*SetComPortConfig) (int portNumber, int port, int irq, int baud, qboolean useModem);
330 extern void (*GetModemConfig) (int portNumber, char *dialType, char *clear, char *init, char *hangup);
331 extern void (*SetModemConfig) (int portNumber, char *dialType, char *clear, char *init, char *hangup);
net_main.cpp 39 void (*GetComPortConfig) (int portNumber, int *port, int *irq, int *baud, qboolean *useModem);
40 void (*SetComPortConfig) (int portNumber, int port, int irq, int baud, qboolean useModem);
41 void (*GetModemConfig) (int portNumber, char *dialType, char *clear, char *init, char *hangup);
42 void (*SetModemConfig) (int portNumber, char *dialType, char *clear, char *init, char *hangup);
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 131 public void play(int portNumber) throws IOException {
132 final ServerSocket ss = new ServerSocket(portNumber);

Completed in 726 milliseconds