Home
last modified time | relevance | path

Searched refs:GetCapabilityToString (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/location/test/location_common/source/
H A Dcommon_utils_test.cpp155 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString("unknown_ability", CAPABILITY));
156 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString(GNSS_ABILITY, CAPABILITY));
157 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString(NETWORK_ABILITY, CAPABILITY));
158 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString(PASSIVE_ABILITY, CAPABILITY));
159 EXPECT_NE(Str8ToStr16(""), CommonUtils::GetCapabilityToString(GEO_ABILITY, CAPABILITY));
/ohos5.0/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp65 std::u16string CommonUtils::GetCapabilityToString(std::string ability, uint32_t capability) in GetCapabilityToString() function in OHOS::Location::CommonUtils
74 return GetCapabilityToString(ability, capability); in GetCapability()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h160 static std::u16string GetCapabilityToString(std::string ability, uint32_t capability);