Searched refs:limitIfaces (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 270 public NetworkStats readNetworkStatsDetail(int limitUid, String[] limitIfaces, int limitTag, in readNetworkStatsDetail() argument 273 readNetworkStatsDetailInternal(limitUid, limitIfaces, limitTag, lastStats); in readNetworkStatsDetail() 296 private NetworkStats readNetworkStatsDetailInternal(int limitUid, String[] limitIfaces, in readNetworkStatsDetailInternal() argument 322 result.filter(limitUid, limitIfaces, limitTag); in readNetworkStatsDetailInternal() 327 limitIfaces, limitTag, mUseBpfStats) != 0) { in readNetworkStatsDetailInternal() 332 limitIfaces, limitTag); in readNetworkStatsDetailInternal() 338 return javaReadNetworkStatsDetail(mStatsXtUid, limitUid, limitIfaces, limitTag); in readNetworkStatsDetailInternal() 348 String[] limitIfaces, int limitTag) in javaReadNetworkStatsDetail() argument 381 if ((limitIfaces == null || ArrayUtils.contains(limitIfaces, entry.iface)) in javaReadNetworkStatsDetail() 423 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
|
D | NetworkStatsService.java | 1003 HashSet<String> limitIfaces; in getTetherStats() local 1005 limitIfaces = null; in getTetherStats() 1007 limitIfaces = new HashSet<String>(); in getTetherStats() 1008 limitIfaces.add(iface); in getTetherStats() 1010 NetworkStats.Entry entry = tetherSnapshot.getTotal(null, limitIfaces); in getTetherStats()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsFactory.cpp | 96 const std::vector<std::string>& limitIfaces, in legacyReadNetworkStatsDetail() argument 143 if (limitIfaces.size() > 0) { in legacyReadNetworkStatsDetail() 146 while (i < (int)limitIfaces.size()) { in legacyReadNetworkStatsDetail() 147 if (limitIfaces[i] == s.iface) { in legacyReadNetworkStatsDetail() 152 if (i >= (int)limitIfaces.size()) { in legacyReadNetworkStatsDetail() 288 std::vector<std::string> limitIfaces; in readNetworkStatsDetail() local 295 limitIfaces.push_back(std::string(string8.c_str())); in readNetworkStatsDetail() 303 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail() 311 if (legacyReadNetworkStatsDetail(&lines, limitIfaces, limitTag, in readNetworkStatsDetail()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 992 public void filter(int limitUid, String[] limitIfaces, int limitTag) { in filter() argument 993 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter() 1004 && (limitIfaces == INTERFACES_ALL in filter() 1005 || ArrayUtils.contains(limitIfaces, entry.iface)); in filter()
|