Home
last modified time | relevance | path

Searched refs:devicePolicyManager (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserFilterSetterActivity.java25 DevicePolicyManager devicePolicyManager = (DevicePolicyManager) in onCreate() local
29 devicePolicyManager.addCrossProfileIntentFilter(ADMIN_RECEIVER_COMPONENT, in onCreate()
34 devicePolicyManager.addCrossProfileIntentFilter(ADMIN_RECEIVER_COMPONENT, in onCreate()
39 devicePolicyManager.addCrossProfileIntentFilter(ADMIN_RECEIVER_COMPONENT, in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java120 DevicePolicyManager devicePolicyManager, ComponentName componentName) throws Exception { in assertSkipSetupWizard() argument
307 private static void logoutUser(Context context, DevicePolicyManager devicePolicyManager, in logoutUser() argument
310 devicePolicyManager.logoutUser(componentName)); in logoutUser()
332 DevicePolicyManager devicePolicyManager, ComponentName componentName) { in assertAffiliatedUser() argument
333 assertTrue("not affiliated user", devicePolicyManager.isAffiliatedUser()); in assertAffiliatedUser()
343 DevicePolicyManager devicePolicyManager, ComponentName componentName) { in assertEphemeralUser() argument
344 assertTrue("not ephemeral user", devicePolicyManager.isEphemeralUser(componentName)); in assertEphemeralUser()
354 DevicePolicyManager devicePolicyManager, ComponentName componentName) { in assertAllSystemAppsInstalled() argument
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminActivationTest.java198 DevicePolicyManager devicePolicyManager = in assertDeviceAdminDeactivated() local
201 assertFalse(devicePolicyManager.isAdminActive( in assertDeviceAdminDeactivated()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java219 DevicePolicyManager devicePolicyManager = context.getSystemService( in bindPrimaryUserService() local
221 UserHandle primaryUser = devicePolicyManager.getBindDeviceAdminTargetUsers( in bindPrimaryUserService()
238 devicePolicyManager.bindDeviceAdminServiceAsUser(getReceiverComponentName(), serviceIntent, in bindPrimaryUserService()