Home
last modified time | relevance | path

Searched refs:resolvedTargets (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DResolverListAdapterTest.kt69 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetNoLastChosen_oneTargetInAdapter() constant
82 } doReturn resolvedTargets in test_oneTargetNoLastChosen_oneTargetInAdapter()
105 assertThat(testSubject.count).isEqualTo(resolvedTargets.size) in test_oneTargetNoLastChosen_oneTargetInAdapter()
110 assertThat(testSubject.unfilteredResolveList).containsExactlyElementsIn(resolvedTargets) in test_oneTargetNoLastChosen_oneTargetInAdapter()
118 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetThatWasLastChosen_NoTargetsInAdapter() constant
131 } doReturn resolvedTargets in test_oneTargetThatWasLastChosen_NoTargetsInAdapter()
132 on { lastChosen } doReturn resolvedTargets[0].getResolveInfoAt(0) in test_oneTargetThatWasLastChosen_NoTargetsInAdapter()
160 assertThat(testSubject.unfilteredResolveList).containsExactlyElementsIn(resolvedTargets) in test_oneTargetThatWasLastChosen_NoTargetsInAdapter()
167 val resolvedTargets = createResolvedComponents(ComponentName(PKG_NAME, CLASS_NAME)) in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter() constant
180 } doReturn resolvedTargets in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter()
[all …]
DChooserListAdapterDataTest.kt74 val resolvedTargets = in test_twoTargetsWithNonOverlappingInitialIntent_threeTargetsInResolverAdapter() constant
89 .thenReturn(resolvedTargets) in test_twoTargetsWithNonOverlappingInitialIntent_threeTargetsInResolverAdapter()
135 assertThat(testSubject.displayResolveInfoCount).isEqualTo(resolvedTargets.size) in test_twoTargetsWithNonOverlappingInitialIntent_threeTargetsInResolverAdapter()
140 val resolvedTargets = in test_twoTargetsWithOverlappingInitialIntent_oneTargetsInResolverAdapter() constant
155 .thenReturn(resolvedTargets) in test_twoTargetsWithOverlappingInitialIntent_oneTargetsInResolverAdapter()
156 val activityInfo = resolvedTargets[1].getResolveInfoAt(0).activityInfo in test_twoTargetsWithOverlappingInitialIntent_oneTargetsInResolverAdapter()
199 assertThat(testSubject.displayResolveInfoCount).isEqualTo(resolvedTargets.size - 1) in test_twoTargetsWithOverlappingInitialIntent_oneTargetsInResolverAdapter()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserListAdapter.java633 DisplayResolveInfo[] resolvedTargets = new DisplayResolveInfo[size]; in getDisplayResolveInfos() local
635 resolvedTargets[i] = getDisplayResolveInfo(i); in getDisplayResolveInfos()
637 return resolvedTargets; in getDisplayResolveInfos()