/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 295 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 …]
|
D | ShortcutManagerTest1.java | 7459 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/ |
D | CategoryFilter.java | 39 Set<String> categories = intent.getCategories(); in matches()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppSearchShortcutInfoTest.java | 71 assertThat(shortcut.getCategories()).isEqualTo(categorySet); in testBuildShortcutAndGetValue()
|
D | AppsQueryHelperTests.java | 128 assertEquals(Intent.CATEGORY_LAUNCHER, intent.getCategories().iterator().next()); in queryIntentActivitiesAsUser()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationUtils.java | 69 Set<String> categories = intent.getCategories(); in isDomainVerificationIntent()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SaferIntentUtils.java | 130 String[] categories = intent.getCategories() == null ? new String[0] in reportUnsafeIntentEvent() 131 : intent.getCategories().toArray(String[]::new); in reportUnsafeIntentEvent()
|
D | AppsFilterUtils.java | 190 intent.getData(), intent.getCategories(), "AppsFilter", true, in matchesIntentFilter()
|
D | ShortcutParser.java | 300 || (currentShortcut.getCategories() != null)) { in parseShortcutsOneFile()
|
D | InstantAppResolver.java | 109 Set<String> categories = origIntent.getCategories(); in sanitizeIntent()
|
D | ShortcutPackage.java | 948 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()
|
D | InstantAppRegistry.java | 522 final Set<String> categories = intent.getCategories();
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardMetricsCollector.java | 292 Set<String> selectorCategories = selectorIntent.getCategories(); in getLogEventFromIntent() 311 Set<String> intentCategories = intent.getCategories(); in getLogEventFromIntent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 1312 && 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/ |
D | PackageStateTest.kt | 96 Intent::getCategories,
|
/frameworks/base/services/core/java/com/android/server/ |
D | IntentResolver.java | 100 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/ |
D | OverlayPackagesProviderTest.java | 484 .that(intent.getCategories()).containsExactly(Intent.CATEGORY_LAUNCHER); in queryIntentActivitiesAsUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppStartInfoTracker.java | 274 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/ |
D | TileUtils.java | 246 public static List<DashboardCategory> getCategories(Context context, in getCategories() method in TileUtils
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 396 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/ |
D | AppSearchShortcutInfo.java | 341 .setCategories(shortcutInfo.getCategories()) in instance()
|
D | ShortcutInfo.java | 1693 public Set<String> getCategories() { in getCategories() method in ShortcutInfo
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | TileUtilsTest.java | 191 TileUtils.getCategories(mContext, cache); in getCategories_withPackageName()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceImpl.java | 1490 intent.getCategories(), TAG) >= 0) {
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 8927 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
|