Searched refs:isAppInstalledForUser (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandMultiUserTest.kt | 211 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 …]
|
D | PackageInstallerArchiveMultiUserTest.java | 124 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
|
D | ResourcesHardeningTest.java | 21 …port static android.content.pm.cts.PackageManagerShellCommandIncrementalTest.isAppInstalledForUser; 416 assertTrue(isAppInstalledForUser(packageName, getContext().getUserId())); in startInstallSession()
|
D | PackageManagerShellCommandIncrementalTest.java | 1170 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/ |
D | CarHostJUnit4TestCase.java | 531 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()
|