Home
last modified time | relevance | path

Searched refs:mObject (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DTransferValue.h79 mutable std::optional<Type> mObject GUARDED_BY(mMutex);
105 if (mObject.has_value()) return; in put()
106 mObject.emplace(std::move(object)); in put()
115 mCondition.wait(lock, [this]() REQUIRES(mMutex) { return mObject.has_value(); }); in take()
116 CHECK(mObject.has_value()); in take()
118 std::swap(object, mObject); in take()
DProtectCallback.h95 sp<hidl::base::V1_0::IBase> mObject; variable
/hardware/interfaces/neuralnetworks/utils/common/src/
DProtectCallback.cpp76 : mObject(std::move(object)), mDeathRecipient(std::move(deathRecipient)) { in DeathHandler()
77 CHECK(mObject != nullptr); in DeathHandler()
82 if (mObject != nullptr && mDeathRecipient != nullptr) { in ~DeathHandler()
83 const auto successful = mObject->unlinkToDeath(mDeathRecipient).isOk(); in ~DeathHandler()