tree: c95d146824f1dc6e1a3bbf43be92c1cc97e89f5e [path history] [tgz]
  1. BUILD.gn
  2. fake-pdev.cc
  3. fake-pdev.h
  4. README.md
sdk/lib/driver/fake-platform-device/cpp/README.md

This library provides a fake replacement for a platform device. It can act as a FIDL server for the fuchsia.hardware.platform.device/Device FIDL protocol. This protocol is how drivers normally communicate with a platform device that they are bound to. Tests for drivers that require communication with a platform device should offer the fake platform device‘s FIDL service to the driver’s incoming namespace.