Home
last modified time | relevance | path

Searched refs:WrapperResult (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp60 using WrapperResult = nn::test_wrapper::Result; typedef
654 : public ::testing::TestWithParam<std::tuple<V1_3::ErrorStatus, WrapperResult, bool>> {
687 EXPECT_EQ(execution.getOutputOperandDimensions(0, &dimensions), WrapperResult::BAD_STATE); in getDimensionsWhileRunning()
701 const WrapperResult kExpectResult;
713 WrapperResult::NO_ERROR); in setInputOutput()
715 WrapperResult::NO_ERROR); in setInputOutput()
734 assert(model.finish() == WrapperResult::NO_ERROR); in makeModel()
759 ASSERT_EQ(mCompilation.finish(), WrapperResult::NO_ERROR); in TestWait()
764 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()
769 ASSERT_EQ(execution.startCompute(&event), WrapperResult::NO_ERROR); in TestWait()
[all …]
DTestMemory.cpp37 using WrapperResult = ::android::nn::test_wrapper::Result; typedef
88 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F()
90 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
91 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
92 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
151 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F()
153 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
154 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
155 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
DTestMemoryInternal.cpp38 using WrapperResult = ::android::nn::test_wrapper::Result; typedef
179 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F()
183 WrapperResult::NO_ERROR); in TEST_F()
185 WrapperResult::NO_ERROR); in TEST_F()
186 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
244 ASSERT_EQ(WrapperResult::NO_ERROR, compilation.finish()); in TEST_F()
249 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setInput(0, input, sizeof(input))); in TEST_F()
251 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setOutput(0, output, sizeof(output))); in TEST_F()
254 WrapperResult r = execution.compute(); in TEST_F()
256 ASSERT_EQ(WrapperResult::OP_FAILED, r); in TEST_F()
DTestMemoryDomain.cpp46 using WrapperResult = test_wrapper::Result; typedef
177 EXPECT_EQ(model->finish(), WrapperResult::NO_ERROR); in createTestModel()
216 WrapperResult result; in createCompilation()
219 EXPECT_EQ(result, WrapperResult::NO_ERROR); in createCompilation()
223 EXPECT_EQ(compilation.finish(), WrapperResult::NO_ERROR); in createCompilation()
DTestCompilationCaching.cpp37 using WrapperResult = test_wrapper::Result; typedef
293 ASSERT_EQ(model->finish(), WrapperResult::NO_ERROR); in CreateBroadcastAddModel()