Searched refs:isActiveAdminWithPolicy (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel() 129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 81 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() method in DevicePolicyManagerInternal
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 169 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner() 174 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 707 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyNetwork() 726 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy( in canModifyNetwork() 2953 final boolean isUidProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings() 2955 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 182 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in setUp() 453 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testUpdateIpConfiguration() 588 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testAddUpdateRemoveMultipleNetworks() 3580 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() 3583 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 726 dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in uninstall()
|
D | PackageInstallerSession.java | 337 return dpmi != null && dpmi.isActiveAdminWithPolicy(mInstallerUid, in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 693 && dpmInternal.isActiveAdminWithPolicy(callingUid, in hasObserverPermission()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5703 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 10343 public boolean isActiveAdminWithPolicy(int uid, int reqPolicy) { in isActiveAdminWithPolicy() method in DevicePolicyManagerService.LocalService
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15534 HSPLandroid/app/admin/DevicePolicyManagerInternal;->isActiveAdminWithPolicy(II)Z
|