Home
last modified time | relevance | path

Searched refs:limitUid (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
281 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), limitUid, in readNetworkStatsDetailInternal()
286 final NetworkStats javaStats = javaReadNetworkStatsDetail(mStatsXtUid, limitUid, in readNetworkStatsDetailInternal()
292 return javaReadNetworkStatsDetail(mStatsXtUid, limitUid, limitIfaces, limitTag); in readNetworkStatsDetailInternal()
301 public static NetworkStats javaReadNetworkStatsDetail(File detailPath, int limitUid, in javaReadNetworkStatsDetail() argument
336 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
377 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
/frameworks/base/core/jni/
Dcom_android_internal_net_NetworkStatsFactory.cpp98 int limitTag, int limitUid, const char* path) { in legacyReadNetworkStatsDetail() argument
191 if (limitUid != -1 && limitUid != s.uid) { in legacyReadNetworkStatsDetail()
286 jint limitUid, jobjectArray limitIfacesObj, jint limitTag, in readNetworkStatsDetail() argument
308 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail()
312 limitUid, path8.c_str()) < 0) in readNetworkStatsDetail()
/frameworks/base/core/java/android/net/
DNetworkStats.java601 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() argument
602 return getTotal(recycle, null, limitUid, false); in getTotal()
625 Entry recycle, HashSet<String> limitIface, int limitUid, boolean includeTags) { in getTotal() argument
629 entry.uid = limitUid; in getTotal()
642 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal()
925 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()
935 (limitUid == UID_ALL || limitUid == entry.uid) in filter()