/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserFeatureProviderImplTest.java | 58 public void getUserProfiles() { in getUserProfiles() method in UserFeatureProviderImplTest 61 when(mUserManager.getUserProfiles()).thenReturn(expected); in getUserProfiles() 62 final List<UserHandle> userProfiles = mFeatureProvider.getUserProfiles(); in getUserProfiles()
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | UserCache.java | 84 List<UserHandle> users = mUserManager.getUserProfiles(); in enableAndResetCache() 136 public List<UserHandle> getUserProfiles() { in getUserProfiles() method in UserCache 143 List<UserHandle> users = mUserManager.getUserProfiles(); in getUserProfiles()
|
D | ShortcutConfigActivityInfo.java | 159 users = UserCache.INSTANCE.get(context).getUserProfiles(); in queryList()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/ |
D | ManageCameraPermissionsPreferenceControllerTest.java | 130 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_whenCameraAppCountIsOne_shouldShowSingularString() 148 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString() 166 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1, mUserHandle2)); in getSummary_multipleUsers_addsAppCounts() 191 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_initializeTwiceBeforeCallbacksReturn_callbacksOnlyCalledOnce()
|
D | ManageMicPermissionsPreferenceControllerTest.java | 130 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 148 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString() 166 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1, mUserHandle2)); in getSummary_multipleUsers_addsAppCounts() 191 when(mUserManager.getUserProfiles()).thenReturn(List.of(mUserHandle1)); in getSummary_initializeTwiceBeforeCallbacksReturn_callbacksOnlyCalledOnce()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserFeatureProviderImpl.java | 33 public List<UserHandle> getUserProfiles() { in getUserProfiles() method in UserFeatureProviderImpl 34 return mUm.getUserProfiles(); in getUserProfiles()
|
D | UserFeatureProvider.java | 30 List<UserHandle> getUserProfiles(); in getUserProfiles() method
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 111 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in testMultipleAppsForOneTypeOfDefault() 142 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in isAvailable() 155 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in getPreferenceKey()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/ |
D | UtilsTest.java | 62 when(mUserManager.getUserProfiles()) in testGetManagedProfile() 73 when(mUserManager.getUserProfiles()) in testGetManagedProfile_notPresent()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserIdManagerTest.java | 135 when(mockUserManager.getUserProfiles()).thenReturn(Arrays.asList(systemUser, managedUser1)); in testGetUserIds_deviceNotSupported() 148 when(mockUserManager.getUserProfiles()).thenReturn( in testGetUserIds_deviceWithoutPermission() 192 when(mockUserManager.getUserProfiles()).thenReturn(usersOnDevice); in initializeUserIdManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | UserAdapterTest.java | 83 when(mUserManager.getUserProfiles()).thenReturn( in createUserSpinnerAdapter_singleProfile_returnsNull() 94 when(mUserManager.getUserProfiles()).thenReturn( in createUserSpinnerAdapter_twoProfiles_succeed()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/ |
D | DeviceAdminListPreferenceController.java | 133 final List<UserHandle> profiles = mUm.getUserProfiles(); in updateState() 165 final List<UserHandle> profiles = mUm.getUserProfiles(); in refreshData()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 489 for (UserHandle profile : mUserManager.getUserProfiles()) { in getConnectedAppVpns() 501 for (UserHandle profile : mUserManager.getUserProfiles()) { in getAlwaysOnAppVpnInfos() 517 for (UserHandle profile : UserManager.get(context).getUserProfiles()) { in getVpnApps()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | UserManagerState.java | 39 for (UserHandle user : userManager.getUserProfiles()) { in init()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 63 for (UserHandle user : mUserFeatureProvider.getUserProfiles()) { in getNumberOfEnterpriseSetDefaultApps()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/ |
D | UserUtils.java | 64 List<UserHandle> profiles = userManager.getUserProfiles(); in getWorkProfile()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 79 for (UserHandle user : mUserManager.getUserProfiles()) { in getNumberOfEnterpriseSetDefaultApps()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 74 for (UserHandle user : mUserManager.getUserProfiles()) { in getNumberOfEnterpriseSetDefaultApps()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskUtils.java | 104 List<UserHandle> allUsers = UserCache.INSTANCE.get(context).getUserProfiles(); in checkCurrentOrManagedUserId()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetManagerHelper.java | 125 .getUserProfiles() in allWidgetsSteam()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | AppLocationPermissionPreferenceController.java | 87 UserManager.class).getUserProfiles(); in updateState()
|
D | TopLevelLocationPreferenceController.java | 84 UserManager.class).getUserProfiles(); in updateState()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/ |
D | RecentlyAccessedByUtils.java | 61 UserManager.class).getUserProfiles(); in getAppList()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | UserIdManager.java | 167 final List<UserHandle> userProfiles = userManager.getUserProfiles(); in getUserIdsInternal()
|
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | ManageMicPermissionsPreferenceController.java | 112 List<UserHandle> users = mUserManager.getUserProfiles(); in updateState()
|