Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp144 mNotificationClients.clear(); in ~AudioPolicyService()
159 if (mNotificationClients.indexOfKey(uid) < 0) { in registerClient()
165 mNotificationClients.add(uid, notificationClient); in registerClient()
177 if (mNotificationClients.indexOfKey(uid) < 0) { in setAudioPortCallbacksEnabled()
180 mNotificationClients.valueFor(uid)->setAudioPortCallbacksEnabled(enabled); in setAudioPortCallbacksEnabled()
188 mNotificationClients.removeItem(uid); in removeNotificationClient()
208 for (size_t i = 0; i < mNotificationClients.size(); i++) { in doOnAudioPortListUpdate()
209 mNotificationClients.valueAt(i)->onAudioPortListUpdate(); in doOnAudioPortListUpdate()
221 for (size_t i = 0; i < mNotificationClients.size(); i++) { in doOnAudioPatchListUpdate()
222 mNotificationClients.valueAt(i)->onAudioPatchListUpdate(); in doOnAudioPatchListUpdate()
[all …]
DAudioPolicyService.h582 DefaultKeyedVector< uid_t, sp<NotificationClient> > mNotificationClients; variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp334 for (size_t i = 0; i < mNotificationClients.size(); ++i) { in dumpClients()
335 snprintf(buffer, SIZE, " pid: %d\n", mNotificationClients.keyAt(i)); in dumpClients()
1316 if (mNotificationClients.indexOfKey(pid) < 0) { in registerClient()
1322 mNotificationClients.add(pid, notificationClient); in registerClient()
1347 mNotificationClients.removeItem(pid); in removeNotificationClient()
1376 size_t size = mNotificationClients.size(); in ioConfigChanged()
1378 if ((pid == 0) || (mNotificationClients.keyAt(i) == pid)) { in ioConfigChanged()
1379 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged()
2344 if (mNotificationClients.indexOfKey(caller) < 0) { in acquireAudioSessionId()
DAudioFlinger.h683 DefaultKeyedVector< pid_t, sp<NotificationClient> > mNotificationClients; variable