Home
last modified time | relevance | path

Searched refs:result_msg (Results 1 – 18 of 18) sorted by relevance

/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DTestMsgQ.driver.cpp27 …ts__msgq__V1_0__ITestMsgQ__EventFlagBits(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits() argument
28 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
29 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
30 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
206 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
227 result_msg->set_name("configureFmqSyncReadWrite"); in CallFunction()
228 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
240 result_msg->set_name("getFmqUnsyncWrite"); in CallFunction()
241 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
245 VariableSpecificationMessage* result_val_1 = result_msg->add_return_type_hidl(); in CallFunction()
[all …]
DNfc.driver.cpp143 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
155 result_msg->set_name("open"); in CallFunction()
156 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
169 result_msg->set_name("write"); in CallFunction()
170 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
184 result_msg->set_name("coreInitialized"); in CallFunction()
185 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
193 result_msg->set_name("prediscover"); in CallFunction()
194 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
202 result_msg->set_name("close"); in CallFunction()
[all …]
Dtypes.driver.cpp32 …__android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__nfc__V1_0__NfcEvent() argument
33 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
34 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
35 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
55 …_android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__nfc__V1_0__NfcStatus() argument
56 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
57 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
58 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
DBar.driver.cpp21 …tests__bar__V1_0__IBar__SomethingRelated(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
22 result_msg->set_type(TYPE_STRUCT); in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
23 auto *result_msg_myRelated = result_msg->add_struct_value(); in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
657 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
674 result_msg->set_name("convertToBoolIfSmall"); in CallFunction()
675 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
691 result_msg->set_name("doThis"); in CallFunction()
699 result_msg->set_name("doThatAndReturnSomething"); in CallFunction()
700 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
717 result_msg->set_name("doQuiteABit"); in CallFunction()
[all …]
DMemoryTest.driver.cpp121 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
149 result_msg->set_name("haveSomeMemory"); in CallFunction()
150 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
179 result_msg->set_name("fillMemory"); in CallFunction()
188 result_msg->set_name("haveSomeMemoryBlock"); in CallFunction()
189 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
216 result_msg->set_name("set"); in CallFunction()
222 result_msg->set_name("get"); in CallFunction()
223 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
237 result_msg->set_name("notifySyspropsChanged"); in CallFunction()
DNfcClientCallback.driver.cpp88 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
101 result_msg->set_name("sendEvent"); in CallFunction()
112 result_msg->set_name("sendData"); in CallFunction()
118 result_msg->set_name("notifySyspropsChanged"); in CallFunction()
Dtypes.vts.h28 …__android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* result_msg, ::android::hard…
32 …_android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* result_msg, ::android::hard…
DTestMsgQ.vts.h29 …ts__msgq__V1_0__ITestMsgQ__EventFlagBits(VariableSpecificationMessage* result_msg, ::android::hard…
83 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
DNfcClientCallback.vts.h60 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
DNfc.vts.h76 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
DMemoryTest.vts.h71 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
DBar.vts.h40 …tests__bar__V1_0__IBar__SomethingRelated(VariableSpecificationMessage* result_msg, ::android::hard…
170 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp1430 const VariableSpecificationMessage& val, const string& result_msg, in GenerateSetResultCodeForTypedVariable() argument
1435 out << result_msg << "->set_type(TYPE_SCALAR);\n"; in GenerateSetResultCodeForTypedVariable()
1436 out << result_msg << "->set_scalar_type(\"" << val.scalar_type() in GenerateSetResultCodeForTypedVariable()
1438 out << result_msg << "->mutable_scalar_value()->set_" << val.scalar_type() in GenerateSetResultCodeForTypedVariable()
1444 out << result_msg << "->set_type(TYPE_STRING);\n"; in GenerateSetResultCodeForTypedVariable()
1445 out << result_msg << "->mutable_string_value()->set_message" << "(" in GenerateSetResultCodeForTypedVariable()
1447 out << result_msg << "->mutable_string_value()->set_length" << "(" in GenerateSetResultCodeForTypedVariable()
1453 out << result_msg << "->set_type(TYPE_ENUM);\n"; in GenerateSetResultCodeForTypedVariable()
1457 out << func_name << "(" << result_msg << ", " << result_value << ");\n"; in GenerateSetResultCodeForTypedVariable()
1460 out << result_msg << "->set_scalar_type(\"" << scalar_type << "\");\n"; in GenerateSetResultCodeForTypedVariable()
[all …]
DHalHidlCodeGen.h168 const VariableSpecificationMessage& val, const string& result_msg,
/test/vts/drivers/hal/replayer/
DVtsHidlHalReplayer.cpp161 vts::FunctionSpecificationMessage result_msg; in ReplayTrace() local
162 if (!google::protobuf::TextFormat::ParseFromString(result, &result_msg)) { in ReplayTrace()
167 driver_id, expected_result_msg.func_msg(), result_msg)) { in ReplayTrace()
172 << " Actual: " << result_msg.DebugString(); in ReplayTrace()
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp118 FunctionSpecificationMessage result_msg; in CallFunction() local
132 if (!driver->CallFunction(*api, callback_socket_name_, &result_msg)) { in CallFunction()
148 for (int index = 0; index < result_msg.return_type_hidl_size(); index++) { in CallFunction()
149 auto* return_val = result_msg.mutable_return_type_hidl(index); in CallFunction()
156 google::protobuf::TextFormat::PrintToString(result_msg, &output); in CallFunction()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts.h27 …onMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg);
/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp286 FunctionSpecificationMessage result_msg; in Process() local
290 func_fuzzer->CallFunction(*func_msg, callback_socket_name_, &result_msg); in Process()