Home
last modified time | relevance | path

Searched refs:localAddr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/android/net/netlink/
DNetlinkSocketTest.java58 final NetlinkSocketAddress localAddr = (NetlinkSocketAddress) Os.getsockname(fd); in testBasicWorkingGetNeighborsQuery() local
59 assertNotNull(localAddr); in testBasicWorkingGetNeighborsQuery()
60 assertEquals(0, localAddr.getGroupsMask()); in testBasicWorkingGetNeighborsQuery()
61 assertTrue(0 != localAddr.getPortId()); in testBasicWorkingGetNeighborsQuery()
96 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid); in testBasicWorkingGetNeighborsQuery()
/frameworks/base/core/java/android/net/
DIIpSecService.aidl45 in String localAddr, in createTunnelInterface() argument
53 in LinkAddress localAddr, in addAddressToTunnelInterface() argument
58 in LinkAddress localAddr, in removeAddressFromTunnelInterface() argument
DSSLCertificateSocketFactory.java482 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) in createSocket() argument
485 addr, port, localAddr, localPort); in createSocket()
517 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
520 host, port, localAddr, localPort); in createSocket()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java801 String localAddr, in TunnelInterfaceRecord() argument
809 mLocalAddress = localAddr; in TunnelInterfaceRecord()
1253 String localAddr, String remoteAddr, Network underlyingNetwork, IBinder binder, in createTunnelInterface() argument
1258 checkInetAddress(localAddr); in createTunnelInterface()
1281 .addVirtualTunnelInterface(intfName, localAddr, remoteAddr, ikey, okey); in createTunnelInterface()
1307 localAddr, in createTunnelInterface()
1332 int tunnelResourceId, LinkAddress localAddr, String callingPackage) { in addAddressToTunnelInterface() argument
1348 localAddr.getAddress().getHostAddress(), in addAddressToTunnelInterface()
1349 localAddr.getPrefixLength()); in addAddressToTunnelInterface()
1361 int tunnelResourceId, LinkAddress localAddr, String callingPackage) { in removeAddressFromTunnelInterface() argument
[all …]
DNetworkManagementService.java1455 String tty, String localAddr, String remoteAddr, String dns1Addr, String dns2Addr) { in attachPppd() argument
1459 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp164 struct sockaddr_in localAddr; in Session() local
165 socklen_t localAddrLen = sizeof(localAddr); in Session()
168 mSocket, (struct sockaddr *)&localAddr, &localAddrLen); in Session()
178 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); in Session()
198 msg->setInt32("server-port", ntohs(localAddr.sin_port)); in Session()
953 const struct in_addr *localAddr, in createClientOrServer() argument
1041 } else if (localAddr != NULL) { in createClientOrServer()
1042 addr.sin_addr = *localAddr; in createClientOrServer()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java409 InetAddress localAddr = inetSockAddr.getAddress(); in getSocketAddressString() local
411 (localAddr instanceof Inet6Address ? "[%s]:%d" : "%s:%d"), in getSocketAddressString()
412 localAddr.getHostAddress(), inetSockAddr.getPort()); in getSocketAddressString()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl245 void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr, in attachPppd() argument
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java495 String localAddr, String remoteAddr, String pkgName) { in createAndValidateTunnel() argument