Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java142 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 …]
DRollbackUnitTest.java154 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 …]
DAppDataRollbackHelperTest.java251 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/
DRollback.java420 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 …]
DRollbackPackageHealthObserver.java283 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()
DAppDataRollbackHelper.java227 for (PackageRollbackInfo info : rollback.info.getPackages()) { in commitPendingBackupAndRestoreForUser()
DRollbackStore.java192 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson()
310 for (PackageRollbackInfo info : rollback.info.getPackages()) { in deletePackageCodePaths()
DWatchdogRollbackLogger.java141 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in logRollbackStatusOnBoot()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerInternal.java131 String[] getPackages(int userId); in getPackages() method
144 String[] getPackages(String authority, int userId); in getPackages() method
DDefaultPermissionGrantPolicy.java582 ? 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/
DSharedUserApi.java51 List<AndroidPackage> getPackages(); in getPackages() method
/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()
DRollbackTest.java73 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()
DStagedRollbackTest.java151 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/
DMainActivity.java141 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/
DLockTaskPolicySerializer.java47 String.join(ATTR_PACKAGES_SEPARATOR, value.getPackages())); in saveToXml()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAttributionKey.java41 public ImmutableSet<String> getPackages() { in getPackages() method in AttributionKey
/frameworks/base/core/java/android/content/rollback/
DRollbackInfo.java99 public List<PackageRollbackInfo> getPackages() { in getPackages() method in RollbackInfo
/frameworks/base/api/coverage/tools/
DExtractFlaggedApis.kt30 for (pkg in cb.getPackages().packages) { in main()
/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java101 public List<String> getPackages() throws IOException { in getPackages() method in DataChangedJournal
/frameworks/base/core/java/android/app/admin/
DLockTaskPolicy.java53 public Set<String> getPackages() { in getPackages() method in LockTaskPolicy
/frameworks/base/services/core/java/com/android/server/pm/
DRemovePackageHelper.java340 sus != null ? sus.getPackages() : Collections.emptyList(); in clearPackageStateForUserLIF()
408 sus != null ? sus.getPackages() : Collections.emptyList(); in removePackageDataLIF()
DReconcilePackageUtils.java230 for (AndroidPackage androidPackage : sharedUserSetting.getPackages()) { in reconcilePackages()
/frameworks/base/core/java/android/os/
DPackageTagsList.java152 public @NonNull Collection<String> getPackages() { in getPackages() method in PackageTagsList

12