Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp55 for (const auto& it : mNotificationClients) { in dump()
77 if (mNotificationClients.count(pid) == 0) { in registerClient()
80 mNotificationClients[pid] = notificationClient; in registerClient()
94 mNotificationClients.erase(pid); in unregisterClient()
99 auto it = mNotificationClients.find(pid); in getStreamCount()
100 if (it != mNotificationClients.end()) { in getStreamCount()
120 auto it = mNotificationClients.find(pid); in unregisterClientStream()
121 if (it != mNotificationClients.end()) { in unregisterClientStream()
143 sp<NotificationClient> notificationClient = mNotificationClients[pid]; in getNotificationClient_l()
148 mNotificationClients[pid] = notificationClient; in getNotificationClient_l()
DAAudioClientTracker.h122 std::map<pid_t, android::sp<NotificationClient>> mNotificationClients
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp165 mNotificationClients.clear(); in ~AudioPolicyService()
189 if (mNotificationClients.indexOfKey(token) < 0) { in registerClient()
196 mNotificationClients.add(token, notificationClient); in registerClient()
212 if (mNotificationClients.indexOfKey(token) < 0) { in setAudioPortCallbacksEnabled()
215 mNotificationClients.valueFor(token)->setAudioPortCallbacksEnabled(enabled); in setAudioPortCallbacksEnabled()
227 if (mNotificationClients.indexOfKey(token) < 0) { in setAudioVolumeGroupCallbacksEnabled()
230 mNotificationClients.valueFor(token)->setAudioVolumeGroupCallbacksEnabled(enabled); in setAudioVolumeGroupCallbacksEnabled()
241 mNotificationClients.removeItem(token); in removeNotificationClient()
242 for (size_t i = 0; i < mNotificationClients.size(); i++) { in removeNotificationClient()
243 if (mNotificationClients.valueAt(i)->uid() == uid) { in removeNotificationClient()
[all …]
DAudioPolicyService.h967 DefaultKeyedVector<int64_t, sp<NotificationClient>> mNotificationClients
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp578 for (size_t i = 0; i < mNotificationClients.size(); ++i) { in dumpClients()
579 const pid_t pid = mNotificationClients[i]->getPid(); in dumpClients()
580 const uid_t uid = mNotificationClients[i]->getUid(); in dumpClients()
1813 if (mNotificationClients.indexOfKey(pid) < 0) { in registerClient()
1821 mNotificationClients.add(pid, notificationClient); in registerClient()
1848 mNotificationClients.removeItem(pid); in removeNotificationClient()
1885 size_t size = mNotificationClients.size(); in ioConfigChanged()
1887 if ((pid == 0) || (mNotificationClients.keyAt(i) == pid)) { in ioConfigChanged()
1888 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(eventAidl, in ioConfigChanged()
3079 if (mNotificationClients.indexOfKey(caller) < 0) { in acquireAudioSessionId()
DAudioFlinger.h920 DefaultKeyedVector< pid_t, sp<NotificationClient> > mNotificationClients; variable