Home
last modified time | relevance | path

Searched refs:pkgs (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java67 final ArraySet<String> pkgs = pm.getPackagesThatNeedDexOpt(); in onStartJob() local
68 if (pkgs == null) { in onStartJob()
77 for (String pkg : pkgs) { in onStartJob()
DPackageManagerService.java3017 ArraySet<String> pkgs = mAppOpPermissionPackages.get(permissionName); in getAppOpPermissionPackages() local
3018 if (pkgs == null) { in getAppOpPermissionPackages()
3021 return pkgs.toArray(new String[pkgs.size()]); in getAppOpPermissionPackages()
4578 final ArraySet<PackageParser.Package> pkgs; in performBootDexOpt() local
4580 pkgs = mDeferredDexOpt; in performBootDexOpt()
4584 if (pkgs != null) { in performBootDexOpt()
4589 for (Iterator<PackageParser.Package> it = pkgs.iterator(); it.hasNext();) { in performBootDexOpt()
4602 for (Iterator<PackageParser.Package> it = pkgs.iterator(); it.hasNext();) { in performBootDexOpt()
4613 for (Iterator<PackageParser.Package> it = pkgs.iterator(); it.hasNext();) { in performBootDexOpt()
4624 for (Iterator<PackageParser.Package> it = pkgs.iterator(); it.hasNext();) { in performBootDexOpt()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java138 List<PackageInfo> pkgs; in getStorableApplications() local
139 pkgs = pm.getInstalledPackages(PackageManager.GET_SIGNATURES); in getStorableApplications()
140 int N = pkgs.size(); in getStorableApplications()
142 PackageInfo pkg = pkgs.get(a); in getStorableApplications()
144 pkgs.remove(a); in getStorableApplications()
147 return pkgs; in getStorableApplications()
595 private void writeStateFile(List<PackageInfo> pkgs, ComponentName preferredHome, in writeStateFile() argument
621 for (PackageInfo pkg : pkgs) { in writeStateFile()
DBackupManagerService.java3620 List<String> pkgs = in run() local
3622 if (pkgs != null) { in run()
3627 for (String s : pkgs) { in run()
3633 addPackagesToSet(packagesToBackup, pkgs); in run()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java205 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage() local
206 if (pkgs != null) { in enforceCallerMatchesPackage()
207 if (!ArrayUtils.contains(pkgs, packageName)) { in enforceCallerMatchesPackage()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java114 String[] pkgs = resources.getStringArray(initialPackageNamesResId); in ServiceWatcher() local
115 if (pkgs != null) initialPackageNames.addAll(Arrays.asList(pkgs)); in ServiceWatcher()
117 if (D) Log.d(mTag, "Overlay enabled, packages=" + Arrays.toString(pkgs)); in ServiceWatcher()
DAppOpsService.java219 HashMap<String, Ops> pkgs = mUidOps.valueAt(i); in systemReady() local
220 Iterator<Ops> it = pkgs.values().iterator(); in systemReady()
237 if (pkgs.size() <= 0) { in systemReady()
249 HashMap<String, Ops> pkgs = mUidOps.get(uid); in packageRemoved() local
250 if (pkgs != null) { in packageRemoved()
251 if (pkgs.remove(packageName) != null) { in packageRemoved()
252 if (pkgs.size() <= 0) { in packageRemoved()
DLocationManagerService.java332 private void ensureFallbackFusedProviderPresentLocked(ArrayList<String> pkgs) { in ensureFallbackFusedProviderPresentLocked() argument
335 ArrayList<HashSet<Signature>> sigSets = ServiceWatcher.getSignatureSets(mContext, pkgs); in ensureFallbackFusedProviderPresentLocked()
432 String[] pkgs = resources.getStringArray( in loadProvidersLocked() local
435 Arrays.toString(pkgs)); in loadProvidersLocked()
436 if (pkgs != null) providerPackageNames.addAll(Arrays.asList(pkgs)); in loadProvidersLocked()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java353 HashMap<String, Integer> pkgs; in saveCompatModes() local
355 pkgs = new HashMap<String, Integer>(mPackages); in saveCompatModes()
371 final Iterator<Map.Entry<String, Integer>> it = pkgs.entrySet().iterator(); in saveCompatModes()
DActivityManagerService.java6176 String[] pkgs = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in finishBooting()
6177 if (pkgs != null) { in finishBooting()
6178 for (String pkg : pkgs) { in finishBooting()
/frameworks/base/core/java/android/os/
DBatteryStats.java4125 ArrayList<String> pkgs = uids.get(ai.uid); in dumpCheckinLocked() local
4126 if (pkgs == null) { in dumpCheckinLocked()
4127 pkgs = new ArrayList<String>(); in dumpCheckinLocked()
4128 uids.put(ai.uid, pkgs); in dumpCheckinLocked()
4130 pkgs.add(ai.packageName); in dumpCheckinLocked()
4137 ArrayList<String> pkgs = uids.get(uid); in dumpCheckinLocked() local
4138 if (pkgs != null) { in dumpCheckinLocked()
4139 for (int j=0; j<pkgs.size(); j++) { in dumpCheckinLocked()
4141 lineArgs[1] = pkgs.get(j); in dumpCheckinLocked()