commit | 38e563d9b2ed83b23029eb29b76d30e91b061953 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 27 10:33:09 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Mar 29 13:11:20 2017 -0700 |
tree | 247c7c1380cc74432ad72f7d71df6ffd9bdc3d4b | |
parent | 57bcc40799c201b337155b35be0284981483c07d [diff] |
RemoteException should not be a HIDL keyword. Do not import RemoteException but use full Java name. Test: pass Change-Id: I1a9860770138c6ec76a6aa9a55b11a22619bd4f6
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