Searched refs:PROFILE_WORK (Results 1 – 7 of 7) sorted by relevance
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/profiles/ |
D | MultiProfilePagerAdapterTest.kt | 29 import com.android.intentresolver.profiles.MultiProfilePagerAdapter.PROFILE_WORK in <lambda>() 107 TabConfig(PROFILE_WORK, "work", "work_a11y", "TAG_WORK", workListAdapter) in <lambda>() 154 TabConfig(PROFILE_WORK, "work", "work_a11y", "TAG_WORK", workListAdapter) in <lambda>() 158 PROFILE_WORK, // <-- This test specifically requests we start on work profile. in <lambda>() 165 assertThat(pagerAdapter.currentPage).isEqualTo(PROFILE_WORK) in <lambda>() 286 TabConfig(PROFILE_WORK, "work", "work_a11y", "TAG_WORK", workListAdapter) in <lambda>() 290 PROFILE_WORK, in <lambda>() 329 TabConfig(PROFILE_WORK, "work", "work_a11y", "TAG_WORK", workListAdapter) in <lambda>() 333 PROFILE_WORK, in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestReader.kt | 22 import com.android.intentresolver.ResolverActivity.PROFILE_WORK 50 PROFILE_WORK -> Profile.Type.WORK in Validation() 56 " or ResolverActivity.PROFILE_WORK ($PROFILE_WORK)." in Validation()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestTest.kt | 24 import com.android.intentresolver.ResolverActivity.PROFILE_WORK 113 EXTRA_SELECTED_PROFILE to PROFILE_WORK, in createActivityModel()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverActivity.java | 193 public static final int PROFILE_WORK = MultiProfilePagerAdapter.PROFILE_WORK; field in ResolverActivity 887 if (mMultiProfilePagerAdapter.getActiveProfile() == PROFILE_WORK) { 996 selectedProfile = PROFILE_WORK; 1020 selectedProfile == PROFILE_WORK ? initialIntents : null, 1036 PROFILE_WORK, 1062 case WORK: return PROFILE_WORK; 1070 return launchUser.equals(personalUser) ? PROFILE_PERSONAL : PROFILE_WORK; 1341 boolean inWorkProfile = getCurrentProfile() == PROFILE_WORK; 1396 && mMultiProfilePagerAdapter.hasPageForProfile(PROFILE_WORK); 1829 mMultiProfilePagerAdapter.getPageNumberForProfile(PROFILE_WORK));
|
D | IntentForwarderActivity.java | 260 return MultiProfilePagerAdapter.PROFILE_WORK; in findSelectedProfile()
|
D | ChooserActivity.java | 28 import static com.android.intentresolver.profiles.MultiProfilePagerAdapter.PROFILE_WORK; 878 && mChooserMultiProfilePagerAdapter.hasPageForProfile(PROFILE_WORK); in isTwoPagePersonalAndWorkConfiguration() 1337 mChooserMultiProfilePagerAdapter.getPageNumberForProfile(PROFILE_WORK)); in setupProfileTabs()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ |
D | MultiProfilePagerAdapter.java | 65 public static final int PROFILE_WORK = Profile.Type.WORK.ordinal(); field in MultiProfilePagerAdapter 466 if (!hasPageForProfile(PROFILE_WORK)) { in getWorkListAdapter() 469 return getListAdapterForPageNumber(getPageNumberForProfile(PROFILE_WORK)); in getWorkListAdapter()
|