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.cpp38 static string GetVersionString(const CompSpec &comp_spec) { in GetVersionString() argument
40 version_major << comp_spec.component_type_version_major(); in GetVersionString()
41 version_minor << comp_spec.component_type_version_minor(); in GetVersionString()
45 static string GetDriverName(const CompSpec &comp_spec) { in GetDriverName() argument
46 string version_string = GetVersionString(comp_spec); in GetDriverName()
48 comp_spec.package() + "@" + version_string + "-vts.driver.so"; in GetDriverName()
52 static string GetServiceName(const CompSpec &comp_spec) { in GetServiceName() argument
53 string hal_name = comp_spec.package(); in GetServiceName()
54 string iface_name = comp_spec.component_name(); in GetServiceName()
57 hal_name + "@" + GetVersionString(comp_spec) + "::" + iface_name; 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()