Home
last modified time | relevance | path

Searched refs:getCategories (Results 1 – 25 of 26) 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.java155 public String[] getCategories() { in getCategories() method in CarFacetButton
/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.java417 final Set<String> categories = intent.getCategories(); in grantInstantAccessLPw()
DSettings.java3398 if (intent.getCategories() != null) { in applyDefaultPreferredActivityLPw()
3399 for (String cat : intent.getCategories()) { in applyDefaultPreferredActivityLPw()
DPackageManagerService.java5177 intent.getData(), intent.getCategories(), TAG) >= 0) { in activitySupportsIntent()
/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.java264 final Set<String> categories = intent.getCategories();
367 final Set<String> categories = intent.getCategories();
980 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.java7410 if (intent.getAction() != null && baseIntent.getCategories() != null) { in parseCommandArgs()
7411 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs()
7652 public Set<String> getCategories() { in getCategories() method
DIntentFilter.java1528 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.java1241 && intent.getCategories().size() == 1 in isHomeIntent()
1249 && intent.getCategories().size() == 1 in isMainIntent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java2598 assertTrue(intent.getCategories().contains(WifiNetworkFactory.UI_START_INTENT_CATEGORY)); in validateUiStartParams()
/frameworks/base/api/
Dcurrent.txt10089 method public java.util.Set<java.lang.String> getCategories();
12000 method @Nullable public java.util.Set<java.lang.String> getCategories();
/frameworks/base/config/
Dboot-image-profile.txt3702 HSPLandroid/content/Intent;->getCategories()Ljava/util/Set;

12