Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java270 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel()
328 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel_resId()
376 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
399 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
423 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
444 assertEquals(null, si.getCategories()); in testShortcutInfoClone()
466 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
519 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
542 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
566 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
[all …]
DShortcutManagerTest1.java6852 assertEquals(set("cat2"), si.getCategories()); in testManifestShortcuts_missingMandatoryFields()
7036 si.getCategories()); in testManifestShortcuts_checkAllFields()
7054 assertEquals(set("android.shortcut.conversation"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7069 assertEmpty(si.getCategories()); in testManifestShortcuts_checkAllFields()
7084 assertEquals(set("cat"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7097 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/view/textclassifier/intent/
DTemplateIntentFactoryTest.java103 assertThat(intent.getCategories()).containsExactly((Object[]) CATEGORY); in create_full()
165 assertThat(intent.getCategories()).isNull(); in create_minimal()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarFacetButtonController.java64 String[] categories = facetButton.getCategories(); in addFacetButton()
DCarFacetButton.java169 public String[] getCategories() {
/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/Tile/src/com/android/settingslib/drawer/
DTileUtils.java210 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java368 setFromArray(Intent.CATEGORY_LAUNCHER), intent.getCategories()); in queryIntentActivitiesAsUser()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java300 || (currentShortcut.getCategories() != null)) { in parseShortcutsOneFile()
DShortcutPackage.java685 final Set<String> categories = shortcuts.get(i).getCategories(); in getMatchingShareTargets()
729 final Set<String> categories = shortcuts.get(i).getCategories(); in getSharingShortcutCount()
1560 final Set<String> cat = si.getCategories(); in saveShortcut()
DInstantAppResolver.java105 Set<String> categories = origIntent.getCategories(); in sanitizeIntent()
DInstantAppRegistry.java416 final Set<String> categories = intent.getCategories(); in grantInstantAccessLPw()
DSettings.java3399 if (intent.getCategories() != null) { in applyDefaultPreferredActivityLPw()
3400 for (String cat : intent.getCategories()) { in applyDefaultPreferredActivityLPw()
DPackageManagerService.java5110 intent.getData(), intent.getCategories(), TAG) >= 0) {
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java162 TileUtils.getCategories(mContext, cache); in getCategories_withPackageName()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java268 final Set<String> categories = intent.getCategories();
368 final Set<String> categories = intent.getCategories();
995 Set<String> categories = filterIntent.getCategories();
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java715 final Set<String> categories = intent.getCategories(); in getFastIntentCategories()
/frameworks/base/core/java/android/content/
DIntent.java7605 if (intent.getAction() != null && baseIntent.getCategories() != null) { in parseCommandArgs()
7606 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs()
7847 public Set<String> getCategories() { in getCategories() method
DIntentFilter.java1526 intent.getData(), intent.getCategories(), logTag); in match()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1477 public Set<String> getCategories() { in getCategories() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1242 && intent.getCategories().size() == 1 in isHomeIntent()
1250 && intent.getCategories().size() == 1 in isMainIntent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java2855 assertTrue(intent.getCategories().contains(WifiNetworkFactory.UI_START_INTENT_CATEGORY)); in validateUiStartParams()
/frameworks/base/non-updatable-api/
Dcurrent.txt10099 method public java.util.Set<java.lang.String> getCategories();
12017 method @Nullable public java.util.Set<java.lang.String> getCategories();
/frameworks/base/api/
Dcurrent.txt10099 method public java.util.Set<java.lang.String> getCategories();
12017 method @Nullable public java.util.Set<java.lang.String> getCategories();

12