/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ValidateHal.cpp | 39 const std::vector<aidl_hal::BufferRole>& inputRoles, in validateMemoryDesc() argument 46 NN_RET_CHECK(!inputRoles.empty() || !outputRoles.empty()); in validateMemoryDesc() 50 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc() 51 for (const auto& role : inputRoles) { in validateMemoryDesc()
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 217 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument 222 inputRoles, outputRoles] { in allocate() 223 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 227 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 267 const std::vector<nn::BufferRole>& inputRoles, in allocateInternal() argument 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 | 343 std::vector<BufferRole> inputRoles; member 358 args.inputRoles, args.outputRoles, &buffer); in validateAllocate() 371 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands() 376 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands() 404 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 421 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 438 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P() 455 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P() 473 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P() 490 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | MemoryDomainTests.cpp | 325 hidl_vec<BufferRole> inputRoles; member 334 std::move(args.inputRoles), std::move(args.outputRoles), in validateAllocate() 347 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in testConflictOperands() 352 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in testConflictOperands() 380 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 396 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 413 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P() 430 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .frequency = 1.0f}}, in TEST_P() 448 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = invalidFreq}}, in TEST_P() 465 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | ValidateHal.h | 38 const std::vector<aidl_hal::BufferRole>& inputRoles,
|
D | InvalidDevice.h | 40 const std::vector<BufferRole>& inputRoles,
|
D | Device.h | 82 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 79 const std::vector<nn::BufferRole>& inputRoles, 95 const std::vector<nn::BufferRole>& inputRoles,
|
D | InvalidDevice.h | 66 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 52 const std::vector<BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/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/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 108 const std::vector<BufferRole>& inputRoles, in allocate() argument 112 auto nnInputRoles = NN_TRY(convertInput(inputRoles)); in allocate() 231 const std::vector<BufferRole>& inputRoles, 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 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
|
/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 | 117 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/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | Device.h | 55 const std::vector<BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 239 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument 243 const auto hidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 78 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 79 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 80 const std::vector<nn::BufferRole>& inputRoles,
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/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 | 97 const std::vector<nn::BufferRole>& inputRoles,
|