Home
last modified time | relevance | path

Searched refs:remoteAddress (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/net/java/android/net/netlink/
DInetDiagSocketTest.java79 public InetAddress remoteAddress; field in InetDiagSocketTest.Connection
92 remoteAddress = InetAddress.getByName(to); in Connection()
96 localAddress = (remoteAddress instanceof Inet4Address) ? in Connection()
99 if ((localAddress instanceof Inet4Address) && (remoteAddress instanceof Inet4Address)) { in Connection()
120 Os.bind(remoteFd, remoteAddress, 0); in TcpConnection()
126 Os.connect(localFd, remoteAddress, remotePort); in TcpConnection()
147 Os.connect(localFd, remoteAddress, 7); in UdpConnection()
149 remote = new InetSocketAddress(remoteAddress, 7); in UdpConnection()
161 UdpConnection udp = new UdpConnection(conn.remoteAddress.getHostAddress(), in findLikelyFreeUdpPort()
/frameworks/base/core/java/android/net/
DConnectionInfo.java67 InetAddress remoteAddress;
69 remoteAddress = InetAddress.getByAddress(in.createByteArray());
75 InetSocketAddress remote = new InetSocketAddress(remoteAddress, remotePort);
DIpSecManager.java791 @NonNull InetAddress localAddress, @NonNull InetAddress remoteAddress, in IpSecTunnelInterface() argument
797 mRemoteAddress = remoteAddress; in IpSecTunnelInterface()
804 remoteAddress.getHostAddress(), in IpSecTunnelInterface()
896 @NonNull InetAddress remoteAddress, @NonNull Network underlyingNetwork) in createIpSecTunnelInterface() argument
900 mContext, mService, localAddress, remoteAddress, underlyingNetwork); in createIpSecTunnelInterface()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java331 InetSocketAddress remoteAddress; in connectSocket() local
333 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); in connectSocket()
335 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
338 sslsock.connect(remoteAddress, connTimeout); in connectSocket()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java164 private native long nativeAdd(int mode, int socket, String remoteAddress, in nativeAdd() argument
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java266 private int getNewSpiResourceId(String remoteAddress, int returnSpi) throws Exception { in getNewSpiResourceId() argument
272 NetworkUtils.numericToInetAddress(remoteAddress).getHostAddress(), in getNewSpiResourceId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2564 public void enableTdls(String remoteAddress, boolean enable) { in enableTdls() argument
2565 if (remoteAddress == null) { in enableTdls()
2570 params.remoteIpAddress = remoteAddress; in enableTdls()
DClientModeImpl.java4580 String remoteAddress = (String) message.obj; in processMessage() local
4582 mWifiNative.startTdls(mInterfaceName, remoteAddress, enable); in processMessage()