Searched refs:GNSS_ABILITY (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | request.cpp | 234 proxys->push_back(GNSS_ABILITY); in GetProxyName() 246 proxys->push_back(GNSS_ABILITY); in GetProxyName() 277 proxys->push_back(GNSS_ABILITY); in GetProxyNameByPriority() 287 proxys->push_back(GNSS_ABILITY); in GetProxyNameByPriority()
|
H A D | common_utils.cpp | 50 if (GNSS_ABILITY.compare(ability) == 0) { in AbilityConvertToId() 79 if (GNSS_ABILITY.compare(name) == 0) { in GetLabel()
|
/ohos5.0/base/location/test/location_common/source/ |
H A D | common_utils_test.cpp | 142 EXPECT_EQ(LOCATION_GNSS_SA_ID, CommonUtils::AbilityConvertToId(GNSS_ABILITY)); 156 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString(GNSS_ABILITY, CAPABILITY)); 162 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapability(GNSS_ABILITY)); 174 EXPECT_NE("", CommonUtils::GetLabel(GNSS_ABILITY).tag);
|
/ohos5.0/base/location/test/location_locator/source/ |
H A D | report_manager_test.cpp | 214 reportManager_->UpdateCacheLocation(location, GNSS_ABILITY); 326 EXPECT_EQ(true, reportManager_->OnReportLocation(location, GNSS_ABILITY)); // is not requesting 349 …EXPECT_EQ(true, reportManager_->OnReportLocation(location, GNSS_ABILITY)); // report location succ… 351 …reportManager_->OnReportLocation(location, GNSS_ABILITY)); // report the same location, result che… 375 …EXPECT_EQ(true, reportManager_->OnReportLocation(location, GNSS_ABILITY)); // will resolve deadReq… 386 locatorAbility->requests_->insert(make_pair(GNSS_ABILITY, gnssList));
|
H A D | locator_service_test.cpp | 1992 locatorAbility->proxyMap_->insert(make_pair(GNSS_ABILITY, objectGnss));
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | common_utils.h | 34 const std::string GNSS_ABILITY = "gps"; variable
|
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | locator_ability.cpp | 245 requests_->insert(make_pair(GNSS_ABILITY, gnssList)); in InitRequestManagerMap() 269 auto gpsListIter = requests_->find(GNSS_ABILITY); in GetActiveRequestNum() 317 auto objectGnss = proxyMap_->find(GNSS_ABILITY); in CheckSaValid() 381 if (iter->first == GNSS_ABILITY) { in UpdateSaAbilityHandler() 843 if (iter->first == GNSS_ABILITY) { in ProcessLocationMockMsg() 867 loadedSaMap_->insert(make_pair(GNSS_ABILITY, objectGnss)); in UpdateLoadedSaMap() 891 proxyMap_->insert(make_pair(GNSS_ABILITY, objectGnss)); in UpdateProxyMap() 1619 auto gpsListIter = requests_->find(GNSS_ABILITY); in RemoveInvalidRequests()
|
H A D | report_manager.cpp | 87 } else if (abilityName == GNSS_ABILITY || abilityName == PASSIVE_ABILITY) { in OnReportLocation() 340 if (abilityName == GNSS_ABILITY) { in UpdateCacheLocation()
|
H A D | request_manager.cpp | 591 if (abilityName == GNSS_ABILITY) { in ProxySendLocationRequest()
|
/ohos5.0/base/location/services/location_gnss/gnss/source/ |
H A D | gnss_event_callback.cpp | 96 gnssAbility->ReportLocationInfo(GNSS_ABILITY, locationNew); in ReportLocation()
|
H A D | gnss_ability.cpp | 96 SetAbility(GNSS_ABILITY); in GnssAbility() 1486 ReportLocationInfo(GNSS_ABILITY, location); in ReportMockedLocation()
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | request_manager_test.cpp | 514 requestManager_->GetRemoteObject(GNSS_ABILITY);
|
H A D | locator_ability_test.cpp | 228 locatorAbility->proxyMap_->insert(make_pair(GNSS_ABILITY, objectGnss));
|