Home
last modified time | relevance | path

Searched refs:getProfileParent (Results 1 – 20 of 20) 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.java211 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.java350 final UserInfo parentInfo = userManager.getProfileParent(launchedFromUserId); in checkCallerIsCertInstallerOrSelfInProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java375 final UserInfo parentInfo = userManager.getProfileParent(launchedFromUserId); in checkCallerIsCertInstallerOrSelfInProfile()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java162 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/
DTrustedCredentialsDialogBuilder.java218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVisibilityPreferenceControllerTest.java217 when(mUm.getProfileParent(anyInt())).thenReturn(primaryUserInfo); in testUpdateState_noLockScreenNotificationsGloballyInProfile()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java353 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()
/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java210 public UserInfo getProfileParent(int userHandle) { in getProfileParent() method in ContactsActor.MockUserManager
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java708 return UserManager.get(this).getProfileParent(UserHandle.myUserId()).id; in getParentUserId()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java829 .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()