Home
last modified time | relevance | path

Searched refs:installedForUser (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java196 public Collection<Package> installedForUser() { in installedForUser() method in Packages
197 return installedForUser(TestApis.users().instrumented()); in installedForUser()
203 public Collection<Package> installedForUser(UserReference user) { in installedForUser() method in Packages
288 Collection<Package> beforePackages = TestApis.packages().installedForUser(user); in install()
300 TestApis.packages().installedForUser(user)); in install()
474 Collection<Package> beforePackages = TestApis.packages().installedForUser(user); in installUsingAdb()
486 TestApis.packages().installedForUser(user)); in installUsingAdb()
682 return installedForUser(user).stream() in systemApps()
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/
DUserRestrictionInstallTest.kt220 var targetPackage = TestApis.packages().installedForUser(initialUser).filter { in <lambda>()
227 targetPackage = TestApis.packages().installedForUser(workProfile).filter { in <lambda>()
254 val targetPackage = TestApis.packages().installedForUser(workProfile).filter { in <lambda>()
330 var targetPackage = TestApis.packages().installedForUser(initialUser).filter { in <lambda>()
337 targetPackage = TestApis.packages().installedForUser(workProfile).filter { in <lambda>()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackagesTest.java122 () -> TestApis.packages().installedForUser(/* user= */ null)); in installedForUser_nullUserReference_throwsException()
130 assertThat(TestApis.packages().installedForUser(mUser)).contains(pkg); in installedForUser_containsPackageInstalledForUser()
144 assertThat(TestApis.packages().installedForUser(sDeviceState.additionalUser())) in installedForUser_doesNotContainPackageNotInstalledForUser()
DPackageTest.java340 final Package notRunningPackage = TestApis.packages().installedForUser().stream() in forceStop_whenNoRunningProcess_doesNotThrowException()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDevicePolicyManagementRoleHolderTest.java101 Poll.forValue(() -> TestApis.packages().installedForUser(profile)) in createAndProvisionManagedProfile_roleHolderIsInWorkProfile()
124 Poll.forValue(() -> TestApis.packages().installedForUser(userReference)) in createAndManageUser_roleHolderIsInManagedUser()
DProvisioningTest.kt291 val nonRequiredAppsInProfile = TestApis.packages().installedForUser(profile) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt404 if (!TestApis.packages().installedForUser(user).contains(pkg)) { in <lambda>()