Home
last modified time | relevance | path

Searched refs:USES_POLICY_DEVICE_OWNER (Results 1 – 9 of 9) 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.java2742 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminOrCheckPermissionForCallerLocked()
2857 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in isActiveAdminWithPolicyForUserLocked()
5540 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in enforceDeviceOwner()
5782 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in enforceCallerCanRequestDeviceIdAttestation()
6083 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setDelegatedScopes()
7326 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in setForceEphemeralUsers()
7352 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in getForceEphemeralUsers()
7360 getActiveAdminForCallerLocked(who, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in ensureDeviceOwnerAndAllUsersAffiliated()
7773 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in setKeepUninstalledPackages()
7801 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER, in getKeepUninstalledPackages()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java882 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
901 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
3342 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
DWifiServiceImpl.java776 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java619 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
3833 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testAddOrUpdateNetworkIsAllowedForDOApp()
DWifiConfigManagerTest.java4641 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt2422 Landroid/app/admin/DeviceAdminInfo;->USES_POLICY_DEVICE_OWNER:I