Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java290 public final boolean replaceGuest; field in InitialUserSetter.InitialUserInfo
301 replaceGuest = builder.mReplaceGuest; in InitialUserInfo()
336 if (replaceGuest) { in toString()
352 EventLogHelper.writeCarInitialUserInfo(info.type, info.replaceGuest, info.switchUserId, in set()
448 .setReplaceGuest(info.replaceGuest) in executeDefaultBehavior()
471 boolean replaceGuest = info.replaceGuest; in switchUser()
474 Slogf.d(TAG, "switchUser(): userId=" + userId + ", replaceGuest=" + replaceGuest in switchUser()
486 if (mUserHandleHelper.isGuestUser(user) && replaceGuest) { in switchUser()
DCarUserService.java751 boolean replaceGuest = in initBootUser()
757 fallbackToDefaultInitialUserBehavior(/* userLocales= */ null, replaceGuest, in initBootUser()
781 fallbackToDefaultInitialUserBehavior(userLocales, replaceGuest, in initBootUser()
789 .setReplaceGuest(replaceGuest) in initBootUser()
807 fallbackToDefaultInitialUserBehavior(userLocales, replaceGuest, in initBootUser()
812 fallbackToDefaultInitialUserBehavior(/* userLocales= */ null, replaceGuest, in initBootUser()
821 fallbackToDefaultInitialUserBehavior(/* user locale */ null, replaceGuest, in initBootUser()
828 private void fallbackToDefaultInitialUserBehavior(String userLocales, boolean replaceGuest, in fallbackToDefaultInitialUserBehavior() argument
834 .setReplaceGuest(replaceGuest) in fallbackToDefaultInitialUserBehavior()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java297 public static void writeCarInitialUserInfo(int type, boolean replaceGuest, in writeCarInitialUserInfo() argument
300 EventLog.writeEvent(EventLogTags.CAR_INITIAL_USER_INFO, type, replaceGuest ? 1 : 0, in writeCarInitialUserInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java2820 && info.replaceGuest; in testOnResume_halNullResponse_replaceTrue()
2836 return info.type == InitialUserSetter.TYPE_DEFAULT_BEHAVIOR && info.replaceGuest in testOnResume_halDefaultResponse_replaceGuest()
2854 return info.type == InitialUserSetter.TYPE_SWITCH && info.replaceGuest in testOnResume_halSwitchResponse_replaceGuest()
2868 return info.type == InitialUserSetter.TYPE_DEFAULT_BEHAVIOR && info.replaceGuest; in testOnResume_halDisabled()