Home
last modified time | relevance | path

Searched refs:arg_name (Results 1 – 12 of 12) sorted by relevance

/test/vts/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp27 const std::string& arg_name, const std::string& arg_value) { in GenerateProfilerForScalarVariable() argument
28 out << arg_name << "->set_type(TYPE_SCALAR);\n"; in GenerateProfilerForScalarVariable()
29 out << arg_name << "->mutable_scalar_value()->set_" << val.scalar_type() in GenerateProfilerForScalarVariable()
35 const std::string& arg_name, const std::string& arg_value) { in GenerateProfilerForStringVariable() argument
36 out << arg_name << "->set_type(TYPE_STRING);\n"; in GenerateProfilerForStringVariable()
37 out << arg_name << "->mutable_string_value()->set_message" in GenerateProfilerForStringVariable()
39 out << arg_name << "->mutable_string_value()->set_length" in GenerateProfilerForStringVariable()
45 const std::string& arg_name, const std::string& arg_value) { in GenerateProfilerForEnumVariable() argument
46 out << arg_name << "->set_type(TYPE_ENUM);\n"; in GenerateProfilerForEnumVariable()
52 out << "profile__" << predefined_type << "(" << arg_name << ", " in GenerateProfilerForEnumVariable()
[all …]
DProfilerCodeGenBase.h59 const VariableSpecificationMessage& val, const std::string& arg_name,
64 const VariableSpecificationMessage& val, const std::string& arg_name,
69 const VariableSpecificationMessage& val, const std::string& arg_name,
74 const VariableSpecificationMessage& val, const std::string& arg_name,
79 const VariableSpecificationMessage& val, const std::string& arg_name,
84 const VariableSpecificationMessage& val, const std::string& arg_name,
89 const VariableSpecificationMessage& val, const std::string& arg_name,
95 const std::string& arg_name, const std::string& arg_value) = 0;
99 const VariableSpecificationMessage& val, const std::string& arg_name,
104 const VariableSpecificationMessage& val, const std::string& arg_name,
[all …]
DHalHidlProfilerCodeGen.h33 const VariableSpecificationMessage& val, const std::string& arg_name,
37 const VariableSpecificationMessage& val, const std::string& arg_name,
41 const VariableSpecificationMessage& val, const std::string& arg_name,
45 const VariableSpecificationMessage& val, const std::string& arg_name,
49 const VariableSpecificationMessage& val, const std::string& arg_name,
53 const VariableSpecificationMessage& val, const std::string& arg_name,
57 const VariableSpecificationMessage& val, const std::string& arg_name,
62 const std::string& arg_name, const std::string& arg_value) override;
65 const VariableSpecificationMessage& val, const std::string& arg_name,
69 const VariableSpecificationMessage& val, const std::string& arg_name,
[all …]
DProfilerCodeGenBase.cpp144 const VariableSpecificationMessage& val, const std::string& arg_name, in GenerateProfilerForTypedVariable() argument
149 GenerateProfilerForScalarVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
154 GenerateProfilerForStringVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
159 GenerateProfilerForEnumVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
164 GenerateProfilerForVectorVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
169 GenerateProfilerForArrayVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
174 GenerateProfilerForStructVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
178 GenerateProfilerForUnionVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
183 GenerateProfilerForHidlCallbackVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
188 GenerateProfilerForHidlInterfaceVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
[all …]
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
Dtypes.profiler.cpp11 void profile____android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* arg_name, in profile____android__hardware__nfc__V1_0__NfcEvent() argument
13 arg_name->set_type(TYPE_ENUM); in profile____android__hardware__nfc__V1_0__NfcEvent()
14 arg_name->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(arg_val_name)); in profile____android__hardware__nfc__V1_0__NfcEvent()
15 arg_name->set_scalar_type("uint32_t"); in profile____android__hardware__nfc__V1_0__NfcEvent()
18 void profile____android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* arg_name, in profile____android__hardware__nfc__V1_0__NfcStatus() argument
20 arg_name->set_type(TYPE_ENUM); in profile____android__hardware__nfc__V1_0__NfcStatus()
21 arg_name->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(arg_val_name)); in profile____android__hardware__nfc__V1_0__NfcStatus()
22 arg_name->set_scalar_type("uint32_t"); in profile____android__hardware__nfc__V1_0__NfcStatus()
Dtypes.vts.h24 void profile____android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* arg_name,
26 void profile____android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* arg_name,
DBar.vts.h37 …android__hardware__tests__bar__V1_0__IBar__SomethingRelated(VariableSpecificationMessage* arg_name,
DTestMsgQ.vts.h25 …roid__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits(VariableSpecificationMessage* arg_name,
DTestMsgQ.profiler.cpp12 …roid__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits(VariableSpecificationMessage* arg_name, in profile____android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits() argument
14 arg_name->set_type(TYPE_ENUM); in profile____android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
15 arg_name->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(arg_val_name)); in profile____android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
16 arg_name->set_scalar_type("uint32_t"); in profile____android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
DBar.profiler.cpp14 …android__hardware__tests__bar__V1_0__IBar__SomethingRelated(VariableSpecificationMessage* arg_name, in profile____android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
16 arg_name->set_type(TYPE_STRUCT); in profile____android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
17 auto *arg_name_myRelated __attribute__((__unused__)) = arg_name->add_struct_value(); in profile____android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp799 const VariableSpecificationMessage& val, const string& arg_name, in GenerateDriverImplForTypedVariable() argument
804 out << arg_name << " = " << arg_value_name << ".scalar_value()." in GenerateDriverImplForTypedVariable()
810 out << arg_name << " = ::android::hardware::hidl_string(" in GenerateDriverImplForTypedVariable()
819 out << func_name << "(" << arg_value_name << ", &(" << arg_name in GenerateDriverImplForTypedVariable()
822 out << arg_name << " = (" << val.name() << ")" << arg_value_name << "." in GenerateDriverImplForTypedVariable()
830 out << arg_name << " = " << arg_value_name << ".scalar_value()." in GenerateDriverImplForTypedVariable()
836 out << arg_name << ".resize(" << arg_value_name in GenerateDriverImplForTypedVariable()
838 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateDriverImplForTypedVariable()
844 out, val.vector_value(0), arg_name + "[" + index_name + "]", in GenerateDriverImplForTypedVariable()
852 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateDriverImplForTypedVariable()
[all …]
DHalHidlCodeGen.h138 const VariableSpecificationMessage& val, const string& arg_name,