Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 17 of 17) sorted by relevance

/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp17 …ar__V1_0__IBar__SomethingRelated(const VariableSpecificationMessage& expected_result __attribute__… in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
18 …if (!Verify__android__hardware__tests__foo__V1_0__Unrelated(expected_result.struct_value(0), actua… in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
1296 …sts_bar_V1_0_IBar::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
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 …LOG(ERROR) << "Verification failed for vector size. expected: " << expected_result.return_type_hid… in VerifyResults()
1304 for (int i = 0; i <expected_result.return_type_hidl(0).vector_value_size(); i++) { in VerifyResults()
1305 …if (!Verify__android__hardware__tests__foo__V1_0__IFoo__ContainsUnion(expected_result.return_type_… in VerifyResults()
1310 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
1314 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DNfc.driver.cpp236 …are_nfc_V1_0_INfc::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
239 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
240 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… 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()
249 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
250 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… in VerifyResults()
254 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
255 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… in VerifyResults()
259 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DTestMsgQ.driver.cpp23 …__V1_0__ITestMsgQ__EventFlagBits(const VariableSpecificationMessage& expected_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()
345 …gq_V1_0_ITestMsgQ::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
348 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
349 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
353 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
354 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
359 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
360 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
364 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
Dtypes.driver.cpp28 …d__hardware__nfc__V1_0__NfcEvent(const VariableSpecificationMessage& expected_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 …__hardware__nfc__V1_0__NfcStatus(const VariableSpecificationMessage& expected_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()
DMemoryTest.driver.cpp244 …_V1_0_IMemoryTest::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
247 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
252 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
256 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
257 …if (!Verify__android__hidl__memory__block__V1_0__MemoryBlock(expected_result.return_type_hidl(0), … in VerifyResults()
261 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
265 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
Dtypes.vts.h27 …d__hardware__nfc__V1_0__NfcEvent(const VariableSpecificationMessage& expected_result, const Variab…
31 …__hardware__nfc__V1_0__NfcStatus(const VariableSpecificationMessage& expected_result, const Variab…
DNfcClientCallback.driver.cpp125 …NfcClientCallback::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
128 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
132 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
DTestMsgQ.vts.h28 …__V1_0__ITestMsgQ__EventFlagBits(const VariableSpecificationMessage& expected_result, const Variab…
85 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
DNfcClientCallback.vts.h61 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
DNfc.vts.h77 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
DMemoryTest.vts.h72 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
DBar.vts.h39 …ar__V1_0__IBar__SomethingRelated(const VariableSpecificationMessage& expected_result, const Variab…
171 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp1192 std::string expected_result = "expected_result.return_type_hidl(" in GenerateVerificationFunctionImpl() local
1197 expected_result, in GenerateVerificationFunctionImpl()
1211 const VariableSpecificationMessage& val, const string& expected_result, in GenerateVerificationCodeForTypedVariable() argument
1217 << "() != " << expected_result << ".scalar_value()." in GenerateVerificationCodeForTypedVariable()
1224 << ".string_value().message().c_str(), " << expected_result in GenerateVerificationCodeForTypedVariable()
1233 out << "if(!" << func_name << "(" << expected_result << ", " in GenerateVerificationCodeForTypedVariable()
1237 << val.enum_value().scalar_type() << "() != " << expected_result in GenerateVerificationCodeForTypedVariable()
1246 << "() != " << expected_result << ".scalar_value()." in GenerateVerificationCodeForTypedVariable()
1253 << expected_result << ".vector_value_size()) {\n"; in GenerateVerificationCodeForTypedVariable()
1257 << expected_result << ".vector_value_size() << \" actual: \" << " in GenerateVerificationCodeForTypedVariable()
[all …]
DHalHidlCodeGen.h154 const string& expected_result);
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts.h28 …bool VerifyResults(const FunctionSpecificationMessage& expected_result, const FunctionSpecificatio…
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h89 const FunctionSpecificationMessage& expected_result,
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp165 DriverId id, const FunctionSpecificationMessage& expected_result, in VerifyResults() argument
172 return driver->VerifyResults(expected_result, actual_result); in VerifyResults()