Home
last modified time | relevance | path

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

1234567

/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java185 addCategory(category, false); in updateThirdPartyCategories()
256 addCategory(liveWallpapersCategory, false); in updateLiveWallpapersCategories()
300 addCategory(category, true); in populateCategories()
317 public void addCategory(Category category, boolean fetchingAll) { in addCategory() method in WallpaperPickerDelegate
320 categorySelectorFragment.addCategory(category, fetchingAll); in addCategory()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLauncherPackagesLiveData.kt32 Intent(Intent.ACTION_MAIN, null).addCategory(Intent.CATEGORY_LAUNCHER)
36 Intent(Intent.ACTION_MAIN, null).addCategory(Intent.CATEGORY_LEANBACK_LAUNCHER)
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DPhotoPickerBaseTest.java112 sSingleSelectIntent.addCategory(Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
120 sMultiSelectionIntent.addCategory(Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
127 sUserSelectImagesForAppIntent.addCategory(Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
137 sPickerChoiceManagedSelectionIntent.addCategory(
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
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()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ext/
DIntentExtTest.kt55 val intent = Intent().addCategory(Intent.CATEGORY_HOME) in hasSingleCategory()
59 intent.addCategory(Intent.CATEGORY_TEST) in hasSingleCategory()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActionCreateDocumentUiTest.java72 intent.addCategory(CATEGORY_DEFAULT); in testActionCreate_TextFile()
73 intent.addCategory(CATEGORY_OPENABLE); in testActionCreate_TextFile()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/appactions/
DAppLaunchProvider.kt75 .addCategory(Intent.CATEGORY_LAUNCHER).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch()
135 .addCategory(Intent.CATEGORY_LAUNCHER).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK) in launch()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DIntentFilterData.java103 intent.addCategory(category); in createIntent()
120 intentFilter.addCategory(category); in createIntentFilter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java75 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
97 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/
DCreateNotificationChannelsActivity.kt80 intent2.addCategory(Intent.CATEGORY_DEFAULT) in handleIntent()
120 intent2.addCategory(Intent.CATEGORY_DEFAULT) in launchSecondActivity()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java77 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
99 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DStartLockTaskModeWorker.java164 filter.addCategory(Intent.CATEGORY_HOME); in getHomeIntentFilter()
165 filter.addCategory(Intent.CATEGORY_DEFAULT); in getHomeIntentFilter()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceController.java121 intent.addCategory(Intent.CATEGORY_BROWSABLE); in initButtons()
148 intent.addCategory(Intent.CATEGORY_LAUNCHER); in getDefaultLaunchUri()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java154 intent.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
158 selector.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DLockTaskModePolicyHandlerTest.java221 dialerIntent.addCategory(Intent.CATEGORY_DEFAULT); in setupDefaultSystemPackages()
239 settingsIntent.addCategory(Intent.CATEGORY_DEFAULT); in setupDefaultSystemPackages()
258 requestPermissionIntent.addCategory(Intent.CATEGORY_DEFAULT); in setupDefaultSystemPackages()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DLaunchUtils.java27 launcherIntent.addCategory(Intent.CATEGORY_HOME); in launchHome()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java675 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppDetailsThenIsNotDefaultApp()
705 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppDetailsOnHandHeldThenRestrictedAppIsNotSelectableAsDefaultApp()
724 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppDetailsAndSetDefaultAppThenIsDefaultApp()
754 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppDetailsAndSetDefaultAppAndSetAnotherThenIsNotDefaultApp()
792 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppListThenHasDefaultApp()
804 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppListThenIsNotDefaultAppInList()
817 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppListAndSetDefaultAppThenIsDefaultApp()
862 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppListAndSetDefaultAppThenIsDefaultAppForPrivateSpace()
887 .addCategory(Intent.CATEGORY_DEFAULT) in openDefaultAppListAndSetDefaultAppThenIsDefaultAppInList()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothPrefs.java34 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in onCreate()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestLauncherActivity.java31 .addCategory(CATEGORY_LAUNCHER) in getTargetIntent()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DAppInfo.java131 .addCategory(Intent.CATEGORY_LAUNCHER) in AppInfo()
169 .addCategory(Intent.CATEGORY_LAUNCHER) in makeLaunchIntent()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsLaunchPerformance.java34 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraButtonIntentReceiver.java48 i.addCategory(Intent.CATEGORY_LAUNCHER); in onReceive()
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/
DLauncherActivity.java33 OPEN_DOCUMENT_INTENT.addCategory(Intent.CATEGORY_OPENABLE);
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomizationManager.java203 customOptionIntent.addCategory(intentCategory); in buildCustomActions()
227 intent.addCategory(intentCategory); in buildCustomActions()

1234567