#include "services/device/generic_sensor/fake_platform_sensor_fusion.h"
#include "services/device/generic_sensor/platform_sensor_fusion_algorithm.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace device {
FakePlatformSensorFusion::FakePlatformSensorFusion(
std::unique_ptr<PlatformSensorFusionAlgorithm> fusion_algorithm)
: … { … }
bool FakePlatformSensorFusion::GetSourceReading(mojom::SensorType type,
SensorReading* result) { … }
void FakePlatformSensorFusion::SetSensorReading(mojom::SensorType type,
SensorReading reading,
bool sensor_reading_success) { … }
FakePlatformSensorFusion::~FakePlatformSensorFusion() = default;
}