/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundDexOptService.java | 117 final PackageManagerService pm, final ArraySet<String> pkgs) { in runPostBootUpdate() argument 131 for (String pkg : pkgs) { in runPostBootUpdate() 169 final PackageManagerService pm, final ArraySet<String> pkgs) { in runIdleOptimization() argument 177 for (String pkg : pkgs) { in runIdleOptimization() 224 final ArraySet<String> pkgs = pm.getOptimizablePackages(); in onStartJob() local 225 if (pkgs == null || pkgs.isEmpty()) { in onStartJob() 233 return runPostBootUpdate(params, pm, pkgs); in onStartJob() 235 return runIdleOptimization(params, pm, pkgs); in onStartJob()
|
D | PackageManagerServiceUtils.java | 70 private static void filterRecentlyUsedApps(Collection<PackageParser.Package> pkgs, in filterRecentlyUsedApps() argument 74 int total = pkgs.size(); in filterRecentlyUsedApps() 76 for (Iterator<PackageParser.Package> i = pkgs.iterator(); i.hasNext();) { in filterRecentlyUsedApps()
|
D | OtaDexoptService.java | 156 Collection<PackageParser.Package> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts() local 157 for (PackageParser.Package pkg : pkgs) { in moveAbArtifacts()
|
D | PackageManagerService.java | 4856 ArraySet<String> pkgs = mAppOpPermissionPackages.get(permissionName); 4857 if (pkgs == null) { 4860 return pkgs.toArray(new String[pkgs.size()]); 7265 List<PackageParser.Package> pkgs; 7267 pkgs = PackageManagerServiceUtils.getPackagesForDexopt(mPackages.values(), this); 7271 final int[] stats = performDexOpt(pkgs, mIsPreNUpgrade /* showDialog */, 7290 private int[] performDexOpt(List<PackageParser.Package> pkgs, boolean showDialog, 7297 final int numberOfPackagesToDexopt = pkgs.size(); 7299 for (PackageParser.Package pkg : pkgs) { 7424 ArraySet<String> pkgs = new ArraySet<String>(); [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 138 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() 582 private void writeStateFile(List<PackageInfo> pkgs, ComponentName preferredHome, in writeStateFile() argument 608 for (PackageInfo pkg : pkgs) { in writeStateFile()
|
D | BackupManagerService.java | 4155 List<String> pkgs = in run() local 4157 if (pkgs != null) { in run() 4162 for (String s : pkgs) { in run() 4168 addPackagesToSet(packagesToBackup, pkgs); in run()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTimeTracker.java | 84 Bundle pkgs = new Bundle(); in deliverResult() local 86 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); in deliverResult() 88 extras.putBundle(ActivityOptions.EXTRA_USAGE_TIME_REPORT_PACKAGES, pkgs); in deliverResult()
|
D | CompatModePackages.java | 395 HashMap<String, Integer> pkgs; in saveCompatModes() local 397 pkgs = new HashMap<String, Integer>(mPackages); in saveCompatModes() 413 final Iterator<Map.Entry<String, Integer>> it = pkgs.entrySet().iterator(); in saveCompatModes()
|
D | ActivityManagerService.java | 6725 String[] pkgs = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in finishBooting() 6726 if (pkgs != null) { in finishBooting() 6727 for (String pkg : pkgs) { in finishBooting()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage() local 191 if (pkgs != null) { in enforceCallerMatchesPackage() 192 if (!ArrayUtils.contains(pkgs, packageName)) { in enforceCallerMatchesPackage()
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | RunMonkeyAction.java | 78 String pkgs[] = packages.split(","); in run() local 80 for (String pkg : pkgs) { in run()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 691 final String[] pkgs = service.getPackagesRequestingNotificationPolicyAccess(); in getPackagesRequestingNotificationPolicyAccess() local 692 if (pkgs != null && pkgs.length > 0) { in getPackagesRequestingNotificationPolicyAccess() 693 final ArraySet<String> rt = new ArraySet<>(pkgs.length); in getPackagesRequestingNotificationPolicyAccess() 694 for (int i = 0; i < pkgs.length; i++) { in getPackagesRequestingNotificationPolicyAccess() 695 rt.add(pkgs[i]); in getPackagesRequestingNotificationPolicyAccess()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 123 String[] pkgs = resources.getStringArray(initialPackageNamesResId); in ServiceWatcher() local 124 if (pkgs != null) initialPackageNames.addAll(Arrays.asList(pkgs)); in ServiceWatcher() 126 if (D) Log.d(mTag, "Overlay enabled, packages=" + Arrays.toString(pkgs)); in ServiceWatcher()
|
D | LocationManagerService.java | 378 private void ensureFallbackFusedProviderPresentLocked(ArrayList<String> pkgs) { in ensureFallbackFusedProviderPresentLocked() argument 381 ArrayList<HashSet<Signature>> sigSets = ServiceWatcher.getSignatureSets(mContext, pkgs); in ensureFallbackFusedProviderPresentLocked() 480 String[] pkgs = resources.getStringArray( in loadProvidersLocked() local 483 Arrays.toString(pkgs)); in loadProvidersLocked() 484 if (pkgs != null) providerPackageNames.addAll(Arrays.asList(pkgs)); in loadProvidersLocked()
|
D | AppOpsService.java | 264 ArrayMap<String, Ops> pkgs = uidState.pkgOps; in systemReady() local 265 if (pkgs == null) { in systemReady() 269 Iterator<Ops> it = pkgs.values().iterator(); in systemReady()
|
D | TelephonyRegistry.java | 1537 String[] pkgs = mContext.getPackageManager().getPackagesForUid(Binder.getCallingUid()); in enforceCarrierPrivilege() local 1538 for (String pkg : pkgs) { in enforceCarrierPrivilege()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 217 final SparseArray<String> pkgs = mgr.getAssignedPackageIdentifiers(); in createAssetUid() local 219 final int size = pkgs.size(); in createAssetUid() 221 builder.append(pkgs.valueAt(i)); in createAssetUid()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 4243 final ArraySet<String> pkgs = getGrantedPackages(); in put() 4246 changed = pkgs.add(pkg); in put() 4248 changed = pkgs.remove(pkg); in put() 4251 final String setting = TextUtils.join(SEPARATOR, pkgs); in put() 4264 final ArraySet<String> pkgs = new ArraySet<>(); in getGrantedPackages() local 4282 pkgs.add(token); in getGrantedPackages() 4288 return pkgs; in getGrantedPackages() 4295 final List<PackageInfo> pkgs = list.getList(); in getRequestingPackages() local 4296 if (pkgs == null || pkgs.isEmpty()) return new String[0]; in getRequestingPackages() 4297 final int N = pkgs.size(); in getRequestingPackages() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 5455 Pair<ArrayList<String>, MutableBoolean> pkgs = uids.get( in dumpCheckinLocked() local 5457 if (pkgs == null) { in dumpCheckinLocked() 5458 pkgs = new Pair<>(new ArrayList<String>(), new MutableBoolean(false)); in dumpCheckinLocked() 5459 uids.put(UserHandle.getAppId(ai.uid), pkgs); in dumpCheckinLocked() local 5461 pkgs.first.add(ai.packageName); in dumpCheckinLocked() 5468 Pair<ArrayList<String>, MutableBoolean> pkgs = uids.get(uid); in dumpCheckinLocked() local 5469 if (pkgs != null && !pkgs.second.value) { in dumpCheckinLocked() 5470 pkgs.second.value = true; in dumpCheckinLocked() 5471 for (int j=0; j<pkgs.first.size(); j++) { in dumpCheckinLocked() 5473 lineArgs[1] = pkgs.first.get(j); in dumpCheckinLocked()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8223 final String[] pkgs = mContext.getPackageManager().getPackagesForUid(callerUid); in isCallerDeviceOwner() local 8225 for (String pkg : pkgs) { in isCallerDeviceOwner()
|