Home
last modified time | relevance | path

Searched refs:mimeGroups (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java129 private Map<String, Set<String>> mimeGroups; field in PackageSetting
450 Set<String> oldMimeTypes = mimeGroups == null ? null : mimeGroups.get(mimeGroup);
457 mimeGroups.put(mimeGroup, newMimeTypes);
574 mimeGroups = null;
578 mimeGroups = new ArrayMap<>(newMimeGroups.size());
583 mimeGroups.put(mimeGroup, new ArraySet<>(mimeTypes));
585 mimeGroups.put(mimeGroup, new ArraySet<>());
594 Set<String> mimeGroupNames = other.mimeGroups != null ? other.mimeGroups.keySet() : null;
606 mimeGroups = null;
610 if (mimeGroups == null) {
[all …]
DSettings.java4449 Map<String, Set<String>> mimeGroups) throws IOException {
4450 if (mimeGroups == null) {
4454 for (String mimeGroup: mimeGroups.keySet()) {
4458 for (String mimeType: mimeGroups.get(mimeGroup)) {
DPackageManagerService.java7542 final Map<String, Set<String>> mimeGroups = packageState.getMimeGroups(); in getMimeGroupInternal() local
7543 Set<String> mimeTypes = mimeGroups != null ? mimeGroups.get(mimeGroup) : null; in getMimeGroupInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java117 public PackageSettingBuilder setMimeGroups(Map<String, Set<String>> mimeGroups) { in setMimeGroups() argument
118 this.mMimeGroups = mimeGroups; in setMimeGroups()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java400 private Set<String> mimeGroups = emptySet(); field in PackageImpl
569 if (mimeGroups != null && mimeGroups.size() > 500) { in addMimeGroupsFromComponent()
572 mimeGroups = CollectionUtils.add(mimeGroups, filter.getMimeGroup(groupIndex)); in addMimeGroupsFromComponent()
1075 return mimeGroups; in getMimeGroups()
2820 mimeGroups = Collections.unmodifiableSet(mimeGroups);
3247 sForInternedStringSet.parcel(this.mimeGroups, dest, flags);
3414 this.mimeGroups = sForInternedStringSet.unparcel(in);
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt631 expect.that(after.mimeGroups).containsExactly( in <lambda>()