Lines Matching refs:deathHandler
161 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()
833 const sp<IDeviceDeathHandler>& deathHandler) { in callProtected() argument
834 const auto scoped = deathHandler->protectCallback(callback); in callProtected()
879 sp<IDeviceDeathHandler> deathHandler; in recoverable() local
880 std::tie(device, deathHandler) = getDeviceAndDeathHandler<T_IDevice>(); in recoverable()
882 Return<T_Return> ret = callProtected(context, fn, device, callback, deathHandler); in recoverable()
914 std::tie(device, deathHandler) = mCore.getDeviceAndDeathHandler<T_IDevice>(); in recoverable()
916 ret = callProtected(context, fn, device, callback, deathHandler); in recoverable()