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/android/car/userlib/
DInitialUserSetterTest.java640 boolean supportsOverrideUserIdProperty = true; in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
641 UserInfo user = expectHasInitialUser(USER_ID, supportsOverrideUserIdProperty); in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
649 verifyFallbackDefaultBehaviorNeverCalled(supportsOverrideUserIdProperty); in testDefaultBehavior_nonFirstBoot_ok_withOverriddenProperty()
738 boolean supportsOverrideUserIdProperty) { in expectHasInitialUser() argument
739 return expectHasInitialUser(userId, /* isGuest= */ false, supportsOverrideUserIdProperty); in expectHasInitialUser()
747 boolean supportsOverrideUserIdProperty) { in expectHasInitialUser() argument
749 when(mHelper.getInitialUser(supportsOverrideUserIdProperty)).thenReturn(userId); in expectHasInitialUser()
865 private void verifyFallbackDefaultBehaviorNeverCalled(boolean supportsOverrideUserIdProperty) { in verifyFallbackDefaultBehaviorNeverCalled() argument
867 isInitialInfo(supportsOverrideUserIdProperty), anyBoolean(), anyString()); in verifyFallbackDefaultBehaviorNeverCalled()
870 private static InitialUserInfo isInitialInfo(boolean supportsOverrideUserIdProperty) { in isInitialInfo() argument
[all …]
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DInitialUserSetter.java249 public final boolean supportsOverrideUserIdProperty; field in InitialUserSetter.InitialUserInfo
258 supportsOverrideUserIdProperty = builder.mSupportsOverrideUserIdProperty; in InitialUserInfo()
303 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in executeDefaultBehavior()
308 int userId = mHelper.getInitialUser(info.supportsOverrideUserIdProperty); in executeDefaultBehavior()
311 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in executeDefaultBehavior()
453 .setSupportsOverrideUserIdProperty(info.supportsOverrideUserIdProperty) in createAndSwitchUser()