Home
last modified time | relevance | path

Searched refs:func_spec (Results 1 – 4 of 4) sorted by relevance

/test/vts/compilation_tools/vtsc/code_gen/fuzzer/
DHalHidlFuzzerCodeGen.cpp83 for (const auto &func_spec : comp_spec_.interface().api()) { in GenerateLLVMFuzzerTestOneInput() local
84 GenerateHalFunctionCall(out, func_spec); in GenerateLLVMFuzzerTestOneInput()
105 Formatter &out, const FunctionSpecificationMessage &func_spec) { in GenerateReturnCallback() argument
106 if (CanElideCallback(func_spec)) { in GenerateReturnCallback()
111 size_t num_cb_arg = func_spec.return_type_hidl_size(); in GenerateReturnCallback()
113 const auto &return_val = func_spec.return_type_hidl(i); in GenerateReturnCallback()
121 Formatter &out, const FunctionSpecificationMessage &func_spec) { in GenerateHalFunctionCall() argument
122 string func_name = func_spec.name(); in GenerateHalFunctionCall()
126 GenerateReturnCallback(out, func_spec); in GenerateHalFunctionCall()
127 vector<string> types{GetFuncArgTypes(func_spec)}; in GenerateHalFunctionCall()
[all …]
DHalHidlFuzzerCodeGen.h40 const FunctionSpecificationMessage &func_spec);
43 const FunctionSpecificationMessage &func_spec);
48 bool CanElideCallback(const FunctionSpecificationMessage &func_spec);
51 const FunctionSpecificationMessage &func_spec);
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutator.cpp158 FuncSpec ProtoFuzzerMutator::RandomGen(const FuncSpec &func_spec) { in RandomGen() argument
159 FuncSpec result{func_spec}; in RandomGen()
163 for (const auto &var_spec : func_spec.arg()) { in RandomGen()
171 FuncSpec ProtoFuzzerMutator::Mutate(const FuncSpec &func_spec) { in Mutate() argument
172 FuncSpec result{func_spec}; in Mutate()
DProtoFuzzerRunner.cpp187 const FuncSpec &func_spec = func_call.api(); in Execute() local
196 iface_desc->second.hal_->CallFunction(func_spec, "", &result); in Execute()
198 stats_.RegisterTouch(iface_name, func_spec.name()); in Execute()