/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 429 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/ |
D | SharedUserSetting.java | 113 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/ |
D | ProcessRecord.java | 89 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 …]
|
D | StrictModeViolationDialog.java | 52 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
|
D | AppErrors.java | 131 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()
|
D | ContentProviderConnection.java | 65 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
|
D | ProcessList.java | 1437 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 …]
|
D | AppNotRespondingDialog.java | 66 if ((mProc.pkgList.size() == 1) && in AppNotRespondingDialog()
|
D | AppErrorDialog.java | 74 if ((mProc.pkgList.size() == 1) && in AppErrorDialog()
|
D | ConnectionRecord.java | 131 ProcessStats.ProcessStateHolder holder = binding.service.app.pkgList.get( in startAssociationIfNeeded()
|
D | ActivityManagerService.java | 3192 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 …]
|
D | ContentProviderRecord.java | 297 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | AdbBackupParams.java | 35 boolean compress, boolean doKeyValue, String[] pkgList) { in AdbBackupParams() argument 45 packages = pkgList; in AdbBackupParams()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 375 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/ |
D | ConditionProviders.java | 172 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()
|
D | ManagedServices.java | 602 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()
|
D | NotificationManagerService.java | 1219 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 …]
|
D | PreferencesHelper.java | 1736 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/ |
D | MediaResourceMonitorService.java | 88 return proc.pkgList; in getPackageNamesFromPid()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 188 rapInfo.pkgList[0], 0); in isSystemApp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1459 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/ |
D | PackageWatchdog.java | 778 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/ |
D | ActivityManager.java | 2775 public String pkgList[]; 3142 pkgList = pArr; 3155 dest.writeStringArray(pkgList); 3173 pkgList = source.readStringArray();
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 395 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/ |
D | UserBackupManagerService.java | 2571 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()
|