Home
last modified time | relevance | path

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

/base/sensors/medical_sensor/interfaces/plugin/src/
H A Dmedical_napi_utils.cpp82 std::map<int32_t, std::vector<std::string>> g_sensorAttributeList = { member
157 if (g_sensorAttributeList.count(sensorTypeId) == 0) { in EmitUvEventLoop()
162 std::vector<std::string> sensorAttribute = g_sensorAttributeList[sensorTypeId]; in EmitUvEventLoop()
/base/sensors/sensor/frameworks/js/napi/src/
H A Dsensor_napi_utils.cpp164 std::map<int32_t, vector<string>> g_sensorAttributeList = { member
324 CHKNCF(env, (g_sensorAttributeList.find(sensorTypeId) != g_sensorAttributeList.end()), "Invalid sensor type"); in ConvertToSensorData()
328 size_t size = g_sensorAttributeList[sensorTypeId].size(); in ConvertToSensorData()
334 auto sensorAttributes = g_sensorAttributeList[sensorTypeId]; in ConvertToSensorData()

Completed in 4 milliseconds