Home
last modified time | relevance | path

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

/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp125 std::map<focus_listener_request_key_t, unsigned> mAudioFocusCount; member in aidl::android::hardware::automotive::audiocontrol::AudioControlServerImpl
255 const auto ref_count_search = mAudioFocusCount.find(request_key); in HandleAcquiring()
260 const bool not_found = ref_count_search == mAudioFocusCount.end(); in HandleAcquiring()
268 mAudioFocusCount[request_key] = 1; in HandleAcquiring()
288 const auto ref_count_search = mAudioFocusCount.find(request_key); in HandleReleasing()
289 if (ref_count_search == mAudioFocusCount.end()) { in HandleReleasing()
297 mAudioFocusCount.erase(ref_count_search); in HandleReleasing()