Home
last modified time | relevance | path

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

/base/location/test/location_common/source/
Dcommon_utils_test.cpp116 EXPECT_EQ(LOCATION_GNSS_SA_ID, CommonUtils::AbilityConvertToId(GNSS_ABILITY));
117 EXPECT_EQ(LOCATION_NETWORK_LOCATING_SA_ID, CommonUtils::AbilityConvertToId(NETWORK_ABILITY));
118 EXPECT_EQ(LOCATION_NOPOWER_LOCATING_SA_ID, CommonUtils::AbilityConvertToId(PASSIVE_ABILITY));
119 EXPECT_EQ(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::AbilityConvertToId(GEO_ABILITY));
120 EXPECT_EQ(UNKNOWN_SA_ID, CommonUtils::AbilityConvertToId("unknown_ability"));
/base/location/interfaces/inner_api/include/
Dcommon_utils.h136 static int AbilityConvertToId(const std::string ability);
/base/location/services/location_locator/locator/source/
Dsubability_common.cpp121 int saId = CommonUtils::AbilityConvertToId(name_); in Enable()
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp106 int CommonUtils::AbilityConvertToId(const std::string ability) in AbilityConvertToId() function in OHOS::Location::CommonUtils