Lines Matching refs:uid
781 final int uid = mCurrentApp.key; in updateAppDetail() local
782 final UidDetail detail = mUidDetailProvider.getUidDetail(uid, true); in updateAppDetail()
795 final String[] packageNames = pm.getPackagesForUid(uid); in updateAppDetail()
820 if (UserHandle.isApp(uid) && !mPolicyManager.getRestrictBackground() in updateAppDetail()
901 final int uid = mCurrentApp.key; in getAppRestrictBackground() local
902 final int uidPolicy = mPolicyManager.getUidPolicy(uid); in getAppRestrictBackground()
908 final int uid = mCurrentApp.key; in setAppRestrictBackground() local
910 uid, restrictBackground ? POLICY_REJECT_METERED_BACKGROUND : POLICY_NONE); in setAppRestrictBackground()
1438 public void addUid(int uid) { in addUid() argument
1439 uids.put(uid, true); in addUid()
1502 final int uid = entry.uid; in bindStats() local
1504 if (UserHandle.isApp(uid)) { in bindStats()
1505 if (UserHandle.getUserId(uid) == currentUserId) { in bindStats()
1506 collapseKey = uid; in bindStats()
1508 collapseKey = UidDetailProvider.buildKeyForUser(UserHandle.getUserId(uid)); in bindStats()
1510 } else if (uid == UID_REMOVED || uid == UID_TETHERING) { in bindStats()
1511 collapseKey = uid; in bindStats()
1522 item.addUid(uid); in bindStats()
1526 for (int uid : restrictedUids) { in bindStats()
1528 if (UserHandle.getUserId(uid) != currentUserId) continue; in bindStats()
1530 AppItem item = knownItems.get(uid); in bindStats()
1532 item = new AppItem(uid); in bindStats()