Home
last modified time | relevance | path

Searched refs:getWorkListAdapter (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java115 } else if (getWorkListAdapter() != null in getListAdapterForUserHandle()
116 && getWorkListAdapter().getUserHandle().equals(userHandle)) { in getListAdapterForUserHandle()
117 return getWorkListAdapter(); in getListAdapterForUserHandle()
144 public ResolverListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ResolverMultiProfilePagerAdapter
DChooserMultiProfilePagerAdapter.java118 } else if (getWorkListAdapter() != null in getListAdapterForUserHandle()
119 && getWorkListAdapter().getUserHandle().equals(userHandle)) { in getListAdapterForUserHandle()
120 return getWorkListAdapter(); in getListAdapterForUserHandle()
165 public ChooserListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ChooserMultiProfilePagerAdapter
DAbstractMultiProfilePagerAdapter.java237 public abstract @Nullable ResolverListAdapter getWorkListAdapter(); in getWorkListAdapter() method in AbstractMultiProfilePagerAdapter
DResolverActivity.java481 mMultiProfilePagerAdapter.getWorkListAdapter());
1125 mMultiProfilePagerAdapter.getWorkListAdapter());
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIChooserWrapper.java36 ChooserListAdapter getWorkListAdapter(); in getWorkListAdapter() method
DResolverWrapperActivity.java84 ResolverListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ResolverWrapperActivity
DResolverActivityTest.java461 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
482 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testWorkTab_workTabUsesExpectedAdapter()
524 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testWorkTab_workProfileHasExpectedNumberOfTargets()
579 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testWorkTab_noPersonalApps_workTabHasExpectedNumberOfTargets()
1224 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testPrivateProfile_triggerFromPrimaryUser_withWorkProfilePresent()
1249 assertThat(activity.getWorkListAdapter().getCount(), is(4)); in testPrivateProfile_triggerFromWorkProfile()
DChooserWrapperActivity.java89 public ChooserListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ChooserWrapperActivity
DChooserActivityTest.java1912 assertThat(activity.getWorkListAdapter().getCount(), is(workProfileTargets)); in testWorkTab_eachTabUsesExpectedAdapter()
1935 assertThat(activity.getWorkListAdapter().getCount(), is(workProfileTargets)); in testWorkTab_workProfileHasExpectedNumberOfTargets()
2650 assertThat(activity.getWorkListAdapter().getCallerTargetCount(), is(0)); in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents()
2843 assertEquals(3, wrapper.getWorkListAdapter().getCount()); in testWorkTab_workUserNotRunning_workTargetsShown()
2901 assertEquals(3, wrapper.getWorkListAdapter().getCount()); in testWorkTab_workUserLocked_workTargetsShown()