Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java272 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel()
335 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel_resId()
387 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
411 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
436 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
458 assertEquals(null, si.getCategories()); in testShortcutInfoClone()
481 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
536 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
560 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
585 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
[all …]
DShortcutManagerTest1.java7480 assertEquals(set("cat2"), si.getCategories()); in testManifestShortcuts_missingMandatoryFields()
7664 si.getCategories()); in testManifestShortcuts_checkAllFields()
7682 assertEquals(set("android.shortcut.conversation"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7697 assertEmpty(si.getCategories()); in testManifestShortcuts_checkAllFields()
7712 assertEquals(set("cat"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7725 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/
DAppSearchShortcutInfoTest.java66 assertThat(shortcut.getCategories()).isEqualTo(categorySet); in testBuildShortcutAndGetValue()
DAppsQueryHelperTests.java128 assertEquals(Intent.CATEGORY_LAUNCHER, intent.getCategories().iterator().next()); in queryIntentActivitiesAsUser()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationUtils.java66 Set<String> categories = intent.getCategories(); in isDomainVerificationIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java461 .that(intent.getCategories()).containsExactly(Intent.CATEGORY_LAUNCHER); in queryIntentActivitiesAsUser()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java235 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java300 || (currentShortcut.getCategories() != null)) { in parseShortcutsOneFile()
DInstantAppResolver.java107 Set<String> categories = origIntent.getCategories(); in sanitizeIntent()
DShortcutPackage.java938 final Set<String> categories = shortcuts.get(i).getCategories(); in getMatchingShareTargets()
983 final Set<String> categories = shortcuts.get(i).getCategories(); in getSharingShortcutCount()
1850 final Set<String> cat = si.getCategories(); in saveShortcut()
DInstantAppRegistry.java510 final Set<String> categories = intent.getCategories();
DAppsFilter.java626 intent.getData(), intent.getCategories(), "AppsFilter", true, protectedBroadcasts)
DSettings.java3324 if (intent.getCategories() != null) {
3325 for (String cat : intent.getCategories()) {
DPackageManagerService.java9165 intent.getData(), intent.getCategories(), TAG) >= 0) { in activitySupportsIntent()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java317 final Set<String> categories = intent.getCategories();
425 final Set<String> categories = intent.getCategories();
1103 Set<String> categories = filterIntent.getCategories();
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java179 TileUtils.getCategories(mContext, cache); in getCategories_withPackageName()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java335 .setCategories(shortcutInfo.getCategories()) in instance()
DShortcutInfo.java1572 public Set<String> getCategories() { in getCategories() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java719 final Set<String> categories = intent.getCategories(); in getFastIntentCategories()
/frameworks/base/core/java/android/content/
DIntent.java8014 if (intent.getAction() != null && baseIntent.getCategories() != null) { in parseCommandArgs()
8015 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs()
8256 public Set<String> getCategories() { in getCategories() method
DIntentFilter.java1785 intent.getData(), intent.getCategories(), logTag); in match()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java2352 && intent.getCategories().size() == 1 in isHomeIntent()
2360 && intent.getCategories().size() == 1 in isMainIntent()
/frameworks/base/config/
Dboot-profile.txt976 Landroid/content/Intent;->getCategories()Ljava/util/Set;
/frameworks/base/boot/
Dboot-image-profile.txt4184 HSPLandroid/content/Intent;->getCategories()Ljava/util/Set;
4843 HSPLandroid/content/pm/ShortcutInfo;->getCategories()Ljava/util/Set;

12