Home
last modified time | relevance | path

Searched refs:getResolveInfoAt (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DResolverActivityTest.java154 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in twoOptionsAndUserSelectsOne()
243 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in hasLastChosenActivity()
247 .thenReturn(resolvedComponentInfos.get(0).getResolveInfoAt(0)); in hasLastChosenActivity()
277 ResolveInfo toChoose = personalResolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileOneOption()
296 onView(first(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name))) in hasOtherProfileOneOption()
309 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileTwoOptionsAndUserSelectsOne()
333 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileTwoOptionsAndUserSelectsOne()
348 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasLastChosenActivityAndOtherProfile()
352 .thenReturn(resolvedComponentInfos.get(1).getResolveInfoAt(0)); in hasLastChosenActivityAndOtherProfile()
374 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasLastChosenActivityAndOtherProfile()
[all …]
DChooserActivityTest.java526 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in twoOptionsAndUserSelectsOne()
601 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in updateChooserCountsAndModelAfterUserSelection()
653 assertThat(chosen[0], is(resolvedComponentInfos.get(0).getResolveInfoAt(0))); in autoLaunchSingleResult()
665 ResolveInfo toChoose = personalResolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileOneOption()
685 onView(first(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name))) in hasOtherProfileOneOption()
696 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileTwoOptionsAndUserSelectsOne()
700 .thenReturn(resolvedComponentInfos.get(0).getResolveInfoAt(0)); in hasOtherProfileTwoOptionsAndUserSelectsOne()
718 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileTwoOptionsAndUserSelectsOne()
729 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasLastChosenActivityAndOtherProfile()
749 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasLastChosenActivityAndOtherProfile()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DAbstractResolverComparator.java184 final ResolveInfo lhs = lhsp.getResolveInfoAt(0); in compare()
185 final ResolveInfo rhs = rhsp.getResolveInfoAt(0); in compare()
223 return mAzComparator.compare(lhsp.getResolveInfoAt(0), rhsp.getResolveInfoAt(0)); in compare()
DResolverRankerServiceResolverComparator.java191 if (target.getResolveInfoAt(0) == null) { in doCompute()
196 target.getResolveInfoAt(0).userHandle; in doCompute()
516 int flags = rci.getResolveInfoAt(0).activityInfo.applicationInfo.flags; in isPersistentProcess()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DResolverListAdapterTest.kt132 on { lastChosen } doReturn resolvedTargets[0].getResolveInfoAt(0) in test_oneTargetThatWasLastChosen_NoTargetsInAdapter()
232 on { lastChosen } doReturn resolvedTargets[0].getResolveInfoAt(0) in test_oneTargetThatWasLastChosenFilteringDisabled_oneTargetInAdapter()
307 on { lastChosen } doReturn resolvedTargets[0].getResolveInfoAt(0) in testTwoTargets()
436 resolvedTargets[1].getResolveInfoAt(0).targetUserId = 10 in test_twoTargetsWithOtherProfileAndLastChosen_oneTargetInAdapter()
451 on { lastChosen } doReturn resolvedTargets[0].getResolveInfoAt(0) in test_twoTargetsWithOtherProfileAndLastChosen_oneTargetInAdapter()
537 assertThat(resolvedTargets[0].getResolveInfoAt(0).activityInfo.packageName) in test_resultsSorted_appearInSortedOrderInAdapter()
539 assertThat(resolvedTargets[1].getResolveInfoAt(0).activityInfo.packageName) in test_resultsSorted_appearInSortedOrderInAdapter()
597 .isEqualTo(resolvedTargets[0].getResolveInfoAt(0)) in test_ineligibleActivityFilteredOut_filteredComponentNotPresentInAdapter()
707 .isEqualTo(resolvedTargets[0].getResolveInfoAt(0)) in test_lowPriorityComponentFilteredOut_filteredComponentNotPresentInAdapter()
DChooserListAdapterDataTest.kt156 val activityInfo = resolvedTargets[1].getResolveInfoAt(0).activityInfo in test_twoTargetsWithOverlappingInitialIntent_oneTargetsInResolverAdapter()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverListController.java193 .getResolveInfoAt(0).activityInfo; in filterIneligibleActivities()
222 ResolveInfo r0 = rci0.getResolveInfoAt(0); in filterLowPriority()
225 ResolveInfo ri = inputList.get(i).getResolveInfoAt(0); in filterLowPriority()
DResolverListAdapter.java532 final ResolveInfo ri = rci.getResolveInfoAt(0); in processSortedList()
570 final ResolveInfo add = rci.getResolveInfoAt(0); in addResolveInfoWithAlternates()
874 ResolveInfo resolveInfo = info.getResolveInfoAt(0); in getFirstNonCurrentUserResolvedComponentInfo()
892 ResolveInfo resolveInfo = resolvedComponentInfo.getResolveInfoAt(0); in makeOtherProfileDisplayResolveInfo()
DResolvedComponentInfo.java70 public ResolveInfo getResolveInfoAt(int index) { in getResolveInfoAt() method in ResolvedComponentInfo
DResolverActivity.java697 .getUnfilteredResolveList().get(i).getResolveInfoAt(0);