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.cpp28 …ts__msgq__V1_0__ITestMsgQ__EventFlagBits(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits() argument
29 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
30 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
31 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
207 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
228 result_msg->set_name("configureFmqSyncReadWrite"); in CallFunction()
229 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
241 result_msg->set_name("getFmqUnsyncWrite"); in CallFunction()
242 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
246 VariableSpecificationMessage* result_val_1 = result_msg->add_return_type_hidl(); in CallFunction()
[all …]
DNfc.driver.cpp144 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
156 result_msg->set_name("open"); in CallFunction()
157 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
170 result_msg->set_name("write"); in CallFunction()
171 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
185 result_msg->set_name("coreInitialized"); in CallFunction()
186 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
194 result_msg->set_name("prediscover"); in CallFunction()
195 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
203 result_msg->set_name("close"); in CallFunction()
[all …]
Dtypes.driver.cpp33 …__android__hardware__nfc__V1_0__NfcEvent(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__nfc__V1_0__NfcEvent() argument
34 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
35 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
36 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__nfc__V1_0__NfcEvent()
56 …_android__hardware__nfc__V1_0__NfcStatus(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__nfc__V1_0__NfcStatus() argument
57 result_msg->set_type(TYPE_ENUM); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
58 result_msg->set_scalar_type("uint32_t"); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
59 result_msg->mutable_scalar_value()->set_uint32_t(static_cast<uint32_t>(result_value)); in SetResult__android__hardware__nfc__V1_0__NfcStatus()
DBar.driver.cpp22 …tests__bar__V1_0__IBar__SomethingRelated(VariableSpecificationMessage* result_msg, ::android::hard… in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
23 result_msg->set_type(TYPE_STRUCT); in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
24 auto *result_msg_myRelated = result_msg->add_struct_value(); in SetResult__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
658 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
675 result_msg->set_name("convertToBoolIfSmall"); in CallFunction()
676 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
692 result_msg->set_name("doThis"); in CallFunction()
700 result_msg->set_name("doThatAndReturnSomething"); in CallFunction()
701 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
718 result_msg->set_name("doQuiteABit"); in CallFunction()
[all …]
DMemoryTest.driver.cpp122 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
150 result_msg->set_name("haveSomeMemory"); in CallFunction()
151 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
180 result_msg->set_name("fillMemory"); in CallFunction()
189 result_msg->set_name("haveSomeMemoryBlock"); in CallFunction()
190 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
217 result_msg->set_name("set"); in CallFunction()
223 result_msg->set_name("get"); in CallFunction()
224 VariableSpecificationMessage* result_val_0 = result_msg->add_return_type_hidl(); in CallFunction()
238 result_msg->set_name("notifySyspropsChanged"); in CallFunction()
DNfcClientCallback.driver.cpp89 FunctionSpecificationMessage* result_msg) { in CallFunction() argument
102 result_msg->set_name("sendEvent"); in CallFunction()
113 result_msg->set_name("sendData"); in CallFunction()
119 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.cpp1431 const VariableSpecificationMessage& val, const string& result_msg, in GenerateSetResultCodeForTypedVariable() argument
1436 out << result_msg << "->set_type(TYPE_SCALAR);\n"; in GenerateSetResultCodeForTypedVariable()
1437 out << result_msg << "->set_scalar_type(\"" << val.scalar_type() in GenerateSetResultCodeForTypedVariable()
1439 out << result_msg << "->mutable_scalar_value()->set_" << val.scalar_type() in GenerateSetResultCodeForTypedVariable()
1445 out << result_msg << "->set_type(TYPE_STRING);\n"; in GenerateSetResultCodeForTypedVariable()
1446 out << result_msg << "->mutable_string_value()->set_message" << "(" in GenerateSetResultCodeForTypedVariable()
1448 out << result_msg << "->mutable_string_value()->set_length" << "(" in GenerateSetResultCodeForTypedVariable()
1454 out << result_msg << "->set_type(TYPE_ENUM);\n"; in GenerateSetResultCodeForTypedVariable()
1458 out << func_name << "(" << result_msg << ", " << result_value << ");\n"; in GenerateSetResultCodeForTypedVariable()
1461 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()