Home
last modified time | relevance | path

Searched refs:isActiveAdminWithPolicy (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java114 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/
DDevicePolicyManagerInternal.java81 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() method in DevicePolicyManagerInternal
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java169 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/
DWifiConfigManager.java707 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/
DWifiConfigManagerTest.java182 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/
DPackageInstallerService.java726 dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in uninstall()
DPackageInstallerSession.java337 return dpmi != null && dpmi.isActiveAdminWithPolicy(mInstallerUid, in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java693 && dpmInternal.isActiveAdminWithPolicy(callingUid, in hasObserverPermission()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5703 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10343 public boolean isActiveAdminWithPolicy(int uid, int reqPolicy) { in isActiveAdminWithPolicy() method in DevicePolicyManagerService.LocalService
/frameworks/base/config/
Dboot-image-profile.txt15534 HSPLandroid/app/admin/DevicePolicyManagerInternal;->isActiveAdminWithPolicy(II)Z