Home
last modified time | relevance | path

Searched refs:toChoose (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java111 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in twoOptionsAndUserSelectsOne() local
112 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
117 assertThat(chosen[0], is(toChoose)); in twoOptionsAndUserSelectsOne()
200 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in hasLastChosenActivity() local
223 assertThat(chosen[0], is(toChoose)); in hasLastChosenActivity()
236 ResolveInfo toChoose = personalResolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileOneOption() local
259 assertThat(chosen[0], is(toChoose)); in hasOtherProfileOneOption()
270 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileTwoOptionsAndUserSelectsOne() local
300 assertThat(chosen[0], is(toChoose)); in hasOtherProfileTwoOptionsAndUserSelectsOne()
314 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasLastChosenActivityAndOtherProfile() local
[all …]
DChooserActivityTest.java292 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in twoOptionsAndUserSelectsOne() local
293 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
296 assertThat(chosen[0], is(toChoose)); in twoOptionsAndUserSelectsOne()
371 ResolveInfo toChoose = resolvedComponentInfos.get(0).getResolveInfoAt(0); in updateChooserCountsAndModelAfterUserSelection() local
372 onView(withText(toChoose.activityInfo.name)) in updateChooserCountsAndModelAfterUserSelection()
378 .updateModel(toChoose.activityInfo.getComponentName()); in updateChooserCountsAndModelAfterUserSelection()
435 ResolveInfo toChoose = personalResolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileOneOption() local
459 assertThat(chosen[0], is(toChoose)); in hasOtherProfileOneOption()
470 ResolveInfo toChoose = resolvedComponentInfos.get(1).getResolveInfoAt(0); in hasOtherProfileTwoOptionsAndUserSelectsOne() local
498 assertThat(chosen[0], is(toChoose)); in hasOtherProfileTwoOptionsAndUserSelectsOne()
[all …]