Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DNetlinkSocketTest.java42 NetlinkSocketAddress localAddr = s.getLocalAddress(); in testBasicWorkingGetNeighborsQuery() local
43 assertNotNull(localAddr); in testBasicWorkingGetNeighborsQuery()
44 assertEquals(0, localAddr.getGroupsMask()); in testBasicWorkingGetNeighborsQuery()
45 assertTrue(0 != localAddr.getPortId()); in testBasicWorkingGetNeighborsQuery()
81 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid); in testBasicWorkingGetNeighborsQuery()
99 NetlinkSocketAddress localAddr = s.getLocalAddress(); in testRepeatedCloseCallsAreQuiet() local
100 assertNotNull(localAddr); in testRepeatedCloseCallsAreQuiet()
101 assertEquals(0, localAddr.getGroupsMask()); in testRepeatedCloseCallsAreQuiet()
102 assertTrue(0 != localAddr.getPortId()); in testRepeatedCloseCallsAreQuiet()
108 localAddr = s.getLocalAddress(); in testRepeatedCloseCallsAreQuiet()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java474 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) in createSocket() argument
477 addr, port, localAddr, localPort); in createSocket()
509 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
512 host, port, localAddr, localPort); in createSocket()
/frameworks/base/services/net/java/android/net/netlink/
DNetlinkSocket.java67 public void bind(NetlinkSocketAddress localAddr) throws ErrnoException, SocketException { in bind() argument
68 Os.bind(mDescriptor, (SocketAddress)localAddr); in bind()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp175 struct sockaddr_in localAddr; in Session() local
176 socklen_t localAddrLen = sizeof(localAddr); in Session()
179 mSocket, (struct sockaddr *)&localAddr, &localAddrLen); in Session()
189 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); in Session()
209 msg->setInt32("server-port", ntohs(localAddr.sin_port)); in Session()
964 const struct in_addr *localAddr, in createClientOrServer() argument
1052 } else if (localAddr != NULL) { in createClientOrServer()
1053 addr.sin_addr = *localAddr; in createClientOrServer()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java402 InetAddress localAddr = inetSockAddr.getAddress(); in getSocketAddressString() local
404 (localAddr instanceof Inet6Address ? "[%s]:%d" : "%s:%d"), in getSocketAddressString()
405 localAddr.getHostAddress(), inetSockAddr.getPort()); in getSocketAddressString()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl211 void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr, in attachPppd() argument
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1438 String tty, String localAddr, String remoteAddr, String dns1Addr, String dns2Addr) { in attachPppd() argument
1442 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd()