Searched refs:mUsers (Results 1 – 6 of 6) 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()
40 protected LongArrayMap<UserHandle> mUsers; field in UserManagerCompatVL65 if (mUsers != null) { in getUserForSerialNumber()66 return mUsers.get(serialNumber); in getUserForSerialNumber()90 mUsers = new LongArrayMap<>(); in enableAndResetCache()96 mUsers.put(serial, user); in enableAndResetCache()106 if (mUsers != null) { in getUserProfiles()
55 private List<UserInfo> mUsers = Collections.emptyList(); field in EnterpriseSetDefaultAppsListPreferenceController75 mUsers = new ArrayList<>(); in buildAppList()90 mUsers.add(apps.get(0).userInfo); in buildAppList()120 if (!mEnterprisePrivacyFeatureProvider.isInCompMode() && mUsers.size() == 1) { in updateUi()123 for (int i = 0; i < mUsers.size(); i++) { in updateUi()124 final UserInfo userInfo = mUsers.get(i); in updateUi()
70 private List<UserInfo> mUsers; field in StorageAsyncLoaderTest83 mUsers = new ArrayList<>(); in setUp()84 mUsers.add(info); in setUp()85 when(mUserManager.getUsers()).thenReturn(mUsers); in setUp()139 mUsers.add(info); in testMultipleUsers()193 mUsers.add(info); in testPackageIsNotDoubleCounted()
76 private List<UserInfo> mUsers = new ArrayList<>(); field in OtaControllerTest90 when(mUserManager.getUsers()).thenReturn(mUsers); in setUp()173 mUsers.add(ui); in addMeatUser()184 mUsers.add(ui); in addManagedProfile()192 mUsers.add(ui); in addSystemUser()
169 private ArrayList<UserInfo> mUsers = new ArrayList<>(); field in ContactsActor.MockUserManager174 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()179 mUsers.clear(); in setUsers()181 mUsers.add(ui); in setUsers()192 for (UserInfo ui : mUsers) { in getUserInfo()206 for (UserInfo ui : mUsers) { in getProfileParent()216 return mUsers; in getUsers()