Searched refs:isPackageInstalledForUser (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | UninstallExistingPackageTest.java | 45 assertTrue(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, mUserId)); in setUp() 57 isPackageInstalledForUser(EMPTY_TEST_APP_PKG, mUserId)); in testUninstallExistingPackage_succeedsIfInstalledInAnotherUser() 59 isPackageInstalledForUser(EMPTY_TEST_APP_PKG, newUserId)); in testUninstallExistingPackage_succeedsIfInstalledInAnotherUser() 64 assertFalse(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, mUserId)); in testUninstallExistingPackage_succeedsIfInstalledInAnotherUser() 65 assertTrue(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, newUserId)); in testUninstallExistingPackage_succeedsIfInstalledInAnotherUser() 75 assertTrue(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, mUserId)); in testUninstallExistingPackage_failsIfInstalledInOnlyOneUser() 76 assertFalse(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, newUserId)); in testUninstallExistingPackage_failsIfInstalledInOnlyOneUser() 81 assertTrue(isPackageInstalledForUser(EMPTY_TEST_APP_PKG, mUserId)); in testUninstallExistingPackage_failsIfInstalledInOnlyOneUser()
|
D | PackageManagerMultiUserTestBase.java | 129 protected boolean isPackageInstalledForUser(String pkgName, int userId) throws Exception { in isPackageInstalledForUser() method in PackageManagerMultiUserTestBase
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileTest.java | 259 if (isPackageInstalledForUser(packageName, profile)) { in explicitlySetInteractAcrossProfilesAppOp() 265 private boolean isPackageInstalledForUser(String packageName, UserHandle user) { in isPackageInstalledForUser() method in CrossProfileTest
|