Searched refs:limitIfaces (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsFactory.cpp | 97 const std::vector<std::string>& limitIfaces, in legacyReadNetworkStatsDetail() argument 144 if (limitIfaces.size() > 0) { in legacyReadNetworkStatsDetail() 147 while (i < (int)limitIfaces.size()) { in legacyReadNetworkStatsDetail() 148 if (limitIfaces[i] == s.iface) { in legacyReadNetworkStatsDetail() 153 if (i >= (int)limitIfaces.size()) { in legacyReadNetworkStatsDetail() 289 std::vector<std::string> limitIfaces; in readNetworkStatsDetail() local 296 limitIfaces.push_back(std::string(string8.c_str())); in readNetworkStatsDetail() 304 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail() 312 if (legacyReadNetworkStatsDetail(&lines, limitIfaces, limitTag, in readNetworkStatsDetail()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 317 int limitUid, String[] limitIfaces, int limitTag) throws IOException { in readNetworkStatsDetail() argument 366 adjustedStats.filter(limitUid, limitIfaces, limitTag); in readNetworkStatsDetail() 403 String[] limitIfaces, int limitTag) in javaReadNetworkStatsDetail() argument 436 if ((limitIfaces == null || ArrayUtils.contains(limitIfaces, entry.iface)) in javaReadNetworkStatsDetail() 478 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
|
D | NetworkStatsService.java | 1112 HashSet<String> limitIfaces; 1114 limitIfaces = null; 1116 limitIfaces = new HashSet<String>(); 1117 limitIfaces.add(iface); 1119 NetworkStats.Entry entry = tetherSnapshot.getTotal(null, limitIfaces);
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 1207 public void filter(int limitUid, String[] limitIfaces, int limitTag) { in filter() argument 1208 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter() 1213 && (limitIfaces == INTERFACES_ALL in filter() 1214 || ArrayUtils.contains(limitIfaces, e.iface))); in filter()
|