Searched refs:dpmi (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyCache.java | 36 final DevicePolicyManagerInternal dpmi = in getInstance() local 38 return (dpmi != null) ? dpmi.getDevicePolicyCache() : EmptyDevicePolicyCache.INSTANCE; in getInstance()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 107 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in checkAccessLevel() local 114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel() 129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 878 final DevicePolicyManagerInternal dpmi = in canModifyNetwork() local 881 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyNetwork() 894 && dpmi == null) { in canModifyNetwork() 900 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy( in canModifyNetwork() 3337 final DevicePolicyManagerInternal dpmi = in canModifyProxySettings() local 3339 final boolean isUidProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings() 3341 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
|
D | WifiServiceImpl.java | 773 final DevicePolicyManagerInternal dpmi = in isDeviceOrProfileOwner() local 775 if (dpmi == null) return false; in isDeviceOrProfileOwner() 776 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner() 777 || dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isDeviceOrProfileOwner()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 829 DevicePolicyManagerInternal dpmi = in uninstall() local 832 dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid); in uninstall()
|
D | PackageInstallerSession.java | 363 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() local 365 return dpmi != null && dpmi.canSilentlyInstallPackage(mInstallerPackageName, mInstallerUid); in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1021 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() local 1023 if (dpmi != null) { in notifySeparateProfileChallengeChanged() 1024 dpmi.reportSeparateProfileChallengeChanged(userId); in notifySeparateProfileChallengeChanged() 2453 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in shouldCacheSpForUser() local 2455 if (dpmi == null) { in shouldCacheSpForUser() 2458 return dpmi.canUserHaveUntrustedCredentialReset(userId); in shouldCacheSpForUser()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 143 DevicePolicyManagerInternal dpmi = in print() local 148 disabledMessage = dpmi.getPrintingDisabledReasonForUser(callingUserId); in print()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 3627 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() local 3630 if (dpmi == null) { in showCantAddAccount() 3633 intent = dpmi.createUserRestrictionSupportIntent(userId, in showCantAddAccount() 3636 intent = dpmi.createShowAdminSupportIntent(userId, false); in showCantAddAccount() 5726 final DevicePolicyManagerInternal dpmi = 5728 return (dpmi != null) 5729 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2616 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() local 2634 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile() 2662 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile()
|