Home
last modified time | relevance | path

Searched refs:queryIntentActivities (Results 1 – 25 of 61) sorted by relevance

123

/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java86 mPackageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in testTelecomHandlesCallIntents()
118 mPackageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in testTelecomCanManageBlockedNumbers()
140 assertEquals(1, mPackageManager.queryIntentActivities(intentWithoutNumber, in testCreateLaunchEmergencyDialerIntent()
145 assertEquals(1, mPackageManager.queryIntentActivities(intentWithNumber, in testCreateLaunchEmergencyDialerIntent()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserAppTest/src/com/android/cts/userapptest/
DClientTest.java44 .getContext().getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQueryInstant()
54 .getContext().getPackageManager().queryIntentActivities(queryIntent, 0 /*flags*/); in testQueryFull()
/cts/tests/tests/content/src/android/content/pm/cts/
DSaferIntentTest.java300 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
303 results = mPackageManager.queryIntentActivities(intent, activityFlags); in testQueryEnforceIntentFilterMatch()
312 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
328 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
331 results = mPackageManager.queryIntentActivities(intent, activityFlags); in testQueryEnforceIntentFilterMatch()
346 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
392 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
413 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
416 results = mPackageManager.queryIntentActivities(intent, activityFlags); in testQueryEnforceIntentFilterMatch()
426 results = mPackageManager.queryIntentActivities(intent, emptyFlags); in testQueryEnforceIntentFilterMatch()
[all …]
DInstantAppTest.java72 mPackageManager.queryIntentActivities(intent, in testInstantAppInstallerQuery()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java36 .getPackageManager().queryIntentActivities(intent, 0); in assertCanBeHandled()
71 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in testSetDefaultAccount()
/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/
DDomainVerificationIntentTestBase.kt73 .let { context.packageManager.queryIntentActivities(it, 0) } in parameters()
125 .that(packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY) in assertResolvesTo()
133 .that(packageManager.queryIntentActivities(intent, 0) in assertResolvesTo()
148 .that(packageManager.queryIntentActivities(intent, 0) in assertResolvesTo()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateInternalTest.java121 … TestApis.context().instrumentedContext().getPackageManager().queryIntentActivities( in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent()
142 …ntext().androidContextAsUser(mDeviceState.workProfile()).getPackageManager().queryIntentActivities( in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent()
165 … TestApis.context().instrumentedContext().getPackageManager().queryIntentActivities( in requireNoPackageRespondsToIntentAnnotation_noPackageRespondsToIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileSharingTest.java51 context.getPackageManager().queryIntentActivities(intent, in startSwitchToOtherProfileIntent()
72 context.getPackageManager().queryIntentActivities(intent, in startSwitchToOtherProfileIntent_chooser()
DNfcTest.java63 for (ResolveInfo resolveInfo : pm.queryIntentActivities(intent, 0)) { in isNfcBeamActivityResolved()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DSearchUtil.java95 List<ResolveInfo> infos = pm.queryIntentActivities(new Intent(Intent.ACTION_VIEW, in getSearchableInfos()
100 infos = pm.queryIntentActivities(new Intent(Intent.ACTION_VIEW, in getSearchableInfos()
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java60 .getPackageManager().queryIntentActivities(installerIntent, MATCH_SYSTEM_ONLY in testPackageInstallerPresent()
114 .getPackageManager().queryIntentActivities(installerIntent, MATCH_SYSTEM_ONLY in testNoPackageInstallerPresent()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileIntentFiltersTest.java93 assertThat(sPackageManager.queryIntentActivities( in queryIntentActivities_doesntIncludeAppInOtherUser()
116 sPackageManager.queryIntentActivities( in queryIntentActivities_intentFilterIsSet_includesAppInOtherUser()
143 sPackageManager.queryIntentActivities( in queryIntentActivities_intentFilterIsSet_includesAppInOwnUser()
258 assertThat(sPackageManager.queryIntentActivities( in clearCrossProfileIntentFilters_clears()
285 sPackageManager.queryIntentActivities( in queryIntentActivities_intentFilterIsSet_includesAppInBothUsers()
DCrossProfileSharingTest.java286 return TestApis.packages().queryIntentActivities(CrossProfileSharingTest.SEND_INTENT, in getSwitchToOtherProfileResolveInfo()
329 .queryIntentActivities(intent, MATCH_DEFAULT_ONLY) in getCrossProfileIntentForwarder()
361 .getPackageManager().queryIntentActivities(intent, MATCH_DEFAULT_ONLY); in assertCrossProfileIntentsResolvability()
/cts/tests/tests/app/src/android/app/cts/
DKeyguardInitialLockTest.java36 pm.queryIntentActivities(intent, PackageManager.MATCH_DISABLED_COMPONENTS); in testSetInitialLockPermission()
/cts/tests/tests/tv/src/android/tv/settings/cts/
DSettingsLeanbackTest.java87 packageManager.queryIntentActivities(intent, 0); in assertIntentCanBeHandled()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilitySettingsTest.java61 List<ResolveInfo> resolvedActivities = packageManager.queryIntentActivities(intent, in testAccessibilitySettingsIntentHandled()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiResourceUtil.java51 resolveInfos = pm.queryIntentActivities(new Intent(ACTION_RESOURCES_APK), in getWifiResources()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DIntentsResolutionHelper.java50 …this.resolvedActivities = context.getPackageManager().queryIntentActivities(mIntent, PackageManage… in IntentsResolutionHelper()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0017/src/android/security/cts/CVE_2024_0017/
DDeviceTest.java53 .queryIntentActivities(videoCaptureIntent, 0 /* flag */); in testPocCVE_2024_0017()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DAppLinkTest.java100 List<ResolveInfo> receivers = pm.queryIntentActivities(getHttpIntent(), /* flags = */ 0); in assertNumberOfReceivers()
DIntentSenderActivity.java95 List<ResolveInfo> ris = pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in getCrossProfileResult()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_MetadataKeysTest.java62 List<ResolveInfo> infos = mContext.getPackageManager().queryIntentActivities(reviewIntent, in reviewGalleryPrewarmService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java309 mContext.getPackageManager().queryIntentActivities(intent, in checkIntentsWithOptionalForwardingFromManagedAreHandled()
355 mContext.getPackageManager().queryIntentActivities(intent, in canForwarderActivityHandleIntent()
373 mContext.getPackageManager().queryIntentActivities(intent, in getForwarderActivityInfo()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java67 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertCanBeHandled()
79 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertDefaultHandlerValidPriority()
92 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertHandledBySystemOnly()
106 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertHandledBySelfOnly()
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/
DPackageResolutionTest.java43 final List<ResolveInfo> resolve = pm.queryIntentActivities(intent, 0 /*flags*/); in queryActivityOrdered()

123