Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DConnectStats.java60 public void addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() argument
62 countConnect(errno, ipAddr); in addEvent()
69 private void countConnect(int errno, String ipAddr) { in countConnect() argument
74 if (isIPv6(ipAddr)) { in countConnect()
110 private static boolean isIPv6(String ipAddr) { in isIPv6() argument
111 return ipAddr.contains(":"); in isIPv6()
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl46 void onConnectEvent(String ipAddr, int port, long timestamp, int uid); in onConnectEvent() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLogger.java66 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) {
70 ConnectEvent connectEvent = new ConnectEvent(ipAddr, port, mPm.getNameForUid(uid),
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java143 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument
152 connectStats.addEvent(error, latencyMs, ipAddr); in onConnectEvent()
155 mNetdEventCallback.onConnectEvent(ipAddr, port, System.currentTimeMillis(), uid); in onConnectEvent()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java402 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction() argument
405 mNetdEventListenerService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEventAction()
DIpConnectivityMetricsTest.java461 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { in connectEvent() argument
462 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java672 byte[] ipAddr = new byte[4]; in readIpAddress()
673 packet.get(ipAddr); in readIpAddress()
676 result = (Inet4Address) Inet4Address.getByAddress(ipAddr); in readIpAddress()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp900 uint32_t ipAddr = agps_status.ipV4Addr; in agnssStatusIpV4Cb() local
901 byteArray = convertToIpV4(ipAddr); in agnssStatusIpV4Cb()
909 inet_ntop(AF_INET, &ipAddr, str, INET_ADDRSTRLEN); in agnssStatusIpV4Cb()