template <typename T>

class RadarProxyTest

Defined at line 163 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

Protected Members

FakeRadarDriver fake_driver_
Client dut_client_

Public Methods

void RadarProxyTest<T> ()

Defined at line 165 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void SetUp ()

Defined at line 172 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void TearDown ()

Defined at line 191 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void ConnectToRadarDevice (fidl::UnownedClientEnd<fuchsia_io::Directory> dir, const std::string & path, ConnectDeviceCallback connect_device)

Defined at line 201 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void ConnectToFirstRadarDevice (ConnectDeviceCallback connect_device)

Defined at line 207 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

Protected Methods

void UnbindProviderAndWaitForConnectionAttempt ()

Closes the RadarBurstProvider connection between radar-proxy and the radar driver, and waits

for radar-proxy to process the epitaph. After this call, requests to radar-proxy should either

succeed or fail depending on the value of provider_connect_fail_.

Defined at line 227 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void UnbindReaderAndWaitForConnectionAttempt ()

Same as above, but for RadarBurstReader.

Defined at line 236 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void UnbindRadarDevice ()

Defined at line 244 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void AddRadarDevice ()

Defined at line 249 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

void BindInjector (fidl::ServerEnd<fuchsia_hardware_radar::RadarBurstInjector> server_end)

Defined at line 254 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h

async::Loop & loop ()

Defined at line 265 of file ../../src/devices/radar/bin/radar-proxy/test/radar-proxy-test.h