Home
last modified time | relevance | path

Searched refs:mUserStates (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java653 private SparseArray<PermissionState> mUserStates = new SparseArray<>(); field in PermissionsState.PermissionData
661 final int otherStateCount = other.mUserStates.size(); in PermissionData()
663 final int otherUserId = other.mUserStates.keyAt(i); in PermissionData()
664 PermissionState otherState = other.mUserStates.valueAt(i); in PermissionData()
665 mUserStates.put(otherUserId, new PermissionState(otherState)); in PermissionData()
678 PermissionState userState = mUserStates.get(userId); in isGranted()
695 PermissionState userState = mUserStates.get(userId); in grant()
698 mUserStates.put(userId, userState); in grant()
715 PermissionState userState = mUserStates.get(userId); in revoke()
719 mUserStates.remove(userId); in revoke()
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java106 mManagerService.mUserStates.remove(userId); in onStopUser()
116 final SparseArray<UserState> mUserStates = new SparseArray<>(); field in TextClassificationManagerService
250 UserState result = mUserStates.get(userId); in getUserStateLocked()
253 mUserStates.put(userId, result); in getUserStateLocked()
259 return mUserStates.get(userId); in peekUserStateLocked()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java121 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in PrintManagerService.PrintManagerImpl
711 int numUserStates = mUserStates.size(); in dump()
713 userStatesToDump.add(mUserStates.valueAt(i)); in dump()
798 final int userCount = mUserStates.size(); in registerContentObservers()
801 || userId == mUserStates.keyAt(i)) { in registerContentObservers()
802 mUserStates.valueAt(i).updateIfNeededLocked(); in registerContentObservers()
969 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked()
972 mUserStates.put(userId, userState); in getOrCreateUserStateLocked()
1011 UserState userState = mUserStates.get(userId); in handleUserStopped()
1014 mUserStates.remove(userId); in handleUserStopped()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java435 private final SparseIntArray mUserStates = new SparseIntArray(); field in UserManagerService
541 mUserStates.put(UserHandle.USER_SYSTEM, UserState.STATE_BOOTING); in UserManagerService()
3017 synchronized (mUserStates) { in removeUserState()
3018 mUserStates.delete(userHandle); in removeUserState()
3612 synchronized (mUserStates) { in dump()
3613 state = mUserStates.get(userId, -1); in dump()
3682 synchronized (mUserStates) { in dump()
3683 pw.println(" Started users state: " + mUserStates); in dump()
3892 synchronized (mUserStates) { in isUserRunning()
3893 return mUserStates.get(userId, -1) >= 0; in isUserRunning()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java127 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in TvInputManagerService
382 UserState userState = mUserStates.get(mCurrentUserId); in switchUser()
449 UserState userState = mUserStates.get(userId); in removeUser()
488 mUserStates.remove(userId); in removeUser()
505 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked()
508 mUserStates.put(userId, userState); in getOrCreateUserStateLocked()
2005 for (int i = 0; i < mUserStates.size(); i++) { in dump()
2006 int userId = mUserStates.keyAt(i); in dump()
2011 for (int i = 0; i < mUserStates.size(); i++) { in dump()
2012 int userId = mUserStates.keyAt(i); in dump()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java245 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in AccessibilityManagerService
307 UserState state = mUserStates.get(userId); in getUserStateLocked()
310 mUserStates.put(userId, state); in getUserStateLocked()
733 final int userCount = mUserStates.size(); in removeAccessibilityInteractionConnection()
735 UserState userState = mUserStates.valueAt(i); in removeAccessibilityInteractionConnection()
743 + mUserStates.keyAt(i) + " and token: " + window.asBinder()); in removeAccessibilityInteractionConnection()
1099 mUserStates.remove(userId); in removeUser()
2401 final int userCount = mUserStates.size(); in dump()
2403 UserState userState = mUserStates.valueAt(i); in dump()
3077 UserState state = mUserStates.get(userId); in getBindInstantServiceAllowed()
[all …]