commit | 152866b2d6ba35e7f1395cdb92d0e17ab8123acb | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Feb 28 15:34:27 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Tue Feb 28 20:36:15 2017 -0800 |
tree | 04ee17cc5529a44ab800f6d927207313d250091a | |
parent | c63629456d1c2ed9660115328d4cc268b4cb7255 [diff] |
getService should consult the VINTF object with instance name. Bug: 35219444 Test: hidl_test Test: device boots, NFC and Wi-Fi works. Change-Id: Ib132e8950dfb8f2026277e8d453442205833c114
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0