Lines Matching refs:mExecution
110 if (mExecution) { in TearDown()
111 ANeuralNetworksExecution_free(mExecution); in TearDown()
183 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in prepareForExecution()
188 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in prepareForExecution()
196 ANeuralNetworksExecution* mExecution = nullptr; member in __anon736024e70111::IntrospectionControlTest
247 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_F()
249 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_F()
251 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_F()
253 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in TEST_F()
256 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()
262 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_ON_HARDWARE, in TEST_F()
265 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_IN_DRIVER, in TEST_F()
856 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_P()
858 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_P()
860 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_P()
862 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(mExecution, true), in TEST_P()
896 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, durationCode, &time), in TEST_P()
918 ANeuralNetworksExecution_startCompute(mExecution, &mEvent)); in TEST_P()
929 Check(isPass, ANeuralNetworksExecution_compute(mExecution)); in TEST_P()
942 Check(isPass, ANeuralNetworksExecution_burstCompute(mExecution, burst)); in TEST_P()
958 mExecution, nullptr, 0, 0, &mEvent)); in TEST_P()
972 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_ON_HARDWARE, in TEST_P()
975 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, ANEURALNETWORKS_DURATION_IN_DRIVER, in TEST_P()
980 mExecution, ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE, &timeOnHardwareFenced), in TEST_P()
983 mExecution, ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER, &timeInDriverFenced), in TEST_P()
1291 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 0, nullptr, input1, sizeof(input1)), in TEST_F()
1293 EXPECT_EQ(ANeuralNetworksExecution_setInput(mExecution, 1, nullptr, input2, sizeof(input2)), in TEST_F()
1295 EXPECT_EQ(ANeuralNetworksExecution_setOutput(mExecution, 0, nullptr, output, sizeof(output)), in TEST_F()
1298 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()