Home
last modified time | relevance | path

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

/device/generic/car/emulator/audio/halservice/
DAudioControl.cpp178 std::shared_ptr<IFocusListener> focusListener = std::atomic_load(&mFocusListener); in dumpsys() local
179 if (focusListener == nullptr) { in dumpsys()
234 std::shared_ptr<IFocusListener> focusListener = std::atomic_load(&mFocusListener); in cmdRequestFocus() local
235 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() local
271 if (focusListener == nullptr) { in cmdAbandonFocus()
276 focusListener->abandonAudioFocus(usage, zoneId); in cmdAbandonFocus()
/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp56 …close_handle_func_t RegisterFocusListener(std::shared_ptr<IFocusListener> focusListener) override { in RegisterFocusListener() argument
58 mFocusListener = focusListener; in RegisterFocusListener()
60 return [this, focusListener]() { in RegisterFocusListener()
62 if (mFocusListener == focusListener) { in RegisterFocusListener()
DAudioControlServer.h34 std::shared_ptr<IFocusListener> focusListener) = 0;