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.h120 std::map<pid_t, android::sp<NotificationClient>> mNotificationClients; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp102 mNotificationClients.clear(); in ~AudioPolicyService()
126 if (mNotificationClients.indexOfKey(token) < 0) { in registerClient()
133 mNotificationClients.add(token, notificationClient); in registerClient()
148 if (mNotificationClients.indexOfKey(token) < 0) { in setAudioPortCallbacksEnabled()
151 mNotificationClients.valueFor(token)->setAudioPortCallbacksEnabled(enabled); in setAudioPortCallbacksEnabled()
162 if (mNotificationClients.indexOfKey(token) < 0) { in setAudioVolumeGroupCallbacksEnabled()
165 mNotificationClients.valueFor(token)->setAudioVolumeGroupCallbacksEnabled(enabled); in setAudioVolumeGroupCallbacksEnabled()
175 mNotificationClients.removeItem(token); in removeNotificationClient()
176 for (size_t i = 0; i < mNotificationClients.size(); i++) { in removeNotificationClient()
177 if (mNotificationClients.valueAt(i)->uid() == uid) { in removeNotificationClient()
[all …]
DAudioPolicyService.h889 DefaultKeyedVector<int64_t, sp<NotificationClient>> mNotificationClients
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp485 for (size_t i = 0; i < mNotificationClients.size(); ++i) { in dumpClients()
486 const pid_t pid = mNotificationClients[i]->getPid(); in dumpClients()
487 const uid_t uid = mNotificationClients[i]->getUid(); in dumpClients()
1778 if (mNotificationClients.indexOfKey(pid) < 0) { in registerClient()
1786 mNotificationClients.add(pid, notificationClient); in registerClient()
1813 mNotificationClients.removeItem(pid); in removeNotificationClient()
1846 size_t size = mNotificationClients.size(); in ioConfigChanged()
1848 if ((pid == 0) || (mNotificationClients.keyAt(i) == pid)) { in ioConfigChanged()
1849 mNotificationClients.valueAt(i)->audioFlingerClient()->ioConfigChanged(event, ioDesc); in ioConfigChanged()
3001 if (mNotificationClients.indexOfKey(caller) < 0) { in acquireAudioSessionId()
DAudioFlinger.h889 DefaultKeyedVector< pid_t, sp<NotificationClient> > mNotificationClients; variable