/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | ProtectCallback.h | 71 class DeathHandler final { 73 static nn::GeneralResult<DeathHandler> create(sp<hidl::base::V1_0::IBase> object); 75 DeathHandler(const DeathHandler&) = delete; 76 DeathHandler(DeathHandler&&) noexcept = default; 77 DeathHandler& operator=(const DeathHandler&) = delete; 78 DeathHandler& operator=(DeathHandler&&) noexcept = delete; 79 ~DeathHandler(); 93 DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient);
|
D | PreparedModel.h | 48 hal::utils::DeathHandler deathHandler); 79 const hal::utils::DeathHandler kDeathHandler;
|
D | Device.h | 50 sp<V1_0::IDevice> device, hal::utils::DeathHandler deathHandler); 88 const hal::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | ProtectCallback.h | 82 class DeathHandler final { 84 static nn::GeneralResult<DeathHandler> create(std::shared_ptr<ndk::ICInterface> object); 86 DeathHandler(const DeathHandler&) = delete; 87 DeathHandler(DeathHandler&&) noexcept = default; 88 DeathHandler& operator=(const DeathHandler&) = delete; 89 DeathHandler& operator=(DeathHandler&&) noexcept = delete; 90 ~DeathHandler(); 100 DeathHandler(std::shared_ptr<ndk::ICInterface> object,
|
D | Device.h | 53 std::shared_ptr<aidl_hal::IDevice> device, DeathHandler deathHandler); 96 const DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | ProtectCallback.cpp | 60 nn::GeneralResult<DeathHandler> DeathHandler::create(sp<hidl::base::V1_0::IBase> object) { in create() 73 return DeathHandler(std::move(object), std::move(deathRecipient)); in create() 76 DeathHandler::DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient) in DeathHandler() function in android::hardware::neuralnetworks::utils::DeathHandler 82 DeathHandler::~DeathHandler() { in ~DeathHandler() 91 [[nodiscard]] base::ScopeGuard<DeathHandler::Cleanup> DeathHandler::protectCallback( in protectCallback() 99 void DeathHandler::protectCallbackForLifetimeOfDeathHandler(IProtectedCallback* killable) const { in protectCallbackForLifetimeOfDeathHandler()
|
D | PreparedModel.cpp | 50 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(preparedModel)); in create() 56 hal::utils::DeathHandler deathHandler) in PreparedModel()
|
D | Device.cpp | 80 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(device)); in create() 87 sp<V1_0::IDevice> device, hal::utils::DeathHandler deathHandler) in Device()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ProtectCallback.cpp | 93 nn::GeneralResult<DeathHandler> DeathHandler::create(std::shared_ptr<ndk::ICInterface> object) { in create() 119 return DeathHandler(std::move(object), std::move(deathRecipient), std::move(deathMonitor)); in create() 122 DeathHandler::DeathHandler(std::shared_ptr<ndk::ICInterface> object, in DeathHandler() function in aidl::android::hardware::neuralnetworks::utils::DeathHandler 133 DeathHandler::~DeathHandler() { in ~DeathHandler() 145 [[nodiscard]] ::android::base::ScopeGuard<DeathHandler::Cleanup> DeathHandler::protectCallback( in protectCallback()
|
D | Device.cpp | 144 auto deathHandler = NN_TRY(DeathHandler::create(device)); in create() 155 std::shared_ptr<aidl_hal::IDevice> device, DeathHandler deathHandler) in Device()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 49 sp<V1_1::IDevice> device, hal::utils::DeathHandler deathHandler); 87 const hal::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | PreparedModel.h | 48 sp<V1_2::IPreparedModel> preparedModel, hal::utils::DeathHandler deathHandler); 86 const hal::utils::DeathHandler kDeathHandler;
|
D | Device.h | 68 sp<V1_2::IDevice> device, hal::utils::DeathHandler deathHandler); 108 const hal::utils::DeathHandler kDeathHandler;
|
D | Burst.h | 165 neuralnetworks::utils::DeathHandler deathHandler); 201 const neuralnetworks::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 51 sp<V1_3::IDevice> device, hal::utils::DeathHandler deathHandler); 91 const hal::utils::DeathHandler kDeathHandler;
|
D | PreparedModel.h | 47 sp<V1_3::IPreparedModel> preparedModel, hal::utils::DeathHandler deathHandler); 95 const hal::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/utils/ |
D | README.md | 109 died. nnapi/hal/ProtectCallback.h's `DeathHandler` uses `hidl_death_recipient`s to detect when the 110 driver process has died, and `DeathHandler` will unblock any thread waiting on the results of an 112 the `IProtectedCallback` object must have been registered via `DeathHandler::protectCallback()`. 124 object using `AIBinder_linkToDeath`. nnapi/hal/aidl/ProtectCallback.h provides `DeathHandler` 125 object that is a direct analog of HIDL `DeathHandler`, only using libbinder_ndk objects for
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Device.cpp | 80 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(device)); in create() 87 sp<V1_1::IDevice> device, hal::utils::DeathHandler deathHandler) in Device()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | PreparedModel.cpp | 55 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(preparedModel)); in create() 62 hal::utils::DeathHandler deathHandler) in PreparedModel()
|
D | Device.cpp | 165 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(device)); in create() 176 hal::utils::DeathHandler deathHandler) in Device()
|
D | Burst.cpp | 276 auto deathHandler = NN_TRY(neuralnetworks::utils::DeathHandler::create(burstContext)); in create() 292 neuralnetworks::utils::DeathHandler deathHandler) in Burst()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 116 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(device)); in create() 127 hal::utils::DeathHandler deathHandler) in Device()
|
D | PreparedModel.cpp | 94 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(preparedModel)); in create() 101 hal::utils::DeathHandler deathHandler) in PreparedModel()
|