commit | 225bc92ef6ab5ea4bc7235d404d44a792e2dae56 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Tue Jun 27 14:39:46 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 21 00:07:03 2017 +0000 |
tree | 98c414b42615ed12d2a3f63b1b5b6906e0c77501 | |
parent | c668a6b11e4f9cde60644df057cb6cdf5bb5108d [diff] |
Fix infinite recursion in onTransact(). When sending an unknown message code to a server object, onTransact() would be called recursively, which will cause the process to crash. Bug: 63069272 Bug: 63899698 Test: hidl_test Merged-In: Ifc49bcc480b894f2566837865eb350bb8e143df3 Change-Id: Ifc49bcc480b894f2566837865eb350bb8e143df3
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0