Home
last modified time | relevance | path

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

12345678910

/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()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/
Drpc_pmap_getport.c51 u_int getPort; in main() local
63 getPort = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main()
66 printf("Port got. %u\n", getPort); in main()
70 test_status = (getPort == 0); in main()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerTest.java55 public void getPort() throws Exception { in getPort() method in NettyServerTest
86 assertThat(ns.getPort()).isGreaterThan(0); in getPort()
114 assertThat(ns.getPort()).isEqualTo(-1); in getPort_notStarted()
170 socket.connect(new InetSocketAddress("localhost", ns.getPort()), /* timeout= */ 8000); in childChannelOptions()
213 assertThat(ns.getPort()).isGreaterThan(0); in channelzListenSocket()
220 assertEquals(ns.getPort(), ((InetSocketAddress) socketStats.local).getPort()); in channelzListenSocket()
DNettyTransportTest.java69 int port = server.getPort(); in newServer()
79 return "localhost:" + server.getPort(); in testAuthority()
94 int port = server.getPort(); in newClientTransport()
/external/conscrypt/common/src/main/java/org/conscrypt/
DPeerInfoProvider.java34 public int getPort() {
54 abstract int getPort(); in getPort() method in PeerInfoProvider
73 public int getPort() { in forHostAndPort() method in PeerInfoProvider
DAbstractConscryptSocket.java73 int getPort() {
74 return AbstractConscryptSocket.this.getPort();
223 public final int getPort() { in getPort() method in AbstractConscryptSocket
225 return socket.getPort(); in getPort()
232 return super.getPort(); in getPort()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DPeerInfoProvider.java35 public int getPort() {
55 abstract int getPort(); in getPort() method in PeerInfoProvider
74 public int getPort() { in forHostAndPort() method in PeerInfoProvider
DAbstractConscryptSocket.java74 int getPort() {
75 return AbstractConscryptSocket.this.getPort();
224 public final int getPort() { in getPort() method in AbstractConscryptSocket
226 return socket.getPort(); in getPort()
233 return super.getPort(); in getPort()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DDeepStubbingTest.java184 when(sf.createSocket().getPort()).thenReturn(a); in withSimplePrimitive()
186 assertEquals(a, sf.createSocket().getPort()); in withSimplePrimitive()
198 when(sf.createSocket(eq("stackoverflow.com"), eq(80)).getPort()).thenReturn(a); in withPatternPrimitive()
199 when(sf.createSocket(eq("google.com"), anyInt()).getPort()).thenReturn(b); in withPatternPrimitive()
200 when(sf.createSocket(eq("stackoverflow.com"), eq(8080)).getPort()).thenReturn(c); in withPatternPrimitive()
202 assertEquals(b, sf.createSocket("google.com", 80).getPort()); in withPatternPrimitive()
203 assertEquals(c, sf.createSocket("stackoverflow.com", 8080).getPort()); in withPatternPrimitive()
204 assertEquals(a, sf.createSocket("stackoverflow.com", 80).getPort()); in withPatternPrimitive()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2OkHttpTest.java94 OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("localhost", getPort()) in createChannelBuilder()
100 TestUtils.TEST_SERVER_HOST, getPort())); in createChannelBuilder()
141 BAD_HOSTNAME, getPort())) in wrongHostNameFailHostnameVerification()
163 BAD_HOSTNAME, getPort())) in hostnameVerifierWithBadHostname()
183 TestUtils.TEST_SERVER_HOST, getPort())) in hostnameVerifierWithCorrectHostname()
DHttp2NettyTest.java65 .forAddress(TestUtils.testServerAddress(getPort())) in createChannel()
87 assertNotEquals(getPort(), isa.getPort()); in remoteAddr()
DNettyFlowControlTest.java91 serverPort = server.getPort(); in initTest()
104 proxyPort = proxy.getPort(); in largeBdp()
113 proxyPort = proxy.getPort(); in smallBdp()
122 proxyPort = proxy.getPort(); in verySmallWindowMakesProgress()
DProxyTest.java69 client = new Socket("localhost", proxy.getPort()); in smallLatency()
100 client = new Socket("localhost", proxy.getPort()); in bigLatency()
132 client = new Socket("localhost", proxy.getPort()); in smallBandwidth()
156 client = new Socket("localhost", proxy.getPort()); in largeBandwidth()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpTransportTest.java64 int port = server.getPort(); in newServer()
75 return "thebestauthority:" + server.getPort(); in testAuthority()
80 int port = server.getPort(); in newClientTransport()
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/interpreter/
DInterpreterProcess.java57 putEnvironmentVariable("AP_PORT", Integer.toString(getPort())); in InterpreterProcess()
87 public int getPort() { in getPort() method in InterpreterProcess
88 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/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothServerSocket.java29 new Object[] {type, auth, encrypt, getPort(uuid)}); in newInstance()
34 private static int getPort(ParcelUuid uuid) { in getPort() method in ShadowBluetoothServerSocket
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DScriptingLayerService.java262 final int port = proxy.getAddress().getPort(); in launchScript()
279 final int port = proxy.getAddress().getPort(); in launchInterpreter()
295 i.putExtra(Constants.EXTRA_PROXY_PORT, address.getPort());
307 mProcessMap.put(process.getPort(), process);
345 process = removeProcess(process.getPort());
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DProxyDetectorImpl.java213 targetAddr.getPort(), in detectProxy()
247 proxyAddr.getPort(), in detectProxy()
255 resolvedProxyAddr = new InetSocketAddress(resolvedAddress, proxyAddr.getPort()); in detectProxy()
/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()

12345678910