Searched refs:mUserState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityUserStateTest.java | 89 private AccessibilityUserState mUserState; field in AccessibilityUserStateTest 101 mUserState = new AccessibilityUserState(USER_ID, mMockContext, mMockListener); in setUp() 111 mUserState.getBoundServicesLocked().add(mMockConnection); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 112 mUserState.getBindingServicesLocked().add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 113 mUserState.setLastSentClientStateLocked( in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 117 mUserState.setNonInteractiveUiTimeoutLocked(30); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 118 mUserState.setInteractiveUiTimeoutLocked(30); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 119 mUserState.mEnabledServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 120 mUserState.mTouchExplorationGrantedServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 121 mUserState.mAccessibilityShortcutKeyTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() [all …]
|
D | AccessibilityManagerServiceTest.java | 92 private AccessibilityUserState mUserState; field in AccessibilityManagerServiceTest 121 mUserState = new AccessibilityUserState(UserHandle.USER_SYSTEM, mMockContext, mA11yms); in setupAccessibilityServiceConnection() 129 mUserState, in setupAccessibilityServiceConnection() 191 mA11yms.notifySystemActionsChangedLocked(mUserState); in testOnSystemActionsChanged()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryManager.java | 64 private final SparseArray<NotificationHistoryDatabase> mUserState = new SparseArray<>(); field in NotificationHistoryManager 119 mUserState.put(userId, null); // release the service (mainly for GC) in onUserStopped() 145 final NotificationHistoryDatabase userHistory = mUserState.get(userId); in onPackageRemoved() 188 final int userCount = mUserState.size(); in triggerWriteToDisk() 190 final int userId = mUserState.keyAt(i); in triggerWriteToDisk() 194 NotificationHistoryDatabase userHistory = mUserState.get(userId); in triggerWriteToDisk() 278 mUserState.put(userId, null); in disableHistory() 288 mUserState.put(userId, null); in getUserHistoryAndInitializeIfNeededLocked() 291 NotificationHistoryDatabase userHistory = mUserState.get(userId); in getUserHistoryAndInitializeIfNeededLocked() 315 mUserState.put(userId, userHistory); in getUserHistoryAndInitializeIfNeededLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 117 private final SparseArray<PackageUserState> mUserState = new SparseArray<>(); field in PackageSettingBase 255 mUserState.clear(); in doCopy() 256 for (int i = 0; i < orig.mUserState.size(); i++) { in doCopy() 257 mUserState.put(orig.mUserState.keyAt(i), orig.mUserState.valueAt(i)); in doCopy() 275 PackageUserState state = mUserState.get(userId); in modifyUserState() 278 mUserState.put(userId, state); in modifyUserState() 284 PackageUserState state = mUserState.get(userId); in readUserState() 351 return mUserState; in getUserState() 609 mUserState.delete(userId); in removeUser() 614 int userStateCount = mUserState.size(); in getNotInstalledUserIds() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 165 private final SparseArray<UserUsageStatsService> mUserState = new SparseArray<>(); field in UsageStatsService 299 mUserState.put(userInfo.id, null); in onStartUser() 323 final UserUsageStatsService userService = mUserState.get(userInfo.id); in onStopUser() 328 mUserState.put(userInfo.id, null); // release the service (mainly for GC) in onStopUser() 540 final UserUsageStatsService service = mUserState.get(userId); in getUserUsageStatsServiceLocked() 560 mUserState.put(userId, service); in initializeUserUsageStatsServiceLocked() 928 final int userCount = mUserState.size(); in reportEventToAllUserId() 931 reportEventOrAddToQueue(mUserState.keyAt(i), copy); in reportEventToAllUserId() 960 mUserState.remove(userId); in onUserRemoved() 981 final UserUsageStatsService userService = mUserState.get(userId); in onPackageRemoved() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 103 UserState mUserState = new UserState(0, in setUp() local 108 mUserState.mService = new MockIAttentionService(); in setUp() 109 mSpyUserState = spy(mUserState); in setUp()
|