Searched refs:getAllProfiles (Results 1 – 13 of 13) sorted by relevance
32 final List<UserHandle> userHandleList = userManager.getAllProfiles(); in isBluetoothWorkContactSharingDisabled()
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()
382 public List<UserInfo> getAllProfiles() { in getAllProfiles() method in ProfileHelper477 List<UserInfo> users = getAllProfiles(); in getManagedProfilesCount()
74 List<UserInfo> infos = mProfileHelper.getAllProfiles(); in loadInBackground()
136 assertThat(mProfileHelper.getAllProfiles()).containsExactly(fgUser, user2, user3, user4); in testGetAllsers()156 assertThat(mProfileHelper.getAllProfiles()) in testGetAllUsers_notHeadless()
153 List<UserHandle> profiles = mUserManager.getAllProfiles(); in getAllInstalledApps()
99 List<UserInfo> profiles = ProfileHelper.getInstance(getContext()).getAllProfiles(); in onDataLoaded()
85 when(mMockProfileHelper.getAllProfiles()).thenReturn(mUsers); in setUp()
389 when(mUserManager.getAllProfiles()).thenReturn(mAllProfiles); in workPolicyInfo_profileOwner_shouldResolveIntent()
1012 List<UserHandle> allUsers = um.getAllProfiles(); in findChildManagedProfileUser()
2359 List<UserHandle> userProfiles = um.getAllProfiles(); in getManagedProfileUserId()