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.java397 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
398 mAppearingPackages = pkgList; in onReceive()
402 if (pkgList != null) { in onReceive()
403 onPackagesAvailable(pkgList); in onReceive()
404 for (int i=0; i<pkgList.length; i++) { in onReceive()
405 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
409 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
410 mDisappearingPackages = pkgList; in onReceive()
414 if (pkgList != null) { in onReceive()
415 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java69 final ArrayMap<String, ProcessStats.ProcessStateHolder> pkgList = new ArrayMap<>(); field in ProcessRecord
232 for (int i=0; i<pkgList.size(); i++) { in dump()
234 pw.print(pkgList.keyAt(i)); in dump()
443 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.versionCode)); in ProcessRecord()
464 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeActive()
470 for (int i=0; i<pkgList.size(); i++) { in makeActive()
471 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive()
475 holder.state = tracker.getProcessStateLocked(pkgList.keyAt(i), uid, in makeActive()
491 tracker.getMemFactorLocked(), SystemClock.uptimeMillis(), pkgList); in makeInactive()
495 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.java80 if ((mProc.pkgList.size() == 1) && in AppErrorDialog()
DAppErrors.java123 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
153 || !r.pkgList.containsKey(dumpPackage))) { in dumpLocked()
283 if (p.pkgList.containsKey(packageName)) { in scheduleAppCrashLocked()
DCompatModePackages.java372 if (!app.pkgList.containsKey(packageName)) { in setPackageScreenCompatModeLocked()
DActivityManagerService.java3420 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
3429 proc.baseProcessTracker.reportCachedKill(proc.pkgList, proc.lastCachedPss); in getProcessRecordLocked()
4048 for (int j=proc.pkgList.size()-1; j>=0 && !found; j--) { in getPackageProcessState()
4049 if (proc.pkgList.keyAt(j).equals(packageName)) { in getPackageProcessState()
5815 infos[i].getTotalUss(), false, proc.pkgList); in getProcessMemoryInfo()
5842 proc.baseProcessTracker.addPss(pss[i], tmpUss[0], false, proc.pkgList); in getProcessPss()
5949 if (!app.pkgList.containsKey(packageName) && !isDep) { in killPackageProcessesLocked()
9494 if (!proc.pkgList.containsKey(pkg)) { in cleanUpRemovedTaskLocked()
11296 final int NG = app.pkgList.size(); in installEncryptionUnawareProviders()
11299 final String pkgName = app.pkgList.keyAt(ig); in installEncryptionUnawareProviders()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java357 ArrayMap<String, ProcessStateHolder> pkgList) { in setState() argument
373 if (pkgList != null) { in setState()
374 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
375 pullFixedProc(pkgList, ip).setState(state, now); in setState()
467 ArrayMap<String, ProcessStateHolder> pkgList) { in addPss() argument
486 if (pkgList != null) { in addPss()
487 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
488 pullFixedProc(pkgList, ip).mPssTable.mergeStats(mCurState, 1, in addPss()
495 public void reportExcessiveWake(ArrayMap<String, ProcessStateHolder> pkgList) { in reportExcessiveWake() argument
502 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveWake()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java507 public void onPackagesChanged(boolean queryReplace, String[] pkgList) { in onPackagesChanged() argument
508 if (queryReplace || pkgList == null || pkgList.length == 0 in onPackagesChanged()
514 for (String pkg : pkgList) { in onPackagesChanged()
DManagedServices.java220 public void onPackagesChanged(boolean queryReplace, String[] pkgList) { in onPackagesChanged() argument
222 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged()
226 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
227 for (String pkgName : pkgList) { in onPackagesChanged()
DNotificationManagerService.java697 String pkgList[] = null;
702 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
704 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
707 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
738 pkgList = new String[]{pkgName};
741 if (pkgList != null && (pkgList.length > 0)) {
742 for (String pkgName : pkgList) {
749 mListeners.onPackagesChanged(queryReplace, pkgList);
750 mRankerServices.onPackagesChanged(queryReplace, pkgList);
751 mConditionProviders.onPackagesChanged(queryReplace, pkgList);
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java80 return proc.pkgList; in getPackageNamesFromPid()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1072 String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
1073 if (pkgList == null || pkgList.length == 0) { in onReceive()
1079 for (String pkgName : pkgList) { in onReceive()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2743 String pkgList[] = null; in onReceive() local
2745 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive()
2746 for (String packageName : pkgList) { in onReceive()
2754 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive()
2775 pkgList = new String[]{pkg}; in onReceive()
2779 if (pkgList != null && (pkgList.length > 0)) { in onReceive()
2780 for (String pkg : pkgList) { in onReceive()
/frameworks/base/core/java/android/app/
DActivityManager.java2700 public String pkgList[]; field in ActivityManager.RunningAppProcessInfo
2919 pkgList = pArr; in RunningAppProcessInfo()
2930 dest.writeStringArray(pkgList); in writeToParcel()
2946 pkgList = source.readStringArray(); in readFromParcel()
DApplicationPackageManager.java1384 static void handlePackageBroadcast(int cmd, String[] pkgList, boolean hasPkgInfo) { in handlePackageBroadcast() argument
1389 if (pkgList != null && (pkgList.length > 0)) { in handlePackageBroadcast()
1391 for (String ssp : pkgList) { in handlePackageBroadcast()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java553 boolean compress, String[] pkgList) { in FullBackupParams() argument
562 packages = pkgList; in FullBackupParams()
1869 String pkgList[] = null;
1879 pkgList = new String[] { pkgName };
1961 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1964 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1967 if (pkgList == null || pkgList.length == 0) {
1979 removePackageParticipantsLocked(pkgList, uid);
1981 addPackageParticipantsLocked(pkgList);
1985 for (String packageName : pkgList) {
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java371 String pkgList[] = null; in onPackageBroadcastReceived() local
373 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
376 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
387 pkgList = new String[] { pkgName }; in onPackageBroadcastReceived()
391 if (pkgList == null || pkgList.length == 0) { in onPackageBroadcastReceived()
404 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
425 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1922 ArrayList<String> pkgList = new ArrayList<>(1); in handlePackagePostInstall() local
1923 pkgList.add(packageName); in handlePackagePostInstall()
1924 sendResourcesChangedBroadcast(true, true, pkgList, uidArray, null); in handlePackagePostInstall()
11676 private void sendPackagesSuspendedForUser(String[] pkgList, int userId, boolean suspended) {
11677 if (pkgList.length > 0) {
11679 extras.putStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST, pkgList);
14367 final ArrayList<String> pkgList = new ArrayList<String>(1);
14368 pkgList.add(deletedPackage.applicationInfo.packageName);
14369 sendResourcesChangedBroadcast(false, true, pkgList, uidArray, null);
18977 ArrayList<String> pkgList, int uidArr[], IIntentReceiver finishedReceiver) {
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3609 field public java.lang.String[] pkgList;
/frameworks/base/api/
Dcurrent.txt3795 field public java.lang.String[] pkgList;
Dsystem-current.txt3931 field public java.lang.String[] pkgList;
Dtest-current.txt3795 field public java.lang.String[] pkgList;