Home
last modified time | relevance | path

Searched refs:comp_spec (Results 1 – 5 of 5) sorted by relevance

/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerRunner.cpp40 static string GetVersionString(const CompSpec &comp_spec) { in GetVersionString() argument
42 version_major << comp_spec.component_type_version_major(); in GetVersionString()
43 version_minor << comp_spec.component_type_version_minor(); in GetVersionString()
47 static string GetDriverName(const CompSpec &comp_spec) { in GetDriverName() argument
48 string version_string = GetVersionString(comp_spec); in GetDriverName()
50 comp_spec.package() + "@" + version_string + "-vts.driver.so"; in GetDriverName()
54 static string GetServiceName(const CompSpec &comp_spec) { in GetServiceName() argument
55 string hal_name = comp_spec.package(); in GetServiceName()
56 string iface_name = comp_spec.component_name(); in GetServiceName()
61 Version(comp_spec.component_type_version_major(), in GetServiceName()
[all …]
DProtoFuzzerUtils.cpp70 static void TrimCompSpec(CompSpec *comp_spec) { in TrimCompSpec() argument
71 if (comp_spec == nullptr) { in TrimCompSpec()
75 if (comp_spec->has_interface()) { in TrimCompSpec()
76 auto *iface_spec = comp_spec->mutable_interface(); in TrimCompSpec()
97 CompSpec comp_spec{}; in ExtractCompSpecs() local
98 ParseInterfaceSpec(vts_spec_path.c_str(), &comp_spec); in ExtractCompSpecs()
99 TrimCompSpec(&comp_spec); in ExtractCompSpecs()
100 result.emplace_back(std::move(comp_spec)); in ExtractCompSpecs()
174 for (const auto &comp_spec : specs) { in ExtractPredefinedTypes() local
175 for (const auto &var_spec : comp_spec.attribute()) { in ExtractPredefinedTypes()
[all …]
DProtoFuzzerMutator.cpp115 const CompSpec *comp_spec = RandomSelectIface(tbl); in RandomGen() local
116 string iface_name = comp_spec->component_name(); in RandomGen()
117 const IfaceSpec &iface_spec = comp_spec->interface(); in RandomGen()
146 const CompSpec *comp_spec = RandomSelectIface(tbl); in Mutate() local
147 string iface_name = comp_spec->component_name(); in Mutate()
148 const IfaceSpec &iface_spec = comp_spec->interface(); in Mutate()
/test/vts/compilation_tools/vtsc/code_gen/fuzzer/
DFuzzerCodeGenBase.h35 explicit FuzzerCodeGenBase(const ComponentSpecificationMessage &comp_spec) in FuzzerCodeGenBase() argument
36 : comp_spec_(comp_spec) {} in FuzzerCodeGenBase()
DHalHidlFuzzerCodeGen.h28 explicit HalHidlFuzzerCodeGen(const ComponentSpecificationMessage &comp_spec) in HalHidlFuzzerCodeGen() argument
29 : FuzzerCodeGenBase(comp_spec) {} in HalHidlFuzzerCodeGen()