/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | RollbackStoreTest.java | 142 assertThat(rollback.info.getPackages()).isEmpty(); in createNonStaged() 164 assertThat(rollback.info.getPackages()).isEmpty(); in createStaged() 212 origRb.info.getPackages().add(pkgInfo1); in saveAndLoadRollback() 213 origRb.info.getPackages().add(pkgInfo2); in saveAndLoadRollback() 265 expectedRb.info.getPackages().add(pkgInfo1); in loadFromJsonNoExtensionVersions() 266 expectedRb.info.getPackages().add(pkgInfo2); in loadFromJsonNoExtensionVersions() 315 expectedRb.info.getPackages().add(pkgInfo1); in loadFromJson() 316 expectedRb.info.getPackages().add(pkgInfo2); in loadFromJson() 383 assertThat(b.info.getPackages()).hasSize(a.info.getPackages().size()); in assertRollbacksAreEquivalentExcludingBackupDir() 385 for (int i = 0; i < b.info.getPackages().size(); i++) { in assertRollbacksAreEquivalentExcludingBackupDir() [all …]
|
D | RollbackUnitTest.java | 154 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2, pkgInfo3, pkgInfo4)); in getPackageNamesAllAndJustApex() 168 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2, pkgInfo3, pkgInfo4)); in includesPackagesAfterEnable() 193 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenEnabling() 211 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenAvailable() 232 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotWhenDeleted() 253 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotThenDeleteNoApex() 275 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in snapshotThenDeleteWithApex() 298 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataDoesNothingIfNotInProgress() 313 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataDoesNothingIfPackageNotFound() 329 rollback.info.getPackages().addAll(Arrays.asList(pkgInfo1, pkgInfo2)); in restoreUserDataRestoresIfInProgressAndPackageFound() [all …]
|
D | AppDataRollbackHelperTest.java | 251 dataWithPendingBackup.info.getPackages().add(pendingBackup); in commitPendingBackupAndRestoreForUser() 254 dataWithRecentRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser() 257 dataForDifferentUser.info.getPackages().add(ignoredInfo); in commitPendingBackupAndRestoreForUser() 260 dataForRestore.info.getPackages().add(pendingRestore); in commitPendingBackupAndRestoreForUser() 261 dataForRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 420 info.getPackages().add(packageRollbackInfo); in enableForPackage() 447 info.getPackages().add(packageRollbackInfo); in enableForPackageInApex() 468 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in snapshotUserData() 561 List<String> packageNames = new ArrayList<>(info.getPackages().size()); in commit() 562 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in commit() 713 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in restoreUserDataForPackageIfInProgress() 739 for (PackageRollbackInfo pkgInfo : info.getPackages()) { in delete() 791 for (PackageRollbackInfo packageRollbackInfo : info.getPackages()) { in includesPackage() 806 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in includesPackageWithDifferentVersion() 823 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in getPackageNames() [all …]
|
D | RollbackPackageHealthObserver.java | 283 for (PackageRollbackInfo info : rollback.getPackages()) { in isRebootlessApex() 322 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getAvailableRollback() 356 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getRollbackForPackage() 589 rollback.getPackages().get(0).getVersionRolledBackFrom(); in useTwoPhaseRollback() 638 Comparator.comparing(a -> a.getPackages().get(0).getPackageName())).toList(); in rollbackHighImpact() 642 .getPackages() in rollbackHighImpact() 670 rollback.getPackages().get(0).getVersionRolledBackFrom(); in rollbackAll() 703 rollback.getPackages().get(0).getVersionRolledBackFrom(); in rollbackAllLowImpact()
|
D | AppDataRollbackHelper.java | 227 for (PackageRollbackInfo info : rollback.info.getPackages()) { in commitPendingBackupAndRestoreForUser()
|
D | RollbackStore.java | 192 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson() 310 for (PackageRollbackInfo info : rollback.info.getPackages()) { in deletePackageCodePaths()
|
D | WatchdogRollbackLogger.java | 141 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in logRollbackStatusOnBoot()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionManagerInternal.java | 131 String[] getPackages(int userId); in getPackages() method 144 String[] getPackages(String authority, int userId); in getPackages() method
|
D | DefaultPermissionGrantPolicy.java | 582 ? voiceInteractionPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 584 ? locationPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 586 ? locationExtraPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 588 ? smsAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 590 ? dialerAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 592 ? simCallManagerPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 594 ? useOpenWifiAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 596 syncAdapterPackagesProvider.getPackages(ContactsContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions() 598 syncAdapterPackagesProvider.getPackages(CalendarContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | SharedUserApi.java | 51 List<AndroidPackage> getPackages(); in getPackages() method
|
/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 | RollbackTest.java | 73 ri -> ri.getPackages().stream().anyMatch( in hasRollbackInclude() 83 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp() 85 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
|
D | StagedRollbackTest.java | 151 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in expireRollbacks() 153 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in expireRollbacks()
|
/frameworks/base/tests/RollbackTest/SampleRollbackApp/src/com/android/sample/rollbackapp/ |
D | MainActivity.java | 141 for (int i = 0; i < rollbackInfo.getPackages().size(); i++) { in getView() 142 PackageRollbackInfo pkgInfo = rollbackInfo.getPackages().get(i); in getView()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | LockTaskPolicySerializer.java | 47 String.join(ATTR_PACKAGES_SEPARATOR, value.getPackages())); in saveToXml()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AttributionKey.java | 41 public ImmutableSet<String> getPackages() { in getPackages() method in AttributionKey
|
/frameworks/base/core/java/android/content/rollback/ |
D | RollbackInfo.java | 99 public List<PackageRollbackInfo> getPackages() { in getPackages() method in RollbackInfo
|
/frameworks/base/api/coverage/tools/ |
D | ExtractFlaggedApis.kt | 30 for (pkg in cb.getPackages().packages) { in main()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | DataChangedJournal.java | 101 public List<String> getPackages() throws IOException { in getPackages() method in DataChangedJournal
|
/frameworks/base/core/java/android/app/admin/ |
D | LockTaskPolicy.java | 53 public Set<String> getPackages() { in getPackages() method in LockTaskPolicy
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | RemovePackageHelper.java | 340 sus != null ? sus.getPackages() : Collections.emptyList(); in clearPackageStateForUserLIF() 408 sus != null ? sus.getPackages() : Collections.emptyList(); in removePackageDataLIF()
|
D | ReconcilePackageUtils.java | 230 for (AndroidPackage androidPackage : sharedUserSetting.getPackages()) { in reconcilePackages()
|
/frameworks/base/core/java/android/os/ |
D | PackageTagsList.java | 152 public @NonNull Collection<String> getPackages() { in getPackages() method in PackageTagsList
|