commit | 575ab5c7c689fc8896cdc5f3bd47fe74b1415627 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jan 25 15:44:39 2018 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Apr 10 16:06:14 2018 +0000 |
tree | 93c9163488083c34259090195407b038dfdcf3ca | |
parent | 1efff1abfc632a984236b6ed578d27f244382292 [diff] |
Java: use renamed instrumentation method. Renaming 'reportSyspropChange' to enableInstrumentation in Java in order to give it a semantic name that is independent of its implementation. Bug: 72480743 Test: hidl_test_java Change-Id: I45135a0944ac8e0d15679026b2653a4da36b5dce Merged-In: I45135a0944ac8e0d15679026b2653a4da36b5dce (cherry picked from commit 1bdb18c0bbc0cc53165522f4b3b355a9dc12805e)
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