commit | ccd782b771e283825ad178f1ab33b8c105e6d55d | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Nov 28 09:41:46 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Nov 28 18:01:01 2016 -0800 |
tree | 7c409a5eb420140c86eaa59a66c49849ee103f26 | |
parent | c7167ca32679a1127d9504be700dfd6dfbc41a3f [diff] |
hidl_test: Fix server names get out of bounds. It is easy to forget to update the serverNames array. The logcat output was clobbered; it is now fixed. Test: hidl_test, manually viewed logcat output. Change-Id: Ic87d0f43ceb6d1670ea7ceb4479ed5c5c1f056c0
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0