Searched refs:lastCountryByLocation_ (Results 1 – 3 of 3) sorted by relevance
43 lastCountryByLocation_ = std::make_shared<CountryCode>(); in CountryCodeManager()126 if (lastCountryByLocation_ == nullptr) { in GetCountryCodeByLastLocation()130 if (lastCountryByLocation_->GetCountryCodeStr().empty()) { in GetCountryCodeByLastLocation()139 lastCountryByLocation_->SetCountryCodeStr(code); in GetCountryCodeByLastLocation()142 return lastCountryByLocation_->GetCountryCodeStr(); in GetCountryCodeByLastLocation()161 if (lastCountryByLocation_ == nullptr) { in UpdateCountryCodeByLocation()165 if (lastCountryByLocation_->GetCountryCodeStr() == countryCode) { in UpdateCountryCodeByLocation()170 lastCountryByLocation_->SetCountryCodeStr(countryCode); in UpdateCountryCodeByLocation()171 lastCountryByLocation_->SetCountryCodeType(type); in UpdateCountryCodeByLocation()
33 countryCodeManager->lastCountryByLocation_ = std::make_shared<CountryCode>(); in TearDown()225 countryCodeManager->lastCountryByLocation_ = nullptr;251 countryCodeManager->lastCountryByLocation_->SetCountryCodeStr("zh");254 countryCodeManager->lastCountryByLocation_->SetCountryCodeStr("us");257 countryCodeManager->lastCountryByLocation_ = nullptr;
82 std::shared_ptr<CountryCode> lastCountryByLocation_; variable