/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 216 const std::vector<nn::BufferRole>& outputRoles) const { in allocate() 220 inputRoles, outputRoles] { in allocate() 221 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 225 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 264 const std::vector<nn::BufferRole>& outputRoles) const { in allocateInternal() 268 const auto fn = [&desc, &preparedModels, &inputRoles, &outputRoles](const nn::IDevice& device) { in allocateInternal() 269 return device.allocate(desc, preparedModels, inputRoles, outputRoles); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | MemoryDomainTests.cpp | 317 std::vector<BufferRole> outputRoles; member 331 args.inputRoles, args.outputRoles, &buffer); in validateAllocate() 350 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands() 354 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands() 383 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 400 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 417 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 434 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P() 451 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P() 468 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P() [all …]
|
D | GeneratedTestHarness.cpp | 106 std::vector<BufferRole> inputRoles, outputRoles; in allocateInternal() local 110 outputRoles = {role}; in allocateInternal() 117 const auto ret = kDevice->allocate({}, {parcel}, inputRoles, outputRoles, &buffer); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 79 const std::vector<nn::BufferRole>& outputRoles) const override; 93 const std::vector<nn::BufferRole>& outputRoles) const;
|
D | InvalidDevice.h | 66 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 51 const std::vector<BufferRole>& outputRoles),
|
/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 | 116 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/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 41 const std::vector<BufferRole>& outputRoles,
|
D | Device.h | 80 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 78 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 78 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 80 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 238 const std::vector<nn::BufferRole>& outputRoles) const { in allocate() 242 const auto hidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/utils/adapter/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 | 97 const std::vector<nn::BufferRole>& outputRoles) const override;
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 262 const std::vector<nn::BufferRole>& outputRoles) const { in allocate() 266 const auto aidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 312 const hidl_vec<V1_3::BufferRole>& outputRoles) { in allocate() argument 316 auto nnOutputRoles = NN_TRY(convertInput(outputRoles)); in allocate() 543 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) { in allocate() argument 544 auto result = adapter::allocate(kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockDevice.h | 95 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb),
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 328 * in ways that are specified by outputRoles. A buffer is initialized after it is used as an 331 * and outputRoles. A buffer will return to the uninitialized state if it is used as an output 349 * @param outputRoles A vector of roles with each specifying an output to a prepared model. 350 * Each role specified in inputRoles and outputRoles must be unique. The corresponding 370 vec<BufferRole> outputRoles)
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 127 hidl_vec<BufferRole> inputRoles, outputRoles; in allocateInternal() local 131 outputRoles = {role}; in allocateInternal() 144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
|