commit | 328b39b5862945363daeb661085f04f0cbce85ca | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Tue Jun 27 14:39:46 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 29 04:42:40 2017 +0000 |
tree | 462c1d9dc58897ee467acf35a9ae7eeacf5e5f57 | |
parent | 92f28dd4ca60224cf2c549d0efa8ab92977f5d3c [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 Test: hidl_test Change-Id: Ifc49bcc480b894f2566837865eb350bb8e143df3 (cherry picked from commit cccb55931ea63d376fec0a86d526ce2d1656d19e)
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