class FakeThermalDevice
Defined at line 244 of file ../../src/devices/cpu/drivers/aml-cpu-legacy/aml-cpu-test.cc
Fake device that exposes the thermal banjo protocol. Upon calling Connect, a new instance of
FakeAmlThermal is created to serve a client, at which point any previous FakeThermalAml
instance is destroyed.
Public Methods
void FakeThermalDevice ()
Defined at line 246 of file ../../src/devices/cpu/drivers/aml-cpu-legacy/aml-cpu-test.cc
zx_status_t ThermalConnect (zx::channel chan)
Defined at line 249 of file ../../src/devices/cpu/drivers/aml-cpu-legacy/aml-cpu-test.cc
const thermal_protocol_t * proto ()
Defined at line 255 of file ../../src/devices/cpu/drivers/aml-cpu-legacy/aml-cpu-test.cc
void set_device_info (const fuchsia_thermal::wire::ThermalDeviceInfo & device_info)
Defined at line 257 of file ../../src/devices/cpu/drivers/aml-cpu-legacy/aml-cpu-test.cc