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.cpp16 …ar__V1_0__IBar__SomethingRelated(const VariableSpecificationMessage& expected_result __attribute__… in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated() argument
17 …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()
1295 …sts_bar_V1_0_IBar::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
1298 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
1299 …if (actual_result.return_type_hidl(0).vector_value_size() != expected_result.return_type_hidl(0).v… in VerifyResults()
1300 …LOG(ERROR) << "Verification failed for vector size. expected: " << expected_result.return_type_hid… in VerifyResults()
1303 for (int i = 0; i <expected_result.return_type_hidl(0).vector_value_size(); i++) { in VerifyResults()
1304 …if (!Verify__android__hardware__tests__foo__V1_0__IFoo__ContainsUnion(expected_result.return_type_… in VerifyResults()
1309 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
1313 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DNfc.driver.cpp235 …are_nfc_V1_0_INfc::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
238 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
239 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… in VerifyResults()
243 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
244 …if (actual_result.return_type_hidl(0).scalar_value().uint32_t() != expected_result.return_type_hid… in VerifyResults()
248 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
249 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… in VerifyResults()
253 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
254 …if(!Verify__android__hardware__nfc__V1_0__NfcStatus(expected_result.return_type_hidl(0), actual_re… in VerifyResults()
258 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
DTestMsgQ.driver.cpp22 …__V1_0__ITestMsgQ__EventFlagBits(const VariableSpecificationMessage& expected_result __attribute__… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits() argument
23 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
337 …gq_V1_0_ITestMsgQ::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
340 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
341 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
345 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
346 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
351 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
352 …if (actual_result.return_type_hidl(0).scalar_value().bool_t() != expected_result.return_type_hidl(… in VerifyResults()
356 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
[all …]
Dtypes.driver.cpp27 …d__hardware__nfc__V1_0__NfcEvent(const VariableSpecificationMessage& expected_result __attribute__… in Verify__android__hardware__nfc__V1_0__NfcEvent() argument
28 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcEvent()
50 …__hardware__nfc__V1_0__NfcStatus(const VariableSpecificationMessage& expected_result __attribute__… in Verify__android__hardware__nfc__V1_0__NfcStatus() argument
51 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcStatus()
DMemoryTest.driver.cpp243 …_V1_0_IMemoryTest::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
246 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
251 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
255 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
256 …if (!Verify__android__hidl__memory__block__V1_0__MemoryBlock(expected_result.return_type_hidl(0), … in VerifyResults()
260 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
264 …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.cpp124 …NfcClientCallback::VerifyResults(const FunctionSpecificationMessage& expected_result __attribute__… in VerifyResults() argument
127 …if (actual_result.return_type_hidl_size() != expected_result.return_type_hidl_size() ) { return fa… in VerifyResults()
131 …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…
84 …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.cpp1191 std::string expected_result = "expected_result.return_type_hidl(" in GenerateVerificationFunctionImpl() local
1196 expected_result, in GenerateVerificationFunctionImpl()
1210 const VariableSpecificationMessage& val, const string& expected_result, in GenerateVerificationCodeForTypedVariable() argument
1216 << "() != " << expected_result << ".scalar_value()." in GenerateVerificationCodeForTypedVariable()
1223 << ".string_value().message().c_str(), " << expected_result in GenerateVerificationCodeForTypedVariable()
1232 out << "if(!" << func_name << "(" << expected_result << ", " in GenerateVerificationCodeForTypedVariable()
1236 << val.enum_value().scalar_type() << "() != " << expected_result in GenerateVerificationCodeForTypedVariable()
1245 << "() != " << expected_result << ".scalar_value()." in GenerateVerificationCodeForTypedVariable()
1252 << expected_result << ".vector_value_size()) {\n"; in GenerateVerificationCodeForTypedVariable()
1256 << 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()