Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/am/
DProcessProfileRecord.java225 final PackageList pkgList = mApp.getPkgList(); in onProcessActive() local
227 synchronized (pkgList) { in onProcessActive()
230 pkgList.getPackageListLocked()); in onProcessActive()
231 pkgList.forEachPackage((pkgName, holder) -> in onProcessActive()
245 pkgList.forEachPackage((pkgName, holder) -> { in onProcessActive()
270 final PackageList pkgList = mApp.getPkgList(); in onProcessInactive() local
271 synchronized (pkgList) { in onProcessInactive()
274 pkgList.getPackageListLocked()); in onProcessInactive()
275 pkgList.forEachPackage((pkgName, holder) -> in onProcessInactive()
284 pkgList.forEachPackageProcessStats(holder -> { in onProcessInactive()
[all …]
DOomAdjuster.java458 final PackageList pkgList = app.getPkgList(); in updateKeepWarmIfNecessaryForProcessLocked() local
460 if (pkgList.containsKey(warmServices.valueAt(j).getPackageName())) { in updateKeepWarmIfNecessaryForProcessLocked()
DProcessList.java1931 final PackageList pkgList = app.getPkgList();
1932 synchronized (pkgList) {
1934 pkgList.getPackageListLocked().keySet())) {
DActivityManagerService.java8451 if (app.pkgList != null) { in getRunningExternalApplications()
8452 for (String pkg : app.pkgList) { in getRunningExternalApplications()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java433 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
434 mAppearingPackages = pkgList; in onReceive()
438 if (pkgList != null) { in onReceive()
439 onPackagesAvailable(pkgList); in onReceive()
440 for (int i=0; i<pkgList.length; i++) { in onReceive()
441 onPackageAppeared(pkgList[i], mChangeType); in onReceive()
445 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
446 mDisappearingPackages = pkgList; in onReceive()
450 if (pkgList != null) { in onReceive()
451 onPackagesUnavailable(pkgList); in onReceive()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/params/
DAdbBackupParams.java38 boolean compress, boolean doKeyValue, String[] pkgList, in AdbBackupParams() argument
49 packages = pkgList; in AdbBackupParams()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java434 ArrayMap<String, ProcessStateHolder> pkgList) { in setState() argument
450 if (pkgList != null) { in setState()
451 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
452 pullFixedProc(pkgList, ip).setCombinedState(state, now); in setState()
569 ArrayMap<String, ProcessStateHolder> pkgList) { in addPss() argument
613 if (pkgList != null) { in addPss()
614 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
615 ProcessState fixedProc = pullFixedProc(pkgList, ip); in addPss()
625 public void reportExcessiveCpu(ArrayMap<String, ProcessStateHolder> pkgList) { in reportExcessiveCpu() argument
632 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java181 final ArrayList<AndroidPackage> pkgList = new ArrayList<>(packages.size());
186 pkgList.add(ps.pkg);
188 return pkgList;
DPackageManagerService.java6354 ArrayList<String> pkgList = new ArrayList<>(1); in handlePackagePostInstall() local
6355 pkgList.add(packageName); in handlePackagePostInstall()
6356 sendResourcesChangedBroadcast(true, true, pkgList, uidArray, null); in handlePackagePostInstall()
16035 private void sendDistractingPackagesChanged(String[] pkgList, int[] uidList, int userId, in sendDistractingPackagesChanged() argument
16038 extras.putStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST, pkgList); in sendDistractingPackagesChanged()
16047 void sendPackagesSuspendedForUser(String[] pkgList, int[] uidList, int userId, in sendPackagesSuspendedForUser() argument
16049 final List<List<String>> pkgsToSend = new ArrayList(pkgList.length); in sendPackagesSuspendedForUser()
16050 final List<IntArray> uidsToSend = new ArrayList(pkgList.length); in sendPackagesSuspendedForUser()
16051 final List<SparseArray<int[]>> allowListsToSend = new ArrayList(pkgList.length); in sendPackagesSuspendedForUser()
16056 for (int i = 0; i < pkgList.length; i++) { in sendPackagesSuspendedForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java230 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uid) { in onPackagesChanged() argument
234 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
235 for (String pkgName : pkgList) { in onPackagesChanged()
245 super.onPackagesChanged(removingPackage, pkgList, uid); in onPackagesChanged()
DManagedServices.java907 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument
909 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged()
912 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged()
916 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
918 final String pkg = pkgList[i]; in onPackagesChanged()
923 for (String pkgName : pkgList) { in onPackagesChanged()
DNotificationManagerService.java1693 String pkgList[] = null;
1699 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1702 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1707 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1717 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1722 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
1729 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
1761 pkgList = new String[]{pkgName};
1764 if (pkgList != null && (pkgList.length > 0)) {
1766 for (String pkgName : pkgList) {
[all …]
DPreferencesHelper.java2278 public boolean onPackagesChanged(boolean removingPackage, int changeUserId, String[] pkgList, in onPackagesChanged() argument
2280 if (pkgList == null || pkgList.length == 0) { in onPackagesChanged()
2286 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
2288 final String pkg = pkgList[i]; in onPackagesChanged()
2297 for (String pkg : pkgList) { in onPackagesChanged()
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java88 return proc.pkgList; in getPackageNamesFromPid()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DWindowPerfRunPreconditionBase.java142 for (String pkg : processInfo.pkgList) { in killBackgroundProcesses()
/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.java1478 String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local
1479 if (pkgList == null || pkgList.length == 0) { in onReceive()
1485 for (String pkgName : pkgList) { in onReceive()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java335 final String pkgList[]; in onPackageBroadcastReceived() local
339 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
346 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived()
357 pkgList = new String[] { pkgName }; in onPackageBroadcastReceived()
362 if (pkgList == null || pkgList.length == 0) { in onPackageBroadcastReceived()
379 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
400 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java4550 String pkgList[] = null; in onReceive() local
4553 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive()
4554 for (String packageName : pkgList) { in onReceive()
4562 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive()
4592 pkgList = new String[]{pkg}; in onReceive()
4600 if (pkgList != null && (pkgList.length > 0)) { in onReceive()
4601 for (String pkg : pkgList) { in onReceive()
/frameworks/base/core/java/android/app/
DActivityManager.java2872 public String pkgList[]; field in ActivityManager.RunningAppProcessInfo
3239 pkgList = pArr; in RunningAppProcessInfo()
3252 dest.writeStringArray(pkgList); in writeToParcel()
3270 pkgList = source.readStringArray(); in readFromParcel()
DApplicationPackageManager.java1930 static void handlePackageBroadcast(int cmd, String[] pkgList, boolean hasPkgInfo) { in handlePackageBroadcast() argument
1935 if (pkgList != null && (pkgList.length > 0)) { in handlePackageBroadcast()
1937 for (String ssp : pkgList) { in handlePackageBroadcast()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java1059 final List<VersionedPackage> pkgList = Collections.singletonList(pkg); in registerConnectivityModuleHealthListener()
1060 onPackageFailure(pkgList, FAILURE_REASON_EXPLICIT_HEALTH_CHECK); in registerConnectivityModuleHealthListener()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2979 boolean includeSystem, boolean compress, boolean doKeyValue, String[] pkgList) { in adbBackup() argument
2993 if (pkgList == null || pkgList.length == 0) { in adbBackup()
3025 + pkgList)); in adbBackup()
3033 pkgList, eligibilityRules); in adbBackup()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java4019 List<AndroidPackage> pkgList, UidPermissionState uidState) {
4022 if (pkgList == null || pkgList.size() == 0) {
4025 for (AndroidPackage pkg : pkgList) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java3198 String[] pkgList = new String[] {pkg}; in testRestoreMultiUser() local
3207 mHelper.onPackagesChanged(false, 0, pkgList, uidList0); in testRestoreMultiUser()
3208 mHelper.onPackagesChanged(false, 10, pkgList, uidList10); in testRestoreMultiUser()

12