/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | NearbyAppStreamingPolicyTest.java | 70 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in getNearbyAppStreamingPolicy_defaultToSameManagedAccountOnly() local 83 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in getNearbyAppStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 90 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyAppStreamingPolicy_policyApplied_works() local 106 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyAppStreamingPolicy_policyApplied_otherUsersUnaffected() local 122 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyAppStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 132 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyAppStreamingPolicy_setEnabled_doesNotApply() local 151 DevicePolicyManager dpm; in getNearbyAppStreamingPolicy_calledAcrossUsers_throwsException() local
|
D | NearbyNotificationStreamingPolicyTest.java | 88 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyApplied_works() local 104 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyApplied_otherUsersUnaffected() local 120 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyNotificationStreamingPolicy_policyIsNotAllowedToBeSet_throwsException() local 131 RemoteDevicePolicyManager dpm = sDeviceState.dpc().devicePolicyManager(); in setNearbyNotificationStreamingPolicy_setEnabled_doesNotApply() local 153 DevicePolicyManager dpm = TestApis.context() in getNearbyNotificationStreamingPolicy_calledAcrossUsers_throwsException() local
|
D | ManagedProfileContactsAccessTest.java | 209 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_blocklistPackages_hasProperAccess() local 230 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_allowlistPackages_hasProperAccess() local 253 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileContactsAccess_allowlistAndSystemPackages_hasProperAccess() local
|
D | ManagedProfileCallerIdAccessTest.java | 209 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_blocklistPackages_hasProperAccess() local 230 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_allowlistPackages_hasProperAccess() local 253 DevicePolicyManager dpm = ctx.getSystemService(DevicePolicyManager.class); in hasManagedProfileCallerIdAccess_allowlistAndSystemPackages_hasProperAccess() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
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
|
D | LockProfileReceiver.java | 37 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
|
D | WipeDataReceiver.java | 41 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
|
/cts/tests/security/src/android/keystore/cts/ |
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()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
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()
|
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/ |
D | ClearDeviceOwnerTest.java | 81 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in removeDeviceOwner() local 115 private static void waitUntilActiveAdminIsRemoved(DevicePolicyManager dpm, ComponentName cn) { in waitUntilActiveAdminIsRemoved()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
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
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
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
|
D | PasswordQualityAndComplexityTest.java | 67 private static void clearQualityAndComplexity(DevicePolicyManager dpm) { in clearQualityAndComplexity()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | ManagementTest.java | 26 DevicePolicyManager dpm = (DevicePolicyManager) in testProvisionManagedProfileNotAllowed() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/ |
D | WorkProfileActivity.java | 32 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | ClearDeviceAdminWithNoProtectionTest.java | 32 final DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class); in testRemoveActiveAdmin() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | EmptyDeviceAdminReceiver.java | 29 DevicePolicyManager dpm = in onEnabled() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ManagedUserPositiveTestActivity.java | 67 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local 106 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in finish() local
|
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 798 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in canUsbDataSignalingBeDisabled() local
|
D | CrossProfileTestActivity.java | 72 … DevicePolicyManager dpm = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in isProfileOwner() local
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | SimpleIntentReceiverActivity.java | 40 DevicePolicyManager dpm = in onCreate() local
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | DelegateTestUtils.java | 81 DevicePolicyManager dpm = BaseTestCase.getDpm(context); in onNetworkLogsAvailable() local 107 DevicePolicyManager dpm = BaseTestCase.getDpm(context); in onSecurityLogsAvailable() local
|
D | BaseTestCase.java | 52 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(context, in getDpm() local
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 36 DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class); in setUserRestriction() local
|
D | AffiliationTest.java | 42 DevicePolicyManager dpm = (DevicePolicyManager) in setAffiliationId() local
|