Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java56 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 …]
DManagedProfileCrossProfileTest.java94 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 …]
DManagedProfileContactsTest.java48 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 …]
DManagedProfilePasswordTest.java53 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 …]
DBaseManagedProfileTest.java28 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()
DManagedProfileRingtoneTest.java28 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()
DManagedProfileWipeTest.java65 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()
DCustomManagedProfileTest.java31 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()
DManagedProfileTimeoutTest.java118 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".ProfileTimeoutTestHelper", in runProfileTimeoutTest()
125 profileUserId, keepScreenOn, MANAGED_PROFILE_PKG)); in startTestActivity()
DLauncherAppsProfileTest.java36 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()
DCrossProfileAppsPermissionHostSideTest.java56 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()
DDeviceOwnerTest.java52 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/
DCrossProfileCalendarTest.java36 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()
DCameraPolicyTest.java32 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()
DPhoneAccountTest.java69 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/
DLauncherAppsTests.java89 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()