Namespaces
Records
Functions
-
bool CheckPayloadForType (fuchsia_sensors_types::SensorType type, const fuchsia_sensors_types::EventPayload & payload)Check that the payload union is the correct data type for the sensor type.
Defined at line 24 of file ../../src/sensors/playback/playback_config_validation.cc
-
std::optional<fuchsia_hardware_sensors::ConfigurePlaybackError> ValidateSensorList (const std::optional<std::vector<fuchsia_sensors_types::SensorInfo>> & sensor_list)Determine if a list of SensorInfo has all the required fields and no duplicate sensor IDs.
Defined at line 81 of file ../../src/sensors/playback/playback_config_validation.cc
-
std::optional<fuchsia_hardware_sensors::ConfigurePlaybackError> ValidateSensorEventList (const std::optional<std::vector<fuchsia_sensors_types::SensorEvent>> & sensor_eventsconst std::vector<fuchsia_sensors_types::SensorInfo> & sensor_list)Check for a non-emtpy sensor event list, and that the events are valid.
Defined at line 104 of file ../../src/sensors/playback/playback_config_validation.cc