Searched refs:sensorInfo (Results 1 – 2 of 2) sorted by relevance
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 327 void addSensor(const sns_smgr_sensor_datatype_info_s_v01& sensorInfo, in addSensor() argument 330 sensor.sensorId = sensorInfo.SensorID; in addSensor() 331 sensor.dataType = sensorInfo.DataType; in addSensor() 334 static_cast<size_t>(sensorInfo.SensorName_len)); in addSensor() 335 memcpy(sensor.sensorName, sensorInfo.SensorName, bytesToCopy); in addSensor() 340 sensorInfo.SensorID, sensorInfo.DataType, calType); in addSensor() 343 Seconds(1).toRawNanoseconds() / sensorInfo.MaxSampleRate); in addSensor() 1073 const sns_smgr_sensor_datatype_info_s_v01& sensorInfo = in getSensorsForSensorId() local 1077 sensorInfo.SensorID, sensorInfo.DataType, in getSensorsForSensorId() 1078 sensorInfo.MaxSampleRate, sensorInfo.SensorName); in getSensorsForSensorId() [all …]
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 1341 for (const auto& sensorInfo : sensorInfos) { in getSensorTypeFromSensorInfo() local 1342 if (suidsMatch(sensorInfo.suid, suid)) { in getSensorTypeFromSensorInfo() 1344 if (sensorInfo.client == client) { in getSensorTypeFromSensorInfo() 1345 return sensorInfo.sensorType; in getSensorTypeFromSensorInfo() 1347 otherType = sensorInfo.sensorType; in getSensorTypeFromSensorInfo() 1709 const SensorInfo *sensorInfo = getSensorInfo(request.sensorType); in makeRequest() local 1710 if (sensorInfo == nullptr) { in makeRequest() 1723 if (suidsMatch(sensorInfo->suid, mResamplerSuid.value())) { in makeRequest() 1726 request, sensorInfo->physicalSuid, &msg, &msgLen); in makeRequest() 1737 success = sendReq(sensorInfo->client, sensorInfo->suid, in makeRequest() [all …]
|