/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | RollbackStoreTest.java | 155 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 …]
|
D | RollbackUnitTest.java | 147 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 …]
|
D | AppDataRollbackHelperTest.java | 252 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/ |
D | Rollback.java | 382 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 …]
|
D | RollbackPackageHealthObserver.java | 168 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getAvailableRollback() 422 VersionedPackage sample = rollback.getPackages().get(0).getVersionRolledBackFrom(); in rollbackAll()
|
D | RollbackStore.java | 209 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson() 282 for (PackageRollbackInfo info : rollback.info.getPackages()) { in deletePackageCodePaths()
|
D | WatchdogRollbackLogger.java | 139 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in logRollbackStatusOnBoot()
|
D | AppDataRollbackHelper.java | 243 for (PackageRollbackInfo info : rollback.info.getPackages()) { in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | MultiUserRollbackTest.java | 60 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp() 62 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
|
D | NetworkStagedRollbackTest.java | 99 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp() 101 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
|
D | StagedRollbackTest.java | 361 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in testCleanUp() 363 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in testCleanUp()
|
D | RollbackTest.java | 82 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/ |
D | PermissionManagerServiceInternal.java | 50 String[] getPackages(int userId); in getPackages() method 64 String[] getPackages(String authority, int userId); in getPackages() method
|
D | DefaultPermissionGrantPolicy.java | 512 ? 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/ |
D | RollbackInfo.java | 78 public List<PackageRollbackInfo> getPackages() { in getPackages() method in RollbackInfo
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AttributionKey.java | 41 public ImmutableSet<String> getPackages() { in getPackages() method in AttributionKey
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | DataChangedJournal.java | 94 public List<String> getPackages() throws IOException { in getPackages() method in DataChangedJournal
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 188 public String[] getPackages() { in getPackages() method in BatterySipper
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/ |
D | ButtonSelectionStateController.java | 161 String[] packages = carNavigationButton.getPackages(); in addButtonWithSelectionState()
|
D | CarNavigationButton.java | 150 public String[] getPackages() { in getPackages() method in CarNavigationButton
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUserSetting.java | 138 public @Nullable List<AndroidPackage> getPackages() { in getPackages() method in SharedUserSetting
|
D | OtaDexoptService.java | 375 Collection<AndroidPackage> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CompatModePackages.java | 146 public HashMap<String, Integer> getPackages() { in getPackages() method in CompatModePackages
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 735 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/ |
D | NetworkScoreServiceTest.java | 205 String[] packages = mPackagesProviderCaptor.getValue().getPackages(0); in testConstructor_setsUseOpenWifiPackagesProvider()
|