Home
last modified time | relevance | path

Searched refs:g_sensorAttributeList (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/src/
H A Dmedical_napi_utils.cpp82 std::map<int32_t, std::vector<std::string>> g_sensorAttributeList = { variable
157 if (g_sensorAttributeList.count(sensorTypeId) == 0) { in EmitUvEventLoop()
162 std::vector<std::string> sensorAttribute = g_sensorAttributeList[sensorTypeId]; in EmitUvEventLoop()
/ohos5.0/base/sensors/sensor/frameworks/js/napi/src/
H A Dsensor_napi_utils.cpp165 std::map<int32_t, vector<string>> g_sensorAttributeList = { variable
326 …CHKNCF(env, (g_sensorAttributeList.find(sensorTypeId) != g_sensorAttributeList.end()), "Invalid se… in ConvertToSensorData()
330 size_t size = g_sensorAttributeList[sensorTypeId].size(); in ConvertToSensorData()
336 auto sensorAttributes = g_sensorAttributeList[sensorTypeId]; in ConvertToSensorData()