Home
last modified time | relevance | path

Searched refs:SYSTEM_USER_ID (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/car/nonrecoverable/src/android/car/cts/
DCarServiceHelperServiceTest.java33 private static final int SYSTEM_USER_ID = 0; field in CarServiceHelperServiceTest
59 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()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserBuilder.java21 import static com.android.bedstead.nene.users.Users.SYSTEM_USER_ID;
160 if (mParent.id() != SYSTEM_USER_ID) { in create()
DUsers.java81 static final int SYSTEM_USER_ID = 0; field in Users
442 if (entry.getValue().id() == SYSTEM_USER_ID) {
460 mutableUser.mParent = find(SYSTEM_USER_ID);
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java63 private static final int SYSTEM_USER_ID = 0; field in CarHostJUnit4TestCase
471 + "be the system user", timeoutSec, () -> getCurrentUserId() != SYSTEM_USER_ID); in waitUntilCurrentUserIsNotSystem()