Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java559 private SparseArray<PermissionState> mUserStates = new SparseArray<>(); field in PermissionsState.PermissionData
567 final int otherStateCount = other.mUserStates.size(); in PermissionData()
569 final int otherUserId = other.mUserStates.keyAt(i); in PermissionData()
570 PermissionState otherState = other.mUserStates.valueAt(i); in PermissionData()
571 mUserStates.put(otherUserId, new PermissionState(otherState)); in PermissionData()
584 PermissionState userState = mUserStates.get(userId); in isGranted()
601 PermissionState userState = mUserStates.get(userId); in grant()
604 mUserStates.put(userId, userState); in grant()
621 PermissionState userState = mUserStates.get(userId); in revoke()
625 mUserStates.remove(userId); in revoke()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java108 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in PrintManagerService.PrintManagerImpl
456 final int userStateCount = mUserStates.size(); in dump()
458 UserState userState = mUserStates.valueAt(i); in dump()
480 final int userCount = mUserStates.size(); in registerContentObservers()
482 UserState userState = mUserStates.valueAt(i); in registerContentObservers()
622 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked()
625 mUserStates.put(userId, userState); in getOrCreateUserStateLocked()
656 UserState userState = mUserStates.get(userId); in handleUserStopped()
659 mUserStates.remove(userId); in handleUserStopped()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java123 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in TvInputManagerService
402 clearSessionAndServiceStatesLocked(mUserStates.get(mCurrentUserId)); in switchUser()
415 UserState userState = mUserStates.get(userId); in removeUser()
429 mUserStates.remove(userId); in removeUser()
473 UserState userState = mUserStates.get(userId); in getOrCreateUserStateLocked()
476 mUserStates.put(userId, userState); in getOrCreateUserStateLocked()
1702 for (int i = 0; i < mUserStates.size(); i++) { in dump()
1703 int userId = mUserStates.keyAt(i); in dump()
1708 for (int i = 0; i < mUserStates.size(); i++) { in dump()
1709 int userId = mUserStates.keyAt(i); in dump()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java204 private final SparseArray<UserState> mUserStates = new SparseArray<>(); field in AccessibilityManagerService
240 UserState state = mUserStates.get(userId); in getUserStateLocked()
243 mUserStates.put(userId, state); in getUserStateLocked()
588 final int userCount = mUserStates.size(); in removeAccessibilityInteractionConnection()
590 UserState userState = mUserStates.valueAt(i); in removeAccessibilityInteractionConnection()
598 + mUserStates.keyAt(i) + " and token: " + window.asBinder()); in removeAccessibilityInteractionConnection()
864 mUserStates.remove(userId); in removeUser()
1671 final int userCount = mUserStates.size(); in dump()
1673 UserState userState = mUserStates.valueAt(i); in dump()