commit | 21aa43c93083bab6f1ab5511418fc65bf49de068 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Mar 07 17:15:24 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Mar 07 17:15:24 2017 -0800 |
tree | ac057ae0d1df74cbb03ad935654dcdc7e654e955 | |
parent | 2ef6b39949680840b2acffa2a46edc0fe8f01d0f [diff] |
Better service notification test. Explicitly test/show that service notifications registered for class A are sent out when a subclass of A is registered. Bug: 35988664 Test: hidl_test Change-Id: Id93ad5c56bf44f537718d26f21ac396116032a98
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