Home
last modified time | relevance | path

Searched refs:prepareReturnStatus (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DQualityOfServiceTests.cpp106 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in runPrepareModelTest() local
114 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in runPrepareModelTest()
121 EXPECT_EQ(ErrorStatus::NONE, prepareReturnStatus); in runPrepareModelTest()
128 EXPECT_TRUE(prepareReturnStatus == ErrorStatus::NONE || in runPrepareModelTest()
129 prepareReturnStatus == ErrorStatus::MISSED_DEADLINE_TRANSIENT || in runPrepareModelTest()
130 prepareReturnStatus == ErrorStatus::MISSED_DEADLINE_PERSISTENT); in runPrepareModelTest()
136 EXPECT_EQ(ErrorStatus::NONE, prepareReturnStatus); in runPrepareModelTest()
140 ASSERT_EQ(prepareReturnStatus == ErrorStatus::NONE, preparedModel.get() != nullptr); in runPrepareModelTest()
DVtsHalNeuralnetworks.cpp88 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in createPreparedModel() local
96 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in createPreparedModel()
109 ASSERT_EQ(ErrorStatus::NONE, prepareReturnStatus); in createPreparedModel()
DValidateModel.cpp74 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModel() local
75 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModel()
96 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModelWithConfig() local
97 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModelWithConfig()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DQualityOfServiceTests.cpp114 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in runPrepareModelTest() local
126 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in runPrepareModelTest()
133 EXPECT_EQ(ErrorStatus::NONE, prepareReturnStatus); in runPrepareModelTest()
140 EXPECT_TRUE(prepareReturnStatus == ErrorStatus::NONE || in runPrepareModelTest()
141 prepareReturnStatus == ErrorStatus::MISSED_DEADLINE_TRANSIENT || in runPrepareModelTest()
142 prepareReturnStatus == ErrorStatus::MISSED_DEADLINE_PERSISTENT); in runPrepareModelTest()
148 EXPECT_EQ(ErrorStatus::NONE, prepareReturnStatus); in runPrepareModelTest()
152 ASSERT_EQ(prepareReturnStatus == ErrorStatus::NONE, preparedModel.get() != nullptr); in runPrepareModelTest()
DVtsHalNeuralnetworks.cpp65 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in createPreparedModel() local
75 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in createPreparedModel()
88 ASSERT_EQ(ErrorStatus::NONE, prepareReturnStatus); in createPreparedModel()
DValidateModel.cpp68 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModel() local
69 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DVtsHalNeuralnetworks.cpp58 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in createPreparedModel() local
68 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in createPreparedModel()
77 ASSERT_EQ(ErrorStatus::NONE, prepareReturnStatus); in createPreparedModel()
DValidateModel.cpp57 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModel() local
58 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DVtsHalNeuralnetworks.cpp61 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in createPreparedModel() local
71 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in createPreparedModel()
80 ASSERT_EQ(ErrorStatus::NONE, prepareReturnStatus); in createPreparedModel()
DValidateModel.cpp65 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModel() local
66 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DVtsHalNeuralnetworks.cpp64 const ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in createPreparedModel() local
74 if (!fullySupportsModel && prepareReturnStatus != ErrorStatus::NONE) { in createPreparedModel()
83 ASSERT_EQ(ErrorStatus::NONE, prepareReturnStatus); in createPreparedModel()
DValidateModel.cpp66 ErrorStatus prepareReturnStatus = preparedModelCallback->getStatus(); in validatePrepareModel() local
67 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, prepareReturnStatus); in validatePrepareModel()