Searched refs:focusListener (Results 1 – 3 of 3) sorted by relevance
178 std::shared_ptr<IFocusListener> focusListener = std::atomic_load(&mFocusListener); in dumpsys() local179 if (focusListener == nullptr) { in dumpsys()234 std::shared_ptr<IFocusListener> focusListener = std::atomic_load(&mFocusListener); in cmdRequestFocus() local235 if (focusListener == nullptr) { in cmdRequestFocus()240 focusListener->requestAudioFocus(usage, zoneId, focusGain); in cmdRequestFocus()270 std::shared_ptr<IFocusListener> focusListener = std::atomic_load(&mFocusListener); in cmdAbandonFocus() local271 if (focusListener == nullptr) { in cmdAbandonFocus()276 focusListener->abandonAudioFocus(usage, zoneId); in cmdAbandonFocus()
56 …close_handle_func_t RegisterFocusListener(std::shared_ptr<IFocusListener> focusListener) override { in RegisterFocusListener() argument58 mFocusListener = focusListener; in RegisterFocusListener()60 return [this, focusListener]() { in RegisterFocusListener()62 if (mFocusListener == focusListener) { in RegisterFocusListener()
34 std::shared_ptr<IFocusListener> focusListener) = 0;