/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 | ManagedProfilePasswordTest.java | 53 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testResetPasswordWithTokenBeforeUnlock() 56 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testResetPasswordWithTokenBeforeUnlock() 67 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testClearPasswordWithTokenBeforeUnlock() 70 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testClearPasswordWithTokenBeforeUnlock() 90 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testResetPasswordTokenUsableAfterClearingLock() 97 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ResetPasswordWithTokenTest", in testResetPasswordTokenUsableAfterClearingLock() 142 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".BasicTest", mProfileUserId); in testUnlockWorkProfile_deviceWidePassword() 164 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".BasicTest", mProfileUserId); in testRebootDevice_unifiedPassword() 192 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".BasicTest", mProfileUserId); in testRebootDevice_separatePasswords() 219 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".ActivePasswordSufficientForDeviceTest", in testActivePasswordSufficientForDeviceRequirement() [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 | ManagedProfileRingtoneTest.java | 28 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".RingtoneSyncTest", in testRingtoneSync() 36 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".RingtoneSyncTest", in testRingtoneSyncAutoDisableRingtone() 44 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".RingtoneSyncTest", in testRingtoneSyncAutoDisableNotification() 52 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".RingtoneSyncTest", in testRingtoneSyncAutoDisableAlarm() 58 String command = "appops set --user " + userId + " " + MANAGED_PROFILE_PKG in givePackageWriteSettingsPermission()
|
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 | ManagedProfileTimeoutTest.java | 118 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".ProfileTimeoutTestHelper", in runProfileTimeoutTest() 125 profileUserId, keepScreenOn, MANAGED_PROFILE_PKG)); in startTestActivity()
|
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"; 139 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in testCanRequestInteractAcrossProfiles_packageNotInstalled_returnsTrue() 365 setProfileOwnerOrFail(MANAGED_PROFILE_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in addManagedProfileAndInstallRequiredPackages() 372 MANAGED_PROFILE_PKG, in addDefaultCrossProfilePackage()
|
D | DeviceOwnerTest.java | 52 private static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in DeviceOwnerTest 55 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 490 MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId, in testCannotSetDeviceOwnerAgain() 494 removeAdmin(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN, mPrimaryUserId); in testCannotSetDeviceOwnerAgain() 495 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 | CameraPolicyTest.java | 32 protected static final String MANAGED_PROFILE_PKG = "com.android.cts.managedprofile"; field in CameraPolicyTest 35 MANAGED_PROFILE_PKG + ".BaseManagedProfileTest$BasicAdminReceiver"; 56 mManagedProfileAdminComponent = new ComponentName(MANAGED_PROFILE_PKG, in setUp()
|
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()
|