/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | ProtectCallback.h | 52 class DeathHandler final { 54 static nn::GeneralResult<DeathHandler> create(std::shared_ptr<ndk::ICInterface> object); 56 DeathHandler(const DeathHandler&) = delete; 57 DeathHandler(DeathHandler&&) noexcept = default; 58 DeathHandler& operator=(const DeathHandler&) = delete; 59 DeathHandler& operator=(DeathHandler&&) noexcept = delete; 60 ~DeathHandler(); 70 DeathHandler(std::shared_ptr<ndk::ICInterface> object,
|
D | Device.h | 51 std::shared_ptr<aidl_hal::IDevice> device, DeathHandler deathHandler); 92 const DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
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);
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ProtectCallback.cpp | 59 nn::GeneralResult<DeathHandler> DeathHandler::create(sp<hidl::base::V1_0::IBase> object) { in create() 72 return DeathHandler(std::move(object), std::move(deathRecipient)); in create() 75 DeathHandler::DeathHandler(sp<hidl::base::V1_0::IBase> object, sp<DeathRecipient> deathRecipient) in DeathHandler() function in android::hardware::neuralnetworks::utils::DeathHandler 81 DeathHandler::~DeathHandler() { in ~DeathHandler() 90 [[nodiscard]] base::ScopeGuard<DeathHandler::Cleanup> DeathHandler::protectCallback( in protectCallback() 98 void DeathHandler::protectCallbackForLifetimeOfDeathHandler(IProtectedCallback* killable) const { in protectCallbackForLifetimeOfDeathHandler()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ProtectCallback.cpp | 61 nn::GeneralResult<DeathHandler> DeathHandler::create(std::shared_ptr<ndk::ICInterface> object) { in create() 79 return DeathHandler(std::move(object), std::move(deathRecipient), std::move(deathMonitor)); in create() 82 DeathHandler::DeathHandler(std::shared_ptr<ndk::ICInterface> object, in DeathHandler() function in aidl::android::hardware::neuralnetworks::utils::DeathHandler 93 DeathHandler::~DeathHandler() { in ~DeathHandler() 104 [[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.0/utils/include/nnapi/hal/1.0/ |
D | PreparedModel.h | 47 hal::utils::DeathHandler deathHandler); 73 const hal::utils::DeathHandler kDeathHandler;
|
D | Device.h | 49 sp<V1_0::IDevice> device, hal::utils::DeathHandler deathHandler); 86 const hal::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 49 sp<V1_1::IDevice> device, hal::utils::DeathHandler deathHandler); 86 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); 81 const hal::utils::DeathHandler kDeathHandler;
|
D | Device.h | 68 sp<V1_2::IDevice> device, hal::utils::DeathHandler deathHandler); 107 const hal::utils::DeathHandler kDeathHandler;
|
D | ExecutionBurstController.h | 167 neuralnetworks::utils::DeathHandler deathHandler); 200 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); 90 const hal::utils::DeathHandler kDeathHandler;
|
D | PreparedModel.h | 47 sp<V1_3::IPreparedModel> preparedModel, hal::utils::DeathHandler deathHandler); 90 const hal::utils::DeathHandler kDeathHandler;
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
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/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()
|
/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 | 95 auto deathHandler = NN_TRY(hal::utils::DeathHandler::create(preparedModel)); in create() 102 hal::utils::DeathHandler deathHandler) in PreparedModel()
|