Home
last modified time | relevance | path

Searched refs:resolveInfoList (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java33 List<ResolveInfo> resolveInfoList = getContext() in assertCanBeHandled() local
35 assertNotNull("Missing ResolveInfo", resolveInfoList); in assertCanBeHandled()
37 resolveInfoList.size() > 0); in assertCanBeHandled()
65 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in testSetDefaultAccount() local
66 assertNotNull("Missing ResolveInfo", resolveInfoList); in testSetDefaultAccount()
68 for (ResolveInfo resolveInfo : resolveInfoList) { in testSetDefaultAccount()
/cts/tests/tests/tv/src/android/tv/settings/cts/
DSettingsLeanbackTest.java86 List<ResolveInfo> resolveInfoList = in assertIntentCanBeHandled() local
88 assertNotNull(resolveInfoList); in assertIntentCanBeHandled()
90 assertTrue(resolveInfoList.size() > 0); in assertIntentCanBeHandled()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java63 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertCanBeHandled() local
64 assertNotNull(resolveInfoList); in assertCanBeHandled()
66 assertTrue(resolveInfoList.size() > 0); in assertCanBeHandled()
75 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertDefaultHandlerValidPriority() local
76 assertNotNull(resolveInfoList); in assertDefaultHandlerValidPriority()
78 assertTrue(resolveInfoList.size() > 0); in assertDefaultHandlerValidPriority()
81 for (ResolveInfo resolveInfo : resolveInfoList) { in assertDefaultHandlerValidPriority()
88 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertHandledBySystemOnly() local
89 assertNotNull(resolveInfoList); in assertHandledBySystemOnly()
92 assertTrue(resolveInfoList.size() > 0); in assertHandledBySystemOnly()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java310 List<ResolveInfo> resolveInfoList = in checkIntentsWithOptionalForwardingFromManagedAreHandled() local
314 if (resolveInfoList.isEmpty()) { in checkIntentsWithOptionalForwardingFromManagedAreHandled()
356 List<ResolveInfo> resolveInfoList = in canForwarderActivityHandleIntent() local
360 for (ResolveInfo resolveInfo : resolveInfoList) { in canForwarderActivityHandleIntent()
374 List<ResolveInfo> resolveInfoList = in getForwarderActivityInfo() local
377 if (resolveInfoList.isEmpty() || resolveInfoList.size() > 1) { in getForwarderActivityInfo()
382 return resolveInfoList.get(0).activityInfo; in getForwarderActivityInfo()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreIntentsTest.java72 List<ResolveInfo> resolveInfoList = InstrumentationRegistry.getTargetContext() in assertCanBeHandled() local
74 assertNotNull("Missing ResolveInfo", resolveInfoList); in assertCanBeHandled()
76 resolveInfoList.size() > 0); in assertCanBeHandled()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java242 List<ResolveInfo> resolveInfoList = TestApis.context().instrumentedContext() in assertCrossProfileIntentsResolvability() local
248 .that(containsResolveInfo(resolveInfoList, expectedForwarder)).isTrue(); in assertCrossProfileIntentsResolvability()
253 .that(containsResolveInfo(resolveInfoList, expectedForwarder)).isFalse(); in assertCrossProfileIntentsResolvability()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java819 List<ResolveInfo> resolveInfoList = pm.queryIntentServices(intent, 0); in testComponentWithSplitName_singleBase() local
820 assertThat(resolveInfoList.stream().noneMatch(resolveInfo -> getComponentName(resolveInfo) in testComponentWithSplitName_singleBase()
824 resolveInfoList = pm.queryIntentContentProviders(intent, 0); in testComponentWithSplitName_singleBase()
825 assertThat(resolveInfoList.stream().noneMatch(resolveInfo -> getComponentName(resolveInfo) in testComponentWithSplitName_singleBase()
836 List<ResolveInfo> resolveInfoList = pm.queryIntentServices(intent, 0); in testComponentWithSplitName_featureWarmInstalled() local
837 assertThat(resolveInfoList.stream().anyMatch(resolveInfo -> getComponentName(resolveInfo) in testComponentWithSplitName_featureWarmInstalled()
841 resolveInfoList = pm.queryIntentContentProviders(intent, 0); in testComponentWithSplitName_featureWarmInstalled()
842 assertThat(resolveInfoList.stream().anyMatch(resolveInfo -> getComponentName(resolveInfo) in testComponentWithSplitName_featureWarmInstalled()