Home
last modified time | relevance | path

Searched refs:ipAddr (Results 1 – 15 of 15) 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.java86 public void addConnectResult(int error, int latencyMs, String ipAddr) { in addConnectResult() argument
90 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); in addConnectResult()
/frameworks/base/services/core/jni/gnss/
DAGnssCallback.cpp82 uint32_t ipAddr = agps_status.ipV4Addr; in agnssStatusIpV4Cb() local
83 byteArray = convertToIpV4(ipAddr); in agnssStatusIpV4Cb()
91 inet_ntop(AF_INET, &ipAddr, str, INET_ADDRSTRLEN); in agnssStatusIpV4Cb()
/frameworks/av/services/tuner/hidl/
DTunerHidlFilter.cpp723 HidlDemuxIpAddress ipAddr{ in getHidlIpSettings() local
724 .srcPort = static_cast<uint16_t>(ipConf.ipAddr.srcPort), in getHidlIpSettings()
725 .dstPort = static_cast<uint16_t>(ipConf.ipAddr.dstPort), in getHidlIpSettings()
728 ipConf.ipAddr.srcIpAddress.getTag() == DemuxIpAddressIpAddress::v6 in getHidlIpSettings()
729 ? ipAddr.srcIpAddress.v6(getIpV6Address(ipConf.ipAddr.srcIpAddress)) in getHidlIpSettings()
730 : ipAddr.srcIpAddress.v4(getIpV4Address(ipConf.ipAddr.srcIpAddress)); in getHidlIpSettings()
731 ipConf.ipAddr.dstIpAddress.getTag() == DemuxIpAddressIpAddress::v6 in getHidlIpSettings()
732 ? ipAddr.dstIpAddress.v6(getIpV6Address(ipConf.ipAddr.dstIpAddress)) in getHidlIpSettings()
733 : ipAddr.dstIpAddress.v4(getIpV4Address(ipConf.ipAddr.dstIpAddress)); in getHidlIpSettings()
736 ip.ipAddr = ipAddr; in getHidlIpSettings()
/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/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLogger.java77 public void onConnectEvent(String ipAddr, int port, long timestamp, int uid) {
86 ConnectEvent connectEvent = new ConnectEvent(ipAddr, port, mPm.getNameForUid(uid),
/frameworks/libs/net/common/netd/binder/android/net/metrics/
DINetdEventListener.aidl76 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/frameworks/libs/net/common/netd/aidl_api/netd_event_listener_interface/1/android/net/metrics/
DINetdEventListener.aidl22 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/frameworks/libs/net/common/netd/aidl_api/netd_event_listener_interface/current/android/net/metrics/
DINetdEventListener.aidl23 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, 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/telephony/java/android/telephony/ims/
DSipDelegateImsConfiguration.java591 private InetSocketAddress getSocketAddr(String ipAddr, int port) { in getSocketAddr() argument
592 return new InetSocketAddress(InetAddresses.parseNumericAddress(ipAddr), port); in getSocketAddr()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java253 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument
256 getMetricsForNetwork(timestamp, netId).addConnectResult(error, latencyMs, ipAddr); in onConnectEvent()
260 callback.onConnectEvent(ipAddr, port, timestamp, uid); in onConnectEvent()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp3876 DemuxIpAddress ipAddr = getDemuxIpAddress(env, filterConfigObj); in getFilterConfiguration() local
3878 .ipAddr = ipAddr, in getFilterConfiguration()