/frameworks/base/core/java/android/net/metrics/ |
D | ConnectStats.java | 63 boolean addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() argument 66 countConnect(errno, ipAddr); in addEvent() 75 private void countConnect(int errno, String ipAddr) { in countConnect() argument 80 if (isIPv6(ipAddr)) { in countConnect() 116 private static boolean isIPv6(String ipAddr) { in isIPv6() argument 117 return ipAddr.contains(":"); in isIPv6()
|
D | NetworkMetrics.java | 88 public void addConnectResult(int error, int latencyMs, String ipAddr) { in addConnectResult() argument 92 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 67 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) { 71 ConnectEvent connectEvent = new ConnectEvent(ipAddr, port, mPm.getNameForUid(uid),
|
/frameworks/base/core/java/android/net/ |
D | INetdEventCallback.aidl | 82 void onConnectEvent(String ipAddr, int port, long timestamp, int uid); in onConnectEvent() argument
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetdEventCallback.java | 47 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) { in onConnectEvent() argument
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistService.java | 154 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) { 158 mNetworkWatchlistHandler.asyncNetworkEvent(null, new String[]{ipAddr}, uid);
|
D | WatchlistLoggingHandler.java | 374 private boolean isIpInWatchlist(String ipAddr) { in isIpInWatchlist() argument 375 if (ipAddr == null) { in isIpInWatchlist() 378 return mConfig.containsIp(ipAddr); in isIpInWatchlist()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 244 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument 247 getMetricsForNetwork(timestamp, netId).addConnectResult(error, latencyMs, ipAddr); in onConnectEvent() 251 callback.onConnectEvent(ipAddr, port, timestamp, uid); in onConnectEvent()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 571 void connectEvent(int netid, int error, int latencyMs, String ipAddr) throws Exception { in connectEvent() argument 572 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
|
D | NetdEventListenerServiceTest.java | 473 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction() argument 476 mService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEventAction()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 1383 uint32_t ipAddr = agps_status.ipV4Addr; in agnssStatusIpV4Cb() local 1384 byteArray = convertToIpV4(ipAddr); in agnssStatusIpV4Cb() 1392 inet_ntop(AF_INET, &ipAddr, str, INET_ADDRSTRLEN); in agnssStatusIpV4Cb()
|