/aosp_15_r20/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RestrictedLockUtilsInternal.java | 82 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfRestrictionEnforced() local 152 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfKeyguardFeaturesDisabled() local 183 @NonNull DevicePolicyManager dpm, @UserIdInt int userId, in findEnforcedAdmin() 247 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfInputMethodDisallowed() local 289 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfRemoteContactSearchDisallowed() local 307 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfAccessibilityServiceDisallowed() local 362 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfAccountManagementDisabled() local 390 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfUsbDataSignalingIsDisabled() local 418 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfMeteredDataRestricted() local 438 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfPasswordQualityIsSet() local [all …]
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsInternal.java | 174 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRestrictionEnforced() local 255 DevicePolicyManager dpm = in checkIfKeyguardFeaturesDisabled() local 288 @NonNull DevicePolicyManager dpm, @UserIdInt int userId, in findEnforcedAdmin() 352 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfInputMethodDisallowed() local 396 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRemoteContactSearchDisallowed() local 415 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccessibilityServiceDisallowed() local 479 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccountManagementDisabled() local 508 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfUsbDataSignalingIsDisabled() local 547 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfMeteredDataUsageUserControlDisabled() local 568 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfPasswordQualityIsSet() local [all …]
|
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
H A D | NearbyAppStreamingPolicyTest.java | 72 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in getNearbyAppStreamingPolicy_defaultToSameManagedAccountOnly() local 85 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in getNearbyAppStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 92 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyAppStreamingPolicy_policyApplied_works() local 108 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyAppStreamingPolicy_policyApplied_otherUsersUnaffected() local 124 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyAppStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 134 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyAppStreamingPolicy_setEnabled_doesNotApply() local 153 DevicePolicyManager dpm; in getNearbyAppStreamingPolicy_calledAcrossUsers_throwsException() local
|
H A D | NearbyNotificationStreamingPolicyTest.java | 90 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyApplied_works() local 106 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected() local 122 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 133 RemoteDevicePolicyManager dpm = dpc(sDeviceState).devicePolicyManager(); in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply() local 155 DevicePolicyManager dpm = TestApis.context() in getNearbyNotificationStreamingPolicy_calledAcrossUsers_throwsException() local
|
H A D | ManagedProfileContactsAccessTest.java | 212 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_blocklistPackages_hasProperAccess() local 233 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_allowlistPackages_hasProperAccess() local 256 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_allowlistAndSystemPackages_hasProperAccess() local
|
H A D | ManagedProfileCallerIdAccessTest.java | 212 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_blocklistPackages_hasProperAccess() local 233 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_allowlistPackages_hasProperAccess() local 256 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_allowlistAndSystemPackages_hasProperAccess() local
|
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
H A D | CrossProfileUtils.java | 66 final DevicePolicyManager dpm = (DevicePolicyManager) getContext().getSystemService( in testAddParentCanAccessManagedFilters() local 75 final DevicePolicyManager dpm = (DevicePolicyManager) getContext().getSystemService( in testAddManagedCanAccessParentFilters() local 93 final DevicePolicyManager dpm = (DevicePolicyManager) getContext().getSystemService( in testRemoveAllFilters() local 99 DevicePolicyManager dpm = (DevicePolicyManager) in testDisallowCrossProfileCopyPaste() local 106 DevicePolicyManager dpm = (DevicePolicyManager) in testAllowCrossProfileCopyPaste() local 115 DevicePolicyManager dpm = (DevicePolicyManager) in testDisableAllBrowsers() local 127 final DevicePolicyManager dpm = (DevicePolicyManager) getContext().getSystemService( in testSetCrossProfilePackages() local
|
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
H A D | DevicePolicySafetyCheckerIntegrationTester.java | 88 public final void testAllOperations(DevicePolicyManager dpm, ComponentName admin) { in testAllOperations() 117 public void testUnsafeStateException(DevicePolicyManager dpm, ComponentName admin) { in testUnsafeStateException() 144 public void testOnOperationSafetyStateChanged(Context context, DevicePolicyManager dpm) { in testOnOperationSafetyStateChanged() 211 protected void runOperation(DevicePolicyManager dpm, ComponentName admin, int operation, in runOperation() 225 private void safeOperationTest(DevicePolicyManager dpm, ComponentName admin, in safeOperationTest() 249 private void runCommonOrSpecificOperation(DevicePolicyManager dpm, ComponentName admin, in runCommonOrSpecificOperation() 299 private void setOperationUnsafe(DevicePolicyManager dpm, int operation, int reason) { in setOperationUnsafe()
|
/aosp_15_r20/cts/tests/security/src/android/keystore/cts/ |
H A D | KeyGenerationUtils.java | 46 private static AttestedKeyPair generateRsaKeyPair(DevicePolicyManager dpm, ComponentName admin, in generateRsaKeyPair() 53 private static void generateKeyWithIdFlagsExpectingSuccess(DevicePolicyManager dpm, in generateKeyWithIdFlagsExpectingSuccess() 64 public static void generateRsaKey(DevicePolicyManager dpm, ComponentName admin, String alias) { in generateRsaKey() 68 public static void generateKeyWithDeviceIdAttestationExpectingSuccess(DevicePolicyManager dpm, in generateKeyWithDeviceIdAttestationExpectingSuccess() 73 public static void generateKeyWithDeviceIdAttestationExpectingFailure(DevicePolicyManager dpm, in generateKeyWithDeviceIdAttestationExpectingFailure()
|
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
H A D | PolicyEngineUtils.java | 54 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getBooleanPolicyState() local 73 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getStringSetPolicyState() local 92 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getLockTaskPolicyState() local 106 DevicePolicyManager dpm = TestApis.context().instrumentedContext().getSystemService( in getComponentNamePolicyState() local
|
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
H A D | DeviceOwnerPositiveTestActivity.java | 116 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate() local 135 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local 147 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local 801 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in canUsbDataSignalingBeDisabled() local
|
H A D | DeviceAdminTestReceiver.java | 157 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onEnabled() local 175 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onEnabled() local 184 …DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SER… in setupProfile() local
|
/aosp_15_r20/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/ |
D | AdminRestrictedPermissionsUtils.java | 67 DevicePolicyManager dpm = userContext.getSystemService(DevicePolicyManager.class); in mayAdminGrantPermission() local 84 DevicePolicyManager dpm) { in mayAdminGrantPermission() 103 private static boolean mayManagedProfileAdminGrantReadSms(DevicePolicyManager dpm) { in mayManagedProfileAdminGrantReadSms()
|
/aosp_15_r20/frameworks/base/core/java/android/hardware/biometrics/ |
H A D | ParentalControlsUtilsInternal.java | 59 @NonNull DevicePolicyManager dpm, @BiometricAuthenticator.Modality int modality, in parentConsentRequired() 71 public static boolean parentConsentRequired(@NonNull DevicePolicyManager dpm, in parentConsentRequired() 101 public static ComponentName getSupervisionComponentName(@NonNull DevicePolicyManager dpm, in getSupervisionComponentName()
|
/aosp_15_r20/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/ |
H A D | WorkProfileTelephonyTest.java | 172 RemoteDevicePolicyManager dpm = profileOwner(sDeviceState, WORK_PROFILE) in sendTextMessage_fromWorkProfile_allManagedSubscriptions_smsSentSuccessfully() local 212 RemoteDevicePolicyManager dpm = profileOwner(sDeviceState, WORK_PROFILE) in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed() local 274 RemoteDevicePolicyManager dpm = in allManagedSubscriptions_accessWorkMessageFromPersonalProfile_fails() local 320 RemoteDevicePolicyManager dpm = in allManagedSubscriptions_accessWorkMessageFromWorkProfile_works() local
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 99 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in getUpdatableManagedUserDrawable() local 202 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in setBadgeIfManagedUser() local 218 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in setBadgeIfManagedDevice() local 238 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in getUpdatableManagementBadge() local
|
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
H A D | SecurityLoggingTest.java | 728 DevicePolicyManager dpm = getDpmToGenerateEvents(); in generatePasswordComplexityEvents() local 741 DevicePolicyManager dpm = getDpmToGenerateEvents(); in generateNewStylePasswordComplexityEvents() local 797 DevicePolicyManager dpm = mContext.getSystemService(DevicePolicyManager.class); in generateLockingPolicyEvents() local 892 DevicePolicyManager dpm = getDpmToGenerateEvents(); in generateUserRestrictionEvents() local 914 DevicePolicyManager dpm = getDpmToGenerateEvents(); in generateCameraPolicyEvents() local
|
H A D | PermissionsTest.java | 359 private boolean setPermissionGrantState(DevicePolicyManager dpm, String permission, in setPermissionGrantState() 374 private void assertPermissionGrantState(DevicePolicyManager dpm, String permission, in assertPermissionGrantState() 379 private void assertPermissionGrantState(DevicePolicyManager dpm, String packageName, in assertPermissionGrantState()
|
H A D | Utils.java | 33 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in removeActiveAdmin() local 41 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in assertNotActiveAdmin() local
|
/aosp_15_r20/external/coreboot/src/soc/mediatek/common/ |
H A D | dpm.c | 23 struct dpm_regs *dpm = mcu->priv; in dpm_reset() local 36 struct mtk_mcu *dpm; in dpm_init() local
|
/aosp_15_r20/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/ |
H A D | ClearDeviceOwnerTest.java | 81 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in removeDeviceOwner() local 115 private static void waitUntilActiveAdminIsRemoved(DevicePolicyManager dpm, ComponentName cn) { in waitUntilActiveAdminIsRemoved()
|
/aosp_15_r20/packages/services/Car/car-builtin-lib/src/android/car/builtin/devicepolicy/ |
D | DevicePolicyManagerHelper.java | 37 public static void addUserRestriction( in addUserRestriction() 48 public static void clearUserRestriction( in clearUserRestriction()
|
/aosp_15_r20/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/applications/ |
D | ApplicationsUtilsTest.java | 86 DevicePolicyManager dpm = mock(DevicePolicyManager.class); in isProfileOrDeviceOwner_profileOwner_returnsTrue() local 99 DevicePolicyManager dpm = mock(DevicePolicyManager.class); in isProfileOrDeviceOwner_deviceOwner_returnsTrue() local
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | ParentalControlsUtils.java | 60 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in parentConsentRequired() local 70 static RestrictedLockUtils.EnforcedAdmin parentConsentRequiredInternal( in parentConsentRequiredInternal()
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
H A D | ActionDisabledByAdminControllerFactory.java | 79 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in doesBiometricRequireParentalConsent() local 85 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in isFinancedDevice() local
|