Searched refs:mUserServices (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceController.java | 48 private final SparseArray<ForegroundServicesUserState> mUserServices = new SparseArray<>(); field in ForegroundServiceController 71 final ForegroundServicesUserState services = mUserServices.get(userId); in isDisclosureNeededForUser() 83 final ForegroundServicesUserState services = mUserServices.get(userId); in isSystemAlertWarningNeeded() 96 final ForegroundServicesUserState services = mUserServices.get(userId); in getStandardLayoutKeys() 108 final ForegroundServicesUserState services = mUserServices.get(userId); in getAppOps() 132 ForegroundServicesUserState userServices = mUserServices.get(userId); in onAppOpChanged() 135 mUserServices.put(userId, userServices); in onAppOpChanged() 182 ForegroundServicesUserState userState = mUserServices.get(userId); in updateUserState() 186 mUserServices.put(userId, userState); in updateUserState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 102 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/ |
D | BackupManagerService.java | 141 private final SparseArray<UserBackupManagerService> mUserServices; field in BackupManagerService 168 mUserServices = userServices; in BackupManagerService() 284 return mUserServices.get(UserHandle.USER_SYSTEM) != null in isUserReadyForBackup() 285 && mUserServices.get(userId) != null; in isUserReadyForBackup() 340 if (mUserServices.get(userId) != null) { in startServiceForUser() 356 mUserServices.put(userId, userBackupManagerService); in startServiceForUser() 366 UserBackupManagerService userBackupManagerService = mUserServices.removeReturnOld(userId); in stopServiceForUser() 386 return mUserServices; in getUserServices() 406 return mUserServices.get(userId); in getUserService() 1415 UserBackupManagerService userBackupManagerService = mUserServices.get(userId); in getUserForAncestralSerialNumber() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 95 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() 790 mUserServices.remove(userId); in onUserRemoved()
|