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.java188 private final SparseArray<UserState> mStartedUsers = new SparseArray<>(); field in UserController
275 mStartedUsers.put(UserHandle.USER_SYSTEM, uss); in UserController()
296 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU()
352 if (mStartedUsers.get(userId) != uss) { in finishUserBoot()
420 if (mStartedUsers.get(userId) != uss || uss.state != STATE_RUNNING_LOCKED) { in finishUserUnlocking()
465 if (mStartedUsers.get(uss.mHandle.getIdentifier()) != uss) return; in finishUserUnlocked()
534 if (mStartedUsers.get(uss.mHandle.getIdentifier()) != uss) return; in finishUserUnlockedCompleted()
690 final UserState uss = mStartedUsers.get(userId);
798 if (mStartedUsers.get(userId) != uss || uss.state != UserState.STATE_SHUTDOWN) {
803 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()