Home
last modified time | relevance | path

Searched refs:ADMIN_COMPONENT (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
H A DOtaControllerTest.java68 private static final ComponentName ADMIN_COMPONENT = new ComponentName("com.test.admin", field in OtaControllerTest
112 setDeviceOwner(UserHandle.USER_SYSTEM, ADMIN_COMPONENT); in testDeviceOwnerSystemUser()
135 addManagedProfile(MANAGED_PROFILE_USER_ID, ADMIN_COMPONENT); in testManagedProfileWithoutMissingSystemIme()
167 addManagedProfile(MANAGED_PROFILE_USER_ID, ADMIN_COMPONENT); in testManagedProfileWithMissingSystemIme()
205 addManagedUser(MANAGED_USER_USER_ID, ADMIN_COMPONENT); in testManagedUser()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/enterprise/
H A DActionDisabledLearnMoreButtonLauncherImplTest.java62 private static final ComponentName ADMIN_COMPONENT = field in ActionDisabledLearnMoreButtonLauncherImplTest
106 mImpl.launchShowAdminPolicies(mActivity, ENFORCED_ADMIN_USER, ADMIN_COMPONENT); in launchShowAdminPolicies_works()
129 .isEqualTo(ADMIN_COMPONENT); in assertDeviceAdminAddIntent()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
H A DActionDisabledByAdminControllerTestUtils.java39 static final ComponentName ADMIN_COMPONENT = field in ActionDisabledByAdminControllerTestUtils
42 ADMIN_COMPONENT, UserHandle.of(ENFORCEMENT_ADMIN_USER_ID));
H A DActionDisabledLearnMoreButtonLauncherTest.java18 …static com.android.settingslib.enterprise.ActionDisabledByAdminControllerTestUtils.ADMIN_COMPONENT;
176 ADMIN_COMPONENT); in testSetupLearnMoreButtonToShowAdminPolicies_showsLearnMoreButton_withComponent()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DActionDisabledByAdminDialogHelperTest.java68 private static final ComponentName ADMIN_COMPONENT = field in ActionDisabledByAdminDialogHelperTest
72 new EnforcedAdmin(ADMIN_COMPONENT, UserHandle.of(USER_ID));