commit | fcf94e48639538117e52f81ba7018c2af7b4cc81 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Dec 07 15:49:51 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Jan 05 11:23:50 2017 -0800 |
tree | 59b255ce4ebf1709066021a421ff91dc98fd8d0a | |
parent | 11992a60ff12aa66d13da9731f9578e1165422a0 [diff] |
Gives better error message on callback tests. FooCallback::reportResults will wait for longer time, then assert if the time left is greater than a threshold. This gives more information than simply stating "time is up" (by returning -1.) Test: hidl_test Change-Id: I3b72731ee8c772ecb8863f3dfac0faf62182e321
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