Home
last modified time | relevance | path

Searched refs:privateSpaceUserContext (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceMaintainerTest.java446 Context privateSpaceUserContext = mContext.createContextAsUser( in createPrivateSpace_psDoesNotExist_setsPrivateSpaceSettingsComponentDisabled() local
451 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()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceMaintainer.java373 Context privateSpaceUserContext = mContext.createContextAsUser(mUserHandle, /* flags */ 0); in disableComponentsToHidePrivateSpaceSettings() local
374 PackageManager packageManager = privateSpaceUserContext.getPackageManager(); in disableComponentsToHidePrivateSpaceSettings()
377 Utils.disableComponentsToHideSettings(privateSpaceUserContext, packageManager); in disableComponentsToHidePrivateSpaceSettings()