Searched refs:devicePolicyManager (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PrimaryUserFilterSetterActivity.java | 25 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/ |
D | CreateAndManageUserTest.java | 120 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/ |
D | DeviceAdminActivationTest.java | 198 DevicePolicyManager devicePolicyManager = in assertDeviceAdminDeactivated() local 201 assertFalse(devicePolicyManager.isAdminActive( in assertDeviceAdminDeactivated()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 218 DevicePolicyManager devicePolicyManager = context.getSystemService( in bindPrimaryUserService() local 220 UserHandle primaryUser = devicePolicyManager.getBindDeviceAdminTargetUsers( in bindPrimaryUserService() 237 devicePolicyManager.bindDeviceAdminServiceAsUser(getReceiverComponentName(), serviceIntent, in bindPrimaryUserService()
|