Home
last modified time | relevance | path

Searched refs:pkgStates (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerBackupHelper.java156 HashMap<String, LocalesInfo> pkgStates = new HashMap<>(); in getBackupPayload() local
178 pkgStates.put(appInfo.packageName, localesInfo); in getBackupPayload()
186 if (pkgStates.isEmpty()) { in getBackupPayload()
196 writeToXml(out, pkgStates); in getBackupPayload()
235 HashMap<String, LocalesInfo> pkgStates; in stageAndApplyRestoredPayload() local
242 pkgStates = readFromXml(parser); in stageAndApplyRestoredPayload()
254 for (String pkgName : pkgStates.keySet()) { in stageAndApplyRestoredPayload()
255 LocalesInfo localesInfo = pkgStates.get(pkgName); in stageAndApplyRestoredPayload()
489 @NonNull HashMap<String, LocalesInfo> pkgStates) throws IOException { in writeToXml() argument
490 if (pkgStates.isEmpty()) { in writeToXml()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationManagerApiTest.kt539 private fun makeService(vararg pkgStates: PackageStateInternal) = in <lambda>()
540 makeService { pkgName -> pkgStates.find { pkgName == it.packageName } } in <lambda>()
628 private fun DomainVerificationService.addPackages(vararg pkgStates: PackageStateInternal) = in <lambda>()
629 pkgStates.forEach {pkg: PackageStateInternal -> addPackage(pkg, null)} in <lambda>()
DDomainVerificationPackageTest.kt1064 vararg pkgStates: PackageStateInternal in <lambda>()
1066 pkgName -> pkgStates.find { pkgName == it.packageName } in <lambda>()
1069 private fun makeService(vararg pkgStates: PackageStateInternal) = in <lambda>()
1070 makeService { pkgName -> pkgStates.find { pkgName == it.packageName } } in <lambda>()
1100 private fun mockComputer(vararg pkgStates: PackageStateInternal) = in <lambda>()
1101 mockComputer { pkgName -> pkgStates.find { pkgName == it.packageName } } in <lambda>()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java2522 ArraySet<PackageState> pkgStates = procToPkgMap.get(name, uid); in collectProcessPackageMaps() local
2523 if (pkgStates == null) { in collectProcessPackageMaps()
2524 pkgStates = new ArraySet<>(); in collectProcessPackageMaps()
2525 procToPkgMap.put(name, uid, pkgStates); in collectProcessPackageMaps()
2527 pkgStates.add(state); in collectProcessPackageMaps()