Searched refs:mUserState (Results 1 – 3 of 3) sorted by relevance
112 private final SparseArray<PackageUserState> mUserState = new SparseArray<>(); field in PackageSettingBase256 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 …]
134 private final SparseArray<UserUsageStatsService> mUserState = new SparseArray<>(); field in UsageStatsService395 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 …]
86 UserState mUserState = new UserState(0, in setUp() local91 mUserState.mService = new MockIAttentionService(); in setUp()92 mSpyUserState = spy(mUserState); in setUp()