Lines Matching refs:hardware
58 std::vector<hardware::neuralnetworks::V1_2::FmqRequestDatum> serialize(
59 const hardware::neuralnetworks::V1_0::Request& request,
60 hardware::neuralnetworks::V1_2::MeasureTiming measure, const std::vector<int32_t>& slots);
71 std::optional<std::tuple<hardware::neuralnetworks::V1_0::ErrorStatus,
72 std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
73 hardware::neuralnetworks::V1_2::Timing>>
74 deserialize(const std::vector<hardware::neuralnetworks::V1_2::FmqResultDatum>& data);
82 hardware::neuralnetworks::V1_0::ErrorStatus legacyConvertResultCodeToErrorStatus(int resultCode);
95 hardware::MQDescriptorSync<hardware::neuralnetworks::V1_2::FmqResultDatum>;
96 using FmqResultChannel = hardware::MessageQueue<hardware::neuralnetworks::V1_2::FmqResultDatum,
97 hardware::kSynchronizedReadWrite>;
126 std::optional<std::tuple<hardware::neuralnetworks::V1_0::ErrorStatus,
127 std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
128 hardware::neuralnetworks::V1_2::Timing>>
138 std::optional<std::vector<hardware::neuralnetworks::V1_2::FmqResultDatum>> getPacketBlocking();
156 hardware::MQDescriptorSync<hardware::neuralnetworks::V1_2::FmqRequestDatum>;
158 hardware::MessageQueue<hardware::neuralnetworks::V1_2::FmqRequestDatum,
159 hardware::kSynchronizedReadWrite>;
183 bool send(const hardware::neuralnetworks::V1_0::Request& request,
184 hardware::neuralnetworks::V1_2::MeasureTiming measure,
195 bool sendPacket(const std::vector<hardware::neuralnetworks::V1_2::FmqRequestDatum>& packet);
229 class ExecutionBurstCallback : public hardware::neuralnetworks::V1_2::IBurstCallback {
235 hardware::Return<void> getMemories(const hardware::hidl_vec<int32_t>& slots,
254 std::vector<int32_t> getSlots(const hardware::hidl_vec<hardware::hidl_memory>& memories,
272 int32_t getSlotLocked(const hardware::hidl_memory& memory, intptr_t key);
278 std::vector<hardware::hidl_memory> mMemoryCache;
294 const sp<hardware::neuralnetworks::V1_2::IPreparedModel>& preparedModel,
300 const sp<hardware::neuralnetworks::V1_2::IBurstContext>& burstContext,
302 const sp<hardware::hidl_death_recipient>& deathHandler = nullptr);
321 std::tuple<int, std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
322 hardware::neuralnetworks::V1_2::Timing, bool>
323 compute(const hardware::neuralnetworks::V1_0::Request& request,
324 hardware::neuralnetworks::V1_2::MeasureTiming measure,
338 const sp<hardware::neuralnetworks::V1_2::IBurstContext> mBurstContext;
340 const sp<hardware::hidl_death_recipient> mDeathHandler;