Lines Matching refs:hal
38 using PreparedModelRole = std::tuple<const hal::IPreparedModel*, IOType, uint32_t>;
65 bool validateExecutionPreference(hal::ExecutionPreference preference);
68 bool validatePriority(hal::Priority priority);
70 bool validOperationType(hal::V1_0::OperationType operation);
71 bool validOperationType(hal::V1_1::OperationType operation);
72 bool validOperationType(hal::V1_2::OperationType operation);
74 bool validOperandType(hal::V1_0::OperandType operand);
75 bool validOperandType(hal::V1_2::OperandType operand);
76 bool validOperandType(hal::V1_3::OperandType operand);
79 bool validatePool(const hal::hidl_memory& pool, HalVersion ver = HalVersion::LATEST);
80 bool validatePool(const hal::V1_3::Request::MemoryPool& pool, HalVersion ver = HalVersion::LATEST);
88 const hal::V1_3::BufferDesc& desc,
89 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
90 const hal::hidl_vec<hal::V1_3::BufferRole>& inputRoles,
91 const hal::hidl_vec<hal::V1_3::BufferRole>& outputRoles,
92 std::function<const hal::V1_3::Model*(const sp<hal::V1_3::IPreparedModel>&)> getModel,
93 std::set<PreparedModelRole>* preparedModelRoles, hal::V1_3::Operand* combinedOperand);