Searched refs:comp_spec (Results 1 – 5 of 5) sorted by relevance
40 static string GetVersionString(const CompSpec &comp_spec) { in GetVersionString() argument42 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() argument48 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() argument55 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 …]
70 static void TrimCompSpec(CompSpec *comp_spec) { in TrimCompSpec() argument71 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() local98 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() local175 for (const auto &var_spec : comp_spec.attribute()) { in ExtractPredefinedTypes()[all …]
115 const CompSpec *comp_spec = RandomSelectIface(tbl); in RandomGen() local116 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() local147 string iface_name = comp_spec->component_name(); in Mutate()148 const IfaceSpec &iface_spec = comp_spec->interface(); in Mutate()
35 explicit FuzzerCodeGenBase(const ComponentSpecificationMessage &comp_spec) in FuzzerCodeGenBase() argument36 : comp_spec_(comp_spec) {} in FuzzerCodeGenBase()
28 explicit HalHidlFuzzerCodeGen(const ComponentSpecificationMessage &comp_spec) in HalHidlFuzzerCodeGen() argument29 : FuzzerCodeGenBase(comp_spec) {} in HalHidlFuzzerCodeGen()