#include "services/device/generic_sensor/platform_sensor_fusion_algorithm.h"
#include <cmath>
#include "base/containers/contains.h"
namespace device {
PlatformSensorFusionAlgorithm::PlatformSensorFusionAlgorithm(
mojom::SensorType fused_type,
const base::flat_set<mojom::SensorType>& source_types)
: … { … }
PlatformSensorFusionAlgorithm::~PlatformSensorFusionAlgorithm() = default;
bool PlatformSensorFusionAlgorithm::GetFusedData(
mojom::SensorType which_sensor_changed,
SensorReading* fused_reading) { … }
void PlatformSensorFusionAlgorithm::Reset() { … }
void PlatformSensorFusionAlgorithm::SetFrequency(double) { … }
}