Home
last modified time | relevance | path

Searched refs:USES_POLICY_DEVICE_OWNER (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in checkAccessLevel()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsAccessTest.java156 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2280 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminForCallerLocked()
2357 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in isActiveAdminWithPolicyForUserLocked()
5722 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setRecommendedGlobalProxy()
6064 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setForceEphemeralUsers()
6090 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in getForceEphemeralUsers()
6097 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in ensureDeviceOwnerAndAllUsersAffiliated()
6449 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in setKeepUninstalledPackages()
6470 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in getKeepUninstalledPackages()
6840 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setDeviceOwnerLockScreenInfo()
7262 if (getActiveAdminWithPolicyForUidLocked(null, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in enforceDeviceOwnerOrManageUsers()
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java61 public static final int USES_POLICY_DEVICE_OWNER = -2; field in DeviceAdminInfo
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java671 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
696 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
2817 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java3262 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()