Home
last modified time | relevance | path

Searched refs:getProfileParent (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java159 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled()
172 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesSettings.java134 final UserHandle personalProfile = userManager.getProfileParent(workProfile); in collectConfigurableApps()
176 UserHandle personalProfile = userManager.getProfileParent(workProfile); in getNumberOfEnabledApps()
DInteractAcrossProfilesDetails.java96 mPersonalProfile = mUserManager.getProfileParent(mWorkProfile); in onCreate()
305 UserHandle personalProfile = userManager.getProfileParent(workProfile); in isInteractAcrossProfilesEnabled()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java62 final UserInfo parent = um.getProfileParent(ui.id); in getCorpUserInfo()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantController.java113 mUserManager.getProfileParent(userHandle).getIdentifier() == currentUserId) { in isParentProfileOfManagedProfile()
DOtaController.java209 context.getSystemService(UserManager.class).getProfileParent(userHandle)); in getMissingSystemImePackages()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIntentProcessor.java228 userManager.getProfileParent( in fixInitiatingUserIfNecessary()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java271 when(mockUm.getProfileParent(WORK_USER_ID)).thenReturn(CURRENT_USER_INFO); in getMockContext()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java351 final UserInfo parentInfo = userManager.getProfileParent(launchedFromUserId); in checkCallerIsCertInstallerOrSelfInProfile()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java152 UserInfo parentInfo = userManager.getProfileParent(launchedFromUserId); in checkCallerIsCertInstallerOrSelfInProfile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java237 when(mUm.getProfileParent(anyInt())).thenReturn(primaryUserInfo); in testUpdateState_noLockScreenNotificationsGloballyInProfile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java620 return UserManager.get(this).getProfileParent(UserHandle.myUserId()).id; in getParentUserId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java209 public UserInfo getProfileParent(int userHandle) { in getProfileParent() method in ContactsActor.MockUserManager
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java630 UserInfo ui = um.getProfileParent(callingUser); in checkCallerIsSystemOrActiveOrManagedUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java738 UserHandle parent = mUserManager.getProfileParent(user); in isRunningInParentProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java731 return UserManager.get(this).getProfileParent(UserHandle.myUserId()).id; in getParentUserId()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1034 .getProfileParent(UserHandle.of(myUserId())); in getParentUserContext()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java839 final UserInfo parentUser = userManager.getProfileParent(UserHandle.myUserId()); in getParentUserId()
899 final UserInfo parent = userManager.getProfileParent(userInfo.id); in getWorkProfileUserInfo()