Home
last modified time | relevance | path

Searched refs:getCurrentUserHandle (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIChooserWrapper.java42 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
DResolverWrapperActivity.java135 protected UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ResolverWrapperActivity
136 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
DChooserWrapperActivity.java240 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ChooserWrapperActivity
241 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
DResolverActivityTest.java459 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(0)); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
481 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_workTabUsesExpectedAdapter()
501 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_personalTabUsesExpectedAdapter()
969 assertThat(activity.getCurrentUserHandle(), is(activity.getPersonalProfileUserHandle())); in testClonedProfilePresent_personalAdapterIsSetWithPersonalProfile()
993 assertThat(activity.getCurrentUserHandle(), is(activity.getPersonalProfileUserHandle())); in testClonedProfilePresent_personalTabUsesExpectedAdapter()
DChooserActivityTest.java1908 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(0)); in testWorkTab_eachTabUsesExpectedAdapter()
1910 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_eachTabUsesExpectedAdapter()
2948 assertThat(activity.getCurrentUserHandle(), is(PERSONAL_USER_HANDLE)); in testClonedProfilePresent_personalTabUsesExpectedAdapter()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java1279 if (!mMultiProfilePagerAdapter.getCurrentUserHandle().equals(getUser())) {
1288 .getCurrentUserHandle().equals(mWorkProfileUserHandle)) {
1606 cti.getResolveInfo(), mMultiProfilePagerAdapter.getCurrentUserHandle());
1699 startActivityAsUser(in, mMultiProfilePagerAdapter.getCurrentUserHandle());
2472 if (mMultiProfilePagerAdapter.getCurrentUserHandle()
DAbstractMultiProfilePagerAdapter.java152 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in AbstractMultiProfilePagerAdapter