Home
last modified time | relevance | path

Searched refs:getAllProfiles (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java343 public List<UserInfo> getAllProfiles() { in getAllProfiles() method in ProfileHelper
436 List<UserInfo> users = getAllProfiles(); in getManagedProfilesCount()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserHelper.java55 return sInstance.getAllProfiles(); in getAllUsers()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationsUtils.java74 List<UserInfo> userInfos = profileHelper.getAllProfiles(); in isProfileOrDeviceOwner()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationsUtilsTest.java86 when(profileHelper.getAllProfiles()).thenReturn(Collections.singletonList(userInfo)); in isProfileOrDeviceOwner_profileOwner_returnsTrue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java137 assertThat(mProfileHelper.getAllProfiles()).containsExactly(fgUser, user2, user3, user4); in testGetAllsers()
157 assertThat(mProfileHelper.getAllProfiles()) in testGetAllUsers_notHeadless()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java66 List<UserInfo> infos = mProfileHelper.getAllProfiles(); in loadInBackground()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTask.java136 List<UserHandle> profiles = mContext.getSystemService(UserManager.class).getAllProfiles(); in getAllInstalledApps()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java74 List<UserInfo> profiles = ProfileHelper.getInstance(getContext()).getAllProfiles(); in onDataLoaded()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java88 when(mProfileHelper.getAllProfiles()).thenReturn(mUsers); in setUp()