Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in checkAccessLevel()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java170 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java63 public static final int USES_POLICY_DEVICE_OWNER = -2; field in DeviceAdminInfo
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2734 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminOrCheckPermissionForCallerLocked()
2849 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in isActiveAdminWithPolicyForUserLocked()
5532 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in enforceDeviceOwner()
5766 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in enforceCallerCanRequestDeviceIdAttestation()
6067 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setDelegatedScopes()
7310 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setForceEphemeralUsers()
7336 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in getForceEphemeralUsers()
7344 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in ensureDeviceOwnerAndAllUsersAffiliated()
7757 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in setKeepUninstalledPackages()
7785 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in getKeepUninstalledPackages()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java796 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
815 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
3261 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
DWifiServiceImpl.java778 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java3677 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testAddOrUpdateNetworkIsAllowedForDOApp()
DWifiConfigManagerTest.java4546 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()