Searched refs:mUsers (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 68 private final Set<Integer> mUsers = new HashSet<Integer>(); field in PermissionMonitor 144 mUsers.add(user.id); in startMonitoring() 148 log("Users: " + mUsers.size() + ", Apps: " + mApps.size()); in startMonitoring() 149 update(mUsers, mApps, true); in startMonitoring() 210 mUsers.add(user); in onUserAdded() 222 mUsers.remove(user); in onUserRemoved() 248 update(mUsers, apps, true); in onAppAdded() 265 update(mUsers, apps, false); in onAppRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 98 private ArrayList<UserRecord> mUsers = new ArrayList<>(); field in UserSwitcherController 173 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size()); in refreshUsers() 174 final int N = mUsers.size(); in refreshUsers() 176 UserRecord r = mUsers.get(i); in refreshUsers() 276 mUsers = userRecords; in refreshUsers() 372 final int count = mUsers.size(); in switchTo() 374 UserRecord record = mUsers.get(i); in switchTo() 467 final int N = mUsers.size(); 469 UserRecord record = mUsers.get(i); 473 mUsers.set(i, record.copyWithIsCurrent(shouldBeCurrent)); [all …]
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintUtils.java | 41 private final SparseArray<FingerprintsUserState> mUsers = new SparseArray<>(); field in FingerprintUtils 91 FingerprintsUserState state = mUsers.get(userId); in getStateForUser() 94 mUsers.put(userId, state); in getStateForUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 244 private final SparseArray<UserData> mUsers = new SparseArray<>(); field in UserManagerService 464 final int userSize = mUsers.size(); in cleanupPartialUsers() 466 UserInfo ui = mUsers.valueAt(i).info; in cleanupPartialUsers() 485 return mUsers.get(userId).account; in getUserAccount() 495 final UserData userData = mUsers.get(userId); in setUserAccount() 517 final int userSize = mUsers.size(); in getPrimaryUser() 519 UserInfo ui = mUsers.valueAt(i).info; in getPrimaryUser() 532 ArrayList<UserInfo> users = new ArrayList<UserInfo>(mUsers.size()); in getUsers() 533 final int userSize = mUsers.size(); in getUsers() 535 UserInfo ui = mUsers.valueAt(i).info; in getUsers() [all …]
|
D | ShortcutService.java | 234 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>(); field in ShortcutService 469 mUsers.delete(userId); in unloadUserLocked() 950 return mUsers.get(userId) != null; in isUserLoadedLocked() 957 ShortcutUser userPackages = mUsers.get(userId); in getUserShortcutsLocked() 963 mUsers.put(userId, userPackages); in getUserShortcutsLocked() 969 for (int i = mUsers.size() - 1; i >= 0; i--) { in forEachLoadedUserLocked() 970 c.accept(mUsers.valueAt(i)); in forEachLoadedUserLocked() 2201 mUsers.put(userId, user); in applyRestore() 2288 for (int i = 0; i < mUsers.size(); i++) { in dumpInner() 2290 mUsers.valueAt(i).dump(this, pw, " "); in dumpInner() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 60 private List<UserInfo> mUsers; field in RegisteredServicesCacheTest 70 mUsers = new ArrayList<>(); in setUp() 71 mUsers.add(new UserInfo(0, "Owner", UserInfo.FLAG_ADMIN)); in setUp() 72 mUsers.add(new UserInfo(1, "User1", 0)); in setUp() 241 return mUsers; in getUsers()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 306 private final SparseArray<UserAccounts> mUsers = new SparseArray<>(); field in AccountManagerService 621 synchronized (mUsers) { in getUserAccounts() 622 UserAccounts accounts = mUsers.get(userId); in getUserAccounts() 630 mUsers.append(userId, accounts); in getUserAccounts() 653 Preconditions.checkState(Thread.holdsLock(mUsers), "mUsers lock must be held"); in syncDeCeAccountsLocked() 668 synchronized (mUsers) { in purgeOldGrantsAll() 669 for (int i = 0; i < mUsers.size(); i++) { in purgeOldGrantsAll() 670 purgeOldGrants(mUsers.valueAt(i)); in purgeOldGrantsAll() 705 synchronized (mUsers) { in onUserRemoved() 706 accounts = mUsers.get(userId); in onUserRemoved() [all …]
|