Home
last modified time | relevance | path

Searched refs:managedUser (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DUserIdManager.java173 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()
DUserManagerState.java373 UserId managedUser = null; in getUserIdsInternalPreV() local
378 managedUser = UserId.of(userHandle); in getUserIdsInternalPreV()
381 if (mCurrentUser.isSystem() && managedUser != null) { in getUserIdsInternalPreV()
382 result.add(managedUser); in getUserIdsInternalPreV()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestUserIdManager.java27 public UserId managedUser = null; field in TestUserIdManager
41 return managedUser; in getManagedUser()
/packages/apps/Settings/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceController.java49 void setManagedUser(UserHandle managedUser) { in setManagedUser() argument
50 mManagedUser = managedUser; in setManagedUser()
DManagedProfileSettings.java142 UserHandle managedUser = Utils.getManagedProfile(userManager);
143 return managedUser != null;
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DUserIdManager.java314 final UserId managedUser = mCurrentUser; in setUserIdsInternal() local
316 userManager.getProfileParent(managedUser.getUserHandle()); in setUserIdsInternal()
319 mManagedUser = managedUser; in setUserIdsInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DSettingsProfileSelectFragment.java166 int managedUser = getManagedUser(); in getTabUserId() local
171 return managedUser; in getTabUserId()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserManagerStateTest.java613 UserId managedUser = UserId.of(mManagedUser); in testOnProfileStatusChange_actionProfileUnavailableForPrivateProfile() local
628 List<UserId> expectedUserIdsAfterIntent = Lists.newArrayList(currentUser, managedUser); in testOnProfileStatusChange_actionProfileUnavailableForPrivateProfile()
648 UserId managedUser = UserId.of(mManagedUser); in testOnProfileStatusChange_actionProfileAvailable_profileInitialised() local
669 List<UserId> expectedUserIdsAfterIntent = Lists.newArrayList(currentUser, managedUser, in testOnProfileStatusChange_actionProfileAvailable_profileInitialised()
690 UserId managedUser = UserId.of(mManagedUser); in testOnProfileStatusChange_actionProfileAvailable_profileNotInitialised() local
708 List<UserId> expectedUserIdsAfterIntent = Lists.newArrayList(currentUser, managedUser, in testOnProfileStatusChange_actionProfileAvailable_profileNotInitialised()
712 expectedCanForwardToProfileIdMapAfterIntent.put(managedUser, true); in testOnProfileStatusChange_actionProfileAvailable_profileNotInitialised()
DProfileTabsTest.java348 mTestUserIdManager.managedUser = userId; in initializeWithUsers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java256 final UserInfo managedUser = new UserInfo(MANAGED_PROFILE_ID, "managed", in testFindPersistentPreferredActivities() local
262 when(mUserManager.getUserInfo(MANAGED_PROFILE_ID)).thenReturn(managedUser); in testFindPersistentPreferredActivities()
287 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities()
289 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java90 @Nullable UserId managedUser, @Nullable UserManagerState userManagerState, in IconHelper() argument
95 mManagedUser = managedUser; in IconHelper()