Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/util/
DDevicePolicyUtils.java32 final List<UserHandle> userHandleList = userManager.getAllProfiles(); in isBluetoothWorkContactSharingDisabled()
/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/src/com/android/car/settings/profiles/
DProfileHelper.java382 public List<UserInfo> getAllProfiles() { in getAllProfiles() method in ProfileHelper
477 List<UserInfo> users = getAllProfiles(); in getManagedProfilesCount()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java74 List<UserInfo> infos = mProfileHelper.getAllProfiles(); in loadInBackground()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java136 assertThat(mProfileHelper.getAllProfiles()).containsExactly(fgUser, user2, user3, user4); in testGetAllsers()
156 assertThat(mProfileHelper.getAllProfiles()) in testGetAllUsers_notHeadless()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTask.java153 List<UserHandle> profiles = mUserManager.getAllProfiles(); in getAllInstalledApps()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java99 List<UserInfo> profiles = ProfileHelper.getInstance(getContext()).getAllProfiles(); in onDataLoaded()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java85 when(mMockProfileHelper.getAllProfiles()).thenReturn(mUsers); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java389 when(mUserManager.getAllProfiles()).thenReturn(mAllProfiles); in workPolicyInfo_profileOwner_shouldResolveIntent()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java1012 List<UserHandle> allUsers = um.getAllProfiles(); in findChildManagedProfileUser()
DCallsManager.java2359 List<UserHandle> userProfiles = um.getAllProfiles(); in getManagedProfileUserId()