Searched refs:managedUser (Results 1 – 9 of 9) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ProfileTabsTest.java | 48 private final UserId managedUser = UserId.of(100); field in ProfileTabsTest 92 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_shouldShow() 102 assertThat(tab2.getTag()).isEqualTo(managedUser); in testUpdateView_twoUsers_shouldShow() 108 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_doesNotSupportCrossProfile_shouldHide() 118 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_subFolder_shouldHide() 130 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_recents_subFolder_shouldHide() 143 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_thirdParty_shouldHide() 156 initializeWithUsers(systemUser, managedUser); in testUpdateView_twoUsers_isSearching_shouldHide() 164 initializeWithUsers(systemUser, managedUser); in testUpdateView_getSelectedUser_afterUsersChanged() 168 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(managedUser); in testUpdateView_getSelectedUser_afterUsersChanged() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | IconHelperTest.java | 42 private UserId managedUser = UserId.of(100); field in IconHelperTest 48 mThumbnailCache, managedUser); in setUp() 58 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isTrue(); in testShouldShowBadge_returnTrue_onManagedUser() 64 mThumbnailCache, managedUser); in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge() 65 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isFalse(); in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge() 72 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isFalse(); in testShouldShowBadge_returnFalse_onManagedUser_withoutManagedUser()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | UserIdManager.java | 173 UserId managedUser = null; in getUserIdsInternal() local 180 if (managedUser == null in getUserIdsInternal() 182 managedUser = UserId.of(userHandle); in getUserIdsInternal() 188 if (managedUser != null) { in getUserIdsInternal() 189 result.add(managedUser); in getUserIdsInternal() 209 mManagedUser = managedUser; in getUserIdsInternal()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestUserIdManager.java | 27 public UserId managedUser = null; field in TestUserIdManager 41 return managedUser; in getManagedUser()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ContactSearchPreferenceController.java | 39 public void setManagedUser(UserHandle managedUser) { in setManagedUser() argument 40 mManagedUser = managedUser; in setManagedUser()
|
D | CrossProfileCalendarPreferenceController.java | 39 public void setManagedUser(UserHandle managedUser) { in setManagedUser() argument 40 mManagedUser = managedUser; in setManagedUser()
|
D | WorkModePreferenceController.java | 55 public void setManagedUser(UserHandle managedUser) { in setManagedUser() argument 56 mManagedUser = managedUser; in setManagedUser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | ApplicationFeatureProviderImplTest.java | 218 final UserInfo managedUser = new UserInfo(MANAGED_PROFILE_ID, "managed", in testFindPersistentPreferredActivities() local 224 when(mUserManager.getUserInfo(MANAGED_PROFILE_ID)).thenReturn(managedUser); in testFindPersistentPreferredActivities() 249 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities() 251 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 81 @Nullable UserId managedUser) { in IconHelper() argument 85 mManagedUser = managedUser; in IconHelper()
|