Home
last modified time | relevance | path

Searched refs:aidl_hal (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h58 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType);
59 GeneralResult<OperationType> unvalidatedConvert(const aidl_hal::OperationType& operationType);
60 GeneralResult<DeviceType> unvalidatedConvert(const aidl_hal::DeviceType& deviceType);
61 GeneralResult<Priority> unvalidatedConvert(const aidl_hal::Priority& priority);
62 GeneralResult<Capabilities> unvalidatedConvert(const aidl_hal::Capabilities& capabilities);
64 const aidl_hal::OperandPerformance& operandPerformance);
66 const aidl_hal::PerformanceInfo& performanceInfo);
67 GeneralResult<DataLocation> unvalidatedConvert(const aidl_hal::DataLocation& location);
68 GeneralResult<Operand> unvalidatedConvert(const aidl_hal::Operand& operand);
70 const std::optional<aidl_hal::OperandExtraParams>& optionalExtraParams);
[all …]
DBurst.h56 explicit MemoryCache(std::shared_ptr<aidl_hal::IBurst> burst);
82 const std::shared_ptr<aidl_hal::IBurst> kBurst;
90 std::shared_ptr<aidl_hal::IBurst> burst);
92 Burst(PrivateConstructorTag tag, std::shared_ptr<aidl_hal::IBurst> burst);
109 const aidl_hal::Request& request, const std::vector<int64_t>& memoryIdentifierTokens,
115 const std::shared_ptr<aidl_hal::IBurst> kBurst;
DBuffer.h38 std::shared_ptr<aidl_hal::IBuffer> buffer, nn::Request::MemoryDomainToken token);
40 Buffer(PrivateConstructorTag tag, std::shared_ptr<aidl_hal::IBuffer> buffer,
50 const std::shared_ptr<aidl_hal::IBuffer> kBuffer;
DPreparedModel.h44 std::shared_ptr<aidl_hal::IPreparedModel> preparedModel);
47 std::shared_ptr<aidl_hal::IPreparedModel> preparedModel);
80 const std::shared_ptr<aidl_hal::IPreparedModel> kPreparedModel;
DDevice.h46 std::string name, std::shared_ptr<aidl_hal::IDevice> device);
51 std::shared_ptr<aidl_hal::IDevice> device, DeathHandler deathHandler);
91 const std::shared_ptr<aidl_hal::IDevice> kDevice;
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp96 NN_TRY(aidl_hal::utils::compliantVersion(canonical)); in validatedConvert()
148 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType) { in unvalidatedConvert()
157 GeneralResult<OperationType> unvalidatedConvert(const aidl_hal::OperationType& operationType) { in unvalidatedConvert()
167 GeneralResult<DeviceType> unvalidatedConvert(const aidl_hal::DeviceType& deviceType) { in unvalidatedConvert()
171 GeneralResult<Priority> unvalidatedConvert(const aidl_hal::Priority& priority) { in unvalidatedConvert()
175 GeneralResult<Capabilities> unvalidatedConvert(const aidl_hal::Capabilities& capabilities) { in unvalidatedConvert()
178 [](const aidl_hal::OperandPerformance& operandPerformance) { in unvalidatedConvert()
203 const aidl_hal::OperandPerformance& operandPerformance) { in unvalidatedConvert()
211 const aidl_hal::PerformanceInfo& performanceInfo) { in unvalidatedConvert()
218 GeneralResult<DataLocation> unvalidatedConvert(const aidl_hal::DataLocation& location) { in unvalidatedConvert()
[all …]
DBuffer.cpp36 std::shared_ptr<aidl_hal::IBuffer> buffer, nn::Request::MemoryDomainToken token) { in create()
47 Buffer::Buffer(PrivateConstructorTag /*tag*/, std::shared_ptr<aidl_hal::IBuffer> buffer, in Buffer()
DDevice.cpp57 std::any_cast<std::shared_ptr<aidl_hal::IPreparedModel>>(&underlyingResource)) { in convert()
75 nn::GeneralResult<std::string> getVersionStringFrom(aidl_hal::IDevice* device) { in getVersionStringFrom()
83 nn::GeneralResult<nn::DeviceType> getDeviceTypeFrom(aidl_hal::IDevice* device) { in getDeviceTypeFrom()
92 aidl_hal::IDevice* device) { in getSupportedExtensionsFrom()
101 aidl_hal::IDevice* device) { in getNumberOfCacheFilesNeededFrom()
128 std::string name, std::shared_ptr<aidl_hal::IDevice> device) { in create()
155 std::shared_ptr<aidl_hal::IDevice> device, DeathHandler deathHandler) in Device()
DPreparedModel.cpp52 ErrorStatus status, const aidl_hal::Timing& timingLaunched, in convertFencedExecutionResults()
53 const aidl_hal::Timing& timingFenced) { in convertFencedExecutionResults()
61 std::shared_ptr<aidl_hal::IPreparedModel> preparedModel) { in create()
71 std::shared_ptr<aidl_hal::IPreparedModel> preparedModel) in PreparedModel()
220 std::shared_ptr<aidl_hal::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
DBurst.cpp79 Burst::MemoryCache::MemoryCache(std::shared_ptr<aidl_hal::IBurst> burst) in MemoryCache()
153 std::shared_ptr<aidl_hal::IBurst> burst) { in create()
162 Burst::Burst(PrivateConstructorTag /*tag*/, std::shared_ptr<aidl_hal::IBurst> burst) in Burst()
/hardware/interfaces/neuralnetworks/utils/service/src/
DService.cpp50 namespace aidl_hal = ::aidl::android::hardware::neuralnetworks;
89 AServiceManager_forEachDeclaredInstance(aidl_hal::IDevice::descriptor, in getAidlDevices()
96 const auto instance = std::string(aidl_hal::IDevice::descriptor) + '/' + name; in getAidlDevices()
103 auto maybeDevice = aidl_hal::utils::getDevice(name); in getAidlDevices()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DCommonUtils.h35 namespace aidl_hal = ::aidl::android::hardware::neuralnetworks; variable
43 namespace aidl_hal = ::aidl::android::hardware::neuralnetworks; variable