Home
last modified time | relevance | path

Searched defs:dpm (Results 1 – 25 of 43) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileUtils.java66 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
DLockProfileReceiver.java37 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
DWipeDataReceiver.java41 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
/cts/tests/security/src/android/keystore/cts/
DKeyGenerationUtils.java46 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/
DDevicePolicySafetyCheckerIntegrationTester.java82 public final void testAllOperations(DevicePolicyManager dpm, ComponentName admin) { in testAllOperations()
111 public void testIsSafeOperation(DevicePolicyManager dpm) { in testIsSafeOperation()
124 private void assertOperationSafety(DevicePolicyManager dpm, int reason, boolean isSafe) { in assertOperationSafety()
132 public void testUnsafeStateException(DevicePolicyManager dpm, ComponentName admin) { in testUnsafeStateException()
158 public void testOnOperationSafetyStateChanged(Context context, DevicePolicyManager dpm) { in testOnOperationSafetyStateChanged()
223 protected void runOperation(DevicePolicyManager dpm, ComponentName admin, int operation, in runOperation()
237 private void safeOperationTest(DevicePolicyManager dpm, ComponentName admin, in safeOperationTest()
261 private void runCommonOrSpecificOperation(DevicePolicyManager dpm, ComponentName admin, in runCommonOrSpecificOperation()
311 private void setOperationUnsafe(DevicePolicyManager dpm, int operation, int reason) { in setOperationUnsafe()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUtils.java33 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in removeActiveAdmin() local
41 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in assertNotActiveAdmin() local
DPasswordQualityAndComplexityTest.java67 private static void clearQualityAndComplexity(DevicePolicyManager dpm) { in clearQualityAndComplexity()
DPasswordMinimumRestrictionsTest.java186 private void invokeSetMethod(String methodName, DevicePolicyManager dpm, in invokeSetMethod()
196 private int invokeGetMethod(String methodName, DevicePolicyManager dpm, in invokeGetMethod()
/cts/hostsidetests/devicepolicy/app/SeparateProfileChallenge/src/com/android/cts/separateprofilechallenge/
DSeparateProfileChallengePermissionsTest.java31 DevicePolicyManager dpm = (DevicePolicyManager) in testSeparateProfileChallengePermissions() local
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DManagementTest.java26 DevicePolicyManager dpm = (DevicePolicyManager) in testProvisionManagedProfileNotAllowed() local
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DClearDeviceAdminWithNoProtectionTest.java32 final DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class); in testRemoveActiveAdmin() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DEmptyDeviceAdminReceiver.java29 DevicePolicyManager dpm = in onEnabled() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DManagedUserPositiveTestActivity.java60 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local
99 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in finish() local
DDeviceOwnerPositiveTestActivity.java102 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate() local
120 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local
132 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in onCreate() local
745 DevicePolicyManager dpm = getSystemService(DevicePolicyManager.class); in canUsbDataSignalingBeDisabled() local
DCrossProfileTestActivity.java72 … DevicePolicyManager dpm = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in isProfileOwner() local
DDeviceAdminTestReceiver.java138 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onEnabled() local
156 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onEnabled() local
165 …DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SER… in setupProfile() local
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DSimpleIntentReceiverActivity.java40 DevicePolicyManager dpm = in onCreate() local
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DDelegateTestUtils.java81 DevicePolicyManager dpm = BaseTestCase.getDpm(context); in onNetworkLogsAvailable() local
107 DevicePolicyManager dpm = BaseTestCase.getDpm(context); in onSecurityLogsAvailable() local
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
DUserRestrictionTest.java36 DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class); in setUserRestriction() local
DAffiliationTest.java42 DevicePolicyManager dpm = (DevicePolicyManager) in setAffiliationId() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDefaultSmsApplicationTest.java34 DevicePolicyManager dpm = mContext.getSystemService(DevicePolicyManager.class); in testSetDefaultSmsApplication() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java43 DevicePolicyManager getWrapper(Context context, DevicePolicyManager dpm, Answer<?> answer) { in getWrapper()
/cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/
DDeviceOwnerChangedReceiver.java37 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
DProfileOwnerChangedReceiver.java42 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in onReceive() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/enterprise/
DDeviceAdminReceiverUtils.java61 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in disableSelf() local

12