Home
last modified time | relevance | path

Searched refs:AdminReceiver (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DManagementTest.java41 AdminReceiver.getComponentName(getContext()))); in testIsManagedProfile()
44 AdminReceiver.getComponentName(getContext()))); in testIsManagedProfile()
50 AdminReceiver.getComponentName(getContext()))); in testIsDeviceOwner()
53 AdminReceiver.getComponentName(getContext()))); in testIsDeviceOwner()
65 AdminReceiver.getComponentName(mContext)); in testOtherProfilesEqualsBindTargetUsers()
76 ComponentName admin = AdminReceiver.getComponentName(mContext); in testCreateSecondaryUser()
83 AdminReceiver.getComponentName(mContext))); in testNoBindDeviceAdminTargetUsers()
DBindDeviceAdminServiceFailsTest.java54 AdminReceiver.getComponentName(mContext)); in testNoBindDeviceAdminTargetUsers()
61 checkCannotBind(AdminReceiver.COMP_DPC_PACKAGE_NAME, otherProfile); in testCannotBind()
62 checkCannotBind(AdminReceiver.COMP_DPC_2_PACKAGE_NAME, otherProfile); in testCannotBind()
80 return mDpm.bindDeviceAdminServiceAsUser(AdminReceiver.getComponentName(mContext), in bind()
DAdminReceiver.java25 public class AdminReceiver extends DeviceAdminReceiver { class
32 return new ComponentName(context, AdminReceiver.class); in getComponentName()
DBindDeviceAdminServiceGoodSetupTest.java52 private static final String NON_MANAGING_PACKAGE = AdminReceiver.COMP_DPC_2_PACKAGE_NAME;
69 assertEquals(AdminReceiver.COMP_DPC_PACKAGE_NAME, mContext.getPackageName()); in setUp()
71 mTargetUsers = mDpm.getBindDeviceAdminTargetUsers(AdminReceiver.getComponentName(mContext)); in setUp()
76 if (!mDpm.isDeviceOwnerApp(AdminReceiver.getComponentName(mContext).getPackageName())) { in testOnlyDeviceOwnerCanHaveMoreThanOneTargetUser()
219 return mDpm.bindDeviceAdminServiceAsUser(AdminReceiver.getComponentName(mContext), in bind()
DDeviceWideLoggingFeaturesTest.java41 mAdminComponent = AdminReceiver.getComponentName(mContext); in setUp()
/cts/hostsidetests/devicepolicy/app/SingleAdminApp/src/com/android/cts/devicepolicy/singleadmin/
DProvisioningSingleAdminTest.java40 private static final String ADMIN_RECEIVER_PACKAGE = AdminReceiver.class.getPackage().getName();
41 private static final String ADMIN_RECEIVER_NAME = AdminReceiver.class.getName();
48 public static class AdminReceiver extends DeviceAdminReceiver { class in ProvisioningSingleAdminTest
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
DUserRestrictionTest.java24 import com.android.cts.comp.AdminReceiver;
37 ComponentName admin = AdminReceiver.getComponentName(getContext()); in setUserRestriction()
DAffiliationTest.java25 import com.android.cts.comp.AdminReceiver;
41 ComponentName admin = AdminReceiver.getComponentName(getContext()); in setAffiliationId()
DManagedProfileProvisioningTest.java26 import com.android.cts.comp.AdminReceiver;
34 AdminReceiver.getComponentName(getContext())) in testProvisioningCorpOwnedManagedProfile()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DBaseDeviceAdminTest.java29 public static final class AdminReceiver extends DeviceAdminReceiver { class in BaseDeviceAdminTest
45 mAdminComponent = new ComponentName(mContext, AdminReceiver.class); in setUp()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/
DIntroActivity.java15 import android.security.cts.CVE_2021_0327.workprofilesetup.AdminReceiver;
62 new ComponentName(this, AdminReceiver.class), in setupWorkProfile()
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DAdminReceiver.java25 public class AdminReceiver extends DeviceAdminReceiver {} class
DCrossProfileAppsPermissionToInteractTest.java62 AdminReceiver.class.getPackage().getName(), AdminReceiver.class.getName());
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DAdminReceiver.java5 public class AdminReceiver extends DeviceAdminReceiver { class
DProvisionedActivity.java32 ComponentName admin = new ComponentName(this, AdminReceiver.class); in onCreate()
/cts/hostsidetests/devicepolicy/app/AccountCheck/src-owner/com/android/cts/devicepolicy/accountcheck/owner/
DAdminReceiver.java20 public class AdminReceiver extends DeviceAdminReceiver { class