Home
last modified time | relevance | path

Searched refs:getPackages (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java155 assertThat(rollback.info.getPackages()).isEmpty(); in createNonStaged()
175 assertThat(rollback.info.getPackages()).isEmpty(); in createStaged()
223 origRb.info.getPackages().add(pkgInfo1); in saveAndLoadRollback()
224 origRb.info.getPackages().add(pkgInfo2); in saveAndLoadRollback()
276 expectedRb.info.getPackages().add(pkgInfo1); in loadFromJsonNoExtensionVersions()
277 expectedRb.info.getPackages().add(pkgInfo2); in loadFromJsonNoExtensionVersions()
329 expectedRb.info.getPackages().add(pkgInfo1); in loadFromJson()
330 expectedRb.info.getPackages().add(pkgInfo2); in loadFromJson()
380 assertThat(b.info.getPackages()).hasSize(a.info.getPackages().size()); in assertRollbacksAreEquivalent()
382 for (int i = 0; i < b.info.getPackages().size(); i++) { in assertRollbacksAreEquivalent()
[all …]
DRollbackUnitTest.java147 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2, pkgInfo3, pkgInfo4)); in getPackageNamesAllAndJustApex()
161 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2, pkgInfo3, pkgInfo4)); in includesPackagesAfterEnable()
186 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenEnabling()
204 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenAvailable()
225 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenDeleted()
246 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotThenDeleteNoApex()
267 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotThenDeleteWithApex()
288 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataDoesNothingIfNotInProgress()
303 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataDoesNothingIfPackageNotFound()
319 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataRestoresIfInProgressAndPackageFound()
[all …]
DAppDataRollbackHelperTest.java252 dataWithPendingBackup.info.getPackages().add(pendingBackup); in commitPendingBackupAndRestoreForUser()
255 dataWithRecentRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser()
258 dataForDifferentUser.info.getPackages().add(ignoredInfo); in commitPendingBackupAndRestoreForUser()
261 dataForRestore.info.getPackages().add(pendingRestore); in commitPendingBackupAndRestoreForUser()
262 dataForRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java382 info.getPackages().add(packageRollbackInfo); in enableForPackage()
407 info.getPackages().add(packageRollbackInfo); in enableForPackageInApex()
422 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in snapshotUserData()
515 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in commit()
652 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in restoreUserDataForPackageIfInProgress()
677 for (PackageRollbackInfo pkgInfo : info.getPackages()) { in delete()
744 for (PackageRollbackInfo packageRollbackInfo : info.getPackages()) { in includesPackage()
759 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in includesPackageWithDifferentVersion()
776 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in getPackageNames()
789 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in getApexPackageNames()
[all …]
DRollbackPackageHealthObserver.java168 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getAvailableRollback()
422 VersionedPackage sample = rollback.getPackages().get(0).getVersionRolledBackFrom(); in rollbackAll()
DRollbackStore.java209 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson()
282 for (PackageRollbackInfo info : rollback.info.getPackages()) { in deletePackageCodePaths()
DWatchdogRollbackLogger.java139 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in logRollbackStatusOnBoot()
DAppDataRollbackHelper.java243 for (PackageRollbackInfo info : rollback.info.getPackages()) { in commitPendingBackupAndRestoreForUser()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DMultiUserRollbackTest.java60 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
62 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
DNetworkStagedRollbackTest.java99 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
101 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
DStagedRollbackTest.java361 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in testCleanUp()
363 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in testCleanUp()
DRollbackTest.java82 ri -> ri.getPackages().stream().anyMatch( in hasRollbackInclude()
92 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
94 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java50 String[] getPackages(int userId); in getPackages() method
64 String[] getPackages(String authority, int userId); in getPackages() method
DDefaultPermissionGrantPolicy.java512 ? voiceInteractionPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
514 ? locationPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
516 ? locationExtraPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
518 ? smsAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
520 ? dialerAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
522 ? simCallManagerPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
524 ? useOpenWifiAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions()
526 syncAdapterPackagesProvider.getPackages(ContactsContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions()
528 syncAdapterPackagesProvider.getPackages(CalendarContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/content/rollback/
DRollbackInfo.java78 public List<PackageRollbackInfo> getPackages() { in getPackages() method in RollbackInfo
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAttributionKey.java41 public ImmutableSet<String> getPackages() { in getPackages() method in AttributionKey
/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java94 public List<String> getPackages() throws IOException { in getPackages() method in DataChangedJournal
/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java188 public String[] getPackages() { in getPackages() method in BatterySipper
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DButtonSelectionStateController.java161 String[] packages = carNavigationButton.getPackages(); in addButtonWithSelectionState()
DCarNavigationButton.java150 public String[] getPackages() { in getPackages() method in CarNavigationButton
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java138 public @Nullable List<AndroidPackage> getPackages() { in getPackages() method in SharedUserSetting
DOtaDexoptService.java375 Collection<AndroidPackage> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java146 public HashMap<String, Integer> getPackages() { in getPackages() method in CompatModePackages
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java735 public Set<String> getPackages() { in getPackages() method in LocationManagerService.LocationProviderManager
2326 return manager == null ? Collections.emptyList() : new ArrayList<>(manager.getPackages()); in getProviderPackages()
2769 if (manager.getPackages().contains(packageName)) { in isProviderPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java205 String[] packages = mPackagesProviderCaptor.getValue().getPackages(0); in testConstructor_setsUseOpenWifiPackagesProvider()

12