Home
last modified time | relevance | path

Searched refs:hidl_vec (Results 1 – 25 of 75) sorted by relevance

123

/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h91 hardware::hidl_vec<VersionedOperandPerformance<version>> nonExtensionOperandPerformance(
97 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance,
99 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance,
106 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance,
109 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance,
185 V1_3::ErrorStatus status, const hardware::hidl_vec<V1_2::OutputShape>& outputShapes,
192 const hardware::hidl_vec<hardware::hidl_memory>& pools);
289 hardware::hidl_vec<V1_0::Operand> convertToV1_0(const hardware::hidl_vec<V1_0::Operand>& operands);
290 hardware::hidl_vec<V1_0::Operand> convertToV1_0(const hardware::hidl_vec<V1_2::Operand>& operands);
291 hardware::hidl_vec<V1_0::Operand> convertToV1_0(const hardware::hidl_vec<V1_3::Operand>& operands);
[all …]
DValidateHal.h85 const hardware::hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
86 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles,
87 const hardware::hidl_vec<V1_3::BufferRole>& outputRoles,
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp226 V1_3::ErrorStatus status, const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, in getExecutionResult()
237 hardware::hidl_vec<VersionedOperandPerformance<version>> nonExtensionOperandPerformance( in nonExtensionOperandPerformance()
257 template hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>
259 template hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>
263 void update(hardware::hidl_vec<VersionedOperandPerformance<version>>* operandPerformance, in update()
275 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update()
279 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update()
286 const hardware::hidl_vec<VersionedOperandPerformance<version>>& operandPerformance, in lookup()
303 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup()
308 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup()
[all …]
DValidateHal.cpp59 MemoryAccessVerifier(const hardware::hidl_vec<hardware::hidl_memory>& pools) in MemoryAccessVerifier()
65 MemoryAccessVerifier(const hardware::hidl_vec<V1_3::Request::MemoryPool>& pools) in MemoryAccessVerifier()
168 static bool validateOperands(const hardware::hidl_vec<VersionedOperand>& operands, in validateOperands()
169 const hardware::hidl_vec<uint8_t>& operandValues, in validateOperands()
170 const hardware::hidl_vec<hardware::hidl_memory>& pools, in validateOperands()
171 const hardware::hidl_vec<V1_3::Subgraph>& subgraphs, in validateOperands()
451 static bool validateOperations(const hardware::hidl_vec<VersionedOperation>& operations, in validateOperations()
452 const hardware::hidl_vec<V1_3::Operand>& operands, in validateOperations()
453 const hardware::hidl_vec<V1_3::Subgraph>& subgraphs, in validateOperations()
551 static bool validatePools(const hardware::hidl_vec<T_MemoryPool>& pools, HalVersion ver) { in validatePools()
[all …]
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.h50 const hardware::hidl_vec<uint32_t>& dimensions) override;
91 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
92 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
97 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
98 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
101 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
102 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
106 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
107 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
112 const hardware::hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
[all …]
DSampleDriverFloatXNNPACK.cpp73 const hardware::hidl_vec<V1_0::RequestArgument>& arguments, in updateForArguments()
110 const hardware::hidl_vec<uint8_t>* mModelOperandValues) { in initializeRunTimeInfo()
156 static Subgraph* Create(const hardware::hidl_vec<V1_3::Operation>& operations, in Create()
563 const hardware::hidl_vec<uint32_t>& ins = operation.inputs; in VisitAbsNode()
564 const hardware::hidl_vec<uint32_t>& outs = operation.outputs; in VisitAbsNode()
583 const hardware::hidl_vec<uint32_t>& ins = operation.inputs; in VisitAddNode()
584 const hardware::hidl_vec<uint32_t>& outs = operation.outputs; in VisitAddNode()
614 const hardware::hidl_vec<uint32_t>& ins = operation.inputs; in VisitAveragePool2DNode()
615 const hardware::hidl_vec<uint32_t>& outs = operation.outputs; in VisitAveragePool2DNode()
697 const hardware::hidl_vec<uint32_t>& ins = operation.inputs; in VisitConv2DNode()
[all …]
DSampleDriver.cpp122 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations()
138 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations_1_1()
154 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations_1_2()
188 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModel_1_2()
189 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModel_1_2()
199 const V1_3::OptionalTimePoint& deadline, const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModel_1_3()
200 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModel_1_3()
207 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModelFromCache()
208 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModelFromCache()
218 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModelFromCache_1_3()
[all …]
DSampleDriverUtils.cpp73 const hardware::hidl_vec<V1_2::OutputShape>&, V1_2::Timing) { in notify()
81 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify()
89 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify()
DSampleDriverUtils.h48 const hardware::hidl_vec<V1_2::OutputShape>&, V1_2::Timing);
51 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
54 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
/packages/services/Car/cpp/evs/manager/1.1/test/unit/
DEnumeratorProxyTest.cpp40 using ::android::hardware::hidl_vec;
69 enumeratorProxy.getCameraList(std::function<void(const hidl_vec<CameraDesc_1_0>&)>{ in TEST()
70 [&](const hidl_vec<CameraDesc_1_0>& cameras) { in TEST()
135 enumeratorProxy.getCameraList_1_1(std::function<void(const hidl_vec<CameraDesc_1_1>&)>{ in TEST()
136 [&](const hidl_vec<CameraDesc_1_1>& cameras) { in TEST()
171 std::function<void(const hidl_vec<uint8_t>&)>{[&](const hidl_vec<std::uint8_t>& ids) { in TEST()
196 std::function<void(const ::android::hardware::hidl_vec< in TEST()
198 [](const ::android::hardware::hidl_vec< in TEST()
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.cc38 using android::hardware::hidl_vec;
122 hidl_vec<uint8_t> hci_event(packet->begin(), packet->end()); in initialize_impl()
135 hidl_vec<uint8_t> acl_packet(packet->begin(), packet->end()); in initialize_impl()
148 hidl_vec<uint8_t> sco_packet(packet->begin(), packet->end()); in initialize_impl()
162 hidl_vec<uint8_t> iso_packet(packet->begin(), packet->end()); in initialize_impl()
254 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& packet) { in sendHciCommand()
265 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& packet) { in sendAclData()
276 Return<void> BluetoothHci::sendScoData(const hidl_vec<uint8_t>& packet) { in sendScoData()
287 Return<void> BluetoothHci::sendIsoData(const hidl_vec<uint8_t>& packet) { in sendIsoData()
Dbluetooth_hci.h57 const ::android::hardware::hidl_vec<uint8_t>& packet) override;
60 const ::android::hardware::hidl_vec<uint8_t>& packet) override;
63 const ::android::hardware::hidl_vec<uint8_t>& packet) override;
66 const ::android::hardware::hidl_vec<uint8_t>& packet) override;
/packages/services/Car/cpp/evs/manager/1.1/stats/
DCameraUsageStats.cpp38 using ::android::hardware::hidl_vec;
41 void CameraUsageStats::updateFrameStatsOnArrival(const hidl_vec<BufferDesc>& bufs) { in updateFrameStatsOnArrival()
53 void CameraUsageStats::updateFrameStatsOnReturn(const hidl_vec<BufferDesc>& bufs) { in updateFrameStatsOnReturn()
84 void CameraUsageStats::framesReceived(const hidl_vec<BufferDesc>& bufs) { in framesReceived()
96 void CameraUsageStats::framesReturned(const hidl_vec<BufferDesc>& bufs) { in framesReturned()
DCameraUsageStats.h152 const hardware::hidl_vec<::android::hardware::automotive::evs::V1_1::BufferDesc>& bufs)
155 const hardware::hidl_vec<::android::hardware::automotive::evs::V1_1::BufferDesc>& bufs)
165 const hardware::hidl_vec<::android::hardware::automotive::evs::V1_1::BufferDesc>& bufs)
168 const hardware::hidl_vec<::android::hardware::automotive::evs::V1_1::BufferDesc>& bufs)
/packages/modules/Bluetooth/system/gd/hal/
Dhci_backend_hidl.cc31 using ::android::hardware::hidl_vec;
54 Return<void> hciEventReceived(const hidl_vec<uint8_t>& packet) override { in hciEventReceived()
59 Return<void> aclDataReceived(const hidl_vec<uint8_t>& packet) override { in aclDataReceived()
64 Return<void> scoDataReceived(const hidl_vec<uint8_t>& data) override { in scoDataReceived()
69 Return<void> isoDataReceived(const hidl_vec<uint8_t>& data) override { in isoDataReceived()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.h103 const hidl_vec<hardware::hidl_string>& options) override;
134 void cmdDump(int fd, const hidl_vec<hardware::hidl_string>& options);
136 void cmdList(int fd, const hidl_vec<hardware::hidl_string>& options);
137 void cmdDumpDevice(int fd, const hidl_vec<hardware::hidl_string>& options);
143 void cmdConfigureEmulatedCamera(int fd, const hidl_vec<hardware::hidl_string>& options);
DEnumerator.cpp122 [this](const android::hardware::hidl_vec<unsigned char>& displayPorts) { in Enumerator()
245 hardware::hidl_vec<CameraDesc_1_0> cameraList; in getCameraList()
463 hardware::hidl_vec<CameraDesc_1_1> hidlCameras; in getCameraList_1_1()
465 [&hidlCameras](hardware::hidl_vec<CameraDesc_1_1> enumeratedCameras) { in getCameraList_1_1()
616 hardware::hidl_vec<UltrasonicsArrayDesc> ultrasonicsArrayDesc; in getUltrasonicsArrayList()
636 Return<void> Enumerator::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) { in debug()
646 void Enumerator::cmdDump(int fd, const hidl_vec<hidl_string>& options) { in cmdDump()
690 void Enumerator::cmdList(int fd, const hidl_vec<hidl_string>& options) { in cmdList()
749 void Enumerator::cmdDumpDevice(int fd, const hidl_vec<hidl_string>& options) { in cmdDumpDevice()
906 void Enumerator::cmdConfigureEmulatedCamera(int fd, const hidl_vec<hidl_string>& options) { in cmdConfigureEmulatedCamera()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest.cpp51 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>&)>;
137 ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc> frames(1); in deliverFrame()
154 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) override { in deliverFrame_1_1()
186 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> list; in TEST_F()
270 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> hidlCameras; in TEST_F()
305 ::android::hardware::hidl_vec<hidlevs::V1_0::CameraDesc> hidlCameras; in TEST_F()
344 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> cameras; in TEST_F()
374 ::android::hardware::hidl_vec<hidlevs::V1_0::CameraDesc> cameras; in TEST_F()
404 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> cameras; in TEST_F()
445 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> cameras; in TEST_F()
[all …]
DMockHidlEvsHal.cpp95 ::android::hardware::hidl_vec<uint8_t>* out) { in buildCameraMetadata()
160 ::android::hardware::hidl_vec<BufferDesc> packet; in forwardFrames()
274 .WillByDefault([this](const ::android::hardware::hidl_vec<BufferDesc>& buffers) { in addMockCameraDevice()
366 ::android::hardware::hidl_vec<uint8_t> value = it->second; in addMockCameraDevice()
383 ::android::hardware::hidl_vec<int32_t> values; in addMockCameraDevice()
412 ::android::hardware::hidl_vec<CameraParam> list; in addMockCameraDevice()
445 .WillByDefault([this](const ::android::hardware::hidl_vec<BufferDesc>& buffers, in addMockCameraDevice()
481 ::android::hardware::hidl_vec<uint8_t> value; in addMockCameraDevice()
489 .WillByDefault([this](uint32_t id, const ::android::hardware::hidl_vec<uint8_t>& v) { in addMockCameraDevice()
510 ::android::hardware::hidl_vec<int32_t> values; in addMockCameraDevice()
[all …]
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.h39 using ::android::hardware::hidl_vec;
79 Return<EvsResult> doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffer) override;
89 const hidl_vec<uint8_t>& opaqueValue) override;
92 Return<void> importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers,
DEvsEmulatedCamera.cpp320 Return<EvsResult> EvsEmulatedCamera::doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in doneWithFrame_1_1()
356 hidl_vec<CameraParam> hidlCtrls; in getParameterList()
372 hidl_vec<int32_t> values; in setIntParameter()
380 hidl_vec<int32_t> values; in getIntParameter()
387 const hidl_vec<uint8_t>& opaqueValue) { in setExtendedInfo_1_1()
395 hidl_vec<uint8_t> value; in getExtendedInfo_1_1()
407 Return<void> EvsEmulatedCamera::importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers()
740 hidl_vec<BufferDesc_1_1> frames; in forwardFrame()
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DAidlCamera.cpp38 using ::android::hardware::hidl_vec;
301 hidl_vec<hidlevs::V1_1::BufferDesc> hidlBuffers(n); in doneWithFrame()
342 const hidl_vec<uint8_t>& hwValue) { in getExtendedInfo()
357 const hidl_vec<int32_t>& hidlValues) { in getIntParameter()
385 [_aidl_return](const hidl_vec<hidlevs::V1_1::CameraParam>& list) { in getParameterList()
412 hidl_vec<hidlevs::V1_1::BufferDesc> hidlBuffers; in importExternalBuffers()
446 hidl_vec<uint8_t> value = opaqueValue; in setExtendedInfo()
462 const hidl_vec<int32_t>& values) { in setIntParameter()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWCamera.h61 Return<EvsResult> doneWithFrame_1_1(const hardware::hidl_vec<BufferDesc_1_1>& buffer) override { in doneWithFrame_1_1()
91 const hidl_vec<uint8_t>& opaqueValue) override { in setExtendedInfo_1_1()
94 Return<void> importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers()
DVirtualCameraFuzzer.cpp180 hidl_vec<BufferDesc_1_1> buffers(vBufferDesc_1_1); in LLVMFuzzerTestOneInput()
212 virtualCamera->getParameterList([](hidl_vec<CameraParam> cmdList) {}); in LLVMFuzzerTestOneInput()
253 hidl_vec<uint8_t> vec(v); in LLVMFuzzerTestOneInput()
267 hidl_vec<BufferDesc_1_1> buffers(vBufferDesc_1_1); in LLVMFuzzerTestOneInput()
DHalCameraFuzzer.cpp124 hidl_vec<BufferDesc_1_1> buffers; in LLVMFuzzerTestOneInput()
244 hardware::hidl_vec<BufferDesc_1_1> hidl_vec(vec); in LLVMFuzzerTestOneInput() local
245 halCamera->deliverFrame_1_1(hidl_vec); in LLVMFuzzerTestOneInput()

123