commit | 8146c328abf99690e9ddf764b9b3ba0598c3dcc9 | [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 12:54:57 2017 -0700 |
tree | 418e37d6711ee8e3650316e54b0f23a22c14ee05 | |
parent | 97e117fee61e39792b2fe7defafe204bd3f4d939 [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 Change-Id: Ia5d1eb41b057ab5d6800f6c3fd22658adecc4be7
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