Searched refs:WrapperResult (Results 1 – 5 of 5) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestExecution.cpp | 59 using WrapperResult = nn::test_wrapper::Result; typedef 700 const WrapperResult kExpectResult; 712 WrapperResult::NO_ERROR); in setInputOutput() 714 WrapperResult::NO_ERROR); in setInputOutput() 733 assert(model.finish() == WrapperResult::NO_ERROR); in makeModel() 772 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait() 776 if (kExpectResult == WrapperResult::NO_ERROR || in TestWait() 783 WrapperResult::BAD_STATE); in TestWait() 810 WrapperResult::BAD_STATE); in TestWait() 844 WrapperResult::BAD_STATE); in TestWait() [all …]
|
H A D | TestMemory.cpp | 32 using WrapperResult = ::android::nn::test_wrapper::Result; typedef 83 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 85 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 86 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 87 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 146 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 148 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 149 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 150 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
H A D | TestMemoryInternal.cpp | 37 using WrapperResult = ::android::nn::test_wrapper::Result; typedef 160 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 164 WrapperResult::NO_ERROR); in TEST_F() 166 WrapperResult::NO_ERROR); in TEST_F() 167 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 225 ASSERT_EQ(WrapperResult::NO_ERROR, compilation.finish()); in TEST_F() 230 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setInput(0, input, sizeof(input))); in TEST_F() 232 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setOutput(0, output, sizeof(output))); in TEST_F() 235 WrapperResult r = execution.compute(); in TEST_F() 237 ASSERT_EQ(WrapperResult::OP_FAILED, r); in TEST_F()
|
H A D | TestMemoryDomain.cpp | 39 using WrapperResult = test_wrapper::Result; typedef 170 EXPECT_EQ(model->finish(), WrapperResult::NO_ERROR); in createTestModel() 209 WrapperResult result; in createCompilation() 212 EXPECT_EQ(result, WrapperResult::NO_ERROR); in createCompilation() 216 EXPECT_EQ(compilation.finish(), WrapperResult::NO_ERROR); in createCompilation()
|
H A D | TestCompilationCaching.cpp | 36 using WrapperResult = test_wrapper::Result; typedef 292 ASSERT_EQ(model->finish(), WrapperResult::NO_ERROR); in CreateBroadcastAddModel()
|