Home
last modified time | relevance | path

Searched refs:protectedBroadcasts (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterUtils.java60 AndroidPackage potentialTarget, WatchedArraySet<String> protectedBroadcasts) { in canQueryViaComponents() argument
63 if (matchesPackage(intent, potentialTarget, protectedBroadcasts)) { in canQueryViaComponents()
141 WatchedArraySet<String> protectedBroadcasts) { in matchesPackage() argument
150 if (matchesAnyComponents(intent, potentialTarget.getReceivers(), protectedBroadcasts)) { in matchesPackage()
162 WatchedArraySet<String> protectedBroadcasts) { in matchesAnyComponents() argument
168 if (matchesAnyFilter(intent, component, protectedBroadcasts)) { in matchesAnyComponents()
176 WatchedArraySet<String> protectedBroadcasts) { in matchesAnyFilter() argument
180 if (matchesIntentFilter(intent, intentFilter, protectedBroadcasts)) { in matchesAnyFilter()
188 @Nullable WatchedArraySet<String> protectedBroadcasts) { in matchesIntentFilter() argument
191 protectedBroadcasts != null ? protectedBroadcasts.untrackedStorage() : null) > 0; in matchesIntentFilter()
[all …]
DAppsFilterImpl.java1007 final List<String> protectedBroadcasts = setting.getPkg().getProtectedBroadcasts(); in collectProtectedBroadcasts() local
1008 if (!protectedBroadcasts.isEmpty()) { in collectProtectedBroadcasts()
1009 mProtectedBroadcasts.addAll(protectedBroadcasts); in collectProtectedBroadcasts()
1033 final WatchedArraySet<String> protectedBroadcasts; in recomputeComponentVisibility() local
1036 protectedBroadcasts = new WatchedArraySet<String>(mProtectedBroadcasts); in recomputeComponentVisibility()
1042 existingSettings, forceQueryable, protectedBroadcasts); in recomputeComponentVisibility()
1181 final ArrayList<String> protectedBroadcasts = new ArrayList<>( in removePackageInternal() local
1184 for (int i = 0; i < protectedBroadcasts.size(); ++i) { in removePackageInternal()
1185 if (!mProtectedBroadcasts.contains(protectedBroadcasts.get(i))) { in removePackageInternal()
DDumpHelper.java75 ArraySet<String> protectedBroadcasts, in DumpHelper() argument
86 mProtectedBroadcasts = protectedBroadcasts; in DumpHelper()
DInstallPackageHelper.java639 final List<String> protectedBroadcasts = pkg.getProtectedBroadcasts(); in commitPackageSettings() local
640 if (!protectedBroadcasts.isEmpty()) { in commitPackageSettings()
642 mPm.mProtectedBroadcasts.addAll(protectedBroadcasts); in commitPackageSettings()
DPackageManagerService.java6589 final ArraySet<String> protectedBroadcasts; in dump() local
6591 protectedBroadcasts = new ArraySet<>(mProtectedBroadcasts); in dump()
6595 knownPackages, mChangedPackagesTracker, availableFeatures, protectedBroadcasts, in dump()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java168 protected List<String> protectedBroadcasts = emptyList(); field in PackageImpl
621 if (!this.protectedBroadcasts.contains(protectedBroadcast)) { in addProtectedBroadcast()
622 this.protectedBroadcasts = CollectionUtils.add(this.protectedBroadcasts, in addProtectedBroadcast()
1203 return protectedBroadcasts; in getProtectedBroadcasts()
2790 protectedBroadcasts = Collections.unmodifiableList(protectedBroadcasts);
2894 protectedBroadcasts.clear();
3188 sForInternedStringList.parcel(this.protectedBroadcasts, dest, flags);
3349 this.protectedBroadcasts = sForInternedStringList.unparcel(in);
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2291 if (pkg.protectedBroadcasts == null) { in parseBaseApkCommon()
2292 pkg.protectedBroadcasts = new ArrayList<String>(); in parseBaseApkCommon()
2294 if (!pkg.protectedBroadcasts.contains(name)) { in parseBaseApkCommon()
2295 pkg.protectedBroadcasts.add(name.intern()); in parseBaseApkCommon()
6832 public ArrayList<String> protectedBroadcasts; field in PackageParser.Package
7366 protectedBroadcasts = dest.createStringArrayList(); in Package()
7367 internStringArrayList(protectedBroadcasts); in Package()
7532 dest.writeStringList(protectedBroadcasts); in writeToParcel()