[fake-ddk] Add support for get_protocol and get_name.
Now the fake ddk can return protocols and a name from the parent device. It also supports testing drivers that use zxlog() calls. Test: manual Change-Id: Iafecf51f42285ee47c5028b171c5162647df0b8f
Showing
- system/dev/lib/fake_ddk/fake_ddk.cpp 59 additions, 15 deletionssystem/dev/lib/fake_ddk/fake_ddk.cpp
- system/dev/lib/fake_ddk/include/lib/fake_ddk/fake_ddk.h 36 additions, 12 deletionssystem/dev/lib/fake_ddk/include/lib/fake_ddk/fake_ddk.h
- system/dev/lib/fake_ddk/rules.mk 1 addition, 0 deletionssystem/dev/lib/fake_ddk/rules.mk
Loading
Please register or sign in to comment