|
Android-cuttlefish cvd tool
|
#include "cuttlefish/host/commands/sensors_simulator/sensors_hal_proxy.h"#include <mutex>#include <string>#include "absl/log/check.h"#include "absl/log/log.h"
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::sensors |
| namespace | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp} |
Functions | |
| Result< std::string > | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::SensorIdToName (int id) |
| Result< void > | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::SendResponseHelper (transport::SharedFdChannel &channel, const std::string &msg) |
| Result< void > | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::ProcessHalRequest (transport::SharedFdChannel &channel, std::atomic< bool > &hal_activated, uint32_t mask) |
| Result< void > | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::UpdateSensorsHal (const std::string &sensors_data, transport::SharedFdChannel &channel, uint32_t mask) |
| SensorsMask | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::HostEnabledSensors (DeviceType device_type) |
Variables | |
| static constexpr char | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::END_OF_MSG = '\n' |
| static constexpr uint32_t | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::kIntervalMs = 1000 |
| static constexpr SensorsMask | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::kContinuousModeSensors |
| static constexpr SensorsMask | cuttlefish::sensors::anonymous_namespace{sensors_hal_proxy.cpp}::kOnChangeSensors = (1 << kHingeAngle0Id) |