[ddk][api] Add API to get length of device metadata
This patch adds a new method (device_get_metadata_size) to the DDK API, which allows the retrieval of the size of a given metadata key on a device. Test: runtests -t driver-test Change-Id: Ib2535b17e3e2b6b9bc225835d6ac27e288aadd52
Showing
- system/core/devmgr/devhost/api.cpp 7 additions, 0 deletionssystem/core/devmgr/devhost/api.cpp
- system/core/devmgr/devhost/devhost.cpp 24 additions, 0 deletionssystem/core/devmgr/devhost/devhost.cpp
- system/core/devmgr/devhost/devhost.h 3 additions, 0 deletionssystem/core/devmgr/devhost/devhost.h
- system/core/devmgr/devmgr/coordinator.cpp 42 additions, 0 deletionssystem/core/devmgr/devmgr/coordinator.cpp
- system/core/devmgr/devmgr/coordinator.h 1 addition, 0 deletionssystem/core/devmgr/devmgr/coordinator.h
- system/dev/test/ddk-test/metadata-test.c 5 additions, 0 deletionssystem/dev/test/ddk-test/metadata-test.c
- system/fidl/fuchsia-device-manager/coordinator.fidl 4 additions, 0 deletionssystem/fidl/fuchsia-device-manager/coordinator.fidl
- system/ulib/ddk/include/ddk/device.h 4 additions, 0 deletionssystem/ulib/ddk/include/ddk/device.h
Loading
Please register or sign in to comment