Home
last modified time | relevance | path

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

123

/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java37 targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST"); in getTargetIntent()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java377 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_callIntent_actionViewTel()
443 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewSms()
457 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
471 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewMms()
485 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
512 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_viewBrowsableIntent_invalidUri()
526 .addCategory(Intent.CATEGORY_BROWSABLE) in shouldSkipDisclosure_viewBrowsableIntent_normalUrl()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java43 .addCategory(Intent.CATEGORY_LAUNCHER) in onStartCommand()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
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()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DReceiverActivity.java51 intent.addCategory(Intent.CATEGORY_DEFAULT); in onCreate()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewActivity.java47 .addCategory("com.android.internal.category.PLATLOGO") in onCreate()
/frameworks/base/core/java/android/app/
DHomeVisibilityObserver.java87 intent.addCategory(Intent.CATEGORY_HOME); in isHomeActivityVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java107 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in isHeadlessRemoteDisplayProvider()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java59 mHomeIntent.addCategory(Intent.CATEGORY_HOME); in ProcessErrorsTest()
238 launchable.addCategory(Intent.CATEGORY_LAUNCHER); in getLauncherActivities()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DTestInteractionActivity.java131 intent.addCategory(Intent.CATEGORY_VOICE); in onClick()
156 intent.addCategory(Intent.CATEGORY_LAUNCHER); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java88 intent.addCategory(Intent.CATEGORY_BROWSABLE); in onClick()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java102 Intent intent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in setUp()
235 homeIntent.addCategory(Intent.CATEGORY_HOME); in returnHome()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java319 .addCategory(Intent.CATEGORY_BROWSABLE) in postInstantAppNotif()
320 .addCategory("unique:" + System.currentTimeMillis()) in postInstantAppNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java169 homeIntent.addCategory(Intent.CATEGORY_HOME); in goToHomeScreen()
/frameworks/base/core/java/android/view/textclassifier/intent/
DTemplateIntentFactory.java109 intent.addCategory(category); in createIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java173 launcherIntent.addCategory(Intent.CATEGORY_LEANBACK_LAUNCHER); in fetchAndMergeApps()
175 launcherIntent.addCategory(Intent.CATEGORY_LAUNCHER); in fetchAndMergeApps()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java633 .addCategory(Intent.CATEGORY_DEFAULT); in grantDefaultSystemHandlerPermissions()
658 .addCategory(Intent.CATEGORY_DEFAULT) in grantDefaultSystemHandlerPermissions()
666 .addCategory(Intent.CATEGORY_HOME) in grantDefaultSystemHandlerPermissions()
667 .addCategory(Intent.CATEGORY_LAUNCHER_APP); in grantDefaultSystemHandlerPermissions()
755 new Intent(Intent.ACTION_MAIN).addCategory(category), userId); in getDefaultSystemHandlerActivityPackageForCategory()
938 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackages()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java61 mainIntent.addCategory(CATEGORY_HWUI_TEST); in getData()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarFacetButtonController.java180 intent.addCategory(category); in getPackageCategory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java124 intent.addCategory(Intent.CATEGORY_DEFAULT); in getIntent()
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java163 intent.addCategory(Intent.CATEGORY_LAUNCHER); in loadShortcuts()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java62 mainIntent.addCategory(CATEGORY_HWUI_TEST); in getData()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java100 Intent intent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); in queryApps()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DMainActivity.java86 mainIntent.addCategory(CATEGORY_HWUI_TEST); in getData()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java163 intent.addCategory(Intent.CATEGORY_OPENABLE);

123