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/
DVisibilityPreferenceController.java152 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled()
165 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVisibilityPreferenceController.java152 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled()
165 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure()
/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/
DOtaController.java211 context.getSystemService(UserManager.class).getProfileParent(userHandle)); in getMissingSystemImePackages()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIntentProcessor.java215 userManager.getProfileParent( in fixInitiatingUserIfNecessary()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java268 .getProfileParent(profileUser); in onReceive()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java374 final UserInfo parentInfo = userManager.getProfileParent(launchedFromUserId); in checkCallerIsCertInstallerOrSelfInProfile()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java374 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsDialogBuilder.java218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java274 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVisibilityPreferenceControllerTest.java217 when(mUm.getProfileParent(anyInt())).thenReturn(primaryUserInfo); in testUpdateState_noLockScreenNotificationsGloballyInProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java664 return UserManager.get(this).getProfileParent(UserHandle.myUserId()).id; in getParentUserId()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java708 return UserManager.get(this).getProfileParent(UserHandle.myUserId()).id; in getParentUserId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java205 public UserInfo getProfileParent(int userHandle) { in getProfileParent() method in ContactsActor.MockUserManager
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java835 .getProfileParent(UserHandle.of(myUserId())); in getParentUserContext()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java743 UserHandle parent = mUserManager.getProfileParent(user); in isRunningInParentProfile()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java822 final UserInfo parentUser = userManager.getProfileParent(UserHandle.myUserId()); in getParentUserId()
882 final UserInfo parent = userManager.getProfileParent(userInfo.id); in getWorkProfileUserInfo()