Home
last modified time | relevance | path

Searched refs:newMainUser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1697 UserInfo newMainUser = mUserManager.createUser("test", UserInfo.FLAG_MAIN); in testCannotCreateAdditionalMainUser() local
1698 assertThat(newMainUser).isNull(); in testCannotCreateAdditionalMainUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4198 final UserInfo newMainUser = getEarliestCreatedFullUser(); in emulateSystemUserModeIfNeeded() local
4199 if (newMainUser != null) { in emulateSystemUserModeIfNeeded()
4200 Slogf.i(LOG_TAG, "Designating user " + newMainUser.id + " to be Main"); in emulateSystemUserModeIfNeeded()
4201 newMainUser.flags |= UserInfo.FLAG_MAIN; in emulateSystemUserModeIfNeeded()
4202 writeUserLP(getUserDataNoChecks(newMainUser.id)); in emulateSystemUserModeIfNeeded()