commit | bcf51803eaf10fa5be43415b80b722fcf5b77a48 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Apr 06 09:17:44 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Apr 06 22:28:29 2017 +0000 |
tree | d7a4d140c330b2efd1a00cfad9fa7f2cc5117932 | |
parent | b9b331ee196ad7afcf9cd2fe5ab87be671f48ce2 [diff] |
getService: hwservicemanager over libvintf Calling hwservicemanager directly rather than libvintf. Also added using statements to make code more readable (it was getting out of hand). Test: hidl_test, hidl_test_java Test: (sanity) YouTube, Camera works, wifi Test: lshal Bug: 36377072 Merged-Id: Ia5d1eb41b057ab5d6800f6c3fd22658adecc4be7 Change-Id: Ia5d1eb41b057ab5d6800f6c3fd22658adecc4be7 (cherry picked from commit 8146c328abf99690e9ddf764b9b3ba0598c3dcc9)
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