/frameworks/base/core/java/android/app/admin/ |
D | DeviceStateCache.java | 37 final DevicePolicyManagerInternal dpmi = in getInstance() local 39 return (dpmi != null) ? dpmi.getDeviceStateCache() : EmptyDeviceStateCache.INSTANCE; in getInstance()
|
D | DevicePolicyCache.java | 42 final DevicePolicyManagerInternal dpmi = in getInstance() local 44 return (dpmi != null) ? dpmi.getDevicePolicyCache() : EmptyDevicePolicyCache.INSTANCE; in getInstance()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OneTimeSafetyChecker.java | 83 DevicePolicyManagerLiteInternal dpmi = LocalServices in getUnsafeOperationReason() local 87 dpmi.notifyUnsafeOperationStateChanged(this, reason, /* isSafe= */ false); in getUnsafeOperationReason() 90 dpmi.notifyUnsafeOperationStateChanged(this, reason, /* isSafe= */ true); in getUnsafeOperationReason()
|
D | PolicyEnforcerCallbacks.java | 155 final var dpmi = LocalServices.getService(DevicePolicyManagerInternal.class); 156 dpmi.enforceSecurityLoggingPolicy(Boolean.TRUE.equals(value)); 163 final var dpmi = LocalServices.getService(DevicePolicyManagerInternal.class); 164 dpmi.enforceAuditLoggingPolicy(Boolean.TRUE.equals(value));
|
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
D | CarDevicePolicySafetyChecker.java | 88 DevicePolicyManagerLiteInternal dpmi) { in CarDevicePolicySafetyChecker() argument 91 mDpmi = Objects.requireNonNull(dpmi, "DevicePolicyManagerLiteInternal cannot be null"); in CarDevicePolicySafetyChecker()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 1018 final var dpmi = LocalServices.getService(DevicePolicyManagerInternal.class); 1019 if (dpmi != null && dpmi.isUserOrganizationManaged(userId)) { 1428 DevicePolicyManagerInternal dpmi = 1431 (dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid))
|
D | InstallPackageHelper.java | 735 final var dpmi = mInjector.getLocalService(DevicePolicyManagerInternal.class); in installExistingPackageAsUser() local 737 dpmi != null && dpmi.isUserOrganizationManaged(userId); in installExistingPackageAsUser()
|
D | PackageInstallerSession.java | 962 DevicePolicyManagerInternal dpmi = in isInstallerDeviceOwnerOrAffiliatedProfileOwner() local 966 return dpmi != null && dpmi.canSilentlyInstallPackage( in isInstallerDeviceOwnerOrAffiliatedProfileOwner()
|
D | ComputerEngine.java | 2273 final var dpmi = mInjector.getLocalService(DevicePolicyManagerInternal.class); in isCallerFromManagedUserOrProfile() local 2274 return dpmi != null && dpmi.isUserOrganizationManaged(userId); in isCallerFromManagedUserOrProfile()
|
D | UserManagerService.java | 3427 final DevicePolicyManagerInternal dpmi = getDevicePolicyManagerInternal(); in getUserRestrictionSources() local 3428 if (dpmi != null) { in getUserRestrictionSources() 3429 result.addAll(dpmi.getUserRestrictionSources(restrictionKey, userId)); in getUserRestrictionSources()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 145 DevicePolicyManagerInternal dpmi = in print() local 150 disabledMessage = dpmi.getPrintingDisabledReasonForUser(callingUserId); in print()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 3861 final DevicePolicyManagerInternal dpmi = in showCantAddAccount() local 3864 if (dpmi == null) { in showCantAddAccount() 3867 intent = dpmi.createUserRestrictionSupportIntent(userId, in showCantAddAccount() 3870 intent = dpmi.createShowAdminSupportIntent(userId, false); in showCantAddAccount() 6069 final DevicePolicyManagerInternal dpmi = 6072 return (dpmi != null) && (dpmi.isActiveProfileOwner(uid) || dpmi.isActiveDeviceOwner(uid));
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1361 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in notifySeparateProfileChallengeChanged() local 1363 if (dpmi != null) { in notifySeparateProfileChallengeChanged() 1364 dpmi.reportSeparateProfileChallengeChanged(userId); in notifySeparateProfileChallengeChanged()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 3617 final DevicePolicyManagerInternal dpmi = in isSetWallpaperAllowed() local 3619 if (dpmi != null && dpmi.isDeviceOrProfileOwnerInCallingUser(callingPackage)) { in isSetWallpaperAllowed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 3355 final DevicePolicyManagerInternal dpmi = in verifySupervisionConfig() local 3367 assertThat(dpmi.isActiveSupervisionApp(uid)).isTrue(); in verifySupervisionConfig() 3372 assertThat(dpmi.isActiveSupervisionApp(uid)).isFalse(); in verifySupervisionConfig() 3386 final DevicePolicyManagerInternal dpmi = in testSetMaximumTimeToLockProfile() local 3404 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile() 3432 dpmi.reportSeparateProfileChallengeChanged(PROFILE_USER); in testSetMaximumTimeToLockProfile()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 285 @Nullable private final DevicePolicyManagerInternal dpmi = field in AppOpsService 2679 return dpmi != null && dpmi.supportsResetOp(op); in shouldDeferResetOpToDpm() 2686 dpmi.resetOp(op, packageName, userId); in deferResetOpToDpm()
|