Searched refs:WORK_USER (Results 1 – 3 of 3) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | UserItemsCombinerTest.java | 57 private static final UserId WORK_USER = TestProvidersAccess.OtherUser.USER_ID; field in UserItemsCombinerTest 96 mUserIds.add(WORK_USER); in setUp() 98 mUserIdToLabelMap.put(WORK_USER, "Work"); in setUp() 100 mState.canForwardToProfileIdMap.put(WORK_USER, true); in setUp() 147 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableList_currentIsWork_personalItemsOnly() 181 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableListForAllUsers_currentIsWork_personalItemsOnly() 219 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableList_currentIsWork_workItemsOnly() 254 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableListForAllUsers_currentIsWork_workItemsOnly() 299 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableList_currentIsWork_personalAndWorkItems() 351 .overrideCurrentUserForTest(WORK_USER) in testCreatePresentableListForAllUsers_currentIsWork_allUsersItems() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 64 private static final UserHandle WORK_USER = new UserHandle(3333); field in RecentAppStatsMixinTest 353 .thenReturn(new ArrayList<>(Arrays.asList(NORMAL_USER, WORK_USER))); in loadDisplayableRecentApps_usePersonalAndWorkApps_shouldBeSortedByLastTimeUse() 405 .thenReturn(new ArrayList<>(Arrays.asList(NORMAL_USER, WORK_USER))); in loadDisplayableRecentApps_usePersonalAndWorkApps_shouldBeUniquePerProfile() 460 .thenReturn(new ArrayList<>(Arrays.asList(NORMAL_USER, CLONE_USER, WORK_USER))); in loadDisplayableRecentApps_multipleProfileApps_shouldBeSortedByLastTimeUse()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityTest.java | 206 private static final User WORK_USER = field in ChooserActivityTest 1314 mFakeUserRepo.addUser(WORK_USER, true); in testOnCreateLoggingFromWorkProfile() 2212 mFakeUserRepo.updateState(WORK_USER, false); in testWorkTab_workProfileDisabled_emptyStateShown() 2293 mFakeUserRepo.updateState(WORK_USER, false); in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown() 2317 mFakeUserRepo.updateState(WORK_USER, false); in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown() 3064 mFakeUserRepo.addUser(WORK_USER, /* available= */ true); in markOtherProfileAvailability()
|