Home
last modified time | relevance | path

Searched refs:primaryUser (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/
DFakeUserManagerTest.kt112 val primaryUser = state.getPrimaryUser() in <lambda>() constant
115 assertThat(primaryUser.profileGroupId).isNotEqualTo(NO_PROFILE_GROUP_ID) in <lambda>()
116 assertThat(workUser.profileGroupId).isEqualTo(primaryUser.profileGroupId) in <lambda>()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/
DUtilsTest.java49 UserInfo primaryUser = new UserInfo(TEST_PRIMARY_USER_ID, null, in setUp() local
51 when(mUserManager.getUserInfo(TEST_PRIMARY_USER_ID)).thenReturn(primaryUser); in setUp()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java378 UserHandle primaryUser = UserHandle.SYSTEM; in getUserTypeForWipe() local
382 primaryUser = mainUser; in getUserTypeForWipe()
385 if (userToBeWiped == null || userToBeWiped.getUserHandle().equals(primaryUser)) { in getUserTypeForWipe()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DNewKeyboardLayoutEnabledLocalesFragment.java91 final UserHandle primaryUser = userManager.getPrimaryUser().getUserHandle(); in onAttach() local
92 newUserId = primaryUser.getIdentifier(); in onAttach()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java2493 UserHandle primaryUser = userManager.getMainUser();
2496 primaryUser = primaryUserInfo != null
2500 if (primaryUser != null) {
2502 = new DefaultPhoneAccountHandle(primaryUser,
2505 .put(primaryUser, defaultPhoneAccountHandle);