/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/ |
D | PredictionService.java | 77 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/ |
D | WallpaperPickerDelegate.java | 185 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/ |
D | LauncherPackagesLiveData.kt | 32 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/ |
D | PhotoPickerBaseTest.java | 112 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/ |
D | DomainUrlsUtilsTest.java | 129 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/ |
D | IntentExtTest.kt | 55 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/ |
D | ActionCreateDocumentUiTest.java | 72 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/ |
D | AppLaunchProvider.kt | 75 .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/ |
D | IntentFilterData.java | 103 intent.addCategory(category); in createIntent() 120 intentFilter.addCategory(category); in createIntentFilter()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SettingsLicenseActivityTest.java | 75 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/ |
D | CreateNotificationChannelsActivity.kt | 80 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/ |
D | LicenseActivityTest.java | 77 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile() 99 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | StartLockTaskModeWorker.java | 164 filter.addCategory(Intent.CATEGORY_HOME); in getHomeIntentFilter() 165 filter.addCategory(Intent.CATEGORY_DEFAULT); in getHomeIntentFilter()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | InstantAppButtonsPreferenceController.java | 121 intent.addCategory(Intent.CATEGORY_BROWSABLE); in initButtons() 148 intent.addCategory(Intent.CATEGORY_LAUNCHER); in getDefaultLaunchUri()
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
D | HTMLViewerActivity.java | 154 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/ |
D | LockTaskModePolicyHandlerTest.java | 221 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/ |
D | LaunchUtils.java | 27 launcherIntent.addCategory(Intent.CATEGORY_HOME); in launchHome()
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 675 .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/ |
D | BluetoothPrefs.java | 34 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in onCreate()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TestLauncherActivity.java | 31 .addCategory(CATEGORY_LAUNCHER) in getTargetIntent()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | AppInfo.java | 131 .addCategory(Intent.CATEGORY_LAUNCHER) in AppInfo() 169 .addCategory(Intent.CATEGORY_LAUNCHER) in makeLaunchIntent()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsLaunchPerformance.java | 34 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraButtonIntentReceiver.java | 48 i.addCategory(Intent.CATEGORY_LAUNCHER); in onReceive()
|
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
D | LauncherActivity.java | 33 OPEN_DOCUMENT_INTENT.addCategory(Intent.CATEGORY_OPENABLE);
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomizationManager.java | 203 customOptionIntent.addCategory(intentCategory); in buildCustomActions() 227 intent.addCategory(intentCategory); in buildCustomActions()
|