Lines Matching refs:kExpectResult
623 kExpectResult(std::get<1>(GetParam())), in ExecutionTestTemplate()
657 const Result kExpectResult; member in android::__anon50a6e8490111::ExecutionTestTemplate
720 ASSERT_EQ(event.wait(), kExpectResult); in TestWait()
721 if (kExpectResult == Result::NO_ERROR) { in TestWait()
725 if (kExpectResult == Result::NO_ERROR || in TestWait()
726 kExpectResult == Result::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
728 ASSERT_EQ(execution.getOutputOperandDimensions(0, &dimensions), kExpectResult); in TestWait()
739 std::thread run([this, &execution] { EXPECT_EQ(execution.compute(), kExpectResult); }); in TestWait()
743 if (kExpectResult == Result::NO_ERROR) { in TestWait()
747 if (kExpectResult == Result::NO_ERROR || in TestWait()
748 kExpectResult == Result::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
750 ASSERT_EQ(execution.getOutputOperandDimensions(0, &dimensions), kExpectResult); in TestWait()
772 std::thread run([this, &execution] { EXPECT_EQ(execution.compute(), kExpectResult); }); in TestWait()
776 if (kExpectResult == Result::NO_ERROR) { in TestWait()
780 if (kExpectResult == Result::NO_ERROR || in TestWait()
781 kExpectResult == Result::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
783 ASSERT_EQ(execution.getOutputOperandDimensions(0, &dimensions), kExpectResult); in TestWait()
789 if (kExpectResult != Result::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
800 EXPECT_EQ(execution.startComputeWithDependencies({}, 0, &event), kExpectResult); in TestWait()
805 if (kExpectResult == Result::NO_ERROR) { in TestWait()
806 ASSERT_EQ(event.wait(), kExpectResult); in TestWait()
812 if (kExpectResult == Result::NO_ERROR) { in TestWait()
814 ASSERT_EQ(execution.getOutputOperandDimensions(0, &dimensions), kExpectResult); in TestWait()