Home
last modified time | relevance | path

Searched refs:actual_result (Results 1 – 16 of 16) sorted by relevance

/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DNfc.driver.cpp237 const FunctionSpecificationMessage& actual_result __attribute__((__unused__))) { in VerifyResults() argument
238 if (!strcmp(actual_result.name().c_str(), "open")) { in VerifyResults()
239 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
240 …__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_result.return_type_hi… in VerifyResults()
243 if (!strcmp(actual_result.name().c_str(), "write")) { in VerifyResults()
244 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
245 …if (actual_result.return_type_hidl(0).scalar_value().uint32_t() != expected_result.return_type_hid… in VerifyResults()
248 if (!strcmp(actual_result.name().c_str(), "coreInitialized")) { in VerifyResults()
249 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
250 …__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_result.return_type_hi… in VerifyResults()
[all …]
DBar.driver.cpp17 …sult __attribute__((__unused__)), const VariableSpecificationMessage& actual_result __attribute__(… in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
18 …ardware__tests__foo__V1_0__Unrelated(expected_result.struct_value(0), actual_result.struct_value(0… in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
1297 const FunctionSpecificationMessage& actual_result __attribute__((__unused__))) { in VerifyResults() argument
1298 if (!strcmp(actual_result.name().c_str(), "convertToBoolIfSmall")) { in VerifyResults()
1299 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
1300 …if (actual_result.return_type_hidl(0).vector_value_size() != expected_result.return_type_hidl(0).v… in VerifyResults()
1301 …cted_result.return_type_hidl(0).vector_value_size() << " actual: " << actual_result.return_type_hi… in VerifyResults()
1305 …o__ContainsUnion(expected_result.return_type_hidl(0).vector_value(i), actual_result.return_type_hi… in VerifyResults()
1309 if (!strcmp(actual_result.name().c_str(), "doThis")) { in VerifyResults()
1310 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DTestMsgQ.driver.cpp23 …sult __attribute__((__unused__)), const VariableSpecificationMessage& actual_result __attribute__(… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits() argument
24 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
339 const FunctionSpecificationMessage& actual_result __attribute__((__unused__))) { in VerifyResults() argument
340 if (!strcmp(actual_result.name().c_str(), "configureFmqSyncReadWrite")) { in VerifyResults()
341 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
342 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
345 if (!strcmp(actual_result.name().c_str(), "getFmqUnsyncWrite")) { in VerifyResults()
346 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
347 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
351 if (!strcmp(actual_result.name().c_str(), "requestWriteFmqSync")) { in VerifyResults()
[all …]
DMemoryTest.driver.cpp245 const FunctionSpecificationMessage& actual_result __attribute__((__unused__))) { in VerifyResults() argument
246 if (!strcmp(actual_result.name().c_str(), "haveSomeMemory")) { in VerifyResults()
247 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
251 if (!strcmp(actual_result.name().c_str(), "fillMemory")) { in VerifyResults()
252 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
255 if (!strcmp(actual_result.name().c_str(), "haveSomeMemoryBlock")) { in VerifyResults()
256 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
257 …memory__block__V1_0__MemoryBlock(expected_result.return_type_hidl(0), actual_result.return_type_hi… in VerifyResults()
260 if (!strcmp(actual_result.name().c_str(), "set")) { in VerifyResults()
261 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DNfcClientCallback.driver.cpp126 const FunctionSpecificationMessage& actual_result __attribute__((__unused__))) { in VerifyResults() argument
127 if (!strcmp(actual_result.name().c_str(), "sendEvent")) { in VerifyResults()
128 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
131 if (!strcmp(actual_result.name().c_str(), "sendData")) { in VerifyResults()
132 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
Dtypes.driver.cpp28 …sult __attribute__((__unused__)), const VariableSpecificationMessage& actual_result __attribute__(… in Verify__android__hardware__nfc__V1_0__NfcEvent() argument
29 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcEvent()
51 …sult __attribute__((__unused__)), const VariableSpecificationMessage& actual_result __attribute__(… in Verify__android__hardware__nfc__V1_0__NfcStatus() argument
52 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcStatus()
Dtypes.vts.h27 … VariableSpecificationMessage& expected_result, const VariableSpecificationMessage& actual_result);
31 … VariableSpecificationMessage& expected_result, const VariableSpecificationMessage& actual_result);
DTestMsgQ.vts.h28 … VariableSpecificationMessage& expected_result, const VariableSpecificationMessage& actual_result);
84 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
DNfcClientCallback.vts.h61 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
DNfc.vts.h77 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
DMemoryTest.vts.h72 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
DBar.vts.h39 … VariableSpecificationMessage& expected_result, const VariableSpecificationMessage& actual_result);
171 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp1194 std::string actual_result = "actual_result.return_type_hidl(" in GenerateVerificationFunctionImpl() local
1198 actual_result); in GenerateVerificationFunctionImpl()
1212 const string& actual_result) { in GenerateVerificationCodeForTypedVariable() argument
1216 out << "if (" << actual_result << ".scalar_value()." << val.scalar_type() in GenerateVerificationCodeForTypedVariable()
1223 out << "if (strcmp(" << actual_result in GenerateVerificationCodeForTypedVariable()
1234 << actual_result << ")) { return false; }\n"; in GenerateVerificationCodeForTypedVariable()
1236 out << "if (" << actual_result << ".scalar_value()." in GenerateVerificationCodeForTypedVariable()
1245 out << "if (" << actual_result << ".scalar_value()." << val.scalar_type() in GenerateVerificationCodeForTypedVariable()
1252 out << "if (" << actual_result << ".vector_value_size() != " in GenerateVerificationCodeForTypedVariable()
1258 << actual_result << ".vector_value_size();\n"; in GenerateVerificationCodeForTypedVariable()
[all …]
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts.h28 … FunctionSpecificationMessage& expected_result, const FunctionSpecificationMessage& actual_result);
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h90 const FunctionSpecificationMessage& actual_result);
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp166 const FunctionSpecificationMessage& actual_result) { in VerifyResults() argument
172 return driver->VerifyResults(expected_result, actual_result); in VerifyResults()