Home
last modified time | relevance | path

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

/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc327 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()
1088 const sns_smgr_sensor_datatype_info_s_v01& sensorInfo = in getSensorsForSensorId() local
1092 sensorInfo.SensorID, sensorInfo.DataType, in getSensorsForSensorId()
1093 sensorInfo.MaxSampleRate, sensorInfo.SensorName); in getSensorsForSensorId()
[all …]
/system/chre/platform/slpi/see/
Dsee_helper.cc1298 for (const auto& sensorInfo : sensorInfos) { in getSensorTypeFromSensorInfo() local
1299 if (suidsMatch(sensorInfo.suid, suid)) { in getSensorTypeFromSensorInfo()
1301 if (sensorInfo.client == client) { in getSensorTypeFromSensorInfo()
1302 return sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1304 otherType = sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1666 const SensorInfo *sensorInfo = getSensorInfo(request.sensorType); in makeRequest() local
1667 if (sensorInfo == nullptr) { in makeRequest()
1680 if (suidsMatch(sensorInfo->suid, mResamplerSuid.value())) { in makeRequest()
1683 request, sensorInfo->physicalSuid, &msg, &msgLen); in makeRequest()
1694 success = sendReq(sensorInfo->client, sensorInfo->suid, in makeRequest()
[all …]