Home
last modified time | relevance | path

Searched refs:deathHandler (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp161 sp<IPreparedModelDeathHandler> deathHandler = new IPreparedModelDeathHandler(); in makeVersionedIPreparedModel() local
167 const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0); in makeVersionedIPreparedModel()
187 std::move(preparedModel), std::move(deathHandler))}; in makeVersionedIPreparedModel()
191 sp<IPreparedModelDeathHandler> deathHandler) in VersionedIPreparedModel() argument
195 mDeathHandler(std::move(deathHandler)) {} in VersionedIPreparedModel()
761 sp<IDeviceDeathHandler> deathHandler = new IDeviceDeathHandler(); in create() local
767 const Return<bool> ret = device->linkToDeath(deathHandler, 0); in create()
781 return Core(std::move(device), std::move(deathHandler)); in create()
785 VersionedIDevice::Core::Core(sp<V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler) in Core() argument
790 mDeathHandler(std::move(deathHandler)) {} in Core()
[all …]
DVersionedInterfaces.h429 Core(sp<hal::V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler);
595 sp<IPreparedModelDeathHandler> deathHandler);
/frameworks/ml/nn/common/
DExecutionBurstController.cpp536 const sp<BurstContextDeathHandler> deathHandler = new BurstContextDeathHandler(onDeathCallback); in create() local
542 const Return<bool> deathHandlerRet = burstContext->linkToDeath(deathHandler, 0); in create()
551 burstContext, callback, deathHandler); in create()
558 const sp<hidl_death_recipient>& deathHandler) in ExecutionBurstController() argument
563 mDeathHandler(deathHandler) {} in ExecutionBurstController()
/frameworks/ml/nn/common/include/
DExecutionBurstController.h302 const sp<hardware::hidl_death_recipient>& deathHandler = nullptr);