Lines Matching refs:preparedModel
40 static void validateReusableExecution(const std::shared_ptr<IPreparedModel>& preparedModel, in validateReusableExecution() argument
47 const auto createStatus = preparedModel->createReusableExecution( in validateReusableExecution()
87 static void validate(const std::shared_ptr<IPreparedModel>& preparedModel, in validate() argument
107 const auto executeStatus = preparedModel->executeSynchronously( in validate()
119 const auto executeStatus = preparedModel->executeFenced(request, {}, false, kNoDeadline, in validate()
134 auto ret = preparedModel->configureExecutionBurst(&burst); in validate()
151 ASSERT_TRUE(preparedModel->getInterfaceVersion(&aidlVersion).isOk()); in validate()
157 validateReusableExecution(preparedModel, message, request, measure); in validate()
163 const auto executeStatus = preparedModel->executeSynchronouslyWithConfig( in validate()
175 const auto executeStatus = preparedModel->executeFencedWithConfig( in validate()
190 auto ret = preparedModel->configureExecutionBurst(&burst); in validate()
208 std::shared_ptr<IBurst> createBurst(const std::shared_ptr<IPreparedModel>& preparedModel) { in createBurst() argument
210 const auto ret = preparedModel->configureExecutionBurst(&burst); in createBurst()
217 static void removeInputTest(const std::shared_ptr<IPreparedModel>& preparedModel, in removeInputTest() argument
221 validate(preparedModel, message, request, [input](Request* request) { in removeInputTest()
229 static void removeOutputTest(const std::shared_ptr<IPreparedModel>& preparedModel, in removeOutputTest() argument
233 validate(preparedModel, message, request, [output](Request* request) { in removeOutputTest()
241 void validateRequest(const std::shared_ptr<IPreparedModel>& preparedModel, const Request& request) { in validateRequest() argument
242 removeInputTest(preparedModel, request); in validateRequest()
243 removeOutputTest(preparedModel, request); in validateRequest()
246 void validateBurst(const std::shared_ptr<IPreparedModel>& preparedModel, const Request& request) { in validateBurst() argument
249 auto ret = preparedModel->configureExecutionBurst(&burst); in validateBurst()
305 void validateRequestFailure(const std::shared_ptr<IPreparedModel>& preparedModel, in validateRequestFailure() argument
309 const auto executeStatus = preparedModel->executeSynchronously( in validateRequestFailure()