Home
last modified time | relevance | path

Searched refs:mStartedUsers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUserController.java184 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); field in UserController
271 mStartedUsers.put(UserHandle.USER_SYSTEM, uss); in UserController()
292 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU()
348 if (mStartedUsers.get(userId) != uss) { in finishUserBoot()
413 if (mStartedUsers.get(userId) != uss || uss.state != STATE_RUNNING_LOCKED) { in finishUserUnlocking()
458 if (mStartedUsers.get(uss.mHandle.getIdentifier()) != uss) return; in finishUserUnlocked()
526 if (mStartedUsers.get(uss.mHandle.getIdentifier()) != uss) return; in finishUserUnlockedCompleted()
671 final UserState uss = mStartedUsers.get(userId);
777 if (mStartedUsers.get(userId) != uss || uss.state != UserState.STATE_SHUTDOWN) {
782 mStartedUsers.remove(userId);
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java202 int[] mStartedUsers = EmptyArray.INT; field in JobSchedulerService
967 mStartedUsers = ArrayUtils.appendInt(mStartedUsers, userHandle); in onStartUser()
982 mStartedUsers = ArrayUtils.removeInt(mStartedUsers, userHandle); in onStopUser()
2209 boolean sourceStarted = ArrayUtils.contains(mStartedUsers, job.getSourceUserId()); in areUsersStartedLocked()
2213 return sourceStarted && ArrayUtils.contains(mStartedUsers, job.getUserId()); in areUsersStartedLocked()
3137 if (!ArrayUtils.contains(mStartedUsers, js.getUserId())) { in getJobState()
3144 if (!ArrayUtils.contains(mStartedUsers, js.getSourceUserId())) { in getJobState()
3283 pw.println("Started users: " + Arrays.toString(mStartedUsers)); in dumpInternal()
3468 for (int u : mStartedUsers) { in dumpInternalProto()