Home
last modified time | relevance | path

Searched refs:pkgList (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java113 final ArrayList<PackageParser.Package> pkgList = new ArrayList<>(packages.size()); in getPackages() local
118 pkgList.add(ps.pkg); in getPackages()
120 return pkgList; in getPackages()
134 final List<PackageParser.Package> pkgList = getPackages(); in fixSeInfoLocked() local
135 if (pkgList == null || pkgList.size() == 0) { in fixSeInfoLocked()
139 for (PackageParser.Package pkg : pkgList) { in fixSeInfoLocked()
144 for (PackageParser.Package pkg : pkgList) { in fixSeInfoLocked()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java424 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
425 mAppearingPackages = pkgList; in onReceive()
429 if (pkgList != null) { in onReceive()
430 onPackagesAvailable(pkgList); in onReceive()
431 for (int i=0; i<pkgList.length; i++) { in onReceive()
432 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
436 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
437 mDisappearingPackages = pkgList; in onReceive()
441 if (pkgList != null) { in onReceive()
442 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java88 final PackageList pkgList = new PackageList(); field in ProcessRecord
349 for (int i=0; i<pkgList.size(); i++) { in dump()
351 pw.print(pkgList.keyAt(i)); in dump()
591 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.longVersionCode)); in ProcessRecord()
607 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList.mPkgList); in makeActive()
608 for (int ipkg = pkgList.size() - 1; ipkg >= 0; ipkg--) { in makeActive()
610 uid, processName, pkgList.keyAt(ipkg), in makeActive()
612 pkgList.valueAt(ipkg).appVersion); in makeActive()
619 for (int i=0; i<pkgList.size(); i++) { in makeActive()
620 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive()
[all …]
DStrictModeViolationDialog.java52 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
DContentProviderConnection.java65 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
DAppErrors.java131 if (dumpPackage != null && (r == null || !r.pkgList.containsKey(dumpPackage))) { in writeToProto()
159 || !r.pkgList.containsKey(dumpPackage))) { in writeToProto()
192 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
222 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
361 if (p.pkgList.containsKey(packageName) in scheduleAppCrashLocked()
DProcessList.java1345 proc.baseProcessTracker.reportCachedKill(proc.pkgList.mPkgList, proc.lastCachedPss);
1346 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) {
1347 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
1363 proc.baseProcessTracker.reportCachedKill(proc.pkgList.mPkgList,
1365 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) {
1366 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
1558 && DexManager.isPackageSelectedToRunOob(app.pkgList.mPkgList.keySet()))) {
2172 if (!app.pkgList.containsKey(packageName) && !isDep) { in killPackageProcessesLocked()
3106 } else if (allPkgs && proc.pkgList != null in collectProcessesLocked()
3107 && proc.pkgList.containsKey(args[start])) { in collectProcessesLocked()
[all …]
DAppNotRespondingDialog.java66 if ((mProc.pkgList.size() == 1) && in AppNotRespondingDialog()
DConnectionRecord.java131 ProcessStats.ProcessStateHolder holder = binding.service.app.pkgList.get( in startAssociationIfNeeded()
DAppErrorDialog.java74 if ((mProc.pkgList.size() == 1) && in AppErrorDialog()
DActivityManagerService.java3164 if (proc.pkgList.containsKey(packageName) || in getPackageProcessState()
4400 proc.pkgList.mPkgList); in getProcessMemoryInfo()
4401 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) { in getProcessMemoryInfo()
4402 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessMemoryInfo()
4458 … ProcessStats.ADD_PSS_EXTERNAL, endTime-startTime, proc.pkgList.mPkgList); in getProcessPss()
4459 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) { in getProcessPss()
4460 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessPss()
6697 for (int i = callingApp.pkgList.size() - 1; i >= 0; i--) { in checkContentProviderAssociation()
6698 if (!validateAssociationAllowedLocked(callingApp.pkgList.keyAt(i), callingApp.uid, in checkContentProviderAssociation()
7609 final int NG = app.pkgList.size(); in installEncryptionUnawareProviders()
[all …]
DContentProviderRecord.java297 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
/frameworks/base/services/backup/java/com/android/server/backup/params/
DAdbBackupParams.java35 boolean compress, boolean doKeyValue, String[] pkgList) { in AdbBackupParams() argument
45 packages = pkgList; in AdbBackupParams()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java375 ArrayMap<String, ProcessStateHolder> pkgList) { in setState() argument
391 if (pkgList != null) { in setState()
392 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
393 pullFixedProc(pkgList, ip).setCombinedState(state, now); in setState()
504 ArrayMap<String, ProcessStateHolder> pkgList) { in addPss() argument
548 if (pkgList != null) { in addPss()
549 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
550 ProcessState fixedProc = pullFixedProc(pkgList, ip); in addPss()
560 public void reportExcessiveCpu(ArrayMap<String, ProcessStateHolder> pkgList) { in reportExcessiveCpu() argument
567 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java172 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uid) { in onPackagesChanged() argument
176 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
177 for (String pkgName : pkgList) { in onPackagesChanged()
187 super.onPackagesChanged(removingPackage, pkgList, uid); in onPackagesChanged()
DManagedServices.java581 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument
583 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged()
586 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
590 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
592 final String pkg = pkgList[i]; in onPackagesChanged()
597 for (String pkgName : pkgList) { in onPackagesChanged()
DNotificationManagerService.java1191 String pkgList[] = null;
1197 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1200 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1205 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1215 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1220 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1227 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
1259 pkgList = new String[]{pkgName};
1262 if (pkgList != null && (pkgList.length > 0)) {
1263 for (String pkgName : pkgList) {
[all …]
DPreferencesHelper.java1720 public boolean onPackagesChanged(boolean removingPackage, int changeUserId, String[] pkgList, in onPackagesChanged() argument
1722 if (pkgList == null || pkgList.length == 0) { in onPackagesChanged()
1728 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
1730 final String pkg = pkgList[i]; in onPackagesChanged()
1739 for (String pkg : pkgList) { in onPackagesChanged()
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java88 return proc.pkgList; in getPackageNamesFromPid()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java188 rapInfo.pkgList[0], 0); in isSystemApp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1459 String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
1460 if (pkgList == null || pkgList.length == 0) { in onReceive()
1466 for (String pkgName : pkgList) { in onReceive()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java759 final List<VersionedPackage> pkgList = Collections.singletonList(pkg); in registerNetworkStackHealthListener()
762 onPackageFailure(pkgList); in registerNetworkStackHealthListener()
DAlarmManagerService.java4344 String pkgList[] = null; in onReceive() local
4347 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive()
4348 for (String packageName : pkgList) { in onReceive()
4356 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive()
4382 pkgList = new String[]{pkg}; in onReceive()
4387 if (pkgList != null && (pkgList.length > 0)) { in onReceive()
4388 for (String pkg : pkgList) { in onReceive()
/frameworks/base/core/java/android/app/
DActivityManager.java2769 public String pkgList[];
3135 pkgList = pArr;
3148 dest.writeStringArray(pkgList);
3166 pkgList = source.readStringArray();
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2502 boolean includeSystem, boolean compress, boolean doKeyValue, String[] pkgList) { in adbBackup() argument
2517 if (pkgList == null || pkgList.length == 0) { in adbBackup()
2534 + includeSystem + " includekeyvalue=" + doKeyValue + " pkgs=" + pkgList); in adbBackup()
2540 pkgList); in adbBackup()

12