Home
last modified time | relevance | path

Searched defs:pkgs (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationListenerFilterTest.java60 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testConstructor() local
78 ArraySet<VersionedPackage> pkgs = new ArraySet<>( in testSetDisallowedPackages() local
103 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testDescribeContents() local
113 ArraySet<VersionedPackage> pkgs = new ArraySet<>(new VersionedPackage[] {a1, a2}); in testParceling() local
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java53 ArraySet<String> pkgs = mFullAccessPkgs.get(userId, null); in hasFullAccess() local
58 ArraySet<String> pkgs = mFullAccessPkgs.get(userId, null); in grantFullAccess() local
67 ArraySet<String> pkgs = mFullAccessPkgs.get(userId, null); in removeGrant() local
82 final ArraySet<String> pkgs = mFullAccessPkgs.valueAt(i); in writeXml() local
121 ArraySet<String> pkgs = new ArraySet<>(); in readXml() local
/frameworks/base/core/java/android/service/notification/
DNotificationListenerFilter.java48 public NotificationListenerFilter(int types, ArraySet<VersionedPackage> pkgs) { in NotificationListenerFilter()
105 public void setDisallowedPackages(ArraySet<VersionedPackage> pkgs) { in setDisallowedPackages()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java387 String[] pkgs = new String[] {mCn1.getPackageName()}; in testOnPackageChanged() local
407 String[] pkgs = new String[] {mCn1.getPackageName()}; in testOnPackageChanged_removing() local
426 String[] pkgs = new String[] {"pkg1"}; in testOnPackageChanged_removingDisallowedPackage() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DPrefetchControllerTest.java225 ArraySet<String> pkgs = mPackagesForUid.get(job.getSourceUid()); in trackJobs() local
228 mPackagesForUid.put(job.getSourceUid(), pkgs); in trackJobs() local
/frameworks/base/services/core/java/com/android/server/pm/
DDexOptHelper.java114 public int[] performDexOptUpgrade(List<AndroidPackage> pkgs, boolean showDialog, in performDexOptUpgrade()
347 List<AndroidPackage> pkgs = new ArrayList<>(pkgSettings.size()); in performPackageDexOptUpgradeIfNeeded() local
371 ArrayList<String> pkgs = new ArrayList<>(); in getOptimizablePackages() local
DBackgroundDexOptService.java344 List<String> pkgs = mDexOptHelper.getOptimizablePackages(pm.snapshotComputer()); in onStartJob() local
540 PackageManagerService pm, List<String> pkgs, boolean isPostBootUpdate) { in runIdleOptimization()
598 private int idleOptimizePackages(PackageManagerService pm, List<String> pkgs, in idleOptimizePackages()
674 private int optimizePackages(List<String> pkgs, long lowStorageThreshold, in optimizePackages()
DUserRestrictionsUtils.java308 String[] pkgs = null; in isValidRestriction() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerAllowlistBackend.java129 public boolean isAllowlisted(String[] pkgs) { in isAllowlisted()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java86 Bundle pkgs = new Bundle(); in deliverResult() local
DAppFGSTracker.java537 final ArrayMap<String, PackageDurations> pkgs = map.get(uid); in hasForegroundServices() local
560 final ArrayMap<String, SparseBooleanArray> pkgs = map.get(uid); in hasForegroundServiceNotifications() local
609 final ArrayMap<String, SparseBooleanArray> pkgs = map.valueAt(i); in dumpOthers() local
DBaseAppStateTimeSlotEventsTracker.java117 final ArrayMap<String, U> pkgs = pkgEvents.valueAt(i); in onNumOfEventsThresholdChanged() local
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DMyContentCaptureService.java158 final ArraySet<String> pkgs = new ArraySet<>(1); in setAllowSelf() local
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java952 void dump(IndentingPrintWriter pw, List<String> pkgs) { in dump()
956 void dump(IndentingPrintWriter pw, List<String> pkgs, boolean compact) { in dump()
1096 final List<String> pkgs) { in printLast24HrEvents()
1161 boolean prettyDates, boolean skipEvents, List<String> pkgs) { in printIntervalStats()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesUserState.java43 public void setRunningServices(String[] pkgs, long serviceStartTime) { in setRunningServices()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java138 final String[] pkgs = context.getPackageManager().getPackagesForUid(uid); in checkUsageStatsPermission() local
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java164 List<PackageInfo> pkgs = in getStorableApplications() local
626 private void writeStateFile(List<PackageInfo> pkgs, ComponentName preferredHome, in writeStateFile()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java86 List<PackageInfo> pkgs = getInstalledPackages(userId); in getAppsRequestingPermission() local
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java264 List<String> pkgs = in run() local
/frameworks/base/services/core/java/com/android/server/om/
DOverlayReferenceMapper.java364 Set<String> pkgs = new HashSet<>(); in rebuild() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java433 private StatusBarNotification makeMockDisclosure(int userid, String[] pkgs) { in makeMockDisclosure()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java663 HashMap<String, Integer> pkgs; in saveCompatModes() local
/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java250 final Set<String> pkgs = in handleSubscriptionsChanged() local
/frameworks/base/graphics/java/android/graphics/
DTypeface.java620 final SparseArray<String> pkgs = mgr.getAssignedPackageIdentifiers(); in createAssetUid() local

12