Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 52) sorted by relevance

123

/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp28 using V1_0::Request;
31 using ExecutionMutation = std::function<void(Request*)>;
39 const Request& originalRequest, const ExecutionMutation& mutate) { in validate()
40 Request request = originalRequest; in validate()
56 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
60 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
66 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
70 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
76 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
DVtsHalNeuralnetworks.cpp33 using V1_0::Request;
120 void validateRequest(const sp<V1_0::IPreparedModel>& preparedModel, const V1_0::Request& request);
122 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything()
136 const Request request = context.createRequest(kTestModel); in TEST_P()
DGeneratedTestHarness.cpp46 using V1_0::Request;
138 const Request request = context.createRequest(testModel); in Execute()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp27 using ExecutionMutation = std::function<void(Request*)>;
35 const Request& originalRequest, const ExecutionMutation& mutate) { in validate()
36 Request request = originalRequest; in validate()
72 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
76 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
82 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
86 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
92 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
DVtsHalNeuralnetworks.cpp117 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request);
119 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything()
133 const Request request = context.createRequest(kTestModel); in TEST_P()
DUtils.cpp44 using V1_0::Request;
102 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
169 std::vector<TestBuffer> ExecutionContext::getOutputBuffers(const Request& request) const { in getOutputBuffers()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp31 using V1_0::Request;
33 using ExecutionMutation = std::function<void(Request*)>;
45 const Request& originalRequest, const ExecutionMutation& mutate) { in validate()
46 Request request = originalRequest; in validate()
133 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
137 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
143 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
147 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
153 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
158 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
DVtsHalNeuralnetworks.cpp34 using V1_0::Request;
123 void validateRequest(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request);
125 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request);
127 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request);
129 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything()
141 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure()
157 const Request request = context.createRequest(kTestModel); in TEST_P()
DValidateBurst.cpp37 using V1_0::Request;
242 const Request& request) { in validateBurstSerialization()
278 const Request& request) { in validateBurstFmqLength()
368 const Request& request) { in validateBurstSanitized()
400 void validateBurst(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateBurst()
DGeneratedTestHarness.cpp57 using V1_0::Request;
170 static void makeOutputInsufficientSize(uint32_t outputIndex, Request* request) { in makeOutputInsufficientSize()
184 const Request& request, MeasureTiming measure, in ExecutePreparedModel()
189 const Request& request, MeasureTiming measure, in ExecutePreparedModel()
221 Request request = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateRequest.cpp37 using ExecutionMutation = std::function<void(Request*)>;
49 const Request& originalRequest, const ExecutionMutation& mutate) { in validate()
50 Request request = originalRequest; in validate()
103 V1_0::Request request10 = nn::convertToV1_0(request); in validate()
155 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
159 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
165 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
169 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
175 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
180 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
DVtsHalNeuralnetworks.cpp128 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request);
130 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request);
132 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request);
135 void validateExecuteFenced(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateExecuteFenced()
148 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything()
161 V1_0::Request request10 = nn::convertToV1_0(request); in validateEverything()
165 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure()
181 const Request request = nn::convertToV1_3(context.createRequest(kTestModel)); in TEST_P()
DMemoryDomainTests.cpp194 Return<V1_0::ErrorStatus> execute(const V1_0::Request&, in execute() argument
198 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request&, V1_2::MeasureTiming, in execute_1_2() argument
202 Return<V1_3::ErrorStatus> execute_1_3(const V1_3::Request&, V1_2::MeasureTiming, in execute_1_3() argument
208 Return<void> executeSynchronously(const V1_0::Request&, V1_2::MeasureTiming, in executeSynchronously() argument
212 Return<void> executeSynchronously_1_3(const V1_3::Request&, V1_2::MeasureTiming, in executeSynchronously_1_3() argument
224 Return<void> executeFenced(const V1_3::Request&, const hidl_vec<hidl_handle>&, in executeFenced() argument
845 Request::MemoryPool createSharedMemoryPool(uint32_t size) { in createSharedMemoryPool()
847 Request::MemoryPool pool; in createSharedMemoryPool()
852 Request::MemoryPool createDeviceMemoryPool(uint32_t token) { in createDeviceMemoryPool()
853 Request::MemoryPool pool; in createDeviceMemoryPool()
[all …]
DQualityOfServiceTests.cpp59 std::function<MaybeResults(const sp<IPreparedModel>& preparedModel, const Request& request,
171 const Request& request, in executeAsynchronously()
194 const Request& request, in executeSynchronously()
217 const Request& request, const ExecutionContext& context, bool synchronous, in runExecutionTest()
264 const V1_0::Request request10 = nn::convertToV1_0(request); in runExecutionTest()
274 const Request& request, const ExecutionContext& context) { in runExecutionTests()
297 const Request request = nn::convertToV1_3(context.createRequest(testModel)); in runTests()
DValidateBurst.cpp36 using V1_0::Request;
248 const Request& request) { in validateBurstSerialization()
284 const Request& request) { in validateBurstFmqLength()
374 const Request& request) { in validateBurstSanitized()
406 void validateBurst(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateBurst()
DGeneratedTestHarness.cpp324 static void makeOutputInsufficientSize(uint32_t outputIndex, Request* request) { in makeOutputInsufficientSize()
342 std::optional<Request> createRequest(const TestModel& testModel, MemoryType memoryType);
344 const Request& request) const;
360 std::optional<Request> ExecutionContextV1_3::createRequest(const TestModel& testModel, in createRequest()
440 hidl_vec<Request::MemoryPool> pools(kDeviceMemoryBeginIndex + mBuffers.size()); in createRequest()
466 return Request{ in createRequest()
471 const Request& request) const { in getOutputBuffers()
521 const Request& request, MeasureTiming measure, in ExecutePreparedModel()
527 const Request& request, MeasureTiming measure, in ExecutePreparedModel()
570 Request request = std::move(maybeRequest.value()); in EvaluatePreparedModel()
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DPreparedModel.cpp37 static void asyncExecute(const std::shared_ptr<hexagon::Model>& model, const Request& request, in asyncExecute()
47 Return<ErrorStatus> PreparedModel::execute(const Request& request, in execute()
DPreparedModel.h55 Return<ErrorStatus> execute(const Request& request,
/hardware/interfaces/neuralnetworks/1.2/
DIPreparedModel.hal21 import @1.0::Request;
89 execute_1_2(Request request, MeasureTiming measure, IExecutionCallback callback)
137 * of the output operand in the Request outputs vector.
145 executeSynchronously(Request request, MeasureTiming measure)
153 * operands have fully specified dimensions, and a valid serialized Request
161 * @param requestChannel FMQ used by the client to send a serialized Request
164 * the Request (described by the
169 * corresponding to Request inputs. requestChannel
170 * must not be used to pass a second Request object
184 * return the results if a Request was sent through the
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h92 V1_0::Request createRequest(const test_helper::TestModel& testModel,
96 std::vector<test_helper::TestBuffer> getOutputBuffers(const V1_0::Request& request) const;
/hardware/interfaces/radio/1.0/
DIRadio.hal274 * Request current voice registration state
283 * Request current data registration state
292 * Request current operator ONS or EONS
395 * Request ICC I/O operation.
466 * Request call forward status.
850 * Request neighboring cell id in GSM network
873 * Request to set the location where the CDMA subscription shall
885 * Request to set the roaming preferences in CDMA
896 * Request the actual setting of the roaming preferences in CDMA in the modem
905 * Request to set the TTY mode
[all …]
/hardware/interfaces/gnss/visibility_control/1.0/
DIGnssVisibilityControlCallback.hal68 /** Request rejected because framework has not given permission for this use case */
71 /** Request accepted but could not provide location because of a failure */
74 /** Request accepted and location provided */
/hardware/interfaces/radio/config/1.0/
DIRadioConfig.hal44 * Request provides the slot status of all active and inactive SIM slots and whether card is
57 * Physical slot is the actual physical slot. Request maps the physical slot to logical slot.
/hardware/interfaces/automotive/evs/1.0/
DIEvsCamera.hal52 * Request delivery of EVS camera frames from this camera.
81 * Request driver specific information from the HAL implementation.
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModel.hal26 import Request;
118 execute_1_3(Request request, MeasureTiming measure, OptionalTimePoint deadline,
191 * of the output operand in the Request outputs vector.
199 executeSynchronously_1_3(Request request, MeasureTiming measure,
282 executeFenced(Request request, vec<handle> waitFor, MeasureTiming measure,

123