Home
last modified time | relevance | path

Searched refs:makeDevice (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DService.cpp29 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local
38 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DService.cpp29 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local
38 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DService.cpp29 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local
38 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DService.cpp36 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local
61 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp69 Factory makeDevice) { in create() argument
70 if (makeDevice == nullptr) { in create()
74 auto device = NN_TRY(makeDevice(/*blocking=*/true)); in create()
82 return std::make_shared<ResilientDevice>(PrivateConstructorTag{}, std::move(makeDevice), in create()
88 ResilientDevice::ResilientDevice(PrivateConstructorTag /*tag*/, Factory makeDevice, in ResilientDevice() argument
92 : kMakeDevice(std::move(makeDevice)), in ResilientDevice()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h42 static nn::GeneralResult<std::shared_ptr<const ResilientDevice>> create(Factory makeDevice);
44 explicit ResilientDevice(PrivateConstructorTag tag, Factory makeDevice, std::string name,