Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java50 private int mUsers = 0; // number of open() - number of release() field in CameraHolder
87 if (CameraHolder.this.mUsers == 0) releaseCamera(); in handleMessage()
122 Assert(mUsers == 0); in open()
147 ++mUsers; in open()
159 return mUsers == 0 ? open(cameraId) : null; in tryOpen()
171 Assert(mUsers == 1); in release()
172 --mUsers; in release()
178 Assert(mUsers == 0); in releaseCamera()
198 Assert(mUsers == 1 || mUsers == 0); in keep()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatV17.java31 protected LongArrayMap<UserHandleCompat> mUsers; field in UserManagerCompatV17
54 if (mUsers != null) { in getUserForSerialNumber()
55 return mUsers.get(serialNumber); in getUserForSerialNumber()
64 mUsers = new LongArrayMap<>(); in enableAndResetCache()
68 mUsers.put(serial, myUser); in enableAndResetCache()
DUserManagerCompatVL.java51 mUsers = new LongArrayMap<>(); in enableAndResetCache()
58 mUsers.put(serial, userCompat); in enableAndResetCache()
68 if (mUsers != null) { in getUserProfiles()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java171 private ArrayList<UserInfo> mUsers = new ArrayList<>(); field in ContactsActor.MockUserManager
176 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()
181 mUsers.clear(); in setUsers()
183 mUsers.add(ui); in setUsers()
194 for (UserInfo ui : mUsers) { in getUserInfo()
208 for (UserInfo ui : mUsers) { in getProfileParent()
218 return mUsers; in getUsers()