Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java295 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel()
366 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoParcel_resId()
418 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
442 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
467 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
489 assertEquals(null, si.getCategories()); in testShortcutInfoClone()
512 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone()
567 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
591 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
616 assertEquals(set(ShortcutInfo.SHORTCUT_CATEGORY_CONVERSATION, "xyz"), si.getCategories()); in testShortcutInfoClone_resId()
[all …]
DShortcutManagerTest1.java7459 assertEquals(set("cat2"), si.getCategories()); in testManifestShortcuts_missingMandatoryFields()
7643 si.getCategories()); in testManifestShortcuts_checkAllFields()
7661 assertEquals(set("android.shortcut.conversation"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7676 assertEmpty(si.getCategories()); in testManifestShortcuts_checkAllFields()
7691 assertEquals(set("cat"), si.getCategories()); in testManifestShortcuts_checkAllFields()
7704 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.java71 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.java69 Set<String> categories = intent.getCategories(); in isDomainVerificationIntent()
/frameworks/base/services/core/java/com/android/server/pm/
DSaferIntentUtils.java130 String[] categories = intent.getCategories() == null ? new String[0] in reportUnsafeIntentEvent()
131 : intent.getCategories().toArray(String[]::new); in reportUnsafeIntentEvent()
DAppsFilterUtils.java190 intent.getData(), intent.getCategories(), "AppsFilter", true, in matchesIntentFilter()
DShortcutParser.java300 || (currentShortcut.getCategories() != null)) { in parseShortcutsOneFile()
DInstantAppResolver.java109 Set<String> categories = origIntent.getCategories(); in sanitizeIntent()
DShortcutPackage.java948 final Set<String> categories = shortcuts.get(i).getCategories(); in getMatchingShareTargets()
997 final Set<String> categories = shortcuts.get(i).getCategories(); in getSharingShortcutCount()
1947 final Set<String> cat = si.getCategories(); in saveShortcut()
DInstantAppRegistry.java522 final Set<String> categories = intent.getCategories();
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardMetricsCollector.java292 Set<String> selectorCategories = selectorIntent.getCategories(); in getLogEventFromIntent()
311 Set<String> intentCategories = intent.getCategories(); in getLogEventFromIntent()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java1312 && intent.getCategories() != null in isLauncherIntent()
1313 && (intent.getCategories().contains(Intent.CATEGORY_LAUNCHER) in isLauncherIntent()
1314 || intent.getCategories().contains(Intent.CATEGORY_LEANBACK_LAUNCHER) in isLauncherIntent()
1315 || intent.getCategories().contains(Intent.CATEGORY_CAR_LAUNCHER)); in isLauncherIntent()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt96 Intent::getCategories,
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java100 intent.getData(), intent.getCategories(), TAG); in intentMatchesFilter()
714 final Set<String> categories = intent.getCategories(); in getFastIntentCategories()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java484 .that(intent.getCategories()).containsExactly(Intent.CATEGORY_LAUNCHER); in queryIntentActivitiesAsUser()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java274 if (intent != null && intent.getCategories() != null in onIntentStarted()
275 && intent.getCategories().contains(Intent.CATEGORY_LAUNCHER)) { in onIntentStarted()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java246 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java396 final Set<String> categories = intent.getCategories();
524 final Set<String> categories = intent.getCategories();
1461 Set<String> categories = filterIntent.getCategories();
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java341 .setCategories(shortcutInfo.getCategories()) in instance()
DShortcutInfo.java1693 public Set<String> getCategories() { in getCategories() method in ShortcutInfo
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java191 TileUtils.getCategories(mContext, cache); in getCategories_withPackageName()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java1490 intent.getCategories(), TAG) >= 0) {
/frameworks/base/core/java/android/content/
DIntent.java8927 if (intent.getAction() != null && baseIntent.getCategories() != null) { in parseCommandArgs()
8928 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs()
9193 public Set<String> getCategories() { in getCategories() method

12