/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessProfileRecord.java | 247 final PackageList pkgList = mApp.getPkgList(); in onProcessFrozen() local 249 synchronized (pkgList) { in onProcessFrozen() 250 tracker.onProcessFrozen(now, pkgList.getPackageListLocked()); in onProcessFrozen() 260 final PackageList pkgList = mApp.getPkgList(); in onProcessUnfrozen() local 262 synchronized (pkgList) { in onProcessUnfrozen() 263 tracker.onProcessUnfrozen(now, pkgList.getPackageListLocked()); in onProcessUnfrozen() 274 final PackageList pkgList = mApp.getPkgList(); in onProcessActive() local 276 synchronized (pkgList) { in onProcessActive() 279 pkgList.getPackageListLocked()); in onProcessActive() 290 pkgList.forEachPackage((pkgName, holder) -> { in onProcessActive() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 551 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in doHandlePackageEvent() local 552 mAppearingPackages = pkgList; in doHandlePackageEvent() 556 if (pkgList != null) { in doHandlePackageEvent() 557 onPackagesAvailable(pkgList); in doHandlePackageEvent() 558 for (int i=0; i<pkgList.length; i++) { in doHandlePackageEvent() 559 onPackageAppeared(pkgList[i], mChangeType); in doHandlePackageEvent() 563 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in doHandlePackageEvent() local 564 mDisappearingPackages = pkgList; in doHandlePackageEvent() 568 if (pkgList != null) { in doHandlePackageEvent() 569 onPackagesUnavailable(pkgList); in doHandlePackageEvent() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | AdbBackupParams.java | 38 boolean compress, boolean doKeyValue, String[] pkgList, in AdbBackupParams() argument 49 packages = pkgList; in AdbBackupParams()
|
/frameworks/base/services/core/java/com/android/server/crashrecovery/ |
D | CrashRecoveryHelper.java | 92 final List<VersionedPackage> pkgList = Collections.singletonList(pkg); in registerConnectivityModuleHealthListener() 93 PackageWatchdog.getInstance(mContext).onPackageFailure(pkgList, failureReason); in registerConnectivityModuleHealthListener()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 431 ArrayMap<String, ProcessStateHolder> pkgList) { in onProcessFrozen() argument 435 setCombinedState(combinedState, now, pkgList); in onProcessFrozen() 442 ArrayMap<String, ProcessStateHolder> pkgList) { in onProcessUnfrozen() argument 445 setCombinedState(combinedState, now, pkgList); in onProcessUnfrozen() 457 ArrayMap<String, ProcessStateHolder> pkgList) { in setState() argument 464 setCombinedState(state, now, pkgList); in setState() 471 ArrayMap<String, ProcessStateHolder> pkgList) { in setCombinedState() argument 480 if (pkgList != null) { in setCombinedState() 481 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setCombinedState() 482 pullFixedProc(pkgList, ip).setCombinedStateIdv(state, now); in setCombinedState() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageMonitorCallbackHelperTest.java | 146 String[] pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in testPackageMonitorCallback_SuspendCallbackCalled() local 147 assertThat(pkgList).isNotNull(); in testPackageMonitorCallback_SuspendCallbackCalled() 148 assertThat(pkgList.length).isEqualTo(1); in testPackageMonitorCallback_SuspendCallbackCalled() 149 assertThat(pkgList[0]).isEqualTo(FAKE_PACKAGE_NAME); in testPackageMonitorCallback_SuspendCallbackCalled()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ConditionProviders.java | 233 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uid) { in onPackagesChanged() argument 237 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged() 238 for (String pkgName : pkgList) { in onPackagesChanged() 248 super.onPackagesChanged(removingPackage, pkgList, uid); in onPackagesChanged()
|
D | ManagedServices.java | 997 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument 1001 + " pkgList=" + (pkgList == null ? null : Arrays.asList(pkgList)) in onPackagesChanged() 1006 if (pkgList != null && (pkgList.length > 0)) { in onPackagesChanged() 1010 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged() 1012 final String pkg = pkgList[i]; in onPackagesChanged() 1017 for (String pkgName : pkgList) { in onPackagesChanged()
|
D | NotificationManagerService.java | 1941 String pkgList[] = null; 1947 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); 1950 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); 1955 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); 1965 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); 1970 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); 2005 pkgList = new String[]{pkgName}; 2008 if (pkgList != null && (pkgList.length > 0)) { 2010 for (String pkgName : pkgList) { 2015 hideNotificationsForPackages(pkgList, uidList); [all …]
|
D | PreferencesHelper.java | 2625 public boolean onPackagesChanged(boolean removingPackage, int changeUserId, String[] pkgList, in onPackagesChanged() argument 2627 if (pkgList == null || pkgList.length == 0) { in onPackagesChanged() 2633 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged() 2635 final String pkg = pkgList[i]; in onPackagesChanged() 2644 for (String pkg : pkgList) { in onPackagesChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUserSetting.java | 226 final ArrayList<AndroidPackage> pkgList = new ArrayList<>(mPackages.size()); 232 pkgList.add(ps.getPkg()); 234 return pkgList;
|
D | BroadcastHelper.java | 776 final ArrayList<String> pkgList = new ArrayList<>(pkgSize); in filterPackages() local 784 pkgList.add(packageName); in filterPackages() 790 pkgList.size() > 0 ? pkgList.toArray(new String[pkgList.size()]) : null, in filterPackages() 996 @NonNull String[] pkgList, in sendPackagesSuspendedOrUnsuspendedForUser() argument 1001 extras.putStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST, pkgList); in sendPackagesSuspendedOrUnsuspendedForUser() 1064 @NonNull String[] pkgList, in sendDistractingPackagesChanged() argument 1069 extras.putStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST, pkgList); in sendDistractingPackagesChanged()
|
D | AppStateHelper.java | 61 return ArrayUtils.contains(info.pkgList, packageName) in isPackageLoaded() 303 for (var pkg : info.pkgList) { in getDependencyPackages()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaResourceMonitorService.java | 88 return proc.pkgList; in getPackageNamesFromPid()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfRunPreconditionBase.java | 142 for (String pkg : processInfo.pkgList) { in killBackgroundProcesses()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 188 rapInfo.pkgList[0], 0); in isSystemApp()
|
/frameworks/base/tests/UsbManagerTests/src/com/android/server/usbtest/ |
D | UsbProfileGroupSettingsManagerTest.java | 151 mRunningAppProcessInfo.pkgList = new String[] { TEST_PACKAGE_NAME }; in setupDefaultConfiguration()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1566 String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() local 1567 if (pkgList == null || pkgList.length == 0) { in onReceive() 1573 for (String pkgName : pkgList) { in onReceive()
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyRegistryManager.java | 1567 List<String> pkgList = List.copyOf(privilegedPackageNames); in notifyCarrierPrivilegesChanged() local 1569 sRegistry.notifyCarrierPrivilegesChanged(logicalSlotIndex, pkgList, uids); in notifyCarrierPrivilegesChanged()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 451 final String pkgList[]; in onPackageBroadcastReceived() local 455 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived() 462 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onPackageBroadcastReceived() 465 pkgList = null; in onPackageBroadcastReceived() 477 pkgList = new String[] { pkgName }; in onPackageBroadcastReceived() 482 if ((pkgList == null || pkgList.length == 0) && clearedUid == -1) { in onPackageBroadcastReceived() 499 for (String pkgName : pkgList) { in onPackageBroadcastReceived() 525 for (String pkgName : pkgList) { in onPackageBroadcastReceived()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 4940 String pkgList[] = null; in onReceive() local 4943 pkgList = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive() 4944 for (String packageName : pkgList) { in onReceive() 4994 pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); in onReceive() 5010 pkgList = new String[]{pkg}; in onReceive() 5015 if (pkgList != null && (pkgList.length > 0)) { in onReceive() 5016 for (String pkg : pkgList) { in onReceive()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 2817 boolean includeSystem, boolean compress, boolean doKeyValue, String[] pkgList) { in adbBackup() argument 2831 if (pkgList == null || pkgList.length == 0) { in adbBackup() 2863 + Arrays.toString(pkgList))); in adbBackup() 2871 pkgList, eligibilityRules); in adbBackup()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PackageWatchdog.java | 1158 final List<VersionedPackage> pkgList = Collections.singletonList(pkg); in registerConnectivityModuleHealthListener() 1159 onPackageFailure(pkgList, FAILURE_REASON_EXPLICIT_HEALTH_CHECK); in registerConnectivityModuleHealthListener()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3710 public String[] pkgList; field in ActivityManager.RunningAppProcessInfo 4083 pkgList = pArr; in RunningAppProcessInfo() 4096 dest.writeStringArray(pkgList); in writeToParcel() 4115 pkgList = source.readStringArray(); in readFromParcel()
|
D | ApplicationPackageManager.java | 2281 static void handlePackageBroadcast(int cmd, String[] pkgList, boolean hasPkgInfo) { in handlePackageBroadcast() argument 2286 if (pkgList != null && (pkgList.length > 0)) { in handlePackageBroadcast() 2288 for (String ssp : pkgList) { in handlePackageBroadcast()
|