Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java411 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
412 mAppearingPackages = pkgList; in onReceive()
416 if (pkgList != null) { in onReceive()
417 onPackagesAvailable(pkgList); in onReceive()
418 for (int i=0; i<pkgList.length; i++) { in onReceive()
419 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
423 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
424 mDisappearingPackages = pkgList; in onReceive()
428 if (pkgList != null) { in onReceive()
429 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java65 final ArrayMap<String, ProcessStats.ProcessStateHolder> pkgList = new ArrayMap<>(); field in ProcessRecord
236 for (int i=0; i<pkgList.size(); i++) { in dump()
238 pw.print(pkgList.keyAt(i)); in dump()
445 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.versionCode)); in ProcessRecord()
466 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeActive()
472 for (int i=0; i<pkgList.size(); i++) { in makeActive()
473 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive()
477 holder.state = tracker.getProcessStateLocked(pkgList.keyAt(i), uid, in makeActive()
493 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeInactive()
497 for (int i=0; i<pkgList.size(); i++) { in makeInactive()
[all …]
DStrictModeViolationDialog.java52 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
DAppNotRespondingDialog.java69 if ((app.pkgList.size() == 1) && in AppNotRespondingDialog()
DAppErrorDialog.java73 if ((mProc.pkgList.size() == 1) && in AppErrorDialog()
DAppErrors.java121 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
151 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
290 if (p.pkgList.containsKey(packageName) in scheduleAppCrashLocked()
DCompatModePackages.java374 if (!app.pkgList.containsKey(packageName)) { in setPackageScreenCompatModeLocked()
DActivityManagerService.java3578 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
3587 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
4243 if (proc.pkgList.containsKey(packageName) || in getPackageProcessState()
6139 infos[i].getTotalUss(), false, proc.pkgList); in getProcessMemoryInfo()
6166 proc.baseProcessTracker.addPss(pss[i], tmpUss[0], false, proc.pkgList); in getProcessPss()
6273 if (!app.pkgList.containsKey(packageName) && !isDep) { in killPackageProcessesLocked()
12038 final int NG = app.pkgList.size();
12041 final String pkgName = app.pkgList.keyAt(ig);
14541 for (int ip=0; ip<process.pkgList.size(); ip++) {
14542 String pkg = process.pkgList.keyAt(ip);
[all …]
DActivityStackSupervisor.java2738 if (!proc.pkgList.containsKey(pkg)) { in cleanUpRemovedTaskLocked()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java358 ArrayMap<String, ProcessStateHolder> pkgList) { in setState() argument
374 if (pkgList != null) { in setState()
375 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
376 pullFixedProc(pkgList, ip).setState(state, now); in setState()
468 ArrayMap<String, ProcessStateHolder> pkgList) { in addPss() argument
487 if (pkgList != null) { in addPss()
488 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
489 pullFixedProc(pkgList, ip).mPssTable.mergeStats(mCurState, 1, in addPss()
496 public void reportExcessiveWake(ArrayMap<String, ProcessStateHolder> pkgList) { in reportExcessiveWake() argument
503 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveWake()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java167 public void onPackagesChanged(boolean removingPackage, String[] pkgList) { in onPackagesChanged() argument
171 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
172 for (String pkgName : pkgList) { in onPackagesChanged()
182 super.onPackagesChanged(removingPackage, pkgList); in onPackagesChanged()
DManagedServices.java236 public void onPackagesChanged(boolean removingPackage, String[] pkgList) { in onPackagesChanged() argument
238 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged()
242 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
243 for (String pkgName : pkgList) { in onPackagesChanged()
DRankingHelper.java1088 public void onPackagesChanged(boolean removingPackage, int changeUserId, String[] pkgList, in onPackagesChanged() argument
1090 if (pkgList == null || pkgList.length == 0) { in onPackagesChanged()
1096 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
1098 final String pkg = pkgList[i]; in onPackagesChanged()
1107 for (String pkg : pkgList) { in onPackagesChanged()
DNotificationManagerService.java775 String pkgList[] = null;
781 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
784 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
787 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
819 pkgList = new String[]{pkgName};
822 if (pkgList != null && (pkgList.length > 0)) {
823 for (String pkgName : pkgList) {
830 mListeners.onPackagesChanged(removingPackage, pkgList);
831 mNotificationAssistants.onPackagesChanged(removingPackage, pkgList);
832 mConditionProviders.onPackagesChanged(removingPackage, pkgList);
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java88 return proc.pkgList; in getPackageNamesFromPid()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2803 String pkgList[] = null; in onReceive() local
2805 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive()
2806 for (String packageName : pkgList) { in onReceive()
2814 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive()
2835 pkgList = new String[]{pkg}; in onReceive()
2839 if (pkgList != null && (pkgList.length > 0)) { in onReceive()
2840 for (String pkg : pkgList) { in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1162 String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
1163 if (pkgList == null || pkgList.length == 0) { in onReceive()
1169 for (String pkgName : pkgList) { in onReceive()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java598 boolean compress, boolean doKeyValue, String[] pkgList) { in AdbBackupParams() argument
608 packages = pkgList; in AdbBackupParams()
1985 String pkgList[] = null;
1995 pkgList = new String[] { pkgName };
2019 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
2022 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
2025 if (pkgList == null || pkgList.length == 0) {
2037 removePackageParticipantsLocked(pkgList, uid);
2039 addPackageParticipantsLocked(pkgList);
2043 for (String packageName : pkgList) {
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java3098 public String pkgList[]; field in ActivityManager.RunningAppProcessInfo
3430 pkgList = pArr; in RunningAppProcessInfo()
3441 dest.writeStringArray(pkgList); in writeToParcel()
3457 pkgList = source.readStringArray(); in readFromParcel()
DApplicationPackageManager.java1498 static void handlePackageBroadcast(int cmd, String[] pkgList, boolean hasPkgInfo) { in handlePackageBroadcast() argument
1503 if (pkgList != null && (pkgList.length > 0)) { in handlePackageBroadcast()
1505 for (String ssp : pkgList) { in handlePackageBroadcast()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java381 String pkgList[] = null; in onPackageBroadcastReceived() local
383 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
386 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
397 pkgList = new String[] { pkgName }; in onPackageBroadcastReceived()
401 if (pkgList == null || pkgList.length == 0) { in onPackageBroadcastReceived()
418 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
439 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3609 field public java.lang.String[] pkgList;
/frameworks/base/api/
Dcurrent.txt3949 field public java.lang.String[] pkgList;
Dsystem-current.txt4100 field public java.lang.String[] pkgList;