Home
last modified time | relevance | path

Searched refs:mCategories (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/
DIntentFilter.java278 private ArrayList<String> mCategories = null; field in IntentFilter
454 if (o.mCategories != null) { in IntentFilter()
455 mCategories = new ArrayList<String>(o.mCategories); in IntentFilter()
1432 if (mCategories == null) mCategories = new ArrayList<String>(); in addCategory()
1433 if (!mCategories.contains(category)) { in addCategory()
1434 mCategories.add(category.intern()); in addCategory()
1442 return mCategories != null ? mCategories.size() : 0; in countCategories()
1449 return mCategories.get(index); in getCategory()
1460 return mCategories != null && mCategories.contains(category); in hasCategory()
1469 return mCategories != null ? mCategories.iterator() : null; in categoriesIterator()
[all …]
DIntent.java6561 private ArraySet<String> mCategories; field in Intent
6607 if (o.mCategories != null) { in Intent()
6608 this.mCategories = new ArraySet<>(o.mCategories); in Intent()
7835 return mCategories != null && mCategories.contains(category); in hasCategory()
7848 return mCategories; in getCategories()
8889 if (mCategories == null) { in addCategory()
8890 mCategories = new ArraySet<String>(); in addCategory()
8892 mCategories.add(category.intern()); in addCategory()
8904 if (mCategories != null) { in removeCategory()
8905 mCategories.remove(category); in removeCategory()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java102 final String[] mCategories; field in ShareTargetInfo
107 mCategories = categories; in ShareTargetInfo()
119 for (int i = 0; i < mCategories.length; i++) { in toString()
120 strBuilder.append(" category=").append(mCategories[i]); in toString()
143 for (int i = 0; i < mCategories.length; i++) { in saveToXml()
145 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
DShortcutPackage.java693 for (int q = 0; q < target.mCategories.length; q++) { in getMatchingShareTargets()
694 if (!categories.contains(target.mCategories[q])) { in getMatchingShareTargets()
737 for (int q = 0; q < target.mCategories.length; q++) { in getSharingShortcutCount()
738 if (!categories.contains(target.mCategories[q])) { in getSharingShortcutCount()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java353 private ArraySet<String> mCategories; field in ShortcutInfo
425 mCategories = cloneCategories(b.mCategories); in ShortcutInfo()
560 mCategories = cloneCategories(source.mCategories); in ShortcutInfo()
883 if (source.mCategories != null) { in copyNonNullFieldsFrom()
884 mCategories = cloneCategories(source.mCategories); in copyNonNullFieldsFrom()
957 private Set<String> mCategories; field in ShortcutInfo.Builder
1191 mCategories = categories; in setCategories()
1478 return mCategories; in getCategories()
2005 mCategories = cloneCategories(categories); in setCategories()
2044 mCategories = null; in ShortcutInfo()
[all …]
/frameworks/base/core/java/android/service/autofill/
DCompositeUserData.java45 private final String[] mCategories; field in CompositeUserData
74 mCategories = new String[categoryIds.size()]; in CompositeUserData()
75 categoryIds.toArray(mCategories); in CompositeUserData()
157 return mCategories; in getCategoryIds()
/frameworks/base/media/java/android/media/
DMediaRouter.java84 final ArrayList<RouteCategory> mCategories = new ArrayList<RouteCategory>(); field in MediaRouter.Static
1125 if (!sStatic.mCategories.contains(cat)) { in addRouteStatic()
1126 sStatic.mCategories.add(cat); in addRouteStatic()
1197 sStatic.mCategories.remove(removingCat); in removeRouteStatic()
1210 return sStatic.mCategories.size(); in getCategoryCount()
1221 return sStatic.mCategories.get(index); in getCategoryAt()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8095 assertEquals(expected.mCategories.length, actual.mCategories.length); in testParseShareTargetsFromManifest()
8096 for (int j = 0; j < expected.mCategories.length; j++) { in testParseShareTargetsFromManifest()
8097 assertEquals(expected.mCategories[j], actual.mCategories[j]); in testParseShareTargetsFromManifest()
8161 assertEquals(expected.mCategories.length, actual.mCategories.length); in testShareTargetInfo_saveToXml()
8162 for (int j = 0; j < expected.mCategories.length; j++) { in testShareTargetInfo_saveToXml()
8163 assertEquals(expected.mCategories[j], actual.mCategories[j]); in testShareTargetInfo_saveToXml()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13521 Landroid/content/Intent;->mCategories:Landroid/util/ArraySet;
13583 Landroid/content/IntentFilter;->mCategories:Ljava/util/ArrayList;
16074 Landroid/content/pm/ShortcutInfo$Builder;->mCategories:Ljava/util/Set;
16187 Landroid/content/pm/ShortcutInfo;->mCategories:Landroid/util/ArraySet;
38599 Landroid/media/MediaRouter$Static;->mCategories:Ljava/util/ArrayList;