Merge "libradiocompat: Expose AIDL indications" into main

This commit is contained in:
Treehugger Robot 2023-12-28 18:34:34 +00:00 committed by Android (Google) Code Review
commit 9941019166
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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,