Home
last modified time | relevance | path

Searched refs:limitIfaces (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java259 public NetworkStats readNetworkStatsDetail(int limitUid, String[] limitIfaces, int limitTag, in readNetworkStatsDetail() argument
262 readNetworkStatsDetailInternal(limitUid, limitIfaces, limitTag, lastStats); in readNetworkStatsDetail()
271 private NetworkStats readNetworkStatsDetailInternal(int limitUid, String[] limitIfaces, in readNetworkStatsDetailInternal() argument
282 limitIfaces, limitTag, mUseBpfStats) != 0) { in readNetworkStatsDetailInternal()
287 limitIfaces, limitTag); in readNetworkStatsDetailInternal()
292 return javaReadNetworkStatsDetail(mStatsXtUid, limitUid, limitIfaces, limitTag); in readNetworkStatsDetailInternal()
302 String[] limitIfaces, int limitTag) in javaReadNetworkStatsDetail() argument
335 if ((limitIfaces == null || ArrayUtils.contains(limitIfaces, entry.iface)) in javaReadNetworkStatsDetail()
377 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
/frameworks/base/core/jni/
Dcom_android_internal_net_NetworkStatsFactory.cpp97 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()
293 std::vector<std::string> limitIfaces; in readNetworkStatsDetail() local
300 limitIfaces.push_back(std::string(string8.c_str())); in readNetworkStatsDetail()
308 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail()
311 if (legacyReadNetworkStatsDetail(&lines, limitIfaces, limitTag, in readNetworkStatsDetail()
/frameworks/base/core/java/android/net/
DNetworkStats.java925 public void filter(int limitUid, String[] limitIfaces, int limitTag) { in filter() argument
926 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter()
937 && (limitIfaces == INTERFACES_ALL in filter()
938 || ArrayUtils.contains(limitIfaces, entry.iface)); in filter()