Searched refs:limitUid (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsFactory.cpp | 98 int limitTag, int limitUid, const char* path) { in legacyReadNetworkStatsDetail() argument 191 if (limitUid != -1 && static_cast<uint32_t>(limitUid) != s.uid) { in legacyReadNetworkStatsDetail() 286 jint limitUid, jobjectArray limitIfacesObj, jint limitTag, in readNetworkStatsDetail() argument 304 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail() 313 limitUid, path8.c_str()) < 0) 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() 402 public static NetworkStats javaReadNetworkStatsDetail(File detailPath, int limitUid, in javaReadNetworkStatsDetail() argument 437 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail() 478 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 872 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() argument 873 return getTotal(recycle, null, limitUid, false); in getTotal() 899 Entry recycle, HashSet<String> limitIface, int limitUid, boolean includeTags) { in getTotal() argument 903 entry.uid = limitUid; in getTotal() 916 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal() 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() 1211 filter(e -> (limitUid == UID_ALL || limitUid == e.uid) in filter()
|