HomeSort by relevance Sort by last modified time
    Searched refs:mUsers (Results 1 - 4 of 4) sorted by 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/java/com/android/server/pm/
UserManagerService.java 139 private final SparseArray<UserInfo> mUsers = new SparseArray<UserInfo>();
218 for (int i = 0; i < mUsers.size(); i++) {
219 UserInfo ui = mUsers.valueAt(i);
246 ArrayList<UserInfo> users = new ArrayList<UserInfo>(mUsers.size());
247 for (int i = 0; i < mUsers.size(); i++) {
248 UserInfo ui = mUsers.valueAt(i);
276 * Should be locked on mUsers before calling this.
279 UserInfo ui = mUsers.get(userId);
299 UserInfo info = mUsers.get(userId);
319 UserInfo info = mUsers.get(userId)
    [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java 207 private final SparseArray<UserAccounts> mUsers = new SparseArray<UserAccounts>();
296 /* Caller should lock mUsers */
298 UserAccounts accounts = mUsers.get(userId);
301 mUsers.append(userId, accounts);
309 synchronized (mUsers) {
310 for (int i = 0; i < mUsers.size(); i++) {
311 purgeOldGrants(mUsers.valueAt(i));
426 synchronized (mUsers) {
427 UserAccounts accounts = mUsers.get(userId);
430 mUsers.append(userId, accounts)
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
RunningState.java 124 final SparseArray<UserState> mUsers = new SparseArray<UserState>();
820 mUsers.clear();
835 if ((userItem.mUser=mUsers.get(newItem.mUserId)) == null) {
    [all...]

Completed in 63 milliseconds