/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ValidateHal.cpp | 40 const std::vector<aidl_hal::BufferRole>& outputRoles, in validateMemoryDesc() argument 46 NN_RET_CHECK(!inputRoles.empty() || !outputRoles.empty()); in validateMemoryDesc() 50 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc() 67 for (const auto& role : outputRoles) { in validateMemoryDesc()
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 218 const std::vector<nn::BufferRole>& outputRoles) const { in allocate() 222 inputRoles, outputRoles] { in allocate() 223 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 227 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 268 const std::vector<nn::BufferRole>& outputRoles) const { in allocateInternal() 272 const auto fn = [&desc, &preparedModels, &inputRoles, &outputRoles](const nn::IDevice& device) { in allocateInternal() 273 return device.allocate(desc, preparedModels, inputRoles, outputRoles); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | MemoryDomainTests.cpp | 344 std::vector<BufferRole> outputRoles; member 358 args.inputRoles, args.outputRoles, &buffer); in validateAllocate() 377 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands() 381 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands() 410 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 427 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 444 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 461 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P() 478 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P() 495 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | MemoryDomainTests.cpp | 326 hidl_vec<BufferRole> outputRoles; member 334 std::move(args.inputRoles), std::move(args.outputRoles), in validateAllocate() 353 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in testConflictOperands() 357 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in testConflictOperands() 386 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 402 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 419 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 436 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .frequency = 1.0f}}, in TEST_P() 453 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = invalidFreq}}, in TEST_P() 470 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | ValidateHal.h | 39 const std::vector<aidl_hal::BufferRole>& outputRoles,
|
D | InvalidDevice.h | 41 const std::vector<BufferRole>& outputRoles,
|
D | Device.h | 83 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 80 const std::vector<nn::BufferRole>& outputRoles) const override; 96 const std::vector<nn::BufferRole>& outputRoles) const;
|
D | InvalidDevice.h | 67 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 53 const std::vector<BufferRole>& outputRoles),
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 109 const std::vector<BufferRole>& outputRoles) { in allocate() argument 113 auto nnOutputRoles = NN_TRY(convertInput(outputRoles)); in allocate() 232 const std::vector<BufferRole>& outputRoles, in allocate() argument 234 auto result = adapter::allocate(*kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 117 in BufferRole[] inputRoles, in BufferRole[] outputRoles); in allocate() argument
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 35 const std::vector<BufferRole>& outputRoles, DeviceBuffer* deviceBuffer),
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | Device.h | 56 const std::vector<BufferRole>& outputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 240 const std::vector<nn::BufferRole>& outputRoles) const { in allocate() 244 const auto hidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 79 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 80 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 81 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/ |
D | Device.h | 87 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) override;
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 98 const std::vector<nn::BufferRole>& outputRoles) const override;
|