commit | a23f1ae530383d3a0d0e5178a0bf988da789e893 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Oct 31 11:50:18 2017 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Oct 31 14:22:04 2017 -0700 |
tree | d20264cd12387430622e42e3f18026563e5b2ab0 | |
parent | 9bf5a09af6faa5ca009314cbf773ae0053a6ab7c [diff] |
Optimize array marshaling to copy linear ranges of memory instead of doing per-element copies if the array element type corresponds to a primitive java type. Bug: 68654583 Test: hidl_test_java Change-Id: Idb0fee0331de9bd5b3e18252312d86fa5714f633
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