commit | 7b680ebdc6b150e808dc85ff5fae6344b20a206b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Apr 19 16:34:26 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Apr 20 00:34:12 2017 +0000 |
tree | c31db61c1b388bc666171182ab20c25b0a6a56c6 | |
parent | 23d7477765a2b282f7185c90afcd1d5ea551e5f1 [diff] |
hidl_test: 10.986s -> 3.081s - death listeners take ~30ms. Waiting 100ms now instead of 1s. - don't always sleep 1s waiting for servers to startup. Just add calls to wait for them to all startup. Test: `time hidl_test` Bugs: me Change-Id: I6c815344e51b8947fbc8ef4a42361d5f9517c1b5
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