Lines Matching refs:mExecution
115 if (mExecution) { in TearDown()
116 ANeuralNetworksExecution_free(mExecution); in TearDown()
188 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in prepareForExecution()
193 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in prepareForExecution()
201 ANeuralNetworksExecution* mExecution = nullptr; member in __anon3ffb38740111::IntrospectionControlTest
252 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_F()
254 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_F()
256 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_F()
258 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in TEST_F()
261 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()
267 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_ON_HARDWARE, in TEST_F()
270 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_IN_DRIVER, in TEST_F()
880 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_P()
882 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_P()
884 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_P()
886 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in TEST_P()
920 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, durationCode, &time), in TEST_P()
942 ANeuralNetworksExecution_startCompute(mExecution, &mEvent)); in TEST_P()
953 Check(isPass, ANeuralNetworksExecution_compute(mExecution)); in TEST_P()
966 Check(isPass, ANeuralNetworksExecution_burstCompute(mExecution, burst)); in TEST_P()
982 mExecution, nullptr, 0, 0, &mEvent)); in TEST_P()
996 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_ON_HARDWARE, in TEST_P()
999 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_IN_DRIVER, in TEST_P()
1004 mExecution, ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE, &timeOnHardwareFenced), in TEST_P()
1007 mExecution, ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER, &timeInDriverFenced), in TEST_P()
1492 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_F()
1494 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_F()
1496 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_F()
1499 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()