Lines Matching refs:uid

184     private static final String PREFIX_UID = "uid";
353 // listen for uid removal to clean stats
580 NetworkTemplate template, int uid, int set, int tag, int fields) {
583 return getUidComplete().getHistory(template, uid, set, tag, fields,
586 return getUidTagComplete().getHistory(template, uid, set, tag, fields,
593 NetworkTemplate template, int uid, int set, int tag, int fields,
597 return getUidComplete().getHistory(template, uid, set, tag, fields, start, end,
599 } else if (uid == Binder.getCallingUid()) {
600 return getUidTagComplete().getHistory(template, uid, set, tag, fields,
604 + " cannot access tag information from a different uid");
655 public NetworkStats getDataLayerSnapshotForUid(int uid) throws RemoteException {
656 if (Binder.getCallingUid() != uid) {
666 networkLayer = mNetworkManager.getNetworkStatsUidDetail(uid);
693 public void incrementOperationCount(int uid, int tag, int operationCount) {
694 if (Binder.getCallingUid() != uid) {
706 final int set = mActiveUidCounterSet.get(uid, SET_DEFAULT);
708 mActiveIface, uid, set, tag, 0L, 0L, 0L, 0L, operationCount);
710 mActiveIface, uid, set, TAG_NONE, 0L, 0L, 0L, 0L, operationCount);
715 public void setUidForeground(int uid, boolean uidForeground) {
720 final int oldSet = mActiveUidCounterSet.get(uid, SET_DEFAULT);
722 mActiveUidCounterSet.put(uid, set);
723 setKernelCounterSet(uid, set);
866 final int uid = intent.getIntExtra(EXTRA_UID, -1);
867 if (uid == -1) return;
872 removeUidsLocked(uid);
1212 for (int uid : uids) {
1213 resetKernelUidStats(uid);
1229 final int uid = UserHandle.getUid(userId, app.uid);
1230 uids = ArrayUtils.appendInt(uids, uid);
1253 // usage: dumpsys netstats --full --uid --tag --poll --checkin
1257 final boolean includeUid = argSet.contains("--uid") || argSet.contains("detail");
1287 pw.println("uid");
1375 // fold tethering stats and operations into uid snapshot
1400 entry.uid = -1;