Home
last modified time | relevance | path

Searched refs:getManagedProfile (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/src/com/android/settings/location/
DLocationForWorkPreferenceController.java49 Utils.getManagedProfile(mUserManager)); in handlePreferenceTreeClick()
67 return Utils.getManagedProfile(mUserManager) != null; in isAvailable()
82 Utils.getManagedProfile(mUserManager).getIdentifier()); in onLocationModeChanged()
DLocationEnabler.java136 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in isManagedProfileRestrictedByBase()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationForWorkPreferenceController.java49 Utils.getManagedProfile(mUserManager)); in handlePreferenceTreeClick()
67 return Utils.getManagedProfile(mUserManager) != null; in isAvailable()
82 Utils.getManagedProfile(mUserManager).getIdentifier()); in onLocationModeChanged()
DLocationEnabler.java136 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in isManagedProfileRestrictedByBase()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelperTest.java78 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileAfterSuw()
94 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testInitiallyDone_ProfileDuringSuw()
142 when(mUtils.getManagedProfile(mContext)).thenReturn(UserHandle.of(MANAGED_PROFILE_USER_ID)); in testFinalized_ManagedProfile()
DFinalizationControllerTest.java158 when(mUtils.getManagedProfile(mContext)) in testManagedProfileAfterSuw()
182 when(mUtils.getManagedProfile(mContext)) in testManagedProfileDuringSuw()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java65 Utils.getManagedProfile(mUserManager).getIdentifier()); in testGetManagedProfile()
75 assertNull(Utils.getManagedProfile(mUserManager)); in testGetManagedProfile_notPresent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelper.java93 managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateInitiallyDone()
138 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateFinalized()
DFinalizationController.java143 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in setProfileOwnerCanAccessDeviceIds()
163 params.keepAccountMigrated, mUtils.getManagedProfile(mContext), in getPrimaryProfileFinalizationHelper()
DSendDpcBroadcastService.java46 UserHandle managedProfileUserHandle = utils.getManagedProfile(getApplicationContext()); in onStartCommand()
/packages/apps/Settings/src/com/android/settings/widget/
DWorkOnlyCategory.java37 return Utils.getManagedProfile(UserManager.get(context)) != null; in isAvailable()
DRadioButtonPickerFragment.java75 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DWorkOnlyCategory.java37 return Utils.getManagedProfile(UserManager.get(context)) != null; in isAvailable()
DRadioButtonPickerFragment.java75 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DWorkProfilePreferenceController.java46 mWorkProfileUser = Utils.getManagedProfile(UserManager.get(context)); in WorkProfilePreferenceController()
/packages/apps/Settings/src/com/android/settings/core/
DWorkProfilePreferenceController.java46 mWorkProfileUser = Utils.getManagedProfile(UserManager.get(context)); in WorkProfilePreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultWorkAutofillPreferenceController.java35 mUserHandle = Utils.getManagedProfile(mUserManager); in DefaultWorkAutofillPreferenceController()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultWorkAutofillPreferenceController.java35 mUserHandle = Utils.getManagedProfile(mUserManager); in DefaultWorkAutofillPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DManagedProfileSettings.java102 return Utils.getManagedProfile(mUserManager); in getManagedUserFromArgument()
/packages/apps/Settings/src/com/android/settings/accounts/
DManagedProfileSettings.java111 return Utils.getManagedProfile(mUserManager); in getManagedUserFromArgument()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java370 public UserHandle getManagedProfile(Context context) { in getManagedProfile() method in Utils
387 UserHandle managedUser = getManagedProfile(context); in alreadyHasManagedProfile()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningActivity.java190 userHandle = mUtils.getManagedProfile(getApplicationContext()); in showPolicyComplianceScreen()
/packages/apps/Settings/src/com/android/settings/
DUtils.java390 public static UserHandle getManagedProfile(UserManager userManager) { in getManagedProfile() method in Utils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java395 public static UserHandle getManagedProfile(UserManager userManager) { in getManagedProfile() method in Utils