commit | f2fd9bae42d0e6af46b8ce305c5008ff19d2fa0b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Jun 26 09:47:23 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Jun 26 09:49:59 2017 -0700 |
tree | e2114236bbcdc5ab32ee72a50b4c8ff168dfbdde | |
parent | ad2ca68ac04ae785f281af9f986ed053d17351d8 [diff] |
Add self-castFrom tests to hidl_test. This adds additional tests where we make sure that Ixyz::castFrom(sp<Ixyz>) works for instances of sp<Ixyz> that are underlayed by Ixyz and subclasses of Ixyz. Test: hidl_test Bug: 62892352 Change-Id: I65bf67fb8a68a71884f6543e113fd18a7e9d5531
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