Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DConnectStats.java63 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()
DNetworkMetrics.java88 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/
DNetworkLogger.java67 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/
DINetdEventCallback.aidl82 void onConnectEvent(String ipAddr, int port, long timestamp, int uid); in onConnectEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java47 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) { in onConnectEvent() argument
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistService.java154 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) {
158 mNetworkWatchlistHandler.asyncNetworkEvent(null, new String[]{ipAddr}, uid);
DWatchlistLoggingHandler.java380 private boolean isIpInWatchlist(String ipAddr) { in isIpInWatchlist() argument
381 if (ipAddr == null) { in isIpInWatchlist()
384 return mConfig.containsIp(ipAddr); in isIpInWatchlist()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java244 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/
DIpConnectivityMetricsTest.java571 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()
DNetdEventListenerServiceTest.java473 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/
Dcom_android_server_location_GnssLocationProvider.cpp1768 uint32_t ipAddr = agps_status.ipV4Addr; in agnssStatusIpV4Cb() local
1769 byteArray = convertToIpV4(ipAddr); in agnssStatusIpV4Cb()
1777 inet_ntop(AF_INET, &ipAddr, str, INET_ADDRSTRLEN); in agnssStatusIpV4Cb()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp2877 DemuxIpAddress ipAddr = getDemuxIpAddress(env, filterConfigObj); in getFilterConfiguration() local
2880 .ipAddr = ipAddr, in getFilterConfiguration()