HomeSort by relevance Sort by last modified time
    Searched defs:ADMIN_RECEIVER_COMPONENT (Results 1 - 7 of 7) sorted by null

  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PrimaryUserDeviceAdmin.java 26 public static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
BaseManagedProfileTest.java 36 public static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
51 mDevicePolicyManager.getParentProfileInstance(ADMIN_RECEIVER_COMPONENT);
54 assertTrue(mDevicePolicyManager.isAdminActive(ADMIN_RECEIVER_COMPONENT));
56 ADMIN_RECEIVER_COMPONENT.getPackageName()));
57 assertTrue(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT));
ProvisioningTest.java 62 private static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
71 getManager(context).setProfileName(ADMIN_RECEIVER_COMPONENT, "Managed Profile");
72 getManager(context).setProfileEnabled(ADMIN_RECEIVER_COMPONENT);
90 assertTrue(mDpm.isManagedProfile(ADMIN_RECEIVER_COMPONENT));
91 Log.i(TAG, "managed profile app: " + ADMIN_RECEIVER_COMPONENT.getPackageName());
138 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, ADMIN_RECEIVER_COMPONENT)
  /cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
ClearDeviceOwnerTest.java 36 public static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
49 assertTrue(mDevicePolicyManager.isAdminActive(ADMIN_RECEIVER_COMPONENT));
57 waitForActiveAdminRemoved(ADMIN_RECEIVER_COMPONENT);
  /cts/hostsidetests/devicepolicy/app/SingleAdminApp/src/com/android/cts/devicepolicy/singleadmin/
ProvisioningSingleAdminTest.java 42 private static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
51 getManager(context).setProfileName(ADMIN_RECEIVER_COMPONENT, "Managed Profile");
52 getManager(context).setProfileEnabled(ADMIN_RECEIVER_COMPONENT);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
BaseDeviceAdminTest.java 43 public static final ComponentName ADMIN_RECEIVER_COMPONENT = new ComponentName(
63 assertTrue(mDevicePolicyManager.isAdminActive(ADMIN_RECEIVER_COMPONENT));
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
VpnTestHelper.java 73 private static final ComponentName ADMIN_RECEIVER_COMPONENT =
74 BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT;
92 assertNotNull(dpm.getAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT));
108 dpm.setAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT, packageName, true);
109 assertEquals(packageName, dpm.getAlwaysOnVpnPackage(ADMIN_RECEIVER_COMPONENT));

Completed in 98 milliseconds