Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1578 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in addAudioPortCallback()
1579 if (mAudioPortCallbacks[i] == callback) { in addAudioPortCallback()
1583 mAudioPortCallbacks.add(callback); in addAudioPortCallback()
1584 return mAudioPortCallbacks.size(); in addAudioPortCallback()
1592 for (i = 0; i < mAudioPortCallbacks.size(); i++) { in removeAudioPortCallback()
1593 if (mAudioPortCallbacks[i] == callback) { in removeAudioPortCallback()
1597 if (i == mAudioPortCallbacks.size()) { in removeAudioPortCallback()
1600 mAudioPortCallbacks.removeAt(i); in removeAudioPortCallback()
1601 return mAudioPortCallbacks.size(); in removeAudioPortCallback()
1608 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in onAudioPortListUpdate()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h529 bool isAudioPortCbEnabled() const { return (mAudioPortCallbacks.size() != 0); } in isAudioPortCbEnabled()
554 Vector <sp <AudioPortCallback> > mAudioPortCallbacks; variable