Home
last modified time | relevance | path

Searched refs:CATEGORY_DEFAULT (Results 1 – 25 of 31) sorted by relevance

12

/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/
DIntentVariant.kt33 IntentVariant.DEFAULT -> addCategory(Intent.CATEGORY_DEFAULT) in <lambda>()
36 addCategory(Intent.CATEGORY_DEFAULT) in <lambda>()
DDomainVerificationIntentTestBase.kt130 if (intent.hasCategory(Intent.CATEGORY_DEFAULT)) { in assertResolvesTo()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPersistentPreferredActivitiesTest.java88 Intent.CATEGORY_DEFAULT)
111 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in addPersistentPreferredActivity_notPermitted_throwsException()
130 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in clearPackagePersistentPreferredActivities_notPermitted_throwsException()
162 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
202 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in addPersistentPreferredActivity_metricLogged()
233 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in sendIntent_clearPreferredActivity_launchesResolverActivity()
268 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in getDevicePolicyState_addPersistentPreferredActivity_returnsPolicy()
305 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in getDevicePolicyState_addPersistentPreferredActivity_activityUninstalled_returnsNull()
343 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in getDevicePolicyState_addPersistentPreferredActivity_nonExistingActivity_returnsNull()
376 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in policyUpdateReceiver_addPersistentPreferredActivity_receivedPolicySetBroadcast()
[all …]
DPersistentIntentResolvingTest.java60 Intent.CATEGORY_DEFAULT)
99 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
139 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in addPersistentPreferredActivity_metricLogged()
169 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in sendIntent_clearPreferredActivity_launchesResolverActivity()
DCrossProfileSharingTest.java24 import static android.content.Intent.CATEGORY_DEFAULT;
99 Intent.CATEGORY_DEFAULT),
100 new Intent(Intent.ACTION_PICK).addCategory(Intent.CATEGORY_DEFAULT)
112 SEND_INTENT_FILTER.addCategory(CATEGORY_DEFAULT);
116 new Intent(ACTION_SEND).setType("text/plain").addCategory(CATEGORY_DEFAULT)
211 sendIntentFilter.addCategory(CATEGORY_DEFAULT); in addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched()
DManagedSubscriptionsPolicyTest.java187 Intent.CATEGORY_DEFAULT).setData( in setManagedSubscriptionsPolicy_callAndSmsIntent_resolvesToWorkProfileApps()
192 Intent.CATEGORY_DEFAULT).setData( in setManagedSubscriptionsPolicy_callAndSmsIntent_resolvesToWorkProfileApps()
/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java63 private static final String CATEGORY_DEFAULT = "android.intent.category.DEFAULT"; field in WifiSliceTest
122 new Intent(ACTION_ASSIST).addCategory(CATEGORY_DEFAULT); in wifiSlice_grantedPermissionToDefaultAssistant()
153 new Intent(ACTION_VOICE_ASSIST).addCategory(CATEGORY_DEFAULT); in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileSharingTest.java97 filter.addCategory(Intent.CATEGORY_DEFAULT); in addCrossProfileIntents()
114 intent.addCategory(Intent.CATEGORY_DEFAULT); in getSendIntent()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DProvisionedActivity.java31 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java57 installerIntent.addCategory(Intent.CATEGORY_DEFAULT); in testPackageInstallerPresent()
111 installerIntent.addCategory(Intent.CATEGORY_DEFAULT); in testNoPackageInstallerPresent()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstantAppTest.java65 intent.addCategory(Intent.CATEGORY_DEFAULT); in testInstantAppInstallerQuery()
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileCrossProfileIntentTests.kt53 addCategory(Intent.CATEGORY_DEFAULT) in saveAndSetPolicy()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DAppLinkTest.java107 i.addCategory(Intent.CATEGORY_DEFAULT); in getHttpIntent()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java86 .addCategory(Intent.CATEGORY_DEFAULT) in startActivityAndWait()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskHostDrivenTest.java169 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in setDefaultHomeIntentReceiver()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java73 broadcastIntent.addCategory(Intent.CATEGORY_DEFAULT); in broadcast()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java117 .addCategory(Intent.CATEGORY_DEFAULT) in launchActivity()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java85 .addCategory(Intent.CATEGORY_DEFAULT); in testBroadcastNotReceivedForDifferentLauncher()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java255 crashFilter.addCategory(Intent.CATEGORY_DEFAULT); in launchPackageForCrash()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java353 intentFilter.addCategory(Intent.CATEGORY_DEFAULT); in sendIntentToTestApp()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java986 new String[]{Intent.CATEGORY_DEFAULT}, in testAppEnumerationContactProviders()
1011 new String[]{Intent.CATEGORY_DEFAULT}, in testAppEnumerationDocumentEditor()
1029 new String[]{Intent.CATEGORY_DEFAULT}, in testAppEnumerationDocumentEditor()
1042 Intent.CATEGORY_DEFAULT, in testAppEnumerationDeepLinks()
1071 new String[]{Intent.CATEGORY_DEFAULT}, in testAppEnumerationCustomShareSheet()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java99 filter.addCategory(Intent.CATEGORY_DEFAULT); in setUp()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpEventCollectionTest.kt68 .resolveActivity(Intent(ACTION_INSTALL_PACKAGE).addCategory(Intent.CATEGORY_DEFAULT)
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java978 intent.addCategory(Intent.CATEGORY_DEFAULT); in testEject()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java450 i.addCategory(Intent.CATEGORY_DEFAULT); in createLaunchIntent()

12