Home
last modified time | relevance | path

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

/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp68 requests_ = std::make_shared<std::map<std::string, std::list<std::shared_ptr<Request>>>>(); in LocatorAbility()
211 if (requests_ != nullptr) { in InitRequestManagerMap()
214 requests_->insert(make_pair(GNSS_ABILITY, gnssList)); in InitRequestManagerMap()
218 requests_->insert(make_pair(NETWORK_ABILITY, networkList)); in InitRequestManagerMap()
222 requests_->insert(make_pair(PASSIVE_ABILITY, passiveList)); in InitRequestManagerMap()
230 return requests_; in GetRequests()
238 auto gpsListIter = requests_->find(GNSS_ABILITY); in GetActiveRequestNum()
239 if (gpsListIter != requests_->end()) { in GetActiveRequestNum()
245 auto networkListIter = requests_->find(NETWORK_ABILITY); in GetActiveRequestNum()
246 if (networkListIter != requests_->end()) { in GetActiveRequestNum()
[all …]
/base/location/test/location_locator/source/
Dreport_manager_test.cpp362 locatorAbility->requests_->insert(make_pair(GNSS_ABILITY, gnssList));
368 locatorAbility->requests_->clear();
Dlocator_service_test.cpp1946 locatorAbility->requests_ = nullptr;
1948 …locatorAbility->requests_ = std::make_shared<std::map<std::string, std::list<std::shared_ptr<Reque…
2041 locatorAbility->requests_ = nullptr;
/base/location/services/location_locator/locator/include/
Dlocator_ability.h164 std::shared_ptr<std::map<std::string, std::list<std::shared_ptr<Request>>>> requests_; variable