Searched refs:AdminReceiver (Results 1 – 11 of 11) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | ManagementTest.java | 41 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() 87 assertTrue(mDevicePolicyManager.removeUser(AdminReceiver.getComponentName(mContext), in testCanRemoveManagedProfile() 92 ComponentName admin = AdminReceiver.getComponentName(mContext); in testCreateSecondaryUser() 99 AdminReceiver.getComponentName(mContext))); in testNoBindDeviceAdminTargetUsers() 106 mDevicePolicyManager.startUserInBackground(AdminReceiver.getComponentName(mContext), in testCannotStartManagedProfileInBackground() 114 mDevicePolicyManager.stopUser(AdminReceiver.getComponentName(mContext), in testCannotStopManagedProfile() [all …]
|
D | BindDeviceAdminServiceFailsTest.java | 54 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()
|
D | BindDeviceAdminServiceGoodSetupTest.java | 52 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()
|
D | AdminReceiver.java | 25 public class AdminReceiver extends DeviceAdminReceiver { class 32 return new ComponentName(context, AdminReceiver.class); in getComponentName()
|
D | DeviceWideLoggingFeaturesTest.java | 41 mAdminComponent = AdminReceiver.getComponentName(mContext); in setUp()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | ManagedProfileProvisioningTest.java | 26 import com.android.cts.comp.AdminReceiver; 34 AdminReceiver.getComponentName(getContext())) in testProvisioningCorpOwnedManagedProfile() 49 dpm.setProfileEnabled(AdminReceiver.getComponentName(getContext())); in testEnableProfile()
|
D | AffiliationTest.java | 25 import com.android.cts.comp.AdminReceiver; 41 ComponentName admin = AdminReceiver.getComponentName(getContext()); in setAffiliationId()
|
D | UserRestrictionTest.java | 24 import com.android.cts.comp.AdminReceiver; 54 ComponentName admin = AdminReceiver.getComponentName(getContext()); in setUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/SingleAdminApp/src/com/android/cts/devicepolicy/singleadmin/ |
D | ProvisioningSingleAdminTest.java | 40 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/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | BaseDeviceAdminTest.java | 27 public static class AdminReceiver extends DeviceAdminReceiver { class in BaseDeviceAdminTest 42 mAdminComponent = new ComponentName(mContext, AdminReceiver.class); in setUp()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/src-owner/com/android/cts/devicepolicy/accountcheck/owner/ |
D | AdminReceiver.java | 20 public class AdminReceiver extends DeviceAdminReceiver { class
|