/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchPackageTest.java | 49 installPackageAsUser(TARGET_APK_A, /* grantPermission= */true, mPrimaryUserId); in setUp() 50 installPackageAsUser(TARGET_APK_B, /* grantPermission= */true, mPrimaryUserId); in setUp() 100 installPackageAsUser(TARGET_APK_A, /* grantPermission= */true, mPrimaryUserId); in testPackageUninstall_immediatelyReboot()
|
D | AppSearchMultiUserTest.java | 68 installPackageAsUser(TARGET_APK_A, /* grantPermission= */true, sInitialUserId); in setUp() 69 installPackageAsUser(TARGET_APK_A, /* grantPermission= */true, sSecondaryUserId); in setUp() 119 installPackageAsUser(TARGET_APK_B, /* grantPermission= */true, sSecondaryUserId); in testPackageUninstall_onLockedUser()
|
D | EnterpriseContactsMultiUserTest.java | 74 installPackageAsUser(testInfo, sMainUserId); in setUpClass() 75 installPackageAsUser(testInfo, sSecondaryUserId); in setUpClass() 76 installPackageAsUser(testInfo, sEnterpriseUserId); in setUpClass() 127 private static void installPackageAsUser(TestInformation testInfo, int userId) in installPackageAsUser() method in EnterpriseContactsMultiUserTest
|
D | AppSearchInstantAppTest.java | 63 installPackageAsUser(TARGET_APK_A, /* grantPermission= */true, mPrimaryUserId, "--instant"); in setUp()
|
D | ContactsIndexerMultiUserTest.java | 137 installPackageAsUser(TARGET_APK_A, /*grantPermission=*/ true, sSecondaryUserId); in startUserAndInstallPackage()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | ProfileKeyValueBackupRestoreHostSideTest.java | 67 installPackageAsUser(KEY_VALUE_APK, profileUserId); in setUp() 109 installPackageAsUser(KEY_VALUE_APK, profileUserId); in testKeyValueBackupAndRestore() 141 installPackageAsUser(KEY_VALUE_APK, mParentUserId); in testKeyValueBackupAndRestoreForInstallExistingPackage() 184 installPackageAsUser(KEY_VALUE_APK, mParentUserId); in testKeyValueBackupAndRestoreForInstallExistingPackageWaitTillComplete()
|
D | ProfileFullBackupRestoreHostSideTest.java | 59 installPackageAsUser(FULL_BACKUP_APK, profileUserId); in setUp() 130 installPackageAsUser(FULL_BACKUP_APK, profileUserId); in testFullBackupAndRestoreAtInstall()
|
D | BaseMultiUserBackupHostSideTest.java | 183 void installPackageAsUser(String apk, int userId) in installPackageAsUser() method in BaseMultiUserBackupHostSideTest 185 installPackageAsUser(apk, false, userId, "-r", "-d"); in installPackageAsUser()
|
D | ProfileSerialNumberHostSideTest.java | 57 installPackageAsUser(APK_NAME, profileUserId); in setUp()
|
D | ProfileScheduledJobHostSideTest.java | 120 installPackageAsUser(KEY_VALUE_APK, profileUserId); in testKeyValueBackupJobRunsSuccessfully() 179 installPackageAsUser(FULL_BACKUP_APK, profileUserId); in testFullBackupJobRunsSuccessfully()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BlobStoreMultiUserTest.java | 57 installPackageAsUser(apk, true /* grantPermissions */, mPrimaryUserId, "-t"); in setUp() 58 installPackageAsUser(apk, true /* grantPermissions */, mSecondaryUserId, "-t"); in setUp() 62 installPackageAsUser(TARGET_APK_ASSIST, false /* grantPermissions */, mPrimaryUserId); in setUp() 63 installPackageAsUser(TARGET_APK_ASSIST, false /* grantPermissions */, mSecondaryUserId); in setUp()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/ |
D | StaticSharedLibsMultiUserTests.java | 77 private boolean installPackageAsUser(String apkPath, String installerName, UserReference user) { in installPackageAsUser() method in StaticSharedLibsMultiUserTests 111 assertThat(installPackageAsUser(STATIC_LIB_PROVIDER3_APK, in testStaticSharedLibInstallOnSecondaryUser_broadcastReceivedByAllUsers() 142 assertThat(installPackageAsUser(STATIC_LIB_PROVIDER3_APK, in testStaticSharedLibUninstallOnAllUsers_broadcastReceivedByAllUsers()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2022_20112.java | 54 installPackageAsUser( in testPocCVE_2022_20112()
|
D | CVE_2021_0595.java | 57 installPackageAsUser("CVE-2021-0595-test.apk", true, workUserId, "-t"); in testPocCVE_2021_0595()
|
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | UninstallExistingPackageTest.java | 44 installPackageAsUser(EMPTY_TEST_APP_APK, true, mUserId); in setUp()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandMultiUserTest.kt | 210 installPackageAsUser(TEST_HW5, primaryUser) in testGetFirstInstallTime() 230 installPackageAsUser(TEST_HW5, secondaryUser) in testGetFirstInstallTime() 283 installPackageAsUser(TEST_HW_SYSTEM_USER_ONLY, primaryUser) in testInstallAppHavingSystemUserOnlyComponents() 288 installPackageAsUser(TEST_HW_SYSTEM_USER_ONLY, secondaryUser) in testInstallAppHavingSystemUserOnlyComponents() 559 installPackageAsUser(TEST_HW5, primaryUser) in testListPackageDefaultAllUsers() 598 installPackageAsUser(TEST_HW5, secondaryUser) in testGrantPermissionToSecondaryUser() 616 installPackageAsUser(TEST_HW5, primaryUser) in testUninstallSetup() 617 installPackageAsUser(TEST_HW5, secondaryUser) in testUninstallSetup() 1011 installPackageAsUser(TEST_HW5, primaryUser) in testInstallArchived() 1036 installPackageAsUser(TEST_HW_MIME_GROUP, primaryUser) in testUpdateMimeGroup_changed_onlyInstalledUserReceivedBroadcast() [all …]
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | EphemeralTest.java | 87 installPackageAsUser( in testRebootAndRemoveEphemeralUser_withAccount()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | PreCreateUsersHostTest.java | 83 installPackageAsUser(APP_APK, /* grantPermission= */ false, initialUserId); in appsAreNotInstalledOnPreCreatedUserTest()
|