Home
last modified time | relevance | path

Searched refs:prepareLaunchStatus (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DVtsHalNeuralnetworks.cpp68 const auto prepareLaunchStatus = in createPreparedModel() local
79 ASSERT_TRUE(prepareLaunchStatus.isOk()) << prepareLaunchStatus.getDescription(); in createPreparedModel()
81 const auto prepareLaunchStatus = device->prepareModel( in createPreparedModel() local
84 ASSERT_TRUE(prepareLaunchStatus.isOk()) << prepareLaunchStatus.getDescription(); in createPreparedModel()
DBasicTests.cpp176 auto prepareLaunchStatus = in TEST_P() local
184 ASSERT_FALSE(prepareLaunchStatus.isOk()); in TEST_P()
185 EXPECT_EQ(prepareLaunchStatus.getExceptionCode(), EX_SERVICE_SPECIFIC); in TEST_P()
186 EXPECT_NE(static_cast<ErrorStatus>(prepareLaunchStatus.getServiceSpecificError()), in TEST_P()
DCompilationCachingTests.cpp328 const auto prepareLaunchStatus = kDevice->prepareModel( in saveModelToCache() local
331 ASSERT_TRUE(prepareLaunchStatus.isOk()); in saveModelToCache()
379 auto prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache() local
388 if (!prepareLaunchStatus.isOk() && in prepareModelFromCache()
389 prepareLaunchStatus.getExceptionCode() == EX_SERVICE_SPECIFIC && in prepareModelFromCache()
390 static_cast<ErrorStatus>(prepareLaunchStatus.getServiceSpecificError()) == in prepareModelFromCache()
394 prepareLaunchStatus = kDevice->prepareModel( in prepareModelFromCache()
399 ASSERT_TRUE(prepareLaunchStatus.isOk() || in prepareModelFromCache()
400 prepareLaunchStatus.getExceptionCode() == EX_SERVICE_SPECIFIC) in prepareModelFromCache()
401 << "prepareLaunchStatus: " << prepareLaunchStatus.getDescription(); in prepareModelFromCache()
[all …]
DQualityOfServiceTests.cpp98 const auto prepareLaunchStatus = in runPrepareModelTest() local
101 ASSERT_TRUE(prepareLaunchStatus.isOk()) in runPrepareModelTest()
102 << "prepareLaunchStatus: " << prepareLaunchStatus.getDescription(); in runPrepareModelTest()
DValidateModel.cpp65 const auto prepareLaunchStatus = in validatePrepareModel() local
68 ASSERT_FALSE(prepareLaunchStatus.isOk()); in validatePrepareModel()
69 ASSERT_EQ(prepareLaunchStatus.getExceptionCode(), EX_SERVICE_SPECIFIC); in validatePrepareModel()
70 ASSERT_EQ(static_cast<ErrorStatus>(prepareLaunchStatus.getServiceSpecificError()), in validatePrepareModel()
87 const auto prepareLaunchStatus = device->prepareModelWithConfig( in validatePrepareModelWithConfig() local
90 ASSERT_FALSE(prepareLaunchStatus.isOk()); in validatePrepareModelWithConfig()
91 ASSERT_EQ(prepareLaunchStatus.getExceptionCode(), EX_SERVICE_SPECIFIC); in validatePrepareModelWithConfig()
92 ASSERT_EQ(static_cast<ErrorStatus>(prepareLaunchStatus.getServiceSpecificError()), in validatePrepareModelWithConfig()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DVtsHalNeuralnetworks.cpp51 const Return<ErrorStatus> prepareLaunchStatus = in createPreparedModel() local
53 ASSERT_TRUE(prepareLaunchStatus.isOk()); in createPreparedModel()
54 ASSERT_EQ(ErrorStatus::NONE, static_cast<ErrorStatus>(prepareLaunchStatus)); in createPreparedModel()
DValidateModel.cpp52 Return<ErrorStatus> prepareLaunchStatus = device->prepareModel(model, preparedModelCallback); in validatePrepareModel() local
53 ASSERT_TRUE(prepareLaunchStatus.isOk()); in validatePrepareModel()
54 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, static_cast<ErrorStatus>(prepareLaunchStatus)); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DVtsHalNeuralnetworks.cpp54 const Return<ErrorStatus> prepareLaunchStatus = device->prepareModel_1_1( in createPreparedModel() local
56 ASSERT_TRUE(prepareLaunchStatus.isOk()); in createPreparedModel()
57 ASSERT_EQ(ErrorStatus::NONE, static_cast<ErrorStatus>(prepareLaunchStatus)); in createPreparedModel()
DValidateModel.cpp59 Return<ErrorStatus> prepareLaunchStatus = in validatePrepareModel() local
61 ASSERT_TRUE(prepareLaunchStatus.isOk()); in validatePrepareModel()
62 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, static_cast<ErrorStatus>(prepareLaunchStatus)); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DVtsHalNeuralnetworks.cpp56 const Return<ErrorStatus> prepareLaunchStatus = device->prepareModel_1_2( in createPreparedModel() local
59 ASSERT_TRUE(prepareLaunchStatus.isOk()); in createPreparedModel()
60 ASSERT_EQ(ErrorStatus::NONE, static_cast<ErrorStatus>(prepareLaunchStatus)); in createPreparedModel()
DCompilationCachingTests.cpp326 Return<ErrorStatus> prepareLaunchStatus = in saveModelToCache() local
329 ASSERT_TRUE(prepareLaunchStatus.isOk()); in saveModelToCache()
330 ASSERT_EQ(static_cast<ErrorStatus>(prepareLaunchStatus), ErrorStatus::NONE); in saveModelToCache()
371 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache() local
373 ASSERT_TRUE(prepareLaunchStatus.isOk()); in prepareModelFromCache()
374 if (static_cast<ErrorStatus>(prepareLaunchStatus) != ErrorStatus::NONE) { in prepareModelFromCache()
376 *status = static_cast<ErrorStatus>(prepareLaunchStatus); in prepareModelFromCache()
DValidateModel.cpp59 Return<ErrorStatus> prepareLaunchStatus = in validatePrepareModel() local
62 ASSERT_TRUE(prepareLaunchStatus.isOk()); in validatePrepareModel()
63 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, static_cast<ErrorStatus>(prepareLaunchStatus)); in validatePrepareModel()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DVtsHalNeuralnetworks.cpp57 const Return<ErrorStatus> prepareLaunchStatus = device->prepareModel_1_3( in createPreparedModel() local
60 ASSERT_TRUE(prepareLaunchStatus.isOk()); in createPreparedModel()
61 ASSERT_EQ(ErrorStatus::NONE, static_cast<ErrorStatus>(prepareLaunchStatus)); in createPreparedModel()
DQualityOfServiceTests.cpp106 const Return<ErrorStatus> prepareLaunchStatus = device->prepareModel_1_3( in runPrepareModelTest() local
109 ASSERT_TRUE(prepareLaunchStatus.isOk()); in runPrepareModelTest()
110 ASSERT_EQ(ErrorStatus::NONE, static_cast<ErrorStatus>(prepareLaunchStatus)); in runPrepareModelTest()
DCompilationCachingTests.cpp329 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModel_1_3( in saveModelToCache() local
332 ASSERT_TRUE(prepareLaunchStatus.isOk()); in saveModelToCache()
333 ASSERT_EQ(static_cast<ErrorStatus>(prepareLaunchStatus), ErrorStatus::NONE); in saveModelToCache()
374 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModelFromCache_1_3( in prepareModelFromCache() local
376 ASSERT_TRUE(prepareLaunchStatus.isOk()); in prepareModelFromCache()
377 if (static_cast<ErrorStatus>(prepareLaunchStatus) != ErrorStatus::NONE) { in prepareModelFromCache()
379 *status = static_cast<ErrorStatus>(prepareLaunchStatus); in prepareModelFromCache()
DValidateModel.cpp61 Return<ErrorStatus> prepareLaunchStatus = in validatePrepareModel() local
64 ASSERT_TRUE(prepareLaunchStatus.isOk()); in validatePrepareModel()
65 ASSERT_EQ(ErrorStatus::INVALID_ARGUMENT, static_cast<ErrorStatus>(prepareLaunchStatus)); in validatePrepareModel()