/frameworks/base/core/java/android/net/metrics/ |
D | ConnectStats.java | 60 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/ |
D | INetdEventCallback.aidl | 46 void onConnectEvent(String ipAddr, int port, long timestamp, int uid); in onConnectEvent() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 66 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/ |
D | NetdEventListenerService.java | 143 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/ |
D | NetdEventListenerServiceTest.java | 402 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction() argument 405 mNetdEventListenerService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEventAction()
|
D | IpConnectivityMetricsTest.java | 461 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/ |
D | DhcpPacket.java | 672 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/ |
D | com_android_server_location_GnssLocationProvider.cpp | 900 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()
|