/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 56 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".ManagedProfileSetupTest", in testManagedProfileSetup() 91 MANAGED_PROFILE_PKG, ".WifiTest", "testRemoveWifiNetworkIfExists", in testProfileWifiCleanup() 95 MANAGED_PROFILE_PKG, ".WifiTest", "testAddWifiNetwork", mProfileUserId); in testProfileWifiCleanup() 100 MANAGED_PROFILE_PKG, ".WifiTest", "testWifiNetworkDoesNotExist", in testProfileWifiCleanup() 107 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".SettingsIntentsTest", in testSettingsIntents() 114 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CurrentApiHelperTest", in testCurrentApiHelper() 121 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ParentProfileTest", in testParentProfileApiDisabled() 127 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ParentProfileTest", in testCannotCallMethodsOnParentProfile() 130 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ParentProfileTest", in testCannotCallMethodsOnParentProfile() 133 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ParentProfileTest", in testCannotCallMethodsOnParentProfile() [all …]
|
D | ManagedProfileCrossProfileTest.java | 94 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, in testCrossProfileIntentFilters() 95 MANAGED_PROFILE_PKG + ".CrossProfileIntentFilterTest", mProfileUserId); in testCrossProfileIntentFilters() 99 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".CrossProfileIntentFilterTest", in testCrossProfileIntentFilters() 102 .setAdminPackageName(MANAGED_PROFILE_PKG) in testCrossProfileIntentFilters() 108 String command = "am start -W --user " + mProfileUserId + " " + MANAGED_PROFILE_PKG in testCrossProfileIntentFilters() 113 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".PrimaryUserTest", mParentUserId); in testCrossProfileIntentFilters() 127 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testCrossProfileContent() 129 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testCrossProfileContent() 134 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testCrossProfileContent() 136 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".CrossProfileUtils", in testCrossProfileContent() [all …]
|
D | ManagedProfileContactsTest.java | 48 MANAGED_PROFILE_PKG, mParentUserId, mProfileUserId); in testManagedContactsUris() 63 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ContactsTest", in testManagedQuickContacts() 74 MANAGED_PROFILE_PKG, mParentUserId, mProfileUserId); in testManagedContactsPolicies() 97 .setAdminPackageName(MANAGED_PROFILE_PKG) in testManagedContactsPolicies() 102 .setAdminPackageName(MANAGED_PROFILE_PKG) in testManagedContactsPolicies() 110 .setAdminPackageName(MANAGED_PROFILE_PKG) in testManagedContactsPolicies() 115 .setAdminPackageName(MANAGED_PROFILE_PKG) in testManagedContactsPolicies() 149 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ContactsTest", in runManagedContactsTest() 151 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ContactsTest", in runManagedContactsTest() 160 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ContactsTest", in runManagedContactsTest() [all …]
|
D | BaseManagedProfileTest.java | 28 protected static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in BaseManagedProfileTest 36 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 68 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setUp() 77 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in tearDown() 94 + " --es extra-package " + MANAGED_PROFILE_PKG in disableActivityForUser() 95 + " --es extra-class-name " + MANAGED_PROFILE_PKG + "." + activityName in disableActivityForUser() 96 + " " + MANAGED_PROFILE_PKG + "/.ComponentDisablingActivity "; in disableActivityForUser()
|
D | ManagedProfileWipeTest.java | 65 MANAGED_PROFILE_PKG, in testWipeDataWithReason() 84 MANAGED_PROFILE_PKG, in testWipeDataLogged() 90 .setAdminPackageName(MANAGED_PROFILE_PKG) in testWipeDataLogged() 109 MANAGED_PROFILE_PKG, in testWipeDataWithoutReason() 128 MANAGED_PROFILE_PKG, in testWipeData()
|
D | CustomManagedProfileTest.java | 31 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in CustomManagedProfileTest 49 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in testIsProvisioningAllowed() 58 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".PreManagedProfileTest", testName, userId); in assertIsProvisioningAllowed()
|
D | LauncherAppsProfileTest.java | 36 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in LauncherAppsProfileTest 39 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 57 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setUp() 111 String command = "pm disable --user " + mParentUserId + " " + MANAGED_PROFILE_PKG in testProfileOwnerAppHiddenInPrimaryProfile()
|
D | CrossProfileAppsPermissionHostSideTest.java | 56 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in CrossProfileAppsPermissionHostSideTest 59 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 141 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testCanRequestInteractAcrossProfiles_packageNotInstalled_returnsTrue() 367 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in addManagedProfileAndInstallRequiredPackages() 374 MANAGED_PROFILE_PKG, in addDefaultCrossProfilePackage()
|
D | DeviceOwnerTest.java | 51 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in DeviceOwnerTest 54 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 465 MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId, in testCannotSetDeviceOwnerAgain() 469 removeAdmin(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId); in testCannotSetDeviceOwnerAgain() 470 getDevice().uninstallPackage(MANAGED_PROFILE_PKG); in testCannotSetDeviceOwnerAgain()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileCalendarTest.java | 36 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in CrossProfileCalendarTest 54 ADMIN_RECEIVER_COMPONENT, new ArraySet<String>(Arrays.asList(MANAGED_PROFILE_PKG))); in testCrossProfileCalendarPackage() 58 assertThat(allowlist.contains(MANAGED_PROFILE_PKG)).isTrue(); in testCrossProfileCalendarPackage()
|
D | PhoneAccountTest.java | 69 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in PhoneAccountTest 72 new ComponentName(MANAGED_PROFILE_PKG,
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 89 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in LauncherAppsTests 308 assertActivityInjected(MANAGED_PROFILE_PKG); in testProfileOwnerLauncherActivityInjected() 336 assertInjectedActivityNotFound(MANAGED_PROFILE_PKG); in testProfileOwnerInjectedActivityNotFound()
|