Searched refs:platformSensor (Results 1 – 3 of 3) sorted by relevance
28 Sensor::Sensor(PlatformSensor&& platformSensor) in Sensor() argument29 : mPlatformSensor(std::move(platformSensor)) {} in Sensor()
251 PlatformSensor platformSensor; in addPlatformSensor() local252 platformSensor.sensorId = sensorInfo.SensorID; in addPlatformSensor()253 platformSensor.dataType = sensorInfo.DataType; in addPlatformSensor()254 platformSensor.calType = calType; in addPlatformSensor()255 size_t bytesToCopy = std::min(sizeof(platformSensor.sensorName) - 1, in addPlatformSensor()257 memcpy(platformSensor.sensorName, sensorInfo.SensorName, bytesToCopy); in addPlatformSensor()258 platformSensor.sensorName[bytesToCopy] = '\0'; in addPlatformSensor()259 platformSensor.minInterval = static_cast<uint64_t>( in addPlatformSensor()265 platformSensor.lastEvent = allocateLastEvent(sensorType, in addPlatformSensor()266 &platformSensor.lastEventSize); in addPlatformSensor()[all …]
38 Sensor(PlatformSensor&& platformSensor);