Home | History | Annotate | only in /system/tools/hidl
Up to higher level directory
NameDateSize
Android.bp05-Oct-20172.8K
Annotation.cpp05-Oct-20173.3K
Annotation.h05-Oct-20171.9K
ArrayType.cpp05-Oct-201713.8K
ArrayType.h05-Oct-20174.3K
AST.cpp05-Oct-201716.8K
AST.h05-Oct-20179.4K
c2hal/05-Oct-2017
CompoundType.cpp05-Oct-201730.5K
CompoundType.h05-Oct-20174.7K
ConstantExpression.cpp05-Oct-201718.4K
ConstantExpression.h05-Oct-20173.9K
Coordinator.cpp05-Oct-201717.3K
Coordinator.h05-Oct-20174.4K
DeathRecipientType.cpp05-Oct-20172.6K
DeathRecipientType.h05-Oct-20171.6K
EnumType.cpp05-Oct-201723.6K
EnumType.h05-Oct-20176K
FmqType.cpp05-Oct-20174.6K
FmqType.h05-Oct-20172.2K
generateCpp.cpp05-Oct-201768.2K
generateCppImpl.cpp05-Oct-20176.6K
generateJava.cpp05-Oct-201719.2K
generateVts.cpp05-Oct-20173.9K
HandleType.cpp05-Oct-20174.3K
HandleType.h05-Oct-20172K
Hash.cpp05-Oct-20174.4K
hidl-gen_l.ll05-Oct-20176.5K
hidl-gen_y.yy05-Oct-201730.8K
HidlTypeAssertion.cpp05-Oct-20171.6K
HidlTypeAssertion.h05-Oct-20171.3K
include_hash/05-Oct-2017
Interface.cpp05-Oct-201729.4K
Interface.h05-Oct-20174.9K
Location.h05-Oct-20172.5K
main.cpp05-Oct-201741K
MemoryType.cpp05-Oct-20174.1K
MemoryType.h05-Oct-20172K
Method.cpp05-Oct-20176.7K
Method.h05-Oct-20173.9K
MODULE_LICENSE_APACHE205-Oct-20170
NamedType.cpp05-Oct-20171.7K
NamedType.h05-Oct-20171.7K
NOTICE05-Oct-201711.1K
PointerType.cpp05-Oct-20171.9K
PointerType.h05-Oct-20171.6K
README.md05-Oct-20171,002
RefType.cpp05-Oct-20176.9K
RefType.h05-Oct-20172.4K
ScalarType.cpp05-Oct-20177.1K
ScalarType.h05-Oct-20173K
Scope.cpp05-Oct-20175.1K
Scope.h05-Oct-20172.5K
StringType.cpp05-Oct-20175.6K
StringType.h05-Oct-20172.5K
test/05-Oct-2017
Type.cpp05-Oct-201711.2K
Type.h05-Oct-20179.1K
TypeDef.cpp05-Oct-20171.7K
TypeDef.h05-Oct-20171.3K
update-makefiles-helper.sh05-Oct-20172.9K
utils/05-Oct-2017
VectorType.cpp05-Oct-201719.4K
VectorType.h05-Oct-20175.3K

README.md

      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