Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java270 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()
326 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), limitUid, in readNetworkStatsDetailInternal()
331 final NetworkStats javaStats = javaReadNetworkStatsDetail(mStatsXtUid, limitUid, in readNetworkStatsDetailInternal()
338 return javaReadNetworkStatsDetail(mStatsXtUid, limitUid, limitIfaces, limitTag); in readNetworkStatsDetailInternal()
347 public static NetworkStats javaReadNetworkStatsDetail(File detailPath, int limitUid, in javaReadNetworkStatsDetail() argument
382 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
423 int limitUid, String[] limitIfaces, int limitTag, boolean useBpfStats); in nativeReadNetworkStatsDetail() argument
/frameworks/base/services/core/jni/
Dcom_android_server_net_NetworkStatsFactory.cpp97 int limitTag, int limitUid, const char* path) { in legacyReadNetworkStatsDetail() argument
190 if (limitUid != -1 && static_cast<uint32_t>(limitUid) != s.uid) { in legacyReadNetworkStatsDetail()
285 jint limitUid, jobjectArray limitIfacesObj, jint limitTag, in readNetworkStatsDetail() argument
303 if (parseBpfNetworkStatsDetail(&lines, limitIfaces, limitTag, limitUid) < 0) in readNetworkStatsDetail()
312 limitUid, path8.c_str()) < 0) in readNetworkStatsDetail()
/frameworks/base/core/java/android/net/
DNetworkStats.java658 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() argument
659 return getTotal(recycle, null, limitUid, false); in getTotal()
683 Entry recycle, HashSet<String> limitIface, int limitUid, boolean includeTags) { in getTotal() argument
687 entry.uid = limitUid; in getTotal()
700 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal()
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()
1002 (limitUid == UID_ALL || limitUid == entry.uid) in filter()