Lines Matching full:profile
16 using ::fuchsia::intl::Profile;
38 << "Profile changes will not be monitored."; in FuchsiaIntlProfileWatcher()
43 [this](Profile profile) { on_profile_changed_.Run(profile); }); in FuchsiaIntlProfileWatcher() argument
51 const Profile& profile) { in GetPrimaryTimeZoneIdFromProfile() argument
52 if (!profile.has_time_zones()) { in GetPrimaryTimeZoneIdFromProfile()
53 DLOG(WARNING) << "Profile does not contain time zones."; in GetPrimaryTimeZoneIdFromProfile()
58 profile.time_zones(); in GetPrimaryTimeZoneIdFromProfile()
60 DLOG(ERROR) << "Profile contains an empty time zones list."; in GetPrimaryTimeZoneIdFromProfile()
75 const ::fuchsia::intl::Profile& profile) { in GetPrimaryLocaleIdFromProfile()
76 if (!profile.has_locales()) { in GetPrimaryLocaleIdFromProfile()
77 DLOG(ERROR) << "Profile does not contain locale information."; in GetPrimaryLocaleIdFromProfile()
82 profile.locales(); in GetPrimaryLocaleIdFromProfile()
84 DLOG(ERROR) << "Profile contains an empty locale list."; in GetPrimaryLocaleIdFromProfile()
97 Profile FuchsiaIntlProfileWatcher::GetProfileFromPropertyProvider( in GetProfileFromPropertyProvider()
100 Profile profile; in GetProfileFromPropertyProvider() local
101 zx_status_t status = property_provider->GetProfile(&profile); in GetProfileFromPropertyProvider()
103 ZX_DLOG(ERROR, status) << "Failed to get intl Profile"; in GetProfileFromPropertyProvider()
105 return profile; in GetProfileFromPropertyProvider()
109 ::fuchsia::intl::Profile FuchsiaIntlProfileWatcher::GetCurrentProfileSync() { in GetCurrentProfileSync()