Searched refs:comp_spec (Results 1 – 5 of 5) sorted by relevance
38 static string GetVersionString(const CompSpec &comp_spec) { in GetVersionString() argument40 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() argument46 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() argument53 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 …]
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()