Home
last modified time | relevance | path

Searched refs:getProfileOrDeviceOwner (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java218 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfUninstallBlocked()
237 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfApplicationIsSuspended()
251 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfInputMethodDisallowed()
262 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed()
311 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfAccessibilityServiceDisallowed()
318 EnforcedAdmin profileAdmin = getProfileOrDeviceOwner(context, in checkIfAccessibilityServiceDisallowed()
378 return getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfAccountManagementDisabled()
394 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfUsbDataSignalingIsDisabled()
397 admin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfUsbDataSignalingIsDisabled()
412 final EnforcedAdmin enforcedAdmin = getProfileOrDeviceOwner(context, in checkIfMeteredDataRestricted()
DRestrictedLockUtils.java37 public static EnforcedAdmin getProfileOrDeviceOwner( in getProfileOrDeviceOwner() method in RestrictedLockUtils
39 return getProfileOrDeviceOwner(context, null, user); in getProfileOrDeviceOwner()
42 public static RestrictedLockUtils.EnforcedAdmin getProfileOrDeviceOwner( in getProfileOrDeviceOwner() method in RestrictedLockUtils
/packages/apps/Settings/src/com/android/settings/wifi/
DLongPressWifiEntryPreference.java78 admin = RestrictedLockUtils.getProfileOrDeviceOwner(context, context.getUser()); in checkRestrictionAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/security/
DContentProtectionWorkSwitchController.java111 return RestrictedLockUtils.getProfileOrDeviceOwner(mContext, userHandle); in getEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java95 final EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner( in disableIfConfiguredByAdmin()
DAppManagementFragment.java264 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner( in updateRestrictedViews()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DKnownNetworkState.java136 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(getActivity(), in onGuidedActionClicked()
/packages/apps/Settings/src/com/android/settings/
DMonitoringCertInfoActivity.java68 final int titleId = RestrictedLockUtils.getProfileOrDeviceOwner(this, user) != null in onCreate()
DTrustedCredentialsDialogBuilder.java231 final boolean isProfileOrDeviceOwner = RestrictedLockUtils.getProfileOrDeviceOwner( in updatePositiveButton()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEditProxySettingsActivity.java112 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate()
DEditIpSettingsActivity.java111 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(this, in onCreate()
DWifiDetailsFragment.java227 EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner(getContext(), in update()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DPrivacyControlsViewModel.kt153 val admin = RestrictedLockUtils.getProfileOrDeviceOwner(app, Process.myUserHandle()) in getSensorToggleState()
DSafetyCenterQsViewModel.kt241 RestrictedLockUtils.getProfileOrDeviceOwner(app, Process.myUserHandle()) in getEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java206 .setAdmin(RestrictedLockUtils.getProfileOrDeviceOwner( in logEvent()
445 mSwitchPref.setDisabledByAdmin(RestrictedLockUtils.getProfileOrDeviceOwner( in refreshUiForNonConfigurableApps()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewPermissionsViewModel.kt293 return RestrictedLockUtils.getProfileOrDeviceOwner(context, mGroup.userHandle) in <lambda>()
DAppPermissionViewModel.kt486 val admin = RestrictedLockUtils.getProfileOrDeviceOwner(app, user) in <lambda>()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiDetailsState.java292 RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtils.getProfileOrDeviceOwner( in updateRestrictedPreference()