Home
last modified time | relevance | path

Searched refs:mUserServices (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java40 private final SparseArray<ForegroundServicesUserState> mUserServices = new SparseArray<>(); field in ForegroundServiceController
61 final ForegroundServicesUserState services = mUserServices.get(userId); in isDisclosureNeededForUser()
73 final ForegroundServicesUserState services = mUserServices.get(userId); in isSystemAlertWarningNeeded()
85 final ForegroundServicesUserState services = mUserServices.get(userId); in getAppOps()
109 ForegroundServicesUserState userServices = mUserServices.get(userId); in onAppOpChanged()
112 mUserServices.put(userId, userServices); in onAppOpChanged()
134 ForegroundServicesUserState userState = mUserServices.get(userId); in updateUserState()
138 mUserServices.put(userId, userState); in updateUserState()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java102 private SparseArray<UserBackupManagerService> mUserServices; field in BackupManagerServiceTest
109 mUserServices = new SparseArray<>(); in setUp()
110 mUserServices.append(UserHandle.USER_SYSTEM, mUserBackupManagerService); in setUp()
111 mUserServices.append(NON_USER_SYSTEM, mNonSystemUserBackupManagerService); in setUp()
133 mService = new BackupManagerServiceTestable(mContextMock, mUserServices); in setUp()
210 new BackupManagerServiceTestable(mContextMock, mUserServices); in testIsBackupServiceActive_forSystemUserWhenBackupDisabled_returnsTrue()
221 new BackupManagerServiceTestable(mContextMock, mUserServices); in testIsBackupServiceActive_forNonSystemUserWhenBackupDisabled_returnsTrue()
370 new BackupManagerServiceTestable(mContextMock, mUserServices); in setBackupServiceActive_backupDisabled_ignored()
463 mUserServices.clear(); in selectBackupTransportAsyncForUser_beforeUserUnlocked_notifiesBackupNotAllowed()
543 new BackupManagerServiceTestable(mContextMock, mUserServices); in testGetUserForAncestralSerialNumber_forSystemUser()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java144 private final SparseArray<UserBackupManagerService> mUserServices; field in BackupManagerService
171 mUserServices = userServices; in BackupManagerService()
287 return mUserServices.get(UserHandle.USER_SYSTEM) != null in isUserReadyForBackup()
288 && mUserServices.get(userId) != null; in isUserReadyForBackup()
343 if (mUserServices.get(userId) != null) { in startServiceForUser()
359 mUserServices.put(userId, userBackupManagerService); in startServiceForUser()
369 UserBackupManagerService userBackupManagerService = mUserServices.removeReturnOld(userId); in stopServiceForUser()
389 return mUserServices; in getUserServices()
409 return mUserServices.get(userId); in getUserService()
1425 UserBackupManagerService userBackupManagerService = mUserServices.get(userId); in getUserForAncestralSerialNumber()
[all …]
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java95 private final SparseArray<UserServices<V>> mUserServices = new SparseArray<UserServices<V>>(2); field in RegisteredServicesCache
115 UserServices<V> services = mUserServices.get(userId); in findOrCreateUserLocked()
118 mUserServices.put(userId, services); in findOrCreateUserLocked()
725 mUserServices.clear(); in migrateIfNecessaryLocked()
734 UserServices<V> userServices = mUserServices.get(user.id); in migrateIfNecessaryLocked()
749 mUserServices.clear(); in migrateIfNecessaryLocked()
789 mUserServices.remove(userId); in onUserRemoved()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16017 Landroid/content/pm/RegisteredServicesCache;->mUserServices:Landroid/util/SparseArray;