Home
last modified time | relevance | path

Searched refs:getUserProfiles (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatVNMr1.java58 List<UserHandle> userProfiles = getUserProfiles(); in isAnyProfileQuietModeEnabled()
106 List<UserHandle> users = mUserManager.getUserProfiles(); in enableAndResetCache()
118 public List<UserHandle> getUserProfiles() { in getUserProfiles() method in UserManagerCompatVNMr1
125 List<UserHandle> users = mUserManager.getUserProfiles(); in getUserProfiles()
136 return getUserProfiles().size() > 1; in hasWorkProfile()
DAppWidgetManagerCompatVL.java58 for (UserHandle user : mUserManager.getUserProfiles()) { in getAllProviders()
128 for (UserHandle user : mUserManager.getUserProfiles()) { in getAllProvidersMap()
DUserManagerCompat.java51 public abstract List<UserHandle> getUserProfiles(); in getUserProfiles() method in UserManagerCompat
DLauncherAppsCompatVO.java73 users = UserManagerCompat.getInstance(mContext).getUserProfiles(); in getCustomShortcutActivityList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserFeatureProviderImplTest.java58 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/Settings/src/com/android/settings/users/
DUserFeatureProviderImpl.java33 public List<UserHandle> getUserProfiles() { in getUserProfiles() method in UserFeatureProviderImpl
34 return mUm.getUserProfiles(); in getUserProfiles()
DUserFeatureProvider.java30 List<UserHandle> getUserProfiles(); in getUserProfiles() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserFeatureProviderImpl.java33 public List<UserHandle> getUserProfiles() { in getUserProfiles() method in UserFeatureProviderImpl
34 return mUm.getUserProfiles(); in getUserProfiles()
DUserFeatureProvider.java30 List<UserHandle> getUserProfiles(); in getUserProfiles() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java111 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in testMultipleAppsForOneTypeOfDefault()
142 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in isAvailable()
155 when(mFeatureFactory.userFeatureProvider.getUserProfiles()) in getPreferenceKey()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java62 when(mUserManager.getUserProfiles()) in testGetManagedProfile()
73 when(mUserManager.getUserProfiles()) in testGetManagedProfile_notPresent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationForWorkPreferenceControllerTest.java115 when(mUserManager.getUserProfiles()).thenReturn(new ArrayList<>()); in isAvailable_noManagedProfile_shouldReturnFalse()
190 when(mUserManager.getUserProfiles()).thenReturn(userProfiles); in mockManagedProfile()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java487 for (UserHandle profile : mUserManager.getUserProfiles()) { in getConnectedAppVpns()
502 for (UserHandle profile : mUserManager.getUserProfiles()) { in getAlwaysOnAppVpnInfos()
518 for (UserHandle profile : UserManager.get(context).getUserProfiles()) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java487 for (UserHandle profile : mUserManager.getUserProfiles()) { in getConnectedAppVpns()
502 for (UserHandle profile : mUserManager.getUserProfiles()) { in getAlwaysOnAppVpnInfos()
518 for (UserHandle profile : UserManager.get(context).getUserProfiles()) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java136 final List<UserHandle> profiles = mUm.getUserProfiles(); in updateState()
158 final List<UserHandle> profiles = mUm.getUserProfiles(); in refreshData()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java137 final List<UserHandle> profiles = mUm.getUserProfiles(); in updateState()
159 final List<UserHandle> profiles = mUm.getUserProfiles(); in refreshData()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java311 for (UserHandle user : mUserManager.getUserProfiles()) { in loadWorkspace()
801 final List<UserHandle> profiles = mUserManager.getUserProfiles(); in loadAllApps()
840 for (UserHandle user : mUserManager.getUserProfiles()) { in loadDeepShortcuts()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DUsersLiveData.java75 setValue(mApplication.getSystemService(UserManager.class).getUserProfiles()); in update()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java63 for (UserHandle user : mUserFeatureProvider.getUserProfiles()) { in getNumberOfEnterpriseSetDefaultApps()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DUserUtils.java61 List<UserHandle> profiles = userManager.getUserProfiles(); in getWorkProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java63 for (UserHandle user : mUserFeatureProvider.getUserProfiles()) { in getNumberOfEnterpriseSetDefaultApps()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskUtils.java82 List<UserHandle> allUsers = UserManagerCompat.getInstance(context).getUserProfiles(); in checkCurrentOrManagedUserId()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkModeSwitch.java103 List<UserHandle> userProfiles = userManager.getUserProfiles(); in doInBackground()
/packages/apps/Settings/src/com/android/settings/location/
DAppLocationPermissionPreferenceController.java93 UserManager.class).getUserProfiles(); in updateState()
DTopLevelLocationPreferenceController.java84 UserManager.class).getUserProfiles(); in updateState()

123