Searched refs:getWorkListAdapter (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverMultiProfilePagerAdapter.java | 115 } 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
|
D | ChooserMultiProfilePagerAdapter.java | 118 } 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
|
D | AbstractMultiProfilePagerAdapter.java | 237 public abstract @Nullable ResolverListAdapter getWorkListAdapter(); in getWorkListAdapter() method in AbstractMultiProfilePagerAdapter
|
D | ResolverActivity.java | 481 mMultiProfilePagerAdapter.getWorkListAdapter()); 1125 mMultiProfilePagerAdapter.getWorkListAdapter());
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IChooserWrapper.java | 36 ChooserListAdapter getWorkListAdapter(); in getWorkListAdapter() method
|
D | ResolverWrapperActivity.java | 84 ResolverListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ResolverWrapperActivity
|
D | ResolverActivityTest.java | 461 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()
|
D | ChooserWrapperActivity.java | 89 public ChooserListAdapter getWorkListAdapter() { in getWorkListAdapter() method in ChooserWrapperActivity
|
D | ChooserActivityTest.java | 1912 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()
|