Home
last modified time | relevance | path

Searched refs:mUserState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java112 private final SparseArray<PackageUserState> mUserState = new SparseArray<>(); field in PackageSettingBase
256 mUserState.clear(); in doCopy()
257 for (int i = 0; i < orig.mUserState.size(); i++) { in doCopy()
258 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()
334 return mUserState; in getUserState()
562 mUserState.delete(userId); in removeUser()
567 int userStateCount = mUserState.size(); in getNotInstalledUserIds()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java134 private final SparseArray<UserUsageStatsService> mUserState = new SparseArray<>(); field in UsageStatsService
395 UserUsageStatsService service = mUserState.get(userId); in getUserDataAndInitializeIfNeededLocked()
400 mUserState.put(userId, service); in getUserDataAndInitializeIfNeededLocked()
417 final int userCount = mUserState.size(); in checkAndGetTimeLocked()
419 final UserUsageStatsService service = mUserState.valueAt(i); in checkAndGetTimeLocked()
581 final int userCount = mUserState.size(); in reportEventToAllUserId()
584 reportEvent(copy, mUserState.keyAt(i)); in reportEventToAllUserId()
611 mUserState.remove(userId); in onUserRemoved()
732 final int userCount = mUserState.size(); in flushToDiskLocked()
734 UserUsageStatsService service = mUserState.valueAt(i); in flushToDiskLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java86 UserState mUserState = new UserState(0, in setUp() local
91 mUserState.mService = new MockIAttentionService(); in setUp()
92 mSpyUserState = spy(mUserState); in setUp()