Loading radio/aidl/compat/libradiocompat/CallbackManager.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,10 @@ RadioResponse& CallbackManager::response() const { return *mRadioResponse; } RadioIndication& CallbackManager::indication() const { return *mRadioIndication; } void CallbackManager::setResponseFunctionsDelayed() { std::unique_lock<std::mutex> lock(mDelayedSetterGuard); mDelayedSetterDeadline = std::chrono::steady_clock::now() + kDelayedSetterDelay; Loading radio/aidl/compat/libradiocompat/include/libradiocompat/CallbackManager.h +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ class CallbackManager { ~CallbackManager(); RadioResponse& response() const; RadioIndication& indication() const; template <typename ResponseType, typename IndicationType> void setResponseFunctions(const std::shared_ptr<ResponseType>& response, Loading Loading
radio/aidl/compat/libradiocompat/CallbackManager.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,10 @@ RadioResponse& CallbackManager::response() const { return *mRadioResponse; } RadioIndication& CallbackManager::indication() const { return *mRadioIndication; } void CallbackManager::setResponseFunctionsDelayed() { std::unique_lock<std::mutex> lock(mDelayedSetterGuard); mDelayedSetterDeadline = std::chrono::steady_clock::now() + kDelayedSetterDelay; Loading
radio/aidl/compat/libradiocompat/include/libradiocompat/CallbackManager.h +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ class CallbackManager { ~CallbackManager(); RadioResponse& response() const; RadioIndication& indication() const; template <typename ResponseType, typename IndicationType> void setResponseFunctions(const std::shared_ptr<ResponseType>& response, Loading