Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1682 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in addAudioPortCallback()
1683 if (mAudioPortCallbacks[i] == callback) { in addAudioPortCallback()
1687 mAudioPortCallbacks.add(callback); in addAudioPortCallback()
1688 return mAudioPortCallbacks.size(); in addAudioPortCallback()
1696 for (i = 0; i < mAudioPortCallbacks.size(); i++) { in removeAudioPortCallback()
1697 if (mAudioPortCallbacks[i] == callback) { in removeAudioPortCallback()
1701 if (i == mAudioPortCallbacks.size()) { in removeAudioPortCallback()
1704 mAudioPortCallbacks.removeAt(i); in removeAudioPortCallback()
1705 return mAudioPortCallbacks.size(); in removeAudioPortCallback()
1712 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in onAudioPortListUpdate()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h574 bool isAudioPortCbEnabled() const { return (mAudioPortCallbacks.size() != 0); } in isAudioPortCbEnabled()
599 Vector <sp <AudioPortCallback> > mAudioPortCallbacks; variable