Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java716 boolean supportsOverrideUserIdProperty = true; in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
717 UserInfo user = expectHasInitialUser(USER_ID, supportsOverrideUserIdProperty); in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
725 verifyFallbackDefaultBehaviorNeverCalled(supportsOverrideUserIdProperty); in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
1018 boolean supportsOverrideUserIdProperty) { in expectHasInitialUser() argument
1019 return expectHasInitialUser(userId, /* isGuest= */ false, supportsOverrideUserIdProperty); in expectHasInitialUser()
1027 boolean supportsOverrideUserIdProperty) { in expectHasInitialUser() argument
1029 doReturn(userId).when(mSetter).getInitialUser(supportsOverrideUserIdProperty); in expectHasInitialUser()
1150 private void verifyFallbackDefaultBehaviorNeverCalled(boolean supportsOverrideUserIdProperty) { in verifyFallbackDefaultBehaviorNeverCalled() argument
1152 isInitialInfo(supportsOverrideUserIdProperty), anyBoolean(), anyString()); in verifyFallbackDefaultBehaviorNeverCalled()
1155 private static InitialUserInfo isInitialInfo(boolean supportsOverrideUserIdProperty) { in isInitialInfo() argument
[all …]
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java267 public final boolean supportsOverrideUserIdProperty; field in InitialUserSetter.InitialUserInfo
276 supportsOverrideUserIdProperty = builder.mSupportsOverrideUserIdProperty; in InitialUserInfo()
307 if (supportsOverrideUserIdProperty) string.append(",supportsOverrideUserIdProperty"); in toString()
384 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in executeDefaultBehavior()
389 int userId = getInitialUser(info.supportsOverrideUserIdProperty); in executeDefaultBehavior()
392 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in executeDefaultBehavior()
546 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in createAndSwitchUser()