Searched refs:USES_POLICY_DEVICE_OWNER (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in checkAccessLevel()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 170 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 63 public static final int USES_POLICY_DEVICE_OWNER = -2; field in DeviceAdminInfo
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2734 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/ |
D | WifiConfigManager.java | 796 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()
|
D | WifiServiceImpl.java | 778 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 3677 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testAddOrUpdateNetworkIsAllowedForDOApp()
|
D | WifiConfigManagerTest.java | 4546 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
|