Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java68 Map<String, ArraySet<String>> mimeGroups; field in PackageSetting
79 long[] usesStaticLibrariesVersions, Map<String, ArraySet<String>> mimeGroups) { in PackageSetting() argument
85 copyMimeGroups(mimeGroups); in PackageSetting()
135 copyMimeGroups(orig.mimeGroups); in doCopy()
140 mimeGroups = null; in copyMimeGroups()
144 mimeGroups = new ArrayMap<>(newMimeGroups.size()); in copyMimeGroups()
149 mimeGroups.put(mimeGroup, new ArraySet<>(mimeTypes)); in copyMimeGroups()
151 mimeGroups.put(mimeGroup, new ArraySet<>()); in copyMimeGroups()
162 mimeGroups = null; in updateMimeGroups()
166 if (mimeGroups == null) { in updateMimeGroups()
[all …]
DSettings.java544 p.usesStaticLibraries, p.usesStaticLibrariesVersions, p.mimeGroups); in enableSystemPackageLPw()
564 long[] usesStaticLibraryNames, Map<String, ArraySet<String>> mimeGroups) { in addPackageLPw() argument
578 mimeGroups); in addPackageLPw()
2935 writeMimeGroupLPr(serializer, pkg.mimeGroups); in writePackageLPr()
3969 packageSetting.mimeGroups = readMimeGroupLPw(parser, packageSetting.mimeGroups); in readPackageLPw()
3994 Map<String, ArraySet<String>> mimeGroups) throws XmlPullParserException, IOException { in readMimeGroupLPw() argument
3998 return mimeGroups; in readMimeGroupLPw()
4001 if (mimeGroups == null) { in readMimeGroupLPw()
4002 mimeGroups = new ArrayMap<>(); in readMimeGroupLPw()
4005 ArraySet<String> mimeTypes = mimeGroups.get(groupName); in readMimeGroupLPw()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java134 public PackageSettingBuilder setMimeGroups(Map<String, ArraySet<String>> mimeGroups) { in setMimeGroups() argument
135 this.mMimeGroups = mimeGroups; in setMimeGroups()
DPackageManagerSettingsTests.java815 assertNotSame(origPkgSetting.mimeGroups, testPkgSetting.mimeGroups); in verifySettingCopy()
816 assertThat(origPkgSetting.mimeGroups, is(testPkgSetting.mimeGroups)); in verifySettingCopy()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java422 private ArraySet<String> mimeGroups; field in ParsingPackageImpl
1110 dest.writeArraySet(this.mimeGroups);
1270 this.mimeGroups = (ArraySet<String>) in.readArraySet(boot);
1583 mimeGroups = ArrayUtils.add(mimeGroups, filter.getMimeGroup(groupIndex));
1591 return mimeGroups;