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

/frameworks/base/tests/net/java/android/net/netlink/
H A DNetlinkSocketTest.java44 NetlinkSocketAddress localAddr = s.getLocalAddress();
45 assertNotNull(localAddr);
46 assertEquals(0, localAddr.getGroupsMask());
47 assertTrue(0 != localAddr.getPortId());
83 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid);
102 NetlinkSocketAddress localAddr = s.getLocalAddress();
103 assertNotNull(localAddr);
104 assertEquals(0, localAddr.getGroupsMask());
105 assertTrue(0 != localAddr.getPortId());
111 localAddr
[all...]
/frameworks/base/services/net/java/android/net/netlink/
H A DNetlinkSocket.java67 public void bind(NetlinkSocketAddress localAddr) throws ErrnoException, SocketException { argument
68 Os.bind(mDescriptor, (SocketAddress)localAddr);
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java476 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) argument
479 addr, port, localAddr, localPort);
511 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument
514 host, port, localAddr, localPort);
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp175 struct sockaddr_in localAddr; local
176 socklen_t localAddrLen = sizeof(localAddr);
179 mSocket, (struct sockaddr *)&localAddr, &localAddrLen);
189 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr);
209 msg->setInt32("server-port", ntohs(localAddr.sin_port));
964 const struct in_addr *localAddr,
1052 } else if (localAddr != NULL) {
1053 addr.sin_addr = *localAddr;
962 createClientOrServer( Mode mode, const struct in_addr *localAddr, unsigned port, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl216 void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr,
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkDiagnostics.java408 InetAddress localAddr = inetSockAddr.getAddress();
410 (localAddr instanceof Inet6Address ? "[%s]:%d" : "%s:%d"),
411 localAddr.getHostAddress(), inetSockAddr.getPort());
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1399 String tty, String localAddr, String remoteAddr, String dns1Addr, String dns2Addr) {
1403 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(),
1398 attachPppd( String tty, String localAddr, String remoteAddr, String dns1Addr, String dns2Addr) argument

Completed in 412 milliseconds