Home
last modified time | relevance | path

Searched refs:isActiveAdminWithPolicy (Results 1 – 13 of 13) 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.java170 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
175 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java881 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyNetwork()
900 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy( in canModifyNetwork()
3339 final boolean isUidProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
3341 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
DWifiServiceImpl.java776 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
777 || dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isDeviceOrProfileOwner()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java219 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in setUp()
536 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCannotUpdateMacRandomizationSettingWithoutPermission()
591 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
856 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testUpdateIpConfiguration()
991 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testAddUpdateRemoveMultipleNetworks()
4637 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4640 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java618 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
882 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testSetWifiDisabledSuccessForPOAppsTargetingQSDK()
3832 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testAddOrUpdateNetworkIsAllowedForDOApp()
3853 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testAddOrUpdateNetworkIsAllowedForPOApp()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java941 && dpmInternal.isActiveAdminWithPolicy(callingUid, in hasObserverPermission()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5729 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11260 public boolean isActiveAdminWithPolicy(int uid, int reqPolicy) { in isActiveAdminWithPolicy() method in DevicePolicyManagerService.LocalService
11364 && isActiveAdminWithPolicy(callerUid, in canSilentlyInstallPackage()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3737 mDpm.isActiveAdminWithPolicy(Binder.getCallingUid(),
/frameworks/base/services/
Dart-profile6204 …/android/server/devicepolicy/DevicePolicyManagerService$LocalService;->isActiveAdminWithPolicy(II)Z
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt2574 Landroid/app/admin/DevicePolicyManagerInternal;->isActiveAdminWithPolicy(II)Z