/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerBackupTest.java | 243 installAppAsUser(LAUNCHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 244 installAppAsUser(LAUNCHER2_APK, getPrimaryUserId()); in testBackupAndRestore() 245 installAppAsUser(LAUNCHER3_APK, getPrimaryUserId()); in testBackupAndRestore() 247 installAppAsUser(PUBLISHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 248 installAppAsUser(PUBLISHER2_APK, getPrimaryUserId()); in testBackupAndRestore() 249 installAppAsUser(PUBLISHER3_APK, getPrimaryUserId()); in testBackupAndRestore() 289 installAppAsUser(LAUNCHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 296 installAppAsUser(PUBLISHER1_APK, getPrimaryUserId()); in testBackupAndRestore() 297 installAppAsUser(PUBLISHER2_APK, getPrimaryUserId()); in testBackupAndRestore() 298 installAppAsUser(PUBLISHER3_APK, getPrimaryUserId()); in testBackupAndRestore() [all …]
|
D | ShortcutManagerMultiuserTest.java | 46 installAppAsUser(TARGET_APK, getPrimaryUserId()); in testManagedUser() 52 installAppAsUser(TARGET_APK, profileId); in testManagedUser() 74 installAppAsUser(TARGET_APK, secondUserID); in testSecondaryUser()
|
D | ShortcutManagerUpgradeTest.java | 45 installAppAsUser(VERSION1_APK, getPrimaryUserId()); in testUpgrade() 49 installAppAsUser(VERSION2_APK, getPrimaryUserId()); in testUpgrade()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | LauncherAppsSingleUserTest.java | 66 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testInstallAppMainUser() 93 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageAddedMainUser() 107 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageRemovedMainUser() 127 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageChangedMainUser() 129 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherCallbackPackageChangedMainUser() 141 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLauncherNonExportedAppFails() 152 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLaunchNonExportActivityFails() 163 installAppAsUser(SIMPLE_APP_APK, mCurrentUserId); in testLaunchMainActivity()
|
D | LauncherAppsProfileTest.java | 56 installAppAsUser(MANAGED_PROFILE_APK, mProfileUserId); in setUp() 79 installAppAsUser(SIMPLE_APP_APK, mParentUserId); in testGetActivitiesWithProfile() 80 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testGetActivitiesWithProfile() 123 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testLauncherCallbackPackageAddedProfile() 133 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testLauncherCallbackPackageRemovedProfile() 145 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testLauncherCallbackPackageChangedProfile() 147 installAppAsUser(SIMPLE_APP_APK, /* grantPermissions */ true, /* dontKillApp */ true, in testLauncherCallbackPackageChangedProfile() 157 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testReverseAccessNoThrow()
|
D | ManagedProfileTest.java | 170 installAppAsUser(DEVICE_OWNER_APK, mProfileUserId); in testCannotSetProfileOwnerAgain() 179 installAppAsUser(DEVICE_OWNER_APK, mParentUserId); in testCannotSetDeviceOwnerWhenProfilePresent() 403 installAppAsUser(SHARING_APP_1_APK, mPrimaryUserId); in testResolverActivityLaunchedFromPersonalProfileWithSelectedWorkTab() 404 installAppAsUser(SHARING_APP_2_APK, mPrimaryUserId); in testResolverActivityLaunchedFromPersonalProfileWithSelectedWorkTab() 405 installAppAsUser(SHARING_APP_1_APK, mProfileUserId); in testResolverActivityLaunchedFromPersonalProfileWithSelectedWorkTab() 406 installAppAsUser(SHARING_APP_2_APK, mProfileUserId); in testResolverActivityLaunchedFromPersonalProfileWithSelectedWorkTab() 423 installAppAsUser(SHARING_APP_1_APK, mPrimaryUserId); in testResolverActivityLaunchedFromWorkProfileWithSelectedPersonalTab() 424 installAppAsUser(SHARING_APP_2_APK, mPrimaryUserId); in testResolverActivityLaunchedFromWorkProfileWithSelectedPersonalTab() 425 installAppAsUser(SHARING_APP_1_APK, mProfileUserId); in testResolverActivityLaunchedFromWorkProfileWithSelectedPersonalTab() 426 installAppAsUser(SHARING_APP_2_APK, mProfileUserId); in testResolverActivityLaunchedFromWorkProfileWithSelectedPersonalTab() [all …]
|
D | DeviceAndProfileOwnerTest.java | 201 installAppAsUser(DELEGATE_APP_APK, mUserId); in testApplicationRestrictionIsRestricted() 211 installAppAsUser(DELEGATE_APP_APK, mUserId); in installDelegateApp() 216 installAppAsUser(CERT_INSTALLER_APK, mUserId); in testDelegationCertSelection() 241 installAppAsUser(VPN_APP_APK, userId); in testAlwaysOnVpn() 254 installAppAsUser(VPN_APP_APK, userId); in testAlwaysOnVpnLockDown() 270 installAppAsUser(VPN_APP_APK, userId); in testAlwaysOnVpnAcrossReboot() 289 installAppAsUser(VPN_APP_APK, userId); in testAlwaysOnVpnPackageUninstalled() 309 installAppAsUser(VPN_APP_API23_APK, userId); in testAlwaysOnVpnUnsupportedPackage() 314 installAppAsUser(VPN_APP_API24_APK, userId); in testAlwaysOnVpnUnsupportedPackage() 320 installAppAsUser(VPN_APP_NOT_ALWAYS_ON_APK, userId); in testAlwaysOnVpnUnsupportedPackage() [all …]
|
D | OrgOwnedProfileOwnerTest.java | 96 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in createManagedProfile() 123 installAppAsUser(DEVICE_ADMIN_APK, /* userId= */ 0); in testCanRelinquishControlOverDevice() 170 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testUserRestrictionsSetOnParentAreNotPersisted() 197 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testCameraDisabledOnParentIsEnforced() 230 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testSecurityLogging() 236 installAppAsUser(DELEGATE_APP_APK, mUserId); in testSecurityLoggingDelegate() 237 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testSecurityLoggingDelegate() 324 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testIsDeviceOrganizationOwnedWithManagedProfile() 364 installAppAsUser(TEST_IME_APK, mPrimaryUserId); in testPersonalAppsSuspensionIme() 420 installAppAsUser(DEVICE_ADMIN_APK, true, true, userId); in setPoAsUser() [all …]
|
D | DeviceOwnerPlusProfileOwnerTest.java | 84 installAppAsUser(COMP_DPC_APK, mDeviceOwnerUserId); in setUp() 149 installAppAsUser(COMP_DPC_APK2, mDeviceOwnerUserId); in testBindDeviceAdminServiceAsUser_secondaryUser() 150 installAppAsUser(COMP_DPC_APK2, secondaryUserId); in testBindDeviceAdminServiceAsUser_secondaryUser() 197 installAppAsUser(COMP_DPC_APK2, mPrimaryUserId); in verifyBindDeviceAdminServiceAsUser() 198 installAppAsUser(COMP_DPC_APK2, profileOwnerUserId); in verifyBindDeviceAdminServiceAsUser() 214 installAppAsUser(COMP_DPC_APK2, mPrimaryUserId); in verifyBindDeviceAdminServiceAsUserFails() 215 installAppAsUser(COMP_DPC_APK2, profileOwnerUserId); in verifyBindDeviceAdminServiceAsUserFails() 277 installAppAsUser(apkName, userId); in setupManagedProfile()
|
D | ManagedProfileCrossProfileTest.java | 91 installAppAsUser(INTENT_SENDER_APK, false /* grantPermissions */, USER_ALL); in testCrossProfileContent() 92 installAppAsUser(INTENT_RECEIVER_APK, USER_ALL); in testCrossProfileContent() 113 installAppAsUser(NOTIFICATION_APK, USER_ALL); in testCrossProfileNotificationListeners_EmptyAllowlist() 128 installAppAsUser(NOTIFICATION_APK, USER_ALL); in testCrossProfileNotificationListeners_NullAllowlist() 143 installAppAsUser(NOTIFICATION_APK, USER_ALL); in testCrossProfileNotificationListeners_InAllowlist() 157 installAppAsUser(NOTIFICATION_APK, USER_ALL); in testCrossProfileNotificationListeners_setAndGet() 167 installAppAsUser(INTENT_RECEIVER_APK, USER_ALL); in testCrossProfileCopyPaste() 168 installAppAsUser(INTENT_SENDER_APK, USER_ALL); in testCrossProfileCopyPaste() 212 installAppAsUser(WIDGET_PROVIDER_APK, USER_ALL); in testCrossProfileWidgets() 257 installAppAsUser(WIDGET_PROVIDER_APK, USER_ALL); in testCrossProfileWidgetsLogged() [all …]
|
D | MixedManagedProfileOwnerTest.java | 62 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in createManagedProfile() 83 installAppAsUser(ASSIST_APP_APK, mParentUserId); in testScreenCaptureDisabled_assist_allowedPrimaryUser() 88 installAppAsUser(DEVICE_ADMIN_APK, mParentUserId); in testScreenCaptureDisabled_assist_allowedPrimaryUser() 302 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testNetworkLogging() 308 installAppAsUser(DELEGATE_APP_APK, mUserId); in testNetworkLoggingDelegate() 309 installAppAsUser(DEVICE_ADMIN_APK, mPrimaryUserId); in testNetworkLoggingDelegate()
|
D | LimitAppIconHidingTest.java | 63 installAppAsUser(LAUNCHER_TESTS_HAS_LAUNCHER_ACTIVITY_APK, mCurrentUserId); in installTestApps() 64 installAppAsUser(LAUNCHER_TESTS_NO_LAUNCHER_ACTIVITY_APK, mCurrentUserId); in installTestApps() 65 installAppAsUser(LAUNCHER_TESTS_NO_PERMISSION_APK, mCurrentUserId); in installTestApps()
|
D | LauncherAppsMultiUserTest.java | 63 installAppAsUser(SIMPLE_APP_APK, mPrimaryUserId); in testGetActivitiesForNonProfileFails() 74 installAppAsUser(SIMPLE_APP_APK, mPrimaryUserId); in testNoLauncherCallbackPackageAddedSecondaryUser()
|
D | BaseLauncherAppsTest.java | 40 installAppAsUser(LAUNCHER_TESTS_APK, userId); in installTestApps() 41 installAppAsUser(LAUNCHER_TESTS_SUPPORT_APK, userId); in installTestApps()
|
D | DeviceAdminHostSideTestApi24.java | 34 installAppAsUser(getDeviceAdminApkFileName(), mUserId); in testAdminWithNoProtection()
|
D | DeviceOwnerTest.java | 466 installAppAsUser(WIFI_CONFIG_CREATOR_APK, mPrimaryUserId); in testWifiConfigLockdown() 495 installAppAsUser(MANAGED_PROFILE_APK, mPrimaryUserId); in testCannotSetDeviceOwnerAgain() 603 installAppAsUser(DeviceAdminHelper.getDeviceAdminApkFileName(adminVersion), in testDisallowFactoryReset() 791 installAppAsUser(SIMPLE_APP_APK, mPrimaryUserId); in testSetUserControlDisabledPackages_singleUser_reboot_verifyPackageNotStopped() 819 installAppAsUser(SIMPLE_APP_APK, mPrimaryUserId); in testSetUserControlDisabledPackages_singleUser_reboot_verifyPackageNotFgsStopped() 855 installAppAsUser(SIMPLE_APP_APK, userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 908 installAppAsUser(SIMPLE_APP_APK, userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotFgsStopped() 1104 installAppAsUser(INTENT_RECEIVER_APK, userId); in createAffiliatedSecondaryUser() 1109 installAppAsUser(DEVICE_OWNER_APK, userId); in createAffiliatedSecondaryUser()
|
D | ManagedProfilePasswordTest.java | 132 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testUnlockWorkProfile_deviceWidePassword() 154 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testRebootDevice_unifiedPassword() 182 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testRebootDevice_separatePasswords()
|
D | DeviceAdminHostSideTestApi23.java | 37 installAppAsUser(getDeviceAdminApkFileName(), mUserId); in testAdminWithNoProtection()
|
D | MixedProfileOwnerHostSideTransferTest.java | 43 installAppAsUser(TRANSFER_OWNER_INCOMING_APK, mUserId); in setUp()
|
D | MixedProfileOwnerTestApi25.java | 37 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in setUp()
|
D | DeviceAndProfileOwnerTestApi25.java | 56 installAppAsUser(SIMPLE_PRE_M_APP_APK, mUserId); in testPermissionGrantPreMApp()
|
D | ProfileOwnerTestApi23.java | 40 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in setUp()
|
D | MixedManagedProfileOwnerTestApi30.java | 48 installAppAsUser(DEVICE_ADMIN_APK, mUserId); in createManagedProfile()
|
D | DeviceAdminServiceProfileOwnerTest.java | 45 installAppAsUser(apk, mUserId); in installOwnerApp()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 111 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, userIdForTesting, instant); in testGetActiveSessions_primaryUser() 114 installAppAsUser( in testGetActiveSessions_primaryUser() 153 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, newUser, instant); in testGetActiveSessions_additionalUser() 189 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, newUser, instant); in testGetActiveSessions_restrictedProfiles() 226 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, newUser, instant); in testGetActiveSessions_managedProfiles() 238 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, userIdForTesting, false); in testGetActiveSessions_noSession2() 241 installAppAsUser( in testGetActiveSessions_noSession2() 259 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, userIdForTesting, false); in testGetActiveSessions_withSession2() 262 installAppAsUser( in testGetActiveSessions_withSession2() 285 installAppAsUser(DEVICE_SIDE_TEST_APK, DEVICE_SIDE_TEST_PKG, userIdForTesting, false); in testOnMediaKeyEventSessionChangedListener() [all …]
|