Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp103 sp<IPreparedModelDeathHandler> deathHandler = new (std::nothrow) IPreparedModelDeathHandler(); in makeVersionedIPreparedModel() local
104 if (!deathHandler) { in makeVersionedIPreparedModel()
113 const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0); in makeVersionedIPreparedModel()
122 std::move(deathHandler)); in makeVersionedIPreparedModel()
126 sp<IPreparedModelDeathHandler> deathHandler) in VersionedIPreparedModel() argument
129 mDeathHandler(std::move(deathHandler)) {} in VersionedIPreparedModel()
250 sp<IDeviceDeathHandler> deathHandler = new (std::nothrow) IDeviceDeathHandler(); in create() local
251 if (!deathHandler) { in create()
260 const Return<bool> ret = device->linkToDeath(deathHandler, 0); in create()
269 return Core(std::move(device), std::move(deathHandler)); in create()
[all …]
DVersionedInterfaces.h475 Core(sp<V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler);
632 sp<IPreparedModelDeathHandler> deathHandler);
/frameworks/ml/nn/common/
DExecutionBurstController.cpp497 const sp<BurstContextDeathHandler> deathHandler = new BurstContextDeathHandler(onDeathCallback); in create() local
503 const Return<bool> deathHandlerRet = burstContext->linkToDeath(deathHandler, 0); in create()
512 burstContext, callback, deathHandler); in create()
519 const sp<hardware::hidl_death_recipient>& deathHandler) in ExecutionBurstController() argument
524 mDeathHandler(deathHandler) {} in ExecutionBurstController()
/frameworks/ml/nn/common/include/
DExecutionBurstController.h275 const sp<hardware::hidl_death_recipient>& deathHandler = nullptr);