Searched refs:getAllProfiles (Results 1 – 9 of 9) sorted by relevance
343 public List<UserInfo> getAllProfiles() { in getAllProfiles() method in ProfileHelper436 List<UserInfo> users = getAllProfiles(); in getManagedProfilesCount()
55 return sInstance.getAllProfiles(); in getAllUsers()
74 List<UserInfo> userInfos = profileHelper.getAllProfiles(); in isProfileOrDeviceOwner()
86 when(profileHelper.getAllProfiles()).thenReturn(Collections.singletonList(userInfo)); in isProfileOrDeviceOwner_profileOwner_returnsTrue()
137 assertThat(mProfileHelper.getAllProfiles()).containsExactly(fgUser, user2, user3, user4); in testGetAllsers()157 assertThat(mProfileHelper.getAllProfiles()) in testGetAllUsers_notHeadless()
66 List<UserInfo> infos = mProfileHelper.getAllProfiles(); in loadInBackground()
136 List<UserHandle> profiles = mContext.getSystemService(UserManager.class).getAllProfiles(); in getAllInstalledApps()
74 List<UserInfo> profiles = ProfileHelper.getInstance(getContext()).getAllProfiles(); in onDataLoaded()
88 when(mProfileHelper.getAllProfiles()).thenReturn(mUsers); in setUp()