Home
last modified time | relevance | path

Searched refs:mimeGroup (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/common/util/src/
DMimeTypeUtil.cpp71 static struct MimeGroup mimeGroup[] = { variable
136 pGroup = mimeGroup; in convertMimeType()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java449 public boolean setMimeGroup(String mimeGroup, ArraySet<String> newMimeTypes) {
450 Set<String> oldMimeTypes = mimeGroups == null ? null : mimeGroups.get(mimeGroup);
452 throw new IllegalArgumentException("Unknown MIME group " + mimeGroup
457 mimeGroups.put(mimeGroup, newMimeTypes);
579 for (String mimeGroup : newMimeGroups.keySet()) {
580 Set<String> mimeTypes = newMimeGroups.get(mimeGroup);
583 mimeGroups.put(mimeGroup, new ArraySet<>(mimeTypes));
585 mimeGroups.put(mimeGroup, new ArraySet<>());
618 for (String mimeGroup : newMimeGroupNames) {
619 if (mimeGroups.containsKey(mimeGroup)) {
[all …]
DPackageManagerInternalBase.java676 public final List<String> getMimeGroup(String packageName, String mimeGroup) { in getMimeGroup() argument
677 return mService.getMimeGroupInternal(snapshot(), packageName, mimeGroup); in getMimeGroup()
DPackageManagerService.java5224 public List<String> getMimeGroup(String packageName, String mimeGroup) {
5227 return getMimeGroupInternal(snapshot, packageName, mimeGroup);
6240 public void setMimeGroup(String packageName, String mimeGroup, List<String> mimeTypes) { in setMimeGroup() argument
6250 Set<String> existingMimeTypes = packageState.getMimeGroups().get(mimeGroup); in setMimeGroup()
6252 throw new IllegalArgumentException("Unknown MIME group " + mimeGroup in setMimeGroup()
6261 + mimeGroup + " exceeded for package " + packageName); in setMimeGroup()
6266 packageStateWrite.setMimeGroup(mimeGroup, mimeTypesSet); in setMimeGroup()
6268 if (mComponentResolver.updateMimeGroup(snapshotComputer(), packageName, mimeGroup)) { in setMimeGroup()
7536 String mimeGroup) { in getMimeGroupInternal() argument
7543 Set<String> mimeTypes = mimeGroups != null ? mimeGroups.get(mimeGroup) : null; in getMimeGroupInternal()
[all …]
DSettings.java4454 for (String mimeGroup: mimeGroups.keySet()) {
4456 serializer.attribute(null, ATTR_NAME, mimeGroup);
4458 for (String mimeType: mimeGroups.get(mimeGroup)) {
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageStateWrite.java44 PackageStateWrite setMimeGroup(@NonNull String mimeGroup, @NonNull ArraySet<String> mimeTypes); in setMimeGroup() argument
DPackageStateMutator.java241 public PackageStateWrite setMimeGroup(@NonNull String mimeGroup, in setMimeGroup() argument
244 mState.setMimeGroup(mimeGroup, mimeTypes); in setMimeGroup()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java1151 public abstract List<String> getMimeGroup(String packageName, String mimeGroup); in getMimeGroup() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java3827 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in setMimeGroup() argument
3829 mPM.setMimeGroup(mContext.getPackageName(), mimeGroup, new ArrayList<>(mimeTypes)); in setMimeGroup() local
3839 List<String> mimeGroup = mPM.getMimeGroup(mContext.getPackageName(), group); in getMimeGroup() local
3840 return new ArraySet<>(mimeGroup); in getMimeGroup()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolver.java869 String mimeGroup) { in updateMimeGroup() argument
870 F[] filters = mMimeGroupToFilter.get(mimeGroup); in updateMimeGroup()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java11168 public void setMimeGroup(@NonNull String mimeGroup, @NonNull Set<String> mimeTypes) { in setMimeGroup() argument
11184 public Set<String> getMimeGroup(@NonNull String mimeGroup) { in getMimeGroup() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt1183 field public static final int mimeGroup = 16844309; // 0x1010615