Searched refs:primaryUser (Results 1 – 5 of 5) sorted by relevance
112 val primaryUser = state.getPrimaryUser() in <lambda>() constant115 assertThat(primaryUser.profileGroupId).isNotEqualTo(NO_PROFILE_GROUP_ID) in <lambda>()116 assertThat(workUser.profileGroupId).isEqualTo(primaryUser.profileGroupId) in <lambda>()
49 UserInfo primaryUser = new UserInfo(TEST_PRIMARY_USER_ID, null, in setUp() local51 when(mUserManager.getUserInfo(TEST_PRIMARY_USER_ID)).thenReturn(primaryUser); in setUp()
378 UserHandle primaryUser = UserHandle.SYSTEM; in getUserTypeForWipe() local382 primaryUser = mainUser; in getUserTypeForWipe()385 if (userToBeWiped == null || userToBeWiped.getUserHandle().equals(primaryUser)) { in getUserTypeForWipe()
91 final UserHandle primaryUser = userManager.getPrimaryUser().getUserHandle(); in onAttach() local92 newUserId = primaryUser.getIdentifier(); in onAttach()
2493 UserHandle primaryUser = userManager.getMainUser();2496 primaryUser = primaryUserInfo != null2500 if (primaryUser != null) {2502 = new DefaultPhoneAccountHandle(primaryUser,2505 .put(primaryUser, defaultPhoneAccountHandle);