Searched refs:getCurrentUserHandle (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IChooserWrapper.java | 42 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
|
D | ResolverWrapperActivity.java | 135 protected UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ResolverWrapperActivity 136 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
|
D | ChooserWrapperActivity.java | 240 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ChooserWrapperActivity 241 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
|
D | ResolverActivityTest.java | 459 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()
|
D | ChooserActivityTest.java | 1908 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/ |
D | ResolverActivity.java | 1279 if (!mMultiProfilePagerAdapter.getCurrentUserHandle().equals(getUser())) { 1288 .getCurrentUserHandle().equals(mWorkProfileUserHandle)) { 1606 cti.getResolveInfo(), mMultiProfilePagerAdapter.getCurrentUserHandle()); 1699 startActivityAsUser(in, mMultiProfilePagerAdapter.getCurrentUserHandle()); 2472 if (mMultiProfilePagerAdapter.getCurrentUserHandle()
|
D | AbstractMultiProfilePagerAdapter.java | 152 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in AbstractMultiProfilePagerAdapter
|