Home
last modified time | relevance | path

Searched refs:addCategory (Results 1 – 25 of 205) sorted by relevance

123456789

/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DDefaultCrossProfileIntentFiltersUtils.java49 .addCategory(Intent.CATEGORY_DEFAULT)
50 .addCategory(Intent.CATEGORY_BROWSABLE)
67 .addCategory(Intent.CATEGORY_DEFAULT)
68 .addCategory(Intent.CATEGORY_BROWSABLE)
82 .addCategory(Intent.CATEGORY_DEFAULT)
99 .addCategory(Intent.CATEGORY_DEFAULT)
116 .addCategory(Intent.CATEGORY_DEFAULT)
127 .addCategory(Intent.CATEGORY_DEFAULT)
138 .addCategory(Intent.CATEGORY_DEFAULT)
155 .addCategory(Intent.CATEGORY_DEFAULT)
[all …]
H A DDefaultCrossProfileIntentFilter.java94 Builder addCategory(String category) { in addCategory() method in DefaultCrossProfileIntentFilter.Builder
95 mFilter.addCategory(category); in addCategory()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationCollectorTest.kt99 addCategory(Intent.CATEGORY_BROWSABLE)
100 addCategory(Intent.CATEGORY_DEFAULT)
114 addCategory(Intent.CATEGORY_BROWSABLE)
115 addCategory(Intent.CATEGORY_DEFAULT)
273 addCategory(Intent.CATEGORY_DEFAULT)
285 addCategory(Intent.CATEGORY_DEFAULT)
299 addCategory(Intent.CATEGORY_DEFAULT)
323 addCategory(Intent.CATEGORY_DEFAULT)
334 addCategory(Intent.CATEGORY_DEFAULT)
345 addCategory(Intent.CATEGORY_DEFAULT)
[all …]
H A DDomainVerificationUserSelectionOverrideTest.kt116 addCategory(Intent.CATEGORY_BROWSABLE)
117 addCategory(Intent.CATEGORY_DEFAULT)
128 addCategory(Intent.CATEGORY_BROWSABLE)
129 addCategory(Intent.CATEGORY_DEFAULT)
H A DDomainVerificationSettingsMutationTest.kt204 addCategory(Intent.CATEGORY_BROWSABLE)
205 addCategory(Intent.CATEGORY_DEFAULT)
/aosp12/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
H A DPredictionService.java77 calendarIntent.addCategory(Intent.CATEGORY_APP_CALENDAR); in onCreate()
80 galleryIntent.addCategory(Intent.CATEGORY_APP_GALLERY); in onCreate()
83 mapsIntent.addCategory(Intent.CATEGORY_APP_MAPS); in onCreate()
86 emailIntent.addCategory(Intent.CATEGORY_APP_EMAIL); in onCreate()
89 browserIntent.addCategory(Intent.CATEGORY_APP_BROWSER); in onCreate()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DWallpaperPickerDelegate.java183 addCategory(category, false); in updateThirdPartyCategories()
254 addCategory(liveWallpapersCategory, false); in updateLiveWallpapersCategories()
298 addCategory(category, true); in populateCategories()
319 public void addCategory(Category category, boolean fetchingAll) { in addCategory() method in WallpaperPickerDelegate
322 categorySelectorFragment.addCategory(category, fetchingAll); in addCategory()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
H A DDomainUrlsUtilsTest.java129 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
148 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
168 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DIntentForwarderActivityTest.java383 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_callIntent_actionViewTel()
449 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewSms()
463 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
477 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewMms()
491 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
518 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_viewBrowsableIntent_invalidUri()
532 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_viewBrowsableIntent_normalUrl()
548 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_duringDeviceSetup()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
H A DIntentFilterData.java103 intent.addCategory(category); in createIntent()
120 intentFilter.addCategory(category); in createIntentFilter()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DPersonalAppsSuspensionHelper.java118 intent.addCategory(Intent.CATEGORY_HOME); in getSystemLauncherPackages()
182 intent.addCategory(Intent.CATEGORY_DEFAULT); in getSettingsPackageName()
198 intentToResolve.addCategory(Intent.CATEGORY_LAUNCHER); in hasLauncherIntent()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DActionCreateDocumentUiTest.java75 intent.addCategory(Intent.CATEGORY_DEFAULT); in testActionCreate_TextFile()
76 intent.addCategory(Intent.CATEGORY_OPENABLE); in testActionCreate_TextFile()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSettingsLicenseActivityTest.java75 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
96 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
H A DLicenseActivityTest.java77 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
99 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/aosp12/packages/apps/HTMLViewer/src/com/android/htmlviewer/
H A DHTMLViewerActivity.java148 intent.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
152 selector.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/data/
H A DAppInfo.java111 .addCategory(Intent.CATEGORY_LAUNCHER) in AppInfo()
152 .addCategory(Intent.CATEGORY_LAUNCHER) in makeLaunchIntent()
/aosp12/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
H A DSmokeTestActivity.java37 targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST"); in getTargetIntent()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DLaunchUtils.java27 launcherIntent.addCategory(Intent.CATEGORY_HOME); in launchHome()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DBluetoothPrefs.java36 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in onCreate()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DTestLauncherActivity.java31 .addCategory(CATEGORY_LAUNCHER) in getTargetIntent()
/aosp12/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java115 intent.addCategory(Intent.CATEGORY_HOME); in getLauncherPackageName()
162 intentToResolve.addCategory(Intent.CATEGORY_LAUNCHER); in createMappings()
206 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/
H A DContactsLaunchPerformance.java34 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appinfo/
H A DInstantAppButtonsPreferenceController.java121 intent.addCategory(Intent.CATEGORY_BROWSABLE); in initButtons()
148 intent.addCategory(Intent.CATEGORY_LAUNCHER); in getDefaultLaunchUri()
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraButtonIntentReceiver.java48 i.addCategory(Intent.CATEGORY_LAUNCHER); in onReceive()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DLauncherPackagesLiveData.kt32 .addCategory(Intent.CATEGORY_LAUNCHER)

123456789