Home
last modified time | relevance | path

Searched refs:getAliveUsers (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
DBiometricStateCallbackTest.java81 when(mUserManager.getAliveUsers()).thenReturn( in setup()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java104 final List<UserInfo> activeUsers = UserManager.get(mContext).getAliveUsers(); in readXml()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricStateCallback.java177 for (UserInfo userInfo : mUserManager.getAliveUsers()) { in broadcastCurrentEnrollmentState()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSensorAdapter.java237 for (UserInfo user : UserManager.get(getContext()).getAliveUsers()) { in scheduleLoadAuthenticatorIds()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DCameraAccessController.java190 List<UserInfo> aliveUsers = mUserManager.getAliveUsers(); in onCameraOpened()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DHidlToAidlSensorAdapter.java277 for (UserInfo user : UserManager.get(getContext()).getAliveUsers()) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java205 when(mUserManager.getAliveUsers()).thenReturn(List.of(TEST_USER)); in setUp()
458 when(mUserManager.getAliveUsers()) in testSuccessfulUnlock_bindsTrustAgent()
803 when(mUserManager.getAliveUsers()).thenReturn(List.of(parent, profile)); in setupMocksForProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceProviderTest.java124 when(mUserManager.getAliveUsers()).thenReturn(new ArrayList<>()); in setUp()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java568 List<UserInfo> userInfos = mUserManager.getAliveUsers(); in updateTrustAll()
767 userInfos = mUserManager.getAliveUsers(); in refreshAgentList()
1000 userInfos = mUserManager.getAliveUsers(); in refreshDeviceLockedForUser()
1272 for (UserInfo userInfo : mUserManager.getAliveUsers()) { in checkNewAgents()
1902 final List<UserInfo> userInfos = mUserManager.getAliveUsers();
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintProviderTest.java130 when(mUserManager.getAliveUsers()).thenReturn(new ArrayList<>()); in setUp()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java172 List<Integer> userIds = um.getAliveUsers() in testBasic()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationStore.java157 for (UserInfo user : mUserManager.getAliveUsers()) { in refreshCache()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/
DCameraAccessControllerTest.java118 when(mUserManager.getAliveUsers()).thenReturn(mAliveUsers); in setUp()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceProvider.java331 for (UserInfo user : UserManager.get(mContext).getAliveUsers()) { in getHalInstance()
360 for (UserInfo user : UserManager.get(mContext).getAliveUsers()) { in scheduleLoadAuthenticatorIds()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintProvider.java359 for (UserInfo user : UserManager.get(mContext).getAliveUsers()) { in getHalInstance()
416 for (UserInfo user : UserManager.get(mContext).getAliveUsers()) { in scheduleLoadAuthenticatorIds()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java108 mUserManager.getAliveUsers().stream().mapToInt(u -> u.id).toArray(); in load()
/frameworks/base/core/java/android/provider/
DCallLog.java317 for (UserInfo u : userManager.getAliveUsers()) { in storeCallComposerPicture()
1949 final List<UserInfo> users = userManager.getAliveUsers(); in addCall()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java297 when(userManager.getAliveUsers()).thenReturn(mUserInfos); in addUser()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java132 when(mUm.getAliveUsers()).thenReturn(users); in setUp()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java806 return UserManager.get(mContext).getAliveUsers(); in getUsers()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java1098 List<UserInfo> userInfos = mUserManager.getAliveUsers(); in onPullAtom()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java506 List<UserInfo> users = mUserManager.getAliveUsers(); in onInit()
1518 List<UserInfo> users = mUserManager.getAliveUsers(); in loadOverflowBubblesFromDisk()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java415 for (UserInfo user : mUserManager.getAliveUsers()) { in onCreate()
3056 for (UserInfo user : mUserManager.getAliveUsers()) {
3524 List<UserInfo> users = mUserManager.getAliveUsers();
3763 final List<UserInfo> users = mUserManager.getAliveUsers();
/frameworks/base/core/java/android/os/
DUserManager.java4920 public @NonNull List<UserInfo> getAliveUsers() { in getAliveUsers() method in UserManager
5114 final List<UserInfo> users = getAliveUsers(); in canAddMoreUsers()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java750 final List<UserInfo> aliveUsers = mUserManager.getAliveUsers();

12