Searched refs:mUserIdManager (Results 1 – 9 of 9) sorted by relevance
52 private UserIdManager mUserIdManager; field in UserIdManagerTest72 assertThat(mUserIdManager.getUserIds()).containsExactly(UserId.of(systemUser)); in testGetUserIds_systemUser_currentUserIsSystemUser()80 assertThat(mUserIdManager.getUserIds()) in testGetUserIds_systemUserAndManagedUser_currentUserIsSystemUser()89 assertThat(mUserIdManager.getUserIds()) in testGetUserIds_systemUserAndManagedUser_currentUserIsManagedUser()98 assertThat(mUserIdManager.getUserIds()) in testGetUserIds_managedUserAndSystemUser_currentUserIsSystemUser()108 assertThat(mUserIdManager.getUserIds()).containsExactly(UserId.of(nonManagedUser2)); in testGetUserIds_NormalUser1AndNormalUser2_currentUserIsNormalUser2()118 assertThat(mUserIdManager.getUserIds()).containsExactly(UserId.of(nonManagedUser1)); in testGetUserIds_NormalUserAndManagedUser_currentUserIsNormalUser()128 assertThat(mUserIdManager.getUserIds()).containsExactly(UserId.of(managedUser1)); in testGetUserIds_NormalUserAndManagedUser_currentUserIsManagedUser()136 mUserIdManager = new UserIdManager.RuntimeUserIdManager(mockContext, currentUser, false); in testGetUserIds_deviceNotSupported()137 assertThat(mUserIdManager.getUserIds()).containsExactly(UserId.of(systemUser)); in testGetUserIds_deviceNotSupported()[all …]
47 private final UserIdManager mUserIdManager; field in ProfileTabs61 mUserIdManager = checkNotNull(userIdManager); in ProfileTabs()106 List<UserId> userIds = mUserIdManager.getUserIds(); in updateTabsIfNeeded()116 mUserIdManager.getSystemUser()), /* setSelected= */false); in updateTabsIfNeeded()118 mUserIdManager.getManagedUser()), /* setSelected= */false); in updateTabsIfNeeded()
71 private UserIdManager mUserIdManager; field in DocumentsApplication103 return ((DocumentsApplication) context.getApplicationContext()).mUserIdManager; in getUserIdManager()133 mUserIdManager = UserIdManager.create(this); in onCreate()135 mProviders = new ProvidersCache(this, mUserIdManager); in onCreate()
93 protected UserIdManager mUserIdManager; field in BaseActivity266 mUserIdManager = DocumentsApplication.getUserIdManager(this); in onCreate()
52 private final UserIdManager mUserIdManager; field in AppsRowManager59 mUserIdManager = userIdManager; in AppsRowManager()92 boolean isSearchExpandedAcrossProfile = mUserIdManager.getUserIds().size() > 1 in shouldShow()
125 private final UserIdManager mUserIdManager; field in ProvidersCache129 mUserIdManager = userIdManager; in ProvidersCache()203 for (UserId userId : mUserIdManager.getUserIds()) {540 for (UserId userId : mUserIdManager.getUserIds()) {548 for (UserId userId : mUserIdManager.getUserIds()) {
80 private final UserIdManager mUserIdManager; field in ActionHandler101 mUserIdManager = userIdManager; in ActionHandler()
142 mUserIdManager); in onCreate()149 mUserIdManager); in onCreate()
161 mUserIdManager); in onCreate()