Searched refs:SYSTEM_USER_ID (Results 1 – 4 of 4) sorted by relevance
33 private static final int SYSTEM_USER_ID = 0; field in CarServiceHelperServiceTest59 assertWithMessage("Current user id").that(getCurrentUserId()).isNotEqualTo(SYSTEM_USER_ID); in testUserCreatedOnStartUpForHeadlessSystemUser()66 if (userId == SYSTEM_USER_ID) { in removeAllUsersExceptSystem()73 assertWithMessage("Users").that(users).containsExactly(SYSTEM_USER_ID); in removeAllUsersExceptSystem()
21 import static com.android.bedstead.nene.users.Users.SYSTEM_USER_ID;160 if (mParent.id() != SYSTEM_USER_ID) { in create()
81 static final int SYSTEM_USER_ID = 0; field in Users442 if (entry.getValue().id() == SYSTEM_USER_ID) {460 mutableUser.mParent = find(SYSTEM_USER_ID);
63 private static final int SYSTEM_USER_ID = 0; field in CarHostJUnit4TestCase471 + "be the system user", timeoutSec, () -> getCurrentUserId() != SYSTEM_USER_ID); in waitUntilCurrentUserIsNotSystem()