/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 215 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument 220 inputRoles, outputRoles] { in allocate() 221 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 225 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 263 const std::vector<nn::BufferRole>& inputRoles, in allocateInternal() argument 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 | 316 std::vector<BufferRole> inputRoles; member 331 args.inputRoles, args.outputRoles, &buffer); in validateAllocate() 344 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands() 349 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands() 377 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 394 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 411 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 428 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P() 446 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P() 463 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P() [all …]
|
D | GeneratedTestHarness.cpp | 106 std::vector<BufferRole> inputRoles, outputRoles; in allocateInternal() local 108 inputRoles = {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 | 78 const std::vector<nn::BufferRole>& inputRoles, 92 const std::vector<nn::BufferRole>& inputRoles,
|
D | InvalidDevice.h | 65 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 50 const std::vector<BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… 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 | 34 const std::vector<BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 40 const std::vector<BufferRole>& inputRoles,
|
D | Device.h | 79 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 77 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 77 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 79 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 237 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument 241 const auto hidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Device.h | 86 const hidl_vec<V1_3::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 96 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 261 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument 265 const auto aidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 311 const hidl_vec<V1_3::BufferRole>& inputRoles, in allocate() argument 315 auto nnInputRoles = NN_TRY(convertInput(inputRoles)); in allocate() 542 const hidl_vec<V1_3::BufferRole>& inputRoles, 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 | 94 const hidl_vec<V1_3::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 127 hidl_vec<BufferRole> inputRoles, outputRoles; in allocateInternal() local 129 inputRoles = {role}; in allocateInternal() 144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 330 * the buffer. An initialized buffer may be used according to all roles specified in inputRoles 348 * @param inputRoles A vector of roles with each specifying an input to a prepared model. 350 * Each role specified in inputRoles and outputRoles must be unique. The corresponding 369 allocate(BufferDesc desc, vec<IPreparedModel> preparedModels, vec<BufferRole> inputRoles,
|