Home
last modified time | relevance | path

Searched refs:isHeadlessSystemUser (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java146 doReturn(true).when(mCarUserManagerHelper).isHeadlessSystemUser(); in testDisableModifyAccountsForHeadlessSystemUserOnFirstRun()
164 doReturn(false).when(mCarUserManagerHelper).isHeadlessSystemUser(); in testDisableModifyAccountsForRegularSystemUserOnFirstRun()
196 doReturn(true).when(mCarUserManagerHelper).isHeadlessSystemUser(); in testDisableLocationForHeadlessSystemUserOnFirstRun()
209 doReturn(false).when(mCarUserManagerHelper).isHeadlessSystemUser(); in testDisableLocationForRegularSystemUserOnFirstRun()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java288 public boolean isHeadlessSystemUser() { in isHeadlessSystemUser() method in CarUserManagerHelper
351 if (isHeadlessSystemUser()) { in getAllSwitchableUsers()
364 if (isHeadlessSystemUser()) { in getAllUsers()
471 if (isHeadlessSystemUser()) { in getMaxSupportedUsers()
928 if (id == UserHandle.USER_SYSTEM && isHeadlessSystemUser()) { in switchToUserId()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java111 if (mCarUserManagerHelper.isHeadlessSystemUser()
277 return mCarUserManagerHelper.isHeadlessSystemUser() && currentUserId == 0; in isCurrentUserHeadlessSystemUser()
/packages/services/Car/tests/robotests/src/com/android/car/users/
DCarUserManagerHelperRoboTest.java114 if (mHelper.isHeadlessSystemUser()) { in testGetAllUsers()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java154 if (mCarUserManagerHelper.isHeadlessSystemUser()) { in updateDefaultUserRestriction()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java137 when(mMockCarUserManagerHelper.isHeadlessSystemUser()).thenReturn(true); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java123 assertThat(mCarUserManagerHelper.isHeadlessSystemUser()).isTrue(); in checkHeadlessSystemUserFlag()