/packages/services/Car/service/src/com/android/car/user/ |
D | InitialUserSetter.java | 264 public Builder setUserLocales(@Nullable String userLocales) { in setUserLocales() argument 267 if (userLocales != null && userLocales.trim().isEmpty()) { in setUserLocales() 270 mUserLocales = userLocales; in setUserLocales() 295 public @Nullable String userLocales; field in InitialUserSetter.InitialUserInfo 305 userLocales = builder.mUserLocales; in InitialUserInfo() 329 if (userLocales != null) { in toString() 330 string.append(",locales=").append(userLocales); in toString() 354 info.supportsOverrideUserIdProperty, info.userLocales); in set() 438 .setUserLocales(info.userLocales) in executeDefaultBehavior() 660 if (info.userLocales != null) { in createNewUser() [all …]
|
D | CarUserService.java | 772 resp.userToSwitchOrCreate.flags, resp.userNameToCreate, resp.userLocales); in initBootUser() 774 String userLocales = resp.userLocales; in initBootUser() 781 fallbackToDefaultInitialUserBehavior(userLocales, replaceGuest, in initBootUser() 787 .setUserLocales(userLocales) in initBootUser() 799 .setUserLocales(userLocales) in initBootUser() 807 fallbackToDefaultInitialUserBehavior(userLocales, replaceGuest, in initBootUser() 828 private void fallbackToDefaultInitialUserBehavior(String userLocales, boolean replaceGuest, in fallbackToDefaultInitialUserBehavior() argument 833 .setUserLocales(userLocales) in fallbackToDefaultInitialUserBehavior()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/ |
D | EventLogHelper.java | 113 int flags, @Nullable String safeName, @Nullable String userLocales) { in writeCarUserServiceInitialUserInfoResp() argument 115 userId, flags, safeName, userLocales); in writeCarUserServiceInitialUserInfoResp() 288 int userId, int flags, @Nullable String safeName, @Nullable String userLocales) { in writeCarUserHalInitialUserInfoResp() argument 290 action, userId, flags, safeName, userLocales); in writeCarUserHalInitialUserInfoResp() 299 boolean supportsOverrideUserIdProperty, @Nullable String userLocales) { in writeCarInitialUserInfo() argument 302 newUserName, newUserFlags, supportsOverrideUserIdProperty ? 1 : 0, userLocales); in writeCarInitialUserInfo()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalHelperTest.java | 610 assertThat(response.userLocales).isEmpty(); in testToInitialUserInfoResponse_default_ok_noStringValue() 632 assertThat(response.userLocales).isEmpty(); in testToInitialUserInfoResponse_default_ok_stringValueWithJustSeparator() 654 assertThat(response.userLocales).isEqualTo("esperanto,klingon"); in testToInitialUserInfoResponse_default_ok_stringValueWithLocale() 676 assertThat(response.userLocales).isEqualTo("esperanto|klingon"); in testToInitialUserInfoResponse_default_ok_stringValueWithLocaleWithHalfSeparator() 713 assertThat(response.userLocales).isEmpty(); in testToInitialUserInfoResponse_switch_ok_noLocale() 740 assertThat(response.userLocales).isEqualTo("esperanto,klingon"); in testToInitialUserInfoResponse_switch_ok_withLocale() 792 assertThat(response.userLocales).isEmpty(); in testToInitialUserInfoResponse_create_ok_noLocale() 816 assertThat(response.userLocales).isEqualTo("esperanto,klingon"); in testToInitialUserInfoResponse_create_ok_withLocale() 840 assertThat(response.userLocales).isEqualTo("esperanto|klingon"); in testToInitialUserInfoResponse_create_ok_nameAndLocaleWithHalfDelimiter()
|
D | UserHalServiceTest.java | 592 assertThat(actualResponse.userLocales).isEmpty(); in testGetUserInfo_successCreateUser()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalHelper.java | 362 response.userLocales = ""; in toInitialUserInfoResponse() 376 response.userLocales = stringValues[0]; in toInitialUserInfoResponse()
|
D | UserHalService.java | 921 response.userNameToCreate, response.userLocales); in handleOnInitialUserInfoResponse() 927 response.userLocales); in handleOnInitialUserInfoResponse()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 2714 && info.userLocales == null && info.supportsOverrideUserIdProperty; in testPriorityInit_halNotSupported() 2735 mGetUserInfoResponse.userLocales = "LOL"; in testPriorityInit_halDefaultResponse() 2743 && Objects.equals(info.userLocales, "LOL"); in testPriorityInit_halDefaultResponse() 2829 mGetUserInfoResponse.userLocales = "LOL"; in testOnResume_halDefaultResponse_replaceGuest() 2837 && Objects.equals(info.userLocales, "LOL"); in testOnResume_halDefaultResponse_replaceGuest()
|
D | BaseCarUserServiceTestCase.java | 350 mGetUserInfoResponse.userLocales = new String(); in fillInDefaultValues()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_built_in_api_list.txt | 156 …alUserInfoResp(int status, int action, int userId, int flags, String safeName, String userLocales); 187 …int requestId, int status, int action, int userId, int flags, String safeName, String userLocales);
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 2231 if (!TextUtils.isEmpty(resp.userLocales)) { 2232 writer.printf("User locales: %s\n", resp.userLocales);
|