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 | 792 final DevicePolicyManagerInternal dpmi = in canModifyNetwork() local 795 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyNetwork() 808 && dpmi == null) { in canModifyNetwork() 814 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy( in canModifyNetwork() 3256 final DevicePolicyManagerInternal dpmi = in canModifyProxySettings() local 3258 final boolean isUidProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings() 3260 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
|
D | WifiServiceImpl.java | 775 final DevicePolicyManagerInternal dpmi = in isDeviceOrProfileOwner() local 777 if (dpmi == null) return false; in isDeviceOrProfileOwner() 778 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner() 779 || dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isDeviceOrProfileOwner()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 817 DevicePolicyManagerInternal dpmi = in uninstall() local 820 dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid); in uninstall()
|
D | PackageInstallerSession.java | 368 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() local 370 return dpmi != null && dpmi.canSilentlyInstallPackage(mInstallerPackageName, mInstallerUid); in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 997 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() local 999 if (dpmi != null) { in notifySeparateProfileChallengeChanged() 1000 dpmi.reportSeparateProfileChallengeChanged(userId); in notifySeparateProfileChallengeChanged() 2385 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in shouldCacheSpForUser() local 2387 if (dpmi == null) { in shouldCacheSpForUser() 2390 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 | 3600 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() local 3603 if (dpmi == null) { in showCantAddAccount() 3606 intent = dpmi.createUserRestrictionSupportIntent(userId, in showCantAddAccount() 3609 intent = dpmi.createShowAdminSupportIntent(userId, false); in showCantAddAccount() 5702 final DevicePolicyManagerInternal dpmi = 5704 return (dpmi != null) 5705 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2589 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() local 2607 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile() 2635 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile()
|