Home
last modified time | relevance | path

Searched refs:mUserIdManager (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserIdManagerTest.java52 private UserIdManager mUserIdManager; field in UserIdManagerTest
72 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 …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java47 private final UserIdManager mUserIdManager; field in ProfileTabs
61 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()
DDocumentsApplication.java71 private UserIdManager mUserIdManager; field in DocumentsApplication
103 return ((DocumentsApplication) context.getApplicationContext()).mUserIdManager; in getUserIdManager()
133 mUserIdManager = UserIdManager.create(this); in onCreate()
135 mProviders = new ProvidersCache(this, mUserIdManager); in onCreate()
DBaseActivity.java93 protected UserIdManager mUserIdManager; field in BaseActivity
266 mUserIdManager = DocumentsApplication.getUserIdManager(this); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowManager.java52 private final UserIdManager mUserIdManager; field in AppsRowManager
59 mUserIdManager = userIdManager; in AppsRowManager()
92 boolean isSearchExpandedAcrossProfile = mUserIdManager.getUserIds().size() > 1 in shouldShow()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java125 private final UserIdManager mUserIdManager; field in ProvidersCache
129 mUserIdManager = userIdManager; in ProvidersCache()
203 for (UserId userId : mUserIdManager.getUserIds()) {
540 for (UserId userId : mUserIdManager.getUserIds()) {
548 for (UserId userId : mUserIdManager.getUserIds()) {
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java80 private final UserIdManager mUserIdManager; field in ActionHandler
101 mUserIdManager = userIdManager; in ActionHandler()
DPickActivity.java142 mUserIdManager); in onCreate()
149 mUserIdManager); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java161 mUserIdManager); in onCreate()