Searched refs:mUsers (Results 1 – 4 of 4) sorted by relevance
50 private int mUsers = 0; // number of open() - number of release() field in CameraHolder87 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()
31 protected LongArrayMap<UserHandleCompat> mUsers; field in UserManagerCompatV1754 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()
51 mUsers = new LongArrayMap<>(); in enableAndResetCache()58 mUsers.put(serial, userCompat); in enableAndResetCache()68 if (mUsers != null) { in getUserProfiles()
171 private ArrayList<UserInfo> mUsers = new ArrayList<>(); field in ContactsActor.MockUserManager176 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()