Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java429 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
430 mAppearingPackages = pkgList; in onReceive()
434 if (pkgList != null) { in onReceive()
435 onPackagesAvailable(pkgList); in onReceive()
436 for (int i=0; i<pkgList.length; i++) { in onReceive()
437 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
441 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
442 mDisappearingPackages = pkgList; in onReceive()
446 if (pkgList != null) { in onReceive()
447 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/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/services/core/java/com/android/server/am/
DProcessRecord.java89 final PackageList pkgList = new PackageList(); field in ProcessRecord
352 for (int i=0; i<pkgList.size(); i++) { in dump()
354 pw.print(pkgList.keyAt(i)); in dump()
594 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.longVersionCode)); in ProcessRecord()
610 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList.mPkgList); in makeActive()
611 for (int ipkg = pkgList.size() - 1; ipkg >= 0; ipkg--) { in makeActive()
613 uid, processName, pkgList.keyAt(ipkg), in makeActive()
615 pkgList.valueAt(ipkg).appVersion); in makeActive()
622 for (int i=0; i<pkgList.size(); i++) { in makeActive()
623 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive()
[all …]
DStrictModeViolationDialog.java52 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
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()
365 if (p.pkgList.containsKey(packageName) in scheduleAppCrashLocked()
DContentProviderConnection.java65 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
DProcessList.java1437 proc.baseProcessTracker.reportCachedKill(proc.pkgList.mPkgList, proc.lastCachedPss);
1438 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) {
1439 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
1455 proc.baseProcessTracker.reportCachedKill(proc.pkgList.mPkgList,
1457 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) {
1458 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
1648 && DexManager.isPackageSelectedToRunOob(app.pkgList.mPkgList.keySet()))) {
2299 if (!app.pkgList.containsKey(packageName) && !isDep) { in killPackageProcessesLocked()
3225 } else if (allPkgs && proc.pkgList != null in collectProcessesLocked()
3226 && proc.pkgList.containsKey(args[start])) { in collectProcessesLocked()
[all …]
DAppNotRespondingDialog.java66 if ((mProc.pkgList.size() == 1) && in AppNotRespondingDialog()
DAppErrorDialog.java74 if ((mProc.pkgList.size() == 1) && in AppErrorDialog()
DConnectionRecord.java131 ProcessStats.ProcessStateHolder holder = binding.service.app.pkgList.get( in startAssociationIfNeeded()
DActivityManagerService.java3192 if (proc.pkgList.containsKey(packageName) || in getPackageProcessState()
4429 proc.pkgList.mPkgList); in getProcessMemoryInfo()
4430 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) { in getProcessMemoryInfo()
4431 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessMemoryInfo()
4487 … ProcessStats.ADD_PSS_EXTERNAL, endTime-startTime, proc.pkgList.mPkgList); in getProcessPss()
4488 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) { in getProcessPss()
4489 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessPss()
6734 for (int i = callingApp.pkgList.size() - 1; i >= 0; i--) { in checkContentProviderAssociation()
6735 if (!validateAssociationAllowedLocked(callingApp.pkgList.keyAt(i), callingApp.uid, in checkContentProviderAssociation()
7648 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.java602 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument
604 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged()
607 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
611 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
613 final String pkg = pkgList[i]; in onPackagesChanged()
618 for (String pkgName : pkgList) { in onPackagesChanged()
DNotificationManagerService.java1219 String pkgList[] = null;
1225 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1228 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1233 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1243 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1248 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1255 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
1287 pkgList = new String[]{pkgName};
1290 if (pkgList != null && (pkgList.length > 0)) {
1292 for (String pkgName : pkgList) {
[all …]
DPreferencesHelper.java1736 public boolean onPackagesChanged(boolean removingPackage, int changeUserId, String[] pkgList, in onPackagesChanged() argument
1738 if (pkgList == null || pkgList.length == 0) { in onPackagesChanged()
1744 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
1746 final String pkg = pkgList[i]; in onPackagesChanged()
1755 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.java778 final List<VersionedPackage> pkgList = Collections.singletonList(pkg); in registerConnectivityModuleHealthListener()
781 onPackageFailure(pkgList, FAILURE_REASON_EXPLICIT_HEALTH_CHECK); in registerConnectivityModuleHealthListener()
/frameworks/base/core/java/android/app/
DActivityManager.java2775 public String pkgList[];
3142 pkgList = pArr;
3155 dest.writeStringArray(pkgList);
3173 pkgList = source.readStringArray();
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java395 final String pkgList[]; in onPackageBroadcastReceived() local
399 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
406 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
417 pkgList = new String[] { pkgName }; in onPackageBroadcastReceived()
422 if (pkgList == null || pkgList.length == 0) { in onPackageBroadcastReceived()
439 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
460 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2571 boolean includeSystem, boolean compress, boolean doKeyValue, String[] pkgList) { in adbBackup() argument
2586 if (pkgList == null || pkgList.length == 0) { in adbBackup()
2603 + includeSystem + " includekeyvalue=" + doKeyValue + " pkgs=" + pkgList); in adbBackup()
2609 pkgList); in adbBackup()

12