Home
last modified time | relevance | path

Searched refs:getPort (Results 1 – 25 of 213) sorted by relevance

123456789

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DLDAPCertStoreParametersTest.java67 assertEquals("port", 389, cp.getPort()); in testLDAPCertStoreParameters02()
90 assertEquals("port", 389, cp.getPort()); in testLDAPCertStoreParametersString02()
128 assertTrue("port", cp.getPort() == portNumber); in testLDAPCertStoreParametersStringint02()
156 assertTrue("portsTheSame", cp1.getPort() == cp2.getPort()); in testClone()
178 assertTrue(cp.getPort() == portNumber); in testGetPort()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DMessageChannel.java185 public int getPort() { in getPort() method in MessageChannel
187 return messageProcessor.getPort(); in getPort()
207 && messageProcessor.getPort() == hop.getPort() in sendMessage()
210 hopAddr, hop.getPort()); in sendMessage()
222 this.sendMessage(msg, hopAddr, hop.getPort(), sipMessage instanceof SIPRequest); in sendMessage()
235 logMessage(sipMessage, hopAddr, hop.getPort(), time); in sendMessage()
280 return (transport + ":" + hostPort.getHost().getHostname() + ":" + hostPort.getPort()) in getKey()
290 retval.setPort(this.getPort()); in getHostPort()
350 getSIPStack().serverLogger.logMessage(sipMessage, this.getHost() + ":" + this.getPort(), in logMessage()
366 peerport = ((AddressImpl) contact.getAddress()).getPort(); in logResponse()
[all …]
DUDPMessageChannel.java180 this.myPort = messageProcessor.getPort(); in UDPMessageChannel()
207 this.myPort = messageProcessor.getPort(); in UDPMessageChannel()
233 this.myPort = messageProcessor.getPort(); in UDPMessageChannel()
330 + packet.getPort() + " Length = " + packetLength); in processIncomingDataPacket()
364 packet.getPort(), "UDP", false); in processIncomingDataPacket()
388 … if (pingBackRecord.get(packet.getAddress().getHostAddress() + ":" + packet.getPort()) == null ) { in processIncomingDataPacket()
390 …Packet keepalive = new DatagramPacket(retval,0,retval.length,packet.getAddress(),packet.getPort()); in processIncomingDataPacket()
393 packet.getPort()), 1000); in processIncomingDataPacket()
421 this.peerPort = hop.getPort(); in processIncomingDataPacket()
425 this.peerPacketSourcePort = packet.getPort(); in processIncomingDataPacket()
[all …]
DMessageProcessor.java154 public int getPort() { in getPort() method in MessageProcessor
174 via.setPort(this.getPort()); in getViaHeader()
203 if ( lp.getPort() != this.getPort()) in setListeningPoint()
DTCPMessageChannel.java136 this.peerPort = mySock.getPort(); in TCPMessageChannel()
139 this.myPort = this.tcpMessageProcessor.getPort(); in TCPMessageChannel()
162 this.myPort = messageProcessor.getPort(); in TCPMessageChannel()
467 … int remotePort = ((java.net.InetSocketAddress) mySock.getRemoteSocketAddress()).getPort(); in processMessage()
493 + this.getMessageProcessor().getPort(), false, receptionTime); in processMessage()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketImplTest.java74 new InetSocketAddress("localhost", server.getPort())); in testSSLSocketImpl1()
139 server.getPort(), JSSETestData.getSSLParameters()); in testSSLSocketImpl2()
204 server.getPort(), in testSSLSocketImpl3()
271 server.getPort(), in testSSLSocketImpl4()
337 server.getPort(), in testSSLSocketImpl5()
631 public int getPort() { in getPort() method in SSLSocketImplTest.Server
683 socket = createSSLSocket(server.getPort()); in testSetGetUseClientMode()
802 socket = createSSLSocket(server.getPort()); in testGetSession()
917 socket = createSSLSocket(server.getPort()); in testStartHandshake()
979 socket = createSSLSocket(server.getPort()); in testGetInputStream()
[all …]
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/interpreter/
DInterpreterProcess.java58 putEnvironmentVariable("AP_PORT", Integer.toString(getPort())); in InterpreterProcess()
88 public int getPort() { in getPort() method in InterpreterProcess
89 return mProxy.getAddress().getPort(); in getPort()
/external/nist-sip/java/gov/nist/javax/sip/header/
DVia.java117 && getPort() == o.getPort() in equals()
158 sentBy.getPort(),sentProtocol.getTransport()); in getHop()
338 public int getPort() { in getPort() method in Via
341 return sentBy.getPort(); in getPort()
/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java124 assertEquals(expectPort, hp.getPort()); in checkFromStringCase()
128 hp.getPort(); in checkFromStringCase()
138 int port = hp2.getPort(); in checkFromStringCase()
153 assertEquals(81, hp.getPort()); in testFromParts()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DIntentFilterTest.java30 assertThat(intentFilter.getDataAuthority(0).getPort(), equalTo(8080)); in addDataAuthority_shouldAddTheDataAuthority()
32 assertThat(intentFilter.getDataAuthority(1).getPort(), equalTo(42)); in addDataAuthority_shouldAddTheDataAuthority()
/external/nist-sip/java/gov/nist/javax/sip/
DListeningPointImpl.java166 public int getPort() { in getPort() method in ListeningPointImpl
167 return messageProcessor.getPort(); in getPort()
228 int port = this.getPort(); in createContactHeader()
/external/jetty/src/java/org/eclipse/jetty/client/
DAddress.java81 public int getPort() in getPort() method in Address
88 return new InetSocketAddress(getHost(), getPort()); in toSocketAddress()
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpsTransportSE.java59 public int getPort() { in getPort() method in HttpsTransportSE
64 retVal = new URL(url).getPort(); in getPort()
DServiceConnectionSE.java135 public int getPort() { in getPort() method in ServiceConnectionSE
136 return connection.getURL().getPort(); in getPort()
DHttpsServiceConnectionSE.java120 public int getPort() { in getPort() method in HttpsServiceConnectionSE
121 return connection.getURL().getPort(); in getPort()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptingLayerService.java242 final int port = proxy.getAddress().getPort(); in launchScript()
260 final int port = proxy.getAddress().getPort();
277 i.putExtra(Constants.EXTRA_PROXY_PORT, address.getPort());
288 mProcessMap.put(process.getPort(), process);
322 process = removeProcess(process.getPort());
/external/jmdns/src/javax/jmdns/impl/
DSocketListener.java55 if (packet.getPort() != DNSConstants.MDNS_PORT) { in run()
56 this._jmDNSImpl.handleQuery(msg, packet.getAddress(), packet.getPort()); in run()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java151 schm.resolvePort(target.getPort()), in openConnection()
172 schm.resolvePort(target.getPort()), in openConnection()
242 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true); in updateSecureConnection()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java98 public int getPort() { in getPort() method in MockWebServer
114 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort())); in toProxyAddress()
125 ? new URL("https://" + getHostName() + ":" + getPort() + path) in getUrl()
126 : new URL("http://" + getHostName() + ":" + getPort() + path); in getUrl()
314 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true); in serveConnection()
411 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true); in processHandshakeFailure()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DCookiesTest.java134 + "Port=\"80,443," + server.getPort() + "\"; " in testRfc2965Response()
150 assertEquals("80,443," + server.getPort(), cookie.getPortlist()); in testRfc2965Response()
168 + "Port=\"80,443," + server.getPort() + "\"; " in testQuotedAttributeValues()
184 assertEquals("80,443," + server.getPort(), cookie.getPortlist()); in testQuotedAttributeValues()
232 String portList = Integer.toString(redirectSource.getPort()); in testRedirectsDoNotIncludeTooManyCookies()
DHttpOverHttp2Test.java51 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_GET()
75 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_HEAD()
/external/nist-sip/java/gov/nist/javax/sip/address/
DAuthority.java145 public int getPort() { in getPort() method in Authority
149 return hostPort.getPort(); in getPort()
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2965PortAttributeHandler.java136 int port = origin.getPort(); in validate()
159 int port = origin.getPort(); in match()
/external/sl4a/Common/src/com/googlecode/android_scripting/event/
DEventServer.java68 Log.v("Adding EventServer listener " + socket.getPort()); in handleConnection()
83 Log.v("Ending EventServer listener " + socket.getPort()); in handleConnection()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSocketImplWrapper.java189 public int getPort() { in getPort() method in OpenSSLSocketImplWrapper
190 return socket.getPort(); in getPort()

123456789