Home
last modified time | relevance | path

Searched refs:createResolveInfo (Results 1 – 17 of 17) sorted by relevance

/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DResolverDataProvider.java45 createResolveInfo(i, UserHandle.USER_CURRENT)); in createResolvedComponentInfo()
53 createResolveInfo(i, UserHandle.USER_CURRENT, resolvedForUser)); in createResolvedComponentInfo()
61 createResolveInfo(componentName, UserHandle.USER_CURRENT)); in createResolvedComponentInfo()
69 createResolveInfo(componentName, UserHandle.USER_CURRENT, resolvedForUser)); in createResolvedComponentInfo()
76 createResolveInfo(i, USER_SOMEONE_ELSE)); in createResolvedComponentInfoWithOtherId()
84 createResolveInfo(i, USER_SOMEONE_ELSE, resolvedForUser)); in createResolvedComponentInfoWithOtherId()
91 createResolveInfo(i, userId)); in createResolvedComponentInfoWithOtherId()
99 createResolveInfo(i, userId, resolvedForUser)); in createResolvedComponentInfoWithOtherId()
107 public static ResolveInfo createResolveInfo(int i, int userId) { in createResolveInfo() method in ResolverDataProvider
108 return createResolveInfo(i, userId, UserHandle.of(userId)); in createResolveInfo()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java81 private ResolveInfo createResolveInfo(String packageName, String className, Bundle metaData, in createResolveInfo() method in ExtraSettingsLoaderTest
115 ResolveInfo resolveInfoSystem = createResolveInfo("package_name", "class_name", in testLoadPreference_uriResources_shouldNotLoadStaticResources()
137 ResolveInfo resolveInfoSystem1 = createResolveInfo("package_name1", "class_name1", in testLoadPreference_sortPreferences_byMetadata()
145 ResolveInfo resolveInfoSystem2 = createResolveInfo("package_name2", "class_name2", in testLoadPreference_sortPreferences_byMetadata()
168 ResolveInfo resolveInfoSystem1 = createResolveInfo("package_name1", "class_name1", in testLoadPreference_sortPreferences_byPackageName()
175 ResolveInfo resolveInfoSystem2 = createResolveInfo("package_name2", "class_name2", in testLoadPreference_sortPreferences_byPackageName()
198 ResolveInfo resolveInfoSystem1 = createResolveInfo("package_name1", "class_name1", in testLoadPreference_sortPreferences_prioritizeMetadata()
206 ResolveInfo resolveInfoSystem2 = createResolveInfo("package_name2", "class_name2", in testLoadPreference_sortPreferences_prioritizeMetadata()
230 ResolveInfo resolveInfo = createResolveInfo("package_name", "class_name", in testLoadPreference_isTopLevel_topLevelMetadataSet()
248 ResolveInfo resolveInfo = createResolveInfo("package_name1", "class_name1", in testLoadPreference_notSystem_notLoaded()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/
DTargetInfoTest.kt30 import com.android.intentresolver.ResolverDataProvider.createResolveInfo
88 createResolveInfo(1, 0, PERSONAL_USER_HANDLE), in testNewSelectableTargetInfo()
181 createResolveInfo(1, 0), in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
224 val resolveInfo = createResolveInfo(3, 0, PERSONAL_USER_HANDLE) in testNewDisplayResolveInfo()
253 createResolveInfo(3, 0), in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
286 createResolveInfo(3, 0), in testDisplayResolveInfo_noSourceIntentMatchingProposedRefinement()
306 val resolveInfoA = createResolveInfo(componentA, 0, PERSONAL_USER_HANDLE) in testNewMultiDisplayResolveInfo()
307 val resolveInfoB = createResolveInfo(componentB, 0, PERSONAL_USER_HANDLE) in testNewMultiDisplayResolveInfo()
362 val resolveInfo = createResolveInfo(1, 0) in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget()
418 createResolveInfo(1, 0), in testNewMultiDisplayResolveInfo_tryToCloneWithAppliedRefinement_delegatedToSelectedTarget()
DImmutableTargetInfoTest.kt43 private val resolveInfo = ResolverDataProvider.createResolveInfo(1, 0, PERSONAL_USER_HANDLE)
52 ResolverDataProvider.createResolveInfo(2, 0, PERSONAL_USER_HANDLE),
60 ResolverDataProvider.createResolveInfo(3, 0, PERSONAL_USER_HANDLE),
72 ResolverDataProvider.createResolveInfo(5, 0, PERSONAL_USER_HANDLE),
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeGeneratorFragmentTest.java97 private static ResolveInfo createResolveInfo(int userId) { in createResolveInfo() method in WifiDppQrCodeGeneratorFragmentTest
128 doReturn(createResolveInfo(0)).when(packageManager).resolveActivity(any(), anyInt()); in createNearbyButtonFromSetting_notNull()
151 doReturn(createResolveInfo(0)).when(packageManager).resolveActivity(any(), anyInt()); in createNearbyButtonFromConfig_notNull()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTvInputManagerHelperTest.java49 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testComparatorInternal()
106 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testHardwareInputComparatorHdmi()
166 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testHardwareInputComparatorCec()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DShortcutSelectionLogicTest.kt64 ResolverDataProvider.createResolveInfo(3, 0, PERSONAL_USER_HANDLE), in <lambda>()
73 ResolverDataProvider.createResolveInfo(4, 0, PERSONAL_USER_HANDLE), in <lambda>()
DChooserListAdapterTest.kt131 ResolverDataProvider.createResolveInfo(2, 0, userHandle), in onBindView_AppTargetIconAndLabelLoadedOnlyOnce()
212 ResolverDataProvider.createResolveInfo(2, 0, userHandle), in createDisplayResolveInfo()
DResolverListAdapterTest.kt181 on { lastChosen } doReturn createResolveInfo(PKG_NAME_TWO, CLASS_NAME, userHandle) in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter()
383 on { lastChosen } doReturn createResolveInfo(PKG_NAME, CLASS_NAME + "2", userHandle) in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter()
604 val rList = listOf(createResolveInfo(PKG_NAME, CLASS_NAME, userHandle)) in test_baseResolveList_excludedFromIneligibleActivityFiltering()
1048 createResolveInfo(component.packageName, component.className, userHandle) in createResolvedComponents()
1055 private fun createResolveInfo( in createResolveInfo() method in com.android.intentresolver.ResolverListAdapterTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentManagerTest.java169 Collections.singletonList(createResolveInfo(hasSettingsActivity)); in setUpGetActiveTrustAgents()
186 private ResolveInfo createResolveInfo(boolean hasSettingsActivity) { in createResolveInfo() method in TrustAgentManagerTest
/packages/apps/TV/tests/common/src/com/android/tv/testing/testdata/
DTestData.java64 TestUtils.createResolveInfo(
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java268 final ResolveInfo app1 = createResolveInfo(APP_1); in testFindPersistentPreferredActivities()
269 final ResolveInfo app2 = createResolveInfo(APP_2); in testFindPersistentPreferredActivities()
445 private ResolveInfo createResolveInfo(String packageName) { in createResolveInfo() method in ApplicationFeatureProviderImplTest
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/compat/
DTvInputInfoCompatTest.java51 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DTvInputNewComparatorTest.java86 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testComparator()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModelTest.java349 availableProviders.add(createResolveInfo(authority)); in getAvailableProviders()
355 private static ResolveInfo createResolveInfo(@NonNull String authority) { in createResolveInfo() method in SettingsCloudMediaViewModelTest
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DTestUtils.java184 public static ResolveInfo createResolveInfo(String packageName, String name) { in createResolveInfo() method in TestUtils
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java547 ResolveInfo resolveInfo = ResolverDataProvider.createResolveInfo(i, in fourOptionsStackedIntoOneTarget()
1503 ResolverDataProvider.createResolveInfo(3, 0, PERSONAL_USER_HANDLE), in testGetBaseScore()
2031 ResolveInfo ri = ResolverDataProvider.createResolveInfo(16, 0, PERSONAL_USER_HANDLE); in testDirectTargetLoggingWithAppTargetNotRanked()
2693 mPackageManager = createFakePackageManager(ResolverDataProvider.createResolveInfo(0, in testDeduplicateCallerTargetRankedTarget()