Searched refs:dpmi (Results 1 – 9 of 9) 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 | 704 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in canModifyNetwork() local 707 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyNetwork() 720 && dpmi == null) { in canModifyNetwork() 726 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy( in canModifyNetwork() 2951 final DevicePolicyManagerInternal dpmi = in canModifyProxySettings() local 2953 final boolean isUidProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings() 2955 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid, in canModifyProxySettings()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 723 DevicePolicyManagerInternal dpmi = in uninstall() local 726 dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in uninstall() 728 && dpmi.isUserAffiliatedWithDevice(callingUserId); in uninstall()
|
D | PackageInstallerSession.java | 335 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() local 337 return dpmi != null && dpmi.isActiveAdminWithPolicy(mInstallerUid, in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked() 338 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) && dpmi.isUserAffiliatedWithDevice( in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 968 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() local 970 if (dpmi != null) { in notifySeparateProfileChallengeChanged() 971 dpmi.reportSeparateProfileChallengeChanged(userId); in notifySeparateProfileChallengeChanged() 2233 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in shouldCacheSpForUser() local 2235 if (dpmi == null) { in shouldCacheSpForUser() 2238 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 | 3601 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() local 3604 if (dpmi == null) { in showCantAddAccount() 3607 intent = dpmi.createUserRestrictionSupportIntent(userId, in showCantAddAccount() 3610 intent = dpmi.createShowAdminSupportIntent(userId, false); in showCantAddAccount() 5700 final DevicePolicyManagerInternal dpmi = 5702 return (dpmi != null) 5703 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2590 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() local 2608 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile() 2636 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile()
|