Searched refs:makeDevice (Results 1 – 6 of 6) sorted by relevance
29 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local38 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
36 hal::utils::ResilientDevice::Factory makeDevice = in getDevice() local61 return hal::utils::ResilientDevice::create(std::move(makeDevice)); in getDevice()
69 Factory makeDevice) { in create() argument70 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() argument92 : kMakeDevice(std::move(makeDevice)), in ResilientDevice()
42 static nn::GeneralResult<std::shared_ptr<const ResilientDevice>> create(Factory makeDevice);44 explicit ResilientDevice(PrivateConstructorTag tag, Factory makeDevice, std::string name,