Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::sensors::SensorsHalProxy Class Reference

#include <sensors_hal_proxy.h>

Collaboration diagram for cuttlefish::sensors::SensorsHalProxy:
Collaboration graph
[legend]

Public Member Functions

 SensorsHalProxy (SharedFD sensors_in_fd, SharedFD sensors_out_fd, SharedFD kernel_events_fd, SensorsSimulator &sensors_simulator, DeviceType device_type)
 

Private Attributes

std::thread req_responder_thread_
 
std::thread data_reporter_thread_
 
std::thread reboot_monitor_thread_
 
transport::SharedFdChannel channel_
 
SharedFD kernel_events_fd_
 
SensorsSimulatorsensors_simulator_
 
std::atomic< bool > hal_activated_ = false
 
std::atomic< bool > running_ = true
 

Constructor & Destructor Documentation

◆ SensorsHalProxy()

cuttlefish::sensors::SensorsHalProxy::SensorsHalProxy ( SharedFD  sensors_in_fd,
SharedFD  sensors_out_fd,
SharedFD  kernel_events_fd,
SensorsSimulator sensors_simulator,
DeviceType  device_type 
)

Member Data Documentation

◆ channel_

transport::SharedFdChannel cuttlefish::sensors::SensorsHalProxy::channel_
private

◆ data_reporter_thread_

std::thread cuttlefish::sensors::SensorsHalProxy::data_reporter_thread_
private

◆ hal_activated_

std::atomic<bool> cuttlefish::sensors::SensorsHalProxy::hal_activated_ = false
private

◆ kernel_events_fd_

SharedFD cuttlefish::sensors::SensorsHalProxy::kernel_events_fd_
private

◆ reboot_monitor_thread_

std::thread cuttlefish::sensors::SensorsHalProxy::reboot_monitor_thread_
private

◆ req_responder_thread_

std::thread cuttlefish::sensors::SensorsHalProxy::req_responder_thread_
private

◆ running_

std::atomic<bool> cuttlefish::sensors::SensorsHalProxy::running_ = true
private

◆ sensors_simulator_

SensorsSimulator& cuttlefish::sensors::SensorsHalProxy::sensors_simulator_
private

The documentation for this class was generated from the following files: