Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java103 final String[] mCategories; field in ShareTargetInfo
108 mCategories = categories; in ShareTargetInfo()
120 for (int i = 0; i < mCategories.length; i++) { in toString()
121 strBuilder.append(" category=").append(mCategories[i]); in toString()
144 for (int i = 0; i < mCategories.length; i++) { in saveToXml()
146 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
DShortcutPackage.java951 for (int q = 0; q < target.mCategories.length; q++) { in getMatchingShareTargets()
952 if (!categories.contains(target.mCategories[q])) { in getMatchingShareTargets()
1000 for (int q = 0; q < target.mCategories.length; q++) { in getSharingShortcutCount()
1001 if (!categories.contains(target.mCategories[q])) { in getSharingShortcutCount()
/frameworks/base/core/java/android/content/
DIntentFilter.java306 private ArrayList<String> mCategories = null; field in IntentFilter
485 if (o.mCategories != null) { in IntentFilter()
486 mCategories = new ArrayList<String>(o.mCategories); in IntentFilter()
1696 if (mCategories == null) mCategories = new ArrayList<String>(); in addCategory()
1697 if (!mCategories.contains(category)) { in addCategory()
1698 mCategories.add(category.intern()); in addCategory()
1706 return mCategories != null ? mCategories.size() : 0; in countCategories()
1713 return mCategories.get(index); in getCategory()
1724 return mCategories != null && mCategories.contains(category); in hasCategory()
1733 return mCategories != null ? mCategories.iterator() : null; in categoriesIterator()
[all …]
DIntent.java7300 private ArraySet<String> mCategories; field in Intent
7348 if (o.mCategories != null) { in Intent()
7349 this.mCategories = new ArraySet<>(o.mCategories); in Intent()
8649 return mCategories != null && mCategories.contains(category); in hasCategory()
8662 return mCategories; in getCategories()
9785 if (mCategories == null) { in addCategory()
9786 mCategories = new ArraySet<String>(); in addCategory()
9788 mCategories.add(category.intern()); in addCategory()
9800 if (mCategories != null) { in removeCategory()
9801 mCategories.remove(category); in removeCategory()
[all …]
/frameworks/base/core/java/android/service/autofill/
DCompositeUserData.java44 private final String[] mCategories; field in CompositeUserData
73 mCategories = new String[categoryIds.size()]; in CompositeUserData()
74 categoryIds.toArray(mCategories); in CompositeUserData()
156 return mCategories; in getCategoryIds()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java416 private ArraySet<String> mCategories; field in ShortcutInfo
497 mCategories = cloneCategories(b.mCategories); in ShortcutInfo()
646 mCategories = cloneCategories(source.mCategories); in ShortcutInfo()
995 if (source.mCategories != null) { in copyNonNullFieldsFrom()
996 mCategories = cloneCategories(source.mCategories); in copyNonNullFieldsFrom()
1078 private Set<String> mCategories; field in ShortcutInfo.Builder
1333 mCategories = categories; in setCategories()
1689 return mCategories; in getCategories()
2253 mCategories = cloneCategories(categories); in setCategories()
2385 mCategories = null; in ShortcutInfo()
[all …]
/frameworks/base/media/java/android/media/
DMediaRouter.java95 final ArrayList<RouteCategory> mCategories = new ArrayList<RouteCategory>(); field in MediaRouter.Static
1177 if (!sStatic.mCategories.contains(cat)) { in addRouteStatic()
1178 sStatic.mCategories.add(cat); in addRouteStatic()
1249 sStatic.mCategories.remove(removingCat); in removeRouteStatic()
1262 return sStatic.mCategories.size(); in getCategoryCount()
1273 return sStatic.mCategories.get(index); in getCategoryAt()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8731 assertEquals(expected.mCategories.length, actual.mCategories.length); in testParseShareTargetsFromManifest()
8732 for (int j = 0; j < expected.mCategories.length; j++) { in testParseShareTargetsFromManifest()
8733 assertEquals(expected.mCategories[j], actual.mCategories[j]); in testParseShareTargetsFromManifest()
8797 assertEquals(expected.mCategories.length, actual.mCategories.length); in testShareTargetInfo_saveToXml()
8798 for (int j = 0; j < expected.mCategories.length; j++) { in testShareTargetInfo_saveToXml()
8799 assertEquals(expected.mCategories[j], actual.mCategories[j]); in testShareTargetInfo_saveToXml()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt10634 Landroid/content/Intent;->mCategories:Landroid/util/ArraySet;
10696 Landroid/content/IntentFilter;->mCategories:Ljava/util/ArrayList;
13187 Landroid/content/pm/ShortcutInfo$Builder;->mCategories:Ljava/util/Set;
13300 Landroid/content/pm/ShortcutInfo;->mCategories:Landroid/util/ArraySet;
28470 Landroid/media/MediaRouter$Static;->mCategories:Ljava/util/ArrayList;