Home
last modified time | relevance | path

Searched refs:getCategories (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DCategoryManager.java85 public synchronized List<DashboardCategory> getCategories(Context context) { in getCategories() method in CategoryManager
86 return getCategories(context, TileUtils.SETTING_PKG); in getCategories()
89 public synchronized List<DashboardCategory> getCategories(Context context, String settingPkg) { in getCategories() method in CategoryManager
129 mCategories = TileUtils.getCategories(context, mTileByComponentCache, in tryInitCategories()
DTileUtils.java172 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
174 return getCategories(context, cache, true /*categoryDefinedInManifest*/); in getCategories()
182 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
184 return getCategories(context, cache, categoryDefinedInManifest, null, SETTING_PKG); in getCategories()
194 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java268 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel()
323 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel_resId()
369 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
389 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
410 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
430 assertEquals(null, si.getCategories()); in testShortcutInfoClone()
479 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
502 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
526 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
549 assertEquals(null, si.getCategories()); in testShortcutInfoClone_resId()
[all …]
DShortcutManagerTest1.java6282 assertEquals(set("cat2"), si.getCategories()); in testManifestShortcuts_missingMandatoryFields()
6466 si.getCategories()); in testManifestShortcuts_checkAllFields()
6484 assertEquals(set("android.shortcut.conversation"), si.getCategories()); in testManifestShortcuts_checkAllFields()
6499 assertEmpty(si.getCategories()); in testManifestShortcuts_checkAllFields()
6514 assertEquals(set("cat"), si.getCategories()); in testManifestShortcuts_checkAllFields()
6527 assertEquals(set("cat1", "cat2"), si.getIntent().getCategories()); in testManifestShortcuts_checkAllFields()
/frameworks/base/services/core/java/com/android/server/firewall/
DCategoryFilter.java39 Set<String> categories = intent.getCategories(); in matches()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java128 assertEquals(Intent.CATEGORY_LAUNCHER, intent.getCategories().iterator().next()); in queryIntentActivitiesAsUser()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java206 List<DashboardCategory> categoryList = TileUtils.getCategories( in getCategories_shouldHandleExtraIntentAction()
223 TileUtils.getCategories( in getCategories_withPackageName()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java215 final Set<String> categories = intent.getCategories(); in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java246 || (currentShortcut.getCategories() != null)) { in parseShortcutsOneFile()
DInstantAppRegistry.java383 final Set<String> categories = intent.getCategories(); in grantInstantAccessLPw()
DShortcutPackage.java1318 final Set<String> cat = si.getCategories(); in saveShortcut()
DSettings.java3503 if (intent.getCategories() != null) { in applyDefaultPreferredActivityLPw()
3504 for (String cat : intent.getCategories()) { in applyDefaultPreferredActivityLPw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationBarController.java379 if (intent.getCategories().contains(Intent.CATEGORY_HOME)) { in onFacetClicked()
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
DMediaRouterJellybean.java65 public static List getCategories(Object routerObj) { in getCategories() method in MediaRouterJellybean
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java223 final Set<String> categories = intent.getCategories(); in onCreate()
327 final Set<String> categories = intent.getCategories(); in onCreate()
662 Set<String> categories = filterIntent.getCategories(); in onTargetSelected()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java689 final Set<String> categories = intent.getCategories(); in getFastIntentCategories()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1178 public Set<String> getCategories() { in getCategories() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java408 final Set<String> cats = task.intent.getCategories(); in crashApplicationInner()
DActivityRecord.java988 && intent.getCategories().size() == 1
996 && intent.getCategories().size() == 1
/frameworks/base/core/java/android/content/
DIntent.java6573 if (intent.getAction() != null && baseIntent.getCategories() != null) { in parseCommandArgs()
6574 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs()
6801 public Set<String> getCategories() { in getCategories() method
DIntentFilter.java1508 intent.getData(), intent.getCategories(), logTag); in match()
/frameworks/base/api/
Dcurrent.txt9183 method public java.util.Set<java.lang.String> getCategories();
10938 method public java.util.Set<java.lang.String> getCategories();
Dsystem-current.txt9706 method public java.util.Set<java.lang.String> getCategories();
11704 method public java.util.Set<java.lang.String> getCategories();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7480 method public java.util.Set<java.lang.String> getCategories();