Home
last modified time | relevance | path

Searched refs:mAllowedPackages (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DRouteDiscoveryPreference.java71 private final List<String> mAllowedPackages; field in RouteDiscoveryPreference
88 mAllowedPackages = builder.mAllowedPackages; in RouteDiscoveryPreference()
96 mAllowedPackages = in.createStringArrayList(); in RouteDiscoveryPreference()
140 return mAllowedPackages; in getAllowedPackages()
180 dest.writeStringList(mAllowedPackages); in writeToParcel()
200 pw.println(indent + "mAllowedPackages=" + mAllowedPackages); in dump()
229 && Objects.equals(mAllowedPackages, other.mAllowedPackages) in equals()
235 return Objects.hash(mPreferredFeatures, mPackageOrder, mAllowedPackages, in hashCode()
245 List<String> mAllowedPackages; field in RouteDiscoveryPreference.Builder
256 mAllowedPackages = List.of(); in Builder()
[all …]
DMediaRoute2Info.java535 private final Set<String> mAllowedPackages; field in MediaRoute2Info
557 mAllowedPackages = builder.mAllowedPackages; in MediaRoute2Info()
581 mAllowedPackages = Set.of(in.createString8Array()); in MediaRoute2Info()
814 || mAllowedPackages.contains(packageName); in isVisibleTo()
882 pw.println(indent + "mAllowedPackages=" + mAllowedPackages); in dump()
918 && Objects.equals(mAllowedPackages, other.mAllowedPackages) in equals()
943 mAllowedPackages, in hashCode()
981 .append(String.join(",", mAllowedPackages)) in toString()
1013 dest.writeString8Array(mAllowedPackages.toArray(new String[0])); in writeToParcel()
1126 private Set<String> mAllowedPackages; field in Builder
[all …]
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java69 private final ArraySet<PackageIdentifier> mAllowedPackages = new ArraySet<>(); field in BlobAccessMode
73 mAllowedPackages.addAll(other.mAllowedPackages); in allow()
88 mAllowedPackages.add(PackageIdentifier.create(packageName, certificate)); in allowPackageAccess()
103 return mAllowedPackages.contains(PackageIdentifier.create(packageName, certificate)); in isPackageAccessAllowed()
122 for (int i = 0; i < mAllowedPackages.size(); ++i) { in isAccessAllowedForCaller()
123 final PackageIdentifier packageIdentifier = mAllowedPackages.valueAt(i); in isAccessAllowedForCaller()
153 return mAllowedPackages.size(); in getAllowedPackagesCount()
160 if (mAllowedPackages.isEmpty()) { in dump()
164 for (int i = 0, count = mAllowedPackages.size(); i < count; ++i) { in dump()
165 fout.println(mAllowedPackages.valueAt(i).toString()); in dump()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
DContentProtectionAllowlistManager.java71 private Set<String> mAllowedPackages = Set.of(); field in ContentProtectionAllowlistManager
110 allowedPackages = mAllowedPackages; in isAllowed()
117 mAllowedPackages = packages.stream().collect(Collectors.toUnmodifiableSet()); in handleUpdateAllowlistResponse()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java449 private final SparseArray<ArraySet<String>> mAllowedPackages = new SparseArray<>(); field in VrManagerService.NotificationAccessManager
456 ArraySet<String> allowed = mAllowedPackages.get(currentUserId); in update()
493 mAllowedPackages.put(currentUserId, allowed); in update()