Searched refs:privateSpaceUserContext (Results 1 – 2 of 2) sorted by relevance
446 Context privateSpaceUserContext = mContext.createContextAsUser( in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled() local451 ComponentName settingsComponentName = new ComponentName(privateSpaceUserContext, in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled()453 int settingsComponentEnabledSetting = privateSpaceUserContext.getPackageManager() in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled()459 ComponentName shortcutPickerComponentName = new ComponentName(privateSpaceUserContext, in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled()461 int settingsShortcutPickerEnabledSetting = privateSpaceUserContext.getPackageManager() in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled()
373 Context privateSpaceUserContext = mContext.createContextAsUser(mUserHandle, /* flags */ 0); in disableComponentsToHidePrivateSpaceSettings() local374 PackageManager packageManager = privateSpaceUserContext.getPackageManager(); in disableComponentsToHidePrivateSpaceSettings()377 Utils.disableComponentsToHideSettings(privateSpaceUserContext, packageManager); in disableComponentsToHidePrivateSpaceSettings()