commit | 4ddd8339f1a0adcce90bcbf0db155c8d6dc8c7f4 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Apr 27 19:27:18 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Apr 28 02:30:37 2017 +0000 |
tree | bad294961f9a1f8939e8bc55eb48e30ae0a6a648 | |
parent | 66348f077e51f530ca10691746728955795d4bbb [diff] |
Java: use _hidl_cb instead of cb for callback name Names starting with _hidl_ are reserved for hidl-gen use. Test: run hidl-gen, inspect output, build java module Change-Id: I9545a68d5c6e4c5ebb5ef1377bc02f5cd3cca341
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