Searched refs:managedUser (Results 1 – 11 of 11) sorted by relevance
/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()
|
D | UserManagerState.java | 373 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/ |
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 | CrossProfileCalendarPreferenceController.java | 49 void setManagedUser(UserHandle managedUser) { in setManagedUser() argument 50 mManagedUser = managedUser; in setManagedUser()
|
D | ManagedProfileSettings.java | 142 UserHandle managedUser = Utils.getManagedProfile(userManager); 143 return managedUser != null;
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | UserIdManager.java | 314 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/ |
D | SettingsProfileSelectFragment.java | 166 int managedUser = getManagedUser(); in getTabUserId() local 171 return managedUser; in getTabUserId()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserManagerStateTest.java | 613 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()
|
D | ProfileTabsTest.java | 348 mTestUserIdManager.managedUser = userId; in initializeWithUsers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | ApplicationFeatureProviderImplTest.java | 256 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/ |
D | IconHelper.java | 90 @Nullable UserId managedUser, @Nullable UserManagerState userManagerState, in IconHelper() argument 95 mManagedUser = managedUser; in IconHelper()
|