Home | History | Annotate | Download | only in nanotool

Lines Matching full:static_cast

127              static_cast<int>(sensor_type));
159 if (bytes_read != static_cast<size_t>(file_size)) {
189 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor);
190 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type);
191 req.config.command = static_cast<uint8_t>(
194 req.config.rate = static_cast<uint32_t>(spec.special_rate);
206 sensor_is_active_[static_cast<int>(spec.sensor_type)] = true;
223 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor);
224 req.config.sensor_type = static_cast<uint8_t>(sensor_type);
225 req.config.command = static_cast<uint8_t>(
233 sensor_is_active_[static_cast<int>(sensor_type)] = false;
262 if (sensor_is_active_[static_cast<int>(sensor_names_[i].sensor_type)]) {
284 static_cast<int>(result));
363 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor);
364 req.config.sensor_type = static_cast<uint8_t>(sensor.sensor_type);
365 req.config.command = static_cast<uint8_t>(
387 LOGE("Error reading calibration response %d", static_cast<int>(result));
397 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor);
398 req.config.sensor_type = static_cast<uint8_t>(sensor.sensor_type);
399 req.config.command = static_cast<uint8_t>(
421 LOGE("Error reading test response %d", static_cast<int>(result));
491 static_cast<int>(sensor.sensor_type));
542 LOGE("Error %d while reading", static_cast<int>(result));
568 LOGE("Error %d while reading", static_cast<int>(result));
583 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor);
584 req.config.sensor_type = static_cast<uint8_t>(sensor_type);
585 req.config.command = static_cast<uint8_t>(