/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaNetworkUtilTest.cpp | 33 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()
|
D | ImsMediaSocketTest.cpp | 33 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/ |
D | AudioStreamGraphRtcp.cpp | 46 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()
|
D | AudioStreamGraphRtpRx.cpp | 47 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()
|
D | AudioStreamGraphRtpTx.cpp | 60 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/ |
D | TextStreamGraphRtcp.cpp | 47 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()
|
D | TextStreamGraphRtpRx.cpp | 45 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()
|
D | TextStreamGraphRtpTx.cpp | 53 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/ |
D | MsrpManager.java | 42 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/ |
D | VideoStreamGraphRtcp.cpp | 47 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()
|
D | VideoStreamGraphRtpRx.cpp | 46 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()
|
D | VideoStreamGraphRtpTx.cpp | 60 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/ |
D | ISocket.cpp | 21 uint32_t localPort, const char* peerIpAddress, uint32_t peerPort, eSocketClass eSocket) in GetInstance() argument 28 ImsMediaSocket::GetInstance(localPort, peerIpAddress, peerPort)); in GetInstance()
|
D | ImsMediaSocket.cpp | 77 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/ |
D | NetworkTraceHandler.cpp | 94 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/ |
D | Network.java | 226 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()
|
D | ConnectionInfo.java | 66 int localPort = in.readInt(); 74 InetSocketAddress local = new InetSocketAddress(localAddress, localPort);
|
D | ProxyInfo.java | 363 int localPort = in.readInt(); 364 return new ProxyInfo(url, localPort);
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 157 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/ |
D | ISocket.h | 57 static ISocket* GetInstance(uint32_t localPort, const char* peerIpAddress, uint32_t peerPort,
|
D | ImsMediaSocket.h | 31 uint32_t localPort, const char* peerIpAddress, uint32_t peerPort);
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 427 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()
|
D | IpSecManagerTest.java | 315 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/ |
D | NetworkTraceHandler.h | 48 std::optional<uint16_t> localPort; member
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestDnsServer.kt | 123 val port get() = socket.localPort
|