• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

c2hal/22-Nov-2023-4,2582,815

include_hash/hidl-hash/22-Nov-2023-5321

test/22-Nov-2023-5,2044,093

utils/22-Nov-2023-1,524937

.gitD01-Jan-19700

AST.cppD22-Nov-202316.8 KiB565372

AST.hD22-Nov-20239.4 KiB288175

Android.bpD22-Nov-20232.8 KiB137128

Annotation.cppD22-Nov-20233.3 KiB13686

Annotation.hD22-Nov-20231.9 KiB7436

ArrayType.cppD22-Nov-202313.8 KiB545433

ArrayType.hD22-Nov-20234.3 KiB14795

CompoundType.cppD22-Nov-202330.5 KiB1,123887

CompoundType.hD22-Nov-20234.7 KiB164109

ConstantExpression.cppD22-Nov-202318.4 KiB512310

ConstantExpression.hD22-Nov-20233.9 KiB11649

Coordinator.cppD22-Nov-202317.3 KiB578409

Coordinator.hD22-Nov-20234.4 KiB12948

DeathRecipientType.cppD22-Nov-20232.6 KiB9255

DeathRecipientType.hD22-Nov-20231.6 KiB6027

EnumType.cppD22-Nov-202323.6 KiB835651

EnumType.hD22-Nov-20236 KiB210133

FmqType.cppD22-Nov-20234.6 KiB183136

FmqType.hD22-Nov-20232.2 KiB7744

HandleType.cppD22-Nov-20234.3 KiB177125

HandleType.hD22-Nov-20232 KiB7439

Hash.cppD22-Nov-20234.4 KiB174119

HidlTypeAssertion.cppD22-Nov-20231.6 KiB6133

HidlTypeAssertion.hD22-Nov-20231.3 KiB4715

Interface.cppD22-Nov-202329.4 KiB924777

Interface.hD22-Nov-20234.9 KiB14887

Location.hD22-Nov-20232.5 KiB8551

MODULE_LICENSE_APACHE2D22-Nov-20230

MemoryType.cppD22-Nov-20234.1 KiB165122

MemoryType.hD22-Nov-20232 KiB7239

Method.cppD22-Nov-20236.7 KiB267199

Method.hD22-Nov-20233.9 KiB14088

NOTICED22-Nov-202311.1 KiB203169

NamedType.cppD22-Nov-20231.7 KiB7039

NamedType.hD22-Nov-20231.7 KiB7030

PointerType.cppD22-Nov-20231.9 KiB8046

PointerType.hD22-Nov-20231.6 KiB6128

README.mdD22-Nov-20231,002 3323

RefType.cppD22-Nov-20236.9 KiB254188

RefType.hD22-Nov-20232.4 KiB8350

ScalarType.cppD22-Nov-20237.1 KiB316255

ScalarType.hD22-Nov-20233 KiB11673

Scope.cppD22-Nov-20235.1 KiB210150

Scope.hD22-Nov-20232.5 KiB9246

StringType.cppD22-Nov-20235.6 KiB225170

StringType.hD22-Nov-20232.5 KiB8951

Type.cppD22-Nov-202311.2 KiB521407

Type.hD22-Nov-20239.1 KiB286194

TypeDef.cppD22-Nov-20231.7 KiB7342

TypeDef.hD22-Nov-20231.3 KiB5020

VectorType.cppD22-Nov-202319.4 KiB766609

VectorType.hD22-Nov-20235.3 KiB166113

generateCpp.cppD22-Nov-202368.2 KiB2,2021,739

generateCppImpl.cppD22-Nov-20236.6 KiB257170

generateJava.cppD22-Nov-202319.2 KiB705529

generateVts.cppD22-Nov-20233.9 KiB142100

hidl-gen_l.llD22-Nov-20236.5 KiB212174

hidl-gen_y.yyD22-Nov-202330.8 KiB1,038922

main.cppD22-Nov-202341 KiB1,4221,110

update-makefiles-helper.shD22-Nov-20232.9 KiB11168

README.md

1# hidl-gen user guide
2
3## 1. Build
4
5```
6croot
7make hidl-gen
8```
9
10## 2. Run
11
12```
13hidl-gen -o output-path -L language (-r interface-root) fqname
14
15output-path: directory to store the output files.
16language: output file for given language. e.g.c++, vts..
17
18fqname: fully qualified name of the input files.
19For singe file input, follow the format: package@version::fileName
20For directory input, follow the format: package@version
21
22interface-root(optional): prefix and root path for fqname.
23If not set, use the default prefix: android.hardware and default root path
24defined in $TOP.
25
26examples:
27
28croot
29hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal
30hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0
31hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0
32```
33