Android-cuttlefish cvd tool
Namespaces | Functions | Variables
sensors_hal_proxy.cpp File Reference
#include "cuttlefish/host/commands/sensors_simulator/sensors_hal_proxy.h"
#include <android-base/logging.h>
Include dependency graph for sensors_hal_proxy.cpp:

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)
 

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