Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/am/
DProcessRecord.java56 final ArrayMap<String, ProcessStats.ProcessState> pkgList field in ProcessRecord
192 for (int i=0; i<pkgList.size(); i++) { in dump()
194 pw.print(pkgList.keyAt(i)); in dump()
370 pkgList.put(_info.packageName, null); in ProcessRecord()
390 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeActive()
396 for (int i=0; i<pkgList.size(); i++) { in makeActive()
397 ProcessStats.ProcessState ps = pkgList.valueAt(i); in makeActive()
401 ps = tracker.getProcessStateLocked(pkgList.keyAt(i), info.uid, processName); in makeActive()
405 pkgList.setValueAt(i, ps); in makeActive()
417 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeInactive()
[all …]
DStrictModeViolationDialog.java52 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
DAppErrorDialog.java48 if ((app.pkgList.size() == 1) && in AppErrorDialog()
DAppNotRespondingDialog.java55 if ((app.pkgList.size() == 1) && in AppNotRespondingDialog()
DCompatModePackages.java303 if (!app.pkgList.containsKey(packageName)) { in setPackageScreenCompatModeLocked()
DActivityManagerService.java1713 proc.baseProcessTracker.addPss(pss, tmp[0], true, proc.pkgList);
2540 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
2550 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
3512 if (p.pkgList.containsKey(packageName)) { in crashApplication()
4432 infos[i].getTotalUss(), false, proc.pkgList); in getProcessMemoryInfo()
4459 proc.baseProcessTracker.addPss(pss[i], tmpUss[0], false, proc.pkgList); in getProcessPss()
4574 if (!app.pkgList.containsKey(packageName)) { in killPackageProcessesLocked()
6960 if (!proc.pkgList.containsKey(pkg)) {
9897 for (int ip=0; ip<process.pkgList.size(); ip++) {
9898 String pkg = process.pkgList.keyAt(ip);
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java373 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
374 mAppearingPackages = pkgList; in onReceive()
378 if (pkgList != null) { in onReceive()
379 onPackagesAvailable(pkgList); in onReceive()
380 for (int i=0; i<pkgList.length; i++) { in onReceive()
381 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
385 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
386 mDisappearingPackages = pkgList; in onReceive()
390 if (pkgList != null) { in onReceive()
391 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java2569 ArrayMap<String, ProcessState> pkgList) { in setState() argument
2585 if (pkgList != null) { in setState()
2586 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
2587 pullFixedProc(pkgList, ip).setState(state, now); in setState()
2679 ArrayMap<String, ProcessState> pkgList) { in addPss() argument
2698 if (pkgList != null) { in addPss()
2699 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
2700 pullFixedProc(pkgList, ip).addPss(mCurState, 1, in addPss()
2754 public void reportExcessiveWake(ArrayMap<String, ProcessState> pkgList) { in reportExcessiveWake() argument
2761 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveWake()
[all …]
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java1394 String pkgList[] = null; in onReceive() local
1396 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive()
1397 for (String packageName : pkgList) { in onReceive()
1405 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive()
1421 pkgList = new String[]{pkg}; in onReceive()
1425 if (pkgList != null && (pkgList.length > 0)) { in onReceive()
1426 for (String pkg : pkgList) { in onReceive()
DAppWidgetServiceImpl.java272 String pkgList[] = null; in onBroadcastReceived() local
274 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onBroadcastReceived()
277 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onBroadcastReceived()
288 pkgList = new String[] { pkgName }; in onBroadcastReceived()
292 if (pkgList == null || pkgList.length == 0) { in onBroadcastReceived()
301 for (String pkgName : pkgList) { in onBroadcastReceived()
307 for (String pkgName : pkgList) { in onBroadcastReceived()
320 for (String pkgName : pkgList) { in onBroadcastReceived()
DNotificationManagerService.java1162 String pkgList[] = null;
1167 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1169 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
1196 pkgList = new String[]{pkgName};
1200 if (pkgList != null && (pkgList.length > 0)) {
1201 for (String pkgName : pkgList) {
DBackupManagerService.java405 boolean saveShared, boolean doAllApps, boolean doSystem, String[] pkgList) { in FullBackupParams() argument
412 packages = pkgList; in FullBackupParams()
1504 String pkgList[] = null;
1513 pkgList = new String[] { pkgName };
1519 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1522 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1525 if (pkgList == null || pkgList.length == 0) {
1535 removePackageParticipantsLocked(pkgList, uid);
1537 addPackageParticipantsLocked(pkgList);
1544 removePackageParticipantsLocked(pkgList, uid);
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java1621 public String pkgList[]; field in ActivityManager.RunningAppProcessInfo
1789 pkgList = pArr; in RunningAppProcessInfo()
1800 dest.writeStringArray(pkgList); in writeToParcel()
1815 pkgList = source.readStringArray(); in readFromParcel()
DApplicationPackageManager.java870 static void handlePackageBroadcast(int cmd, String[] pkgList, boolean hasPkgInfo) { in handlePackageBroadcast() argument
875 if (pkgList != null && (pkgList.length > 0)) { in handlePackageBroadcast()
877 for (String ssp : pkgList) { in handlePackageBroadcast()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java868 ArrayList<String> pkgList = new ArrayList<String>(1); in doHandleMessage() local
869 pkgList.add(res.pkg.applicationInfo.packageName); in doHandleMessage()
871 pkgList,uidArray, null); in doHandleMessage()
4750 final ArrayList<String> pkgList = new ArrayList<String>(1); in scanPackageLI() local
4751 pkgList.add(pkg.applicationInfo.packageName); in scanPackageLI()
4752 sendResourcesChangedBroadcast(false, true, pkgList, uidArray, null); in scanPackageLI()
11099 ArrayList<String> pkgList, int uidArr[], IIntentReceiver finishedReceiver) { in sendResourcesChangedBroadcast() argument
11100 int size = pkgList.size(); in sendResourcesChangedBroadcast()
11104 extras.putStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST, pkgList in sendResourcesChangedBroadcast()
11126 ArrayList<String> pkgList = new ArrayList<String>(); in loadMediaPackages() local
[all …]
/frameworks/base/api/
Dcurrent.txt3029 field public java.lang.String[] pkgList;