Lines Matching refs:request

46     Request request = originalRequest;  in validate()  local
47 mutate(&request); in validate()
65 preparedModel->execute_1_2(request, measure, executionCallback); in validate()
83 request, measure, in validate()
104 std::vector<intptr_t> keys(request.pools.size()); in validate()
106 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validate()
110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate()
118 if (request.pools.size() > 0) { in validate()
133 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() argument
134 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest()
136 validate(preparedModel, message, request, in removeInputTest()
137 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() argument
143 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() argument
144 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest()
146 validate(preparedModel, message, request, in removeOutputTest()
147 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest() argument
153 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest() argument
154 removeInputTest(preparedModel, request); in validateRequest()
155 removeOutputTest(preparedModel, request); in validateRequest()
158 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure() argument
161 request, MeasureTiming::NO, in validateRequestFailure()