Home
last modified time | relevance | path

Searched refs:mUsers (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java87 private ArrayList<UserRecord> mUsers = new ArrayList<>(); field in UserSwitcherController
149 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size()); in refreshUsers()
150 final int N = mUsers.size(); in refreshUsers()
152 UserRecord r = mUsers.get(i); in refreshUsers()
235 mUsers = userRecords; in refreshUsers()
361 final int N = mUsers.size();
363 UserRecord record = mUsers.get(i);
367 mUsers.set(i, record.copyWithIsCurrent(shouldBeCurrent));
374 mUsers.remove(i);
431 pw.print(" mUsers.size="); pw.println(mUsers.size()); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java68 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/services/core/java/com/android/server/pm/
DUserManagerService.java162 private final SparseArray<UserInfo> mUsers = new SparseArray<UserInfo>(); field in UserManagerService
241 for (int i = 0; i < mUsers.size(); i++) { in systemReady()
242 UserInfo ui = mUsers.valueAt(i); in systemReady()
271 ArrayList<UserInfo> users = new ArrayList<UserInfo>(mUsers.size()); in getUsers()
272 for (int i = 0; i < mUsers.size(); i++) { in getUsers()
273 UserInfo ui = mUsers.valueAt(i); in getUsers()
303 ArrayList<UserInfo> users = new ArrayList<UserInfo>(mUsers.size()); in getProfilesLocked()
308 for (int i = 0; i < mUsers.size(); i++) { in getProfilesLocked()
309 UserInfo profile = mUsers.valueAt(i); in getProfilesLocked()
397 UserInfo ui = mUsers.get(userId); in getUserInfoLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintUtils.java40 private final SparseArray<FingerprintsUserState> mUsers = new SparseArray<>(); field in FingerprintUtils
86 FingerprintsUserState state = mUsers.get(userId); in getStateForUser()
89 mUsers.put(userId, state); in getStateForUser()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java60 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()
238 return mUsers; in getUsers()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java247 private final SparseArray<UserAccounts> mUsers = new SparseArray<UserAccounts>(); field in AccountManagerService
441 synchronized (mUsers) { in getUserAccounts()
442 UserAccounts accounts = mUsers.get(userId); in getUserAccounts()
447 mUsers.append(userId, accounts); in getUserAccounts()
456 synchronized (mUsers) { in purgeOldGrantsAll()
457 for (int i = 0; i < mUsers.size(); i++) { in purgeOldGrantsAll()
458 purgeOldGrants(mUsers.valueAt(i)); in purgeOldGrantsAll()
492 synchronized (mUsers) { in onUserRemoved()
493 accounts = mUsers.get(userId); in onUserRemoved()
494 mUsers.remove(userId); in onUserRemoved()