Lines Matching refs:ResilientDevice

42 auto protect(const ResilientDevice& resilientDevice, const FnType& fn, bool blocking)  in protect()
68 nn::GeneralResult<std::shared_ptr<const ResilientDevice>> ResilientDevice::create( in create()
82 return std::make_shared<ResilientDevice>(PrivateConstructorTag{}, std::move(makeDevice), in create()
88 ResilientDevice::ResilientDevice(PrivateConstructorTag /*tag*/, Factory makeDevice, in ResilientDevice() function in android::hardware::neuralnetworks::utils::ResilientDevice
102 nn::SharedDevice ResilientDevice::getDevice() const { in getDevice()
107 nn::GeneralResult<nn::SharedDevice> ResilientDevice::recover(const nn::IDevice* failingDevice, in recover()
138 const std::string& ResilientDevice::getName() const { in getName()
142 const std::string& ResilientDevice::getVersionString() const { in getVersionString()
146 nn::Version ResilientDevice::getFeatureLevel() const { in getFeatureLevel()
150 nn::DeviceType ResilientDevice::getType() const { in getType()
154 const std::vector<nn::Extension>& ResilientDevice::getSupportedExtensions() const { in getSupportedExtensions()
158 const nn::Capabilities& ResilientDevice::getCapabilities() const { in getCapabilities()
162 std::pair<uint32_t, uint32_t> ResilientDevice::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded()
166 nn::GeneralResult<void> ResilientDevice::wait() const { in wait()
171 nn::GeneralResult<std::vector<bool>> ResilientDevice::getSupportedOperations( in getSupportedOperations()
179 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModel( in prepareModel()
198 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCache( in prepareModelFromCache()
213 nn::GeneralResult<nn::SharedBuffer> ResilientDevice::allocate( in allocate()
229 bool ResilientDevice::isValidInternal() const { in isValidInternal()
234 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelInternal( in prepareModelInternal()
249 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCacheInternal( in prepareModelFromCacheInternal()
261 nn::GeneralResult<nn::SharedBuffer> ResilientDevice::allocateInternal( in allocateInternal()