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.java104 final String[] mCategories; field in ShareTargetInfo
109 mCategories = categories; in ShareTargetInfo()
121 for (int i = 0; i < mCategories.length; i++) { in toString()
122 strBuilder.append(" category=").append(mCategories[i]); in toString()
145 for (int i = 0; i < mCategories.length; i++) { in saveToXml()
147 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
DShortcutPackage.java956 for (int q = 0; q < target.mCategories.length; q++) { in getMatchingShareTargets()
957 if (!categories.contains(target.mCategories[q])) { in getMatchingShareTargets()
1005 for (int q = 0; q < target.mCategories.length; q++) { in getSharingShortcutCount()
1006 if (!categories.contains(target.mCategories[q])) { in getSharingShortcutCount()
/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.java417 private ArraySet<String> mCategories; field in ShortcutInfo
498 mCategories = cloneCategories(b.mCategories); in ShortcutInfo()
647 mCategories = cloneCategories(source.mCategories); in ShortcutInfo()
996 if (source.mCategories != null) { in copyNonNullFieldsFrom()
997 mCategories = cloneCategories(source.mCategories); in copyNonNullFieldsFrom()
1079 private Set<String> mCategories; field in ShortcutInfo.Builder
1334 mCategories = categories; in setCategories()
1694 return mCategories; in getCategories()
2258 mCategories = cloneCategories(categories); in setCategories()
2390 mCategories = null; in ShortcutInfo()
[all …]
/frameworks/base/core/java/android/content/
DIntentFilter.java340 private ArrayList<String> mCategories = null; field in IntentFilter
521 if (o.mCategories != null) { in IntentFilter()
522 mCategories = new ArrayList<String>(o.mCategories); in IntentFilter()
571 sb.append(mCategories.toString()); in toLongString()
1853 if (mCategories == null) mCategories = new ArrayList<String>(); in addCategory()
1854 if (!mCategories.contains(category)) { in addCategory()
1855 mCategories.add(category.intern()); in addCategory()
1863 return mCategories != null ? mCategories.size() : 0; in countCategories()
1870 return mCategories.get(index); in getCategory()
1881 return mCategories != null && mCategories.contains(category); in hasCategory()
[all …]
DIntent.java7805 private ArraySet<String> mCategories; field in Intent
7853 if (o.mCategories != null) { in Intent()
7854 this.mCategories = new ArraySet<>(o.mCategories); in Intent()
9181 return mCategories != null && mCategories.contains(category); in hasCategory()
9194 return mCategories; in getCategories()
10333 if (mCategories == null) { in addCategory()
10334 mCategories = new ArraySet<String>(); in addCategory()
10336 mCategories.add(category.intern()); in addCategory()
10348 if (mCategories != null) { in removeCategory()
10349 mCategories.remove(category); in removeCategory()
[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.java8699 assertEquals(expected.mCategories.length, actual.mCategories.length); in testParseShareTargetsFromManifest()
8700 for (int j = 0; j < expected.mCategories.length; j++) { in testParseShareTargetsFromManifest()
8701 assertEquals(expected.mCategories[j], actual.mCategories[j]); in testParseShareTargetsFromManifest()
8765 assertEquals(expected.mCategories.length, actual.mCategories.length); in testShareTargetInfo_saveToXml()
8766 for (int j = 0; j < expected.mCategories.length; j++) { in testShareTargetInfo_saveToXml()
8767 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;