HomeSort by relevance Sort by last modified time
    Searched refs:mUsers (Results 1 - 15 of 15) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/compat/
UserManagerCompatV17.java 31 protected LongArrayMap<UserHandleCompat> mUsers;
54 if (mUsers != null) {
55 return mUsers.get(serialNumber);
64 mUsers = new LongArrayMap<>();
68 mUsers.put(serial, myUser);
UserManagerCompatVL.java 51 mUsers = new LongArrayMap<>();
58 mUsers.put(serial, userCompat);
68 if (mUsers != null) {
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraHolder.java 50 private int mUsers = 0; // number of open() - number of release()
87 if (CameraHolder.this.mUsers == 0) releaseCamera();
122 Assert(mUsers == 0);
147 ++mUsers;
159 return mUsers == 0 ? open(cameraId) : null;
171 Assert(mUsers == 1);
172 --mUsers;
178 Assert(mUsers == 0);
195 // We allow (mUsers == 0) for the convenience of the calling activity.
198 Assert(mUsers == 1 || mUsers == 0)
    [all...]
  /frameworks/base/services/core/java/com/android/server/fingerprint/
FingerprintUtils.java 41 private final SparseArray<FingerprintsUserState> mUsers = new SparseArray<>();
91 FingerprintsUserState state = mUsers.get(userId);
94 mUsers.put(userId, state);
  /frameworks/base/services/core/java/com/android/server/connectivity/
PermissionMonitor.java 69 private final Set<Integer> mUsers = new HashSet<>();
145 mUsers.add(user.id);
149 log("Users: " + mUsers.size() + ", Apps: " + mApps.size());
150 update(mUsers, mApps, true);
212 mUsers.add(user);
224 mUsers.remove(user);
250 update(mUsers, apps, true);
267 update(mUsers, apps, false);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java 98 private ArrayList<UserRecord> mUsers = new ArrayList<>();
173 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size());
174 final int N = mUsers.size();
176 UserRecord r = mUsers.get(i);
276 mUsers = userRecords;
372 final int count = mUsers.size();
374 UserRecord record = mUsers.get(i);
386 final int N = mUsers.size();
388 UserRecord record = mUsers.get(i);
483 final int N = mUsers.size()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
RegisteredServicesCacheTest.java 60 private List<UserInfo> mUsers;
70 mUsers = new ArrayList<>();
71 mUsers.add(new UserInfo(0, "Owner", UserInfo.FLAG_ADMIN));
72 mUsers.add(new UserInfo(1, "User1", 0));
241 return mUsers;
  /frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java 248 private final SparseArray<UserData> mUsers = new SparseArray<>();
469 final int userSize = mUsers.size();
471 UserInfo ui = mUsers.valueAt(i).info;
492 return mUsers.get(userId).account;
502 final UserData userData = mUsers.get(userId);
524 final int userSize = mUsers.size();
526 UserInfo ui = mUsers.valueAt(i).info;
539 ArrayList<UserInfo> users = new ArrayList<UserInfo>(mUsers.size());
540 final int userSize = mUsers.size();
542 UserInfo ui = mUsers.valueAt(i).info
    [all...]
ShortcutService.java 257 private final SparseArray<ShortcutUser> mUsers = new SparseArray<>();
571 mUsers.delete(userId);
    [all...]
  /system/netd/server/
NetworkController.h 110 // mRWLock guards all accesses to mDefaultNetId, mNetworks, mUsers and mProtectableUsers.
114 std::map<uid_t, Permission> mUsers;
NetworkController.cpp 433 mUsers[uid] = permission;
575 auto iter = mUsers.find(uid);
576 if (iter != mUsers.end()) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 171 private ArrayList<UserInfo> mUsers = new ArrayList<>();
176 mUsers.add(PRIMARY_USER); // Add the primary user.
181 mUsers.clear();
183 mUsers.add(ui);
194 for (UserInfo ui : mUsers) {
208 for (UserInfo ui : mUsers) {
218 return mUsers;
  /frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerService.java 306 private final SparseArray<UserAccounts> mUsers = new SparseArray<>();
621 synchronized (mUsers) {
622 UserAccounts accounts = mUsers.get(userId);
630 mUsers.append(userId, accounts);
653 Preconditions.checkState(Thread.holdsLock(mUsers), "mUsers lock must be held");
668 synchronized (mUsers) {
669 for (int i = 0; i < mUsers.size(); i++) {
670 purgeOldGrants(mUsers.valueAt(i));
705 synchronized (mUsers) {
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 

Completed in 1196 milliseconds