| Up to higher level directory | |||
| Name | Date | Size | |
|---|---|---|---|
| Android.bp | 05-Oct-2017 | 2.8K | |
| Annotation.cpp | 05-Oct-2017 | 3.3K | |
| Annotation.h | 05-Oct-2017 | 1.9K | |
| ArrayType.cpp | 05-Oct-2017 | 13.8K | |
| ArrayType.h | 05-Oct-2017 | 4.3K | |
| AST.cpp | 05-Oct-2017 | 16.8K | |
| AST.h | 05-Oct-2017 | 9.4K | |
| c2hal/ | 05-Oct-2017 | ||
| CompoundType.cpp | 05-Oct-2017 | 30.5K | |
| CompoundType.h | 05-Oct-2017 | 4.7K | |
| ConstantExpression.cpp | 05-Oct-2017 | 18.4K | |
| ConstantExpression.h | 05-Oct-2017 | 3.9K | |
| Coordinator.cpp | 05-Oct-2017 | 17.3K | |
| Coordinator.h | 05-Oct-2017 | 4.4K | |
| DeathRecipientType.cpp | 05-Oct-2017 | 2.6K | |
| DeathRecipientType.h | 05-Oct-2017 | 1.6K | |
| EnumType.cpp | 05-Oct-2017 | 23.6K | |
| EnumType.h | 05-Oct-2017 | 6K | |
| FmqType.cpp | 05-Oct-2017 | 4.6K | |
| FmqType.h | 05-Oct-2017 | 2.2K | |
| generateCpp.cpp | 05-Oct-2017 | 68.2K | |
| generateCppImpl.cpp | 05-Oct-2017 | 6.6K | |
| generateJava.cpp | 05-Oct-2017 | 19.2K | |
| generateVts.cpp | 05-Oct-2017 | 3.9K | |
| HandleType.cpp | 05-Oct-2017 | 4.3K | |
| HandleType.h | 05-Oct-2017 | 2K | |
| Hash.cpp | 05-Oct-2017 | 4.4K | |
| hidl-gen_l.ll | 05-Oct-2017 | 6.5K | |
| hidl-gen_y.yy | 05-Oct-2017 | 30.8K | |
| HidlTypeAssertion.cpp | 05-Oct-2017 | 1.6K | |
| HidlTypeAssertion.h | 05-Oct-2017 | 1.3K | |
| include_hash/ | 05-Oct-2017 | ||
| Interface.cpp | 05-Oct-2017 | 29.4K | |
| Interface.h | 05-Oct-2017 | 4.9K | |
| Location.h | 05-Oct-2017 | 2.5K | |
| main.cpp | 05-Oct-2017 | 41K | |
| MemoryType.cpp | 05-Oct-2017 | 4.1K | |
| MemoryType.h | 05-Oct-2017 | 2K | |
| Method.cpp | 05-Oct-2017 | 6.7K | |
| Method.h | 05-Oct-2017 | 3.9K | |
| MODULE_LICENSE_APACHE2 | 05-Oct-2017 | 0 | |
| NamedType.cpp | 05-Oct-2017 | 1.7K | |
| NamedType.h | 05-Oct-2017 | 1.7K | |
| NOTICE | 05-Oct-2017 | 11.1K | |
| PointerType.cpp | 05-Oct-2017 | 1.9K | |
| PointerType.h | 05-Oct-2017 | 1.6K | |
| README.md | 05-Oct-2017 | 1,002 | |
| RefType.cpp | 05-Oct-2017 | 6.9K | |
| RefType.h | 05-Oct-2017 | 2.4K | |
| ScalarType.cpp | 05-Oct-2017 | 7.1K | |
| ScalarType.h | 05-Oct-2017 | 3K | |
| Scope.cpp | 05-Oct-2017 | 5.1K | |
| Scope.h | 05-Oct-2017 | 2.5K | |
| StringType.cpp | 05-Oct-2017 | 5.6K | |
| StringType.h | 05-Oct-2017 | 2.5K | |
| test/ | 05-Oct-2017 | ||
| Type.cpp | 05-Oct-2017 | 11.2K | |
| Type.h | 05-Oct-2017 | 9.1K | |
| TypeDef.cpp | 05-Oct-2017 | 1.7K | |
| TypeDef.h | 05-Oct-2017 | 1.3K | |
| update-makefiles-helper.sh | 05-Oct-2017 | 2.9K | |
| utils/ | 05-Oct-2017 | ||
| VectorType.cpp | 05-Oct-2017 | 19.4K | |
| VectorType.h | 05-Oct-2017 | 5.3K | |
1 # hidl-gen user guide 2 3 ## 1. Build 4 5 ``` 6 croot 7 make hidl-gen 8 ``` 9 10 ## 2. Run 11 12 ``` 13 hidl-gen -o output-path -L language (-r interface-root) fqname 14 15 output-path: directory to store the output files. 16 language: output file for given language. e.g.c++, vts.. 17 18 fqname: fully qualified name of the input files. 19 For singe file input, follow the format: package@version::fileName 20 For directory input, follow the format: package@version 21 22 interface-root(optional): prefix and root path for fqname. 23 If not set, use the default prefix: android.hardware and default root path 24 defined in $TOP. 25 26 examples: 27 28 croot 29 hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0::INfc.hal 30 hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 31 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 32 ``` 33