Home
last modified time | relevance | path

Searched refs:localPort (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaNetworkUtilTest.cpp33 unsigned int localPort; in TEST() local
35 ImsMediaNetworkUtil::getLocalIpPortFromSocket(nTestSocFD, localIPAddr, 32, localPort); in TEST()
39 ASSERT_EQ(localPort, nTestPort); in TEST()
56 res = ImsMediaNetworkUtil::getLocalIpPortFromSocket(nTestSocFD, localIPAddr, 32, localPort); in TEST()
70 unsigned int localPort; in TEST() local
72 ImsMediaNetworkUtil::getLocalIpPortFromSocket(nTestSocFD, localIPAddr, 32, localPort); in TEST()
76 ASSERT_EQ(localPort, nTestPort); in TEST()
93 res = ImsMediaNetworkUtil::getLocalIpPortFromSocket(nTestSocFD, localIPAddr, 32, localPort); in TEST()
DImsMediaSocketTest.cpp33 uint32_t localPort = 50080; in SetUp() local
35 mSocket = ISocket::GetInstance(localPort, peerIpAddress, peerPort); in SetUp()
39 mSocket->SetLocalEndpoint(localIpAddress, localPort); in SetUp()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtcp.cpp46 uint32_t localPort = 0; in create() local
47 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
48 RtpAddress localAddress(localIp, localPort - 1); in create()
57 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
68 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
DAudioStreamGraphRtpRx.cpp47 uint32_t localPort = 0; in create() local
48 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
49 RtpAddress localAddress(localIp, localPort); in create()
DAudioStreamGraphRtpTx.cpp60 uint32_t localPort = 0; in create() local
61 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
62 RtpAddress localAddress(localIp, localPort); in create()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtcp.cpp47 uint32_t localPort = 0; in create() local
48 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
49 RtpAddress localAddress(localIp, localPort - 1); in create()
58 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
68 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
DTextStreamGraphRtpRx.cpp45 uint32_t localPort = 0; in create() local
46 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
47 RtpAddress localAddress(localIp, localPort); in create()
DTextStreamGraphRtpTx.cpp53 uint32_t localPort = 0; in create() local
54 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
55 RtpAddress localAddress(localIp, localPort); in create()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpManager.java42 Network network, String host, int port, String localIp, int localPort, in createMsrpSession() argument
45 InetAddress.getByName(localIp), localPort); in createMsrpSession()
54 String host, int port, String localIp, int localPort, MsrpSessionListener listener) { in createMsrpSession() argument
61 network, host, port, localIp, localPort, listener)); in createMsrpSession()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtcp.cpp47 uint32_t localPort = 0; in create() local
48 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
49 RtpAddress localAddress(localIp, localPort - 1); in create()
58 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
68 ->SetLocalAddress(RtpAddress(localIp, localPort)); in create()
DVideoStreamGraphRtpRx.cpp46 uint32_t localPort = 0; in create() local
47 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
48 RtpAddress localAddress(localIp, localPort); in create()
DVideoStreamGraphRtpTx.cpp60 uint32_t localPort = 0; in create() local
61 ImsMediaNetworkUtil::getLocalIpPortFromSocket(mLocalFd, localIp, MAX_IP_LEN, localPort); in create()
62 RtpAddress localAddress(localIp, localPort); in create()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DISocket.cpp21 uint32_t localPort, const char* peerIpAddress, uint32_t peerPort, eSocketClass eSocket) in GetInstance() argument
28 ImsMediaSocket::GetInstance(localPort, peerIpAddress, peerPort)); in GetInstance()
DImsMediaSocket.cpp77 uint32_t localPort, const char* peerIpAddress, uint32_t peerPort) in GetInstance() argument
84 if (strcmp(i->GetPeerIPAddress(), peerIpAddress) == 0 && i->GetLocalPort() == localPort && in GetInstance()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DNetworkTraceHandler.cpp94 localPort = ntohs(pkt.egress ? pkt.sport : pkt.dport); in BundleKey()
107 (x).tcpFlags, (x).localPort, (x).remotePort, (x).icmpType, (x).icmpCode
222 if (mDropLocalPort) key.localPort.reset(); in Write()
282 if (src.localPort.has_value()) event->set_local_port(*src.localPort); in Fill()
/packages/modules/Connectivity/framework/src/android/net/
DNetwork.java226 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument
228 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); in createSocket()
233 int localPort) throws IOException { in createSocket() argument
237 socket.bind(new InetSocketAddress(localAddress, localPort)); in createSocket()
DConnectionInfo.java66 int localPort = in.readInt();
74 InetSocketAddress local = new InetSocketAddress(localAddress, localPort);
DProxyInfo.java363 int localPort = in.readInt();
364 return new ProxyInfo(url, localPort);
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java157 final int localPort = udp.local.getPort(); in findLikelyFreeUdpPort() local
159 return localPort; in findLikelyFreeUdpPort()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DISocket.h57 static ISocket* GetInstance(uint32_t localPort, const char* peerIpAddress, uint32_t peerPort,
DImsMediaSocket.h31 uint32_t localPort, const char* peerIpAddress, uint32_t peerPort);
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java427 int localPort) throws IOException { in AcceptedTcpFileDescriptorSocket() argument
428 super(new FileDescriptorSocketImpl(fd, remote, localPort)); in AcceptedTcpFileDescriptorSocket()
435 int localPort) { in FileDescriptorSocketImpl() argument
439 this.localport = localPort; in FileDescriptorSocketImpl()
DIpSecManagerTest.java315 int localPort; in doTestCreateTransform() local
330 localPort = localSocket.getLocalPort(); in doTestCreateTransform()
332 outPacket.setPort(localPort); in doTestCreateTransform()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/
DNetworkTraceHandler.h48 std::optional<uint16_t> localPort; member
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestDnsServer.kt123 val port get() = socket.localPort

12