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.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.cpp660 HidlDemuxIpAddress ipAddr{ in getHidlIpSettings() local
661 .srcPort = static_cast<uint16_t>(ipConf.ipAddr.srcPort), in getHidlIpSettings()
662 .dstPort = static_cast<uint16_t>(ipConf.ipAddr.dstPort), in getHidlIpSettings()
665 ipConf.ipAddr.srcIpAddress.getTag() == DemuxIpAddressIpAddress::v6 in getHidlIpSettings()
666 ? ipAddr.srcIpAddress.v6(getIpV6Address(ipConf.ipAddr.srcIpAddress)) in getHidlIpSettings()
667 : ipAddr.srcIpAddress.v4(getIpV4Address(ipConf.ipAddr.srcIpAddress)); in getHidlIpSettings()
668 ipConf.ipAddr.dstIpAddress.getTag() == DemuxIpAddressIpAddress::v6 in getHidlIpSettings()
669 ? ipAddr.dstIpAddress.v6(getIpV6Address(ipConf.ipAddr.dstIpAddress)) in getHidlIpSettings()
670 : ipAddr.dstIpAddress.v4(getIpV4Address(ipConf.ipAddr.dstIpAddress)); in getHidlIpSettings()
673 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/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/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.java390 private boolean isIpInWatchlist(String ipAddr) { in isIpInWatchlist() argument
391 if (ipAddr == null) { in isIpInWatchlist()
394 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.java266 public synchronized void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, in onConnectEvent() argument
269 getMetricsForNetwork(timestamp, netId).addConnectResult(error, latencyMs, ipAddr); in onConnectEvent()
274 callback.onConnectEvent(ipAddr, port, timestamp, uid); in onConnectEvent()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp3579 DemuxIpAddress ipAddr = getDemuxIpAddress(env, settings, className); in getIptvFrontendSettings() local
3585 .ipAddr = ipAddr, in getIptvFrontendSettings()
4210 DemuxIpAddress ipAddr = getDemuxIpAddress(env, filterConfigObj, in getFilterConfiguration() local
4213 .ipAddr = ipAddr, in getFilterConfiguration()