Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp54 for (const auto& it : mNotificationClients) { in dump()
71 if (mNotificationClients.count(pid) == 0) { in registerClient()
73 mNotificationClients[pid] = notificationClient; in registerClient()
90 mNotificationClients.erase(pid); in unregisterClient()
95 auto it = mNotificationClients.find(pid); in getStreamCount()
96 if (it != mNotificationClients.end()) { in getStreamCount()
108 sp<NotificationClient> notificationClient = mNotificationClients[pid]; in registerClientStream()
113 mNotificationClients[pid] = notificationClient; in registerClientStream()
125 auto it = mNotificationClients.find(pid); in unregisterClientStream()
126 if (it != mNotificationClients.end()) { in unregisterClientStream()
DAAudioClientTracker.h97 std::map<pid_t, android::sp<NotificationClient>> mNotificationClients; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp93 mNotificationClients.clear(); in ~AudioPolicyService()
108 if (mNotificationClients.indexOfKey(uid) < 0) { in registerClient()
114 mNotificationClients.add(uid, notificationClient); in registerClient()
126 if (mNotificationClients.indexOfKey(uid) < 0) { in setAudioPortCallbacksEnabled()
129 mNotificationClients.valueFor(uid)->setAudioPortCallbacksEnabled(enabled); in setAudioPortCallbacksEnabled()
137 mNotificationClients.removeItem(uid); in removeNotificationClient()
155 for (size_t i = 0; i < mNotificationClients.size(); i++) { in doOnAudioPortListUpdate()
156 mNotificationClients.valueAt(i)->onAudioPortListUpdate(); in doOnAudioPortListUpdate()
168 for (size_t i = 0; i < mNotificationClients.size(); i++) { in doOnAudioPatchListUpdate()
169 mNotificationClients.valueAt(i)->onAudioPatchListUpdate(); in doOnAudioPatchListUpdate()
[all …]
DAudioPolicyService.h579 DefaultKeyedVector< uid_t, sp<NotificationClient> > mNotificationClients; variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp399 for (size_t i = 0; i < mNotificationClients.size(); ++i) { in dumpClients()
400 snprintf(buffer, SIZE, " pid: %d\n", mNotificationClients.keyAt(i)); in dumpClients()
1387 if (mNotificationClients.indexOfKey(pid) < 0) { in registerClient()
1393 mNotificationClients.add(pid, notificationClient); in registerClient()
1418 mNotificationClients.removeItem(pid); in removeNotificationClient()
1447 size_t size = mNotificationClients.size(); in ioConfigChanged()
1449 if ((pid == 0) || (mNotificationClients.keyAt(i) == pid)) { in ioConfigChanged()
1450 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged()
2506 if (mNotificationClients.indexOfKey(caller) < 0) { in acquireAudioSessionId()
DAudioFlinger.h779 DefaultKeyedVector< pid_t, sp<NotificationClient> > mNotificationClients; variable