Home
last modified time | relevance | path

Searched refs:isAppInstalledForUser (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt211 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, primaryUser)) in testGetFirstInstallTime()
228 assertTrue(isAppInstalledForUser(context.packageName, secondaryUser)) in testGetFirstInstallTime()
231 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, secondaryUser)) in testGetFirstInstallTime()
244 assertFalse(isAppInstalledForUser(TEST_APP_PACKAGE, secondaryUser)) in testGetFirstInstallTime()
248 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, secondaryUser)) in testGetFirstInstallTime()
261 assertFalse(isAppInstalledForUser(TEST_APP_PACKAGE, primaryUser)) in testGetFirstInstallTime()
262 assertFalse(isAppInstalledForUser(TEST_APP_PACKAGE, secondaryUser)) in testGetFirstInstallTime()
265 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, primaryUser)) in testGetFirstInstallTime()
266 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, secondaryUser)) in testGetFirstInstallTime()
284 assertTrue(isAppInstalledForUser(TEST_APP_PACKAGE, primaryUser)) in testInstallAppHavingSystemUserOnlyComponents()
[all …]
DPackageInstallerArchiveMultiUserTest.java124 assertTrue(isAppInstalledForUser(mContext.getPackageName(), mPrimaryUser)); in archiveApp_broadcast_multiuser()
125 assertTrue(isAppInstalledForUser(mContext.getPackageName(), mSecondaryUser)); in archiveApp_broadcast_multiuser()
126 assertTrue(isAppInstalledForUser(PACKAGE_NAME, mPrimaryUser)); in archiveApp_broadcast_multiuser()
127 assertTrue(isAppInstalledForUser(PACKAGE_NAME, mSecondaryUser)); in archiveApp_broadcast_multiuser()
240 assertTrue(isAppInstalledForUser(PACKAGE_NAME, mPrimaryUser)); in archiveApp_onlyForOneUser_multiuser()
241 assertTrue(isAppInstalledForUser(PACKAGE_NAME, mSecondaryUser)); in archiveApp_onlyForOneUser_multiuser()
292 private static boolean isAppInstalledForUser(String packageName, UserReference user) { in isAppInstalledForUser() method in PackageInstallerArchiveMultiUserTest
DResourcesHardeningTest.java21 …port static android.content.pm.cts.PackageManagerShellCommandIncrementalTest.isAppInstalledForUser;
416 assertTrue(isAppInstalledForUser(packageName, getContext().getUserId())); in startInstallSession()
DPackageManagerShellCommandIncrementalTest.java1170 return isAppInstalledForUser(packageName, -1); in isAppInstalled()
1173 static boolean isAppInstalledForUser(String packageName, int userId) throws IOException { in isAppInstalledForUser() method in PackageManagerShellCommandIncrementalTest
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java531 protected boolean isAppInstalledForUser(String packageName, int userId) in isAppInstalledForUser() method in CarHostJUnit4TestCase
542 isAppInstalledForUser(packageName, userId)).isTrue(); in assertAppInstalledForUser()
551 isAppInstalledForUser(packageName, userId)).isFalse(); in assertAppNotInstalledForUser()