/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 136 assertEquals(1, watchdog.getPackages(observer1).size()); in testRegistration() 137 assertTrue(watchdog.getPackages(observer1).contains(APP_A)); in testRegistration() 139 assertEquals(2, watchdog.getPackages(observer2).size()); in testRegistration() 140 assertTrue(watchdog.getPackages(observer2).contains(APP_A)); in testRegistration() 141 assertTrue(watchdog.getPackages(observer2).contains(APP_B)); in testRegistration() 143 assertEquals(1, watchdog.getPackages(observer3).size()); in testRegistration() 144 assertTrue(watchdog.getPackages(observer3).contains(APP_A)); in testRegistration() 151 assertNull(watchdog.getPackages(observer1)); in testRegistration() 153 assertEquals(2, watchdog.getPackages(observer2).size()); in testRegistration() 154 assertTrue(watchdog.getPackages(observer2).contains(APP_A)); in testRegistration() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 238 dataWithPendingBackup.info.getPackages().add(pendingBackup); in commitPendingBackupAndRestoreForUser() 242 dataWithRecentRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser() 246 dataForDifferentUser.info.getPackages().add(ignoredInfo); in commitPendingBackupAndRestoreForUser() 249 dataForRestore.info.getPackages().add(pendingRestore); in commitPendingBackupAndRestoreForUser() 250 dataForRestore.info.getPackages().add(wasRecentlyRestored); in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 170 for (PackageRollbackInfo info : data.info.getPackages()) { in computePendingBackups() 200 for (PackageRollbackInfo info : data.info.getPackages()) { in computePendingRestores() 250 for (PackageRollbackInfo info : data.info.getPackages()) { in commitPendingBackupAndRestoreForUser() 271 for (PackageRollbackInfo info : data.info.getPackages()) { in commitPendingBackupAndRestoreForUser()
|
D | RollbackManagerServiceImpl.java | 430 for (PackageRollbackInfo info : data.info.getPackages()) { in commitRollbackInternal() 567 for (PackageRollbackInfo info : data.info.getPackages()) { in expireRollbackForPackage() 625 for (PackageRollbackInfo info : data.info.getPackages()) { in onBootCompleted() 732 for (PackageRollbackInfo info : data.info.getPackages()) { in onPackageReplaced() 937 for (PackageRollbackInfo info : rd.info.getPackages()) { in enableRollback() 1046 data.info.getPackages().add(packageRollbackInfo); in enableRollbackForPackageSession() 1078 for (PackageRollbackInfo info : data.info.getPackages()) { in snapshotUserDataInternal() 1354 if (data.info.getPackages().size() != newRollback.packageSessionIds.length) { in completeEnableRollback() 1395 for (int i = 0; i < data.info.getPackages().size(); i++) { in makeRollbackAvailable() 1396 packages.add(data.info.getPackages().get(i).getPackageName()); in makeRollbackAvailable() [all …]
|
D | RollbackPackageHealthObserver.java | 207 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in onBootCompleted() 234 for (PackageRollbackInfo packageRollback : rollback.getPackages()) { in getAvailableRollback()
|
D | RollbackStore.java | 177 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson() 245 for (PackageRollbackInfo info : data.info.getPackages()) { in deletePackageCodePaths()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUserSetting.java | 109 public @Nullable List<PackageParser.Package> getPackages() { in getPackages() method in SharedUserSetting 134 final List<PackageParser.Package> pkgList = getPackages(); in fixSeInfoLocked()
|
D | OtaDexoptService.java | 362 Collection<PackageParser.Package> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts()
|
D | PackageManagerShellCommand.java | 423 for (PackageRollbackInfo info : r.getPackages()) { in runRollbackApp()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTest.java | 998 assertEquals(2, rollback.getPackages().size()); in assertRollbackInfoForAandB() 999 if (TEST_APP_A.equals(rollback.getPackages().get(0).getPackageName())) { in assertRollbackInfoForAandB() 1000 assertPackageRollbackInfoEquals(TEST_APP_A, 2, 1, rollback.getPackages().get(0)); in assertRollbackInfoForAandB() 1001 assertPackageRollbackInfoEquals(TEST_APP_B, 2, 1, rollback.getPackages().get(1)); in assertRollbackInfoForAandB() 1003 assertPackageRollbackInfoEquals(TEST_APP_B, 2, 1, rollback.getPackages().get(0)); in assertRollbackInfoForAandB() 1004 assertPackageRollbackInfoEquals(TEST_APP_A, 2, 1, rollback.getPackages().get(1)); in assertRollbackInfoForAandB()
|
D | RollbackTestUtils.java | 338 for (PackageRollbackInfo info : rollback.getPackages()) { in getUniqueRollbackInfoForPackage() 371 assertEquals(packageNames.length, info.getPackages().size()); in assertRollbackInfoEquals() 374 for (PackageRollbackInfo pkgRollbackInfo : info.getPackages()) { in assertRollbackInfoEquals()
|
/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 | 92 public List<String> getPackages() throws IOException { in getPackages() method in DataChangedJournal
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 419 ? voiceInteractionPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 421 ? locationPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 423 ? locationExtraPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 425 ? smsAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 427 ? dialerAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 429 ? simCallManagerPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 431 ? useOpenWifiAppPackagesProvider.getPackages(userId) : null; in grantDefaultSystemHandlerPermissions() 433 syncAdapterPackagesProvider.getPackages(ContactsContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions() 435 syncAdapterPackagesProvider.getPackages(CalendarContract.AUTHORITY, userId) : null; in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 125 public String[] getPackages(int userId); in getPackages() method 139 public String[] getPackages(String authority, int userId); in getPackages() method
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 186 public String[] getPackages() { in getPackages() method in BatterySipper
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CompatModePackages.java | 146 public HashMap<String, Integer> getPackages() { in getPackages() method in CompatModePackages
|
D | ActivityTaskManagerService.java | 7026 if (mCompatModePackages.getPackages().size() > 0) { in dumpForProcesses() 7029 : mCompatModePackages.getPackages().entrySet()) { in dumpForProcesses() 7146 : mCompatModePackages.getPackages().entrySet()) { in writeProcessesToProto()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PackageWatchdog.java | 283 public Set<String> getPackages(PackageHealthObserver observer) { in getPackages() method in PackageWatchdog
|
D | NetworkScoreService.java | 312 public String[] getPackages(int userId) { in NetworkScoreService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 202 String[] packages = mPackagesProviderCaptor.getValue().getPackages(0); in testConstructor_setsUseOpenWifiPackagesProvider()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 128 public String[] getPackages(int userId) { in VoiceInteractionManagerService()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 288 public String[] getPackages(String authority, int userId) { in ContentService()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 2729 List<String> packages = (journal == null) ? emptyList() : journal.getPackages(); in assertJournalDoesNotContain() 2745 assertThat(mBackupManagerService.getJournal().getPackages()).contains(packageName); in assertBackupPendingFor()
|