Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1528 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in addAudioPortCallback()
1529 if (mAudioPortCallbacks[i] == callback) { in addAudioPortCallback()
1533 mAudioPortCallbacks.add(callback); in addAudioPortCallback()
1534 return mAudioPortCallbacks.size(); in addAudioPortCallback()
1542 for (i = 0; i < mAudioPortCallbacks.size(); i++) { in removeAudioPortCallback()
1543 if (mAudioPortCallbacks[i] == callback) { in removeAudioPortCallback()
1547 if (i == mAudioPortCallbacks.size()) { in removeAudioPortCallback()
1550 mAudioPortCallbacks.removeAt(i); in removeAudioPortCallback()
1551 return mAudioPortCallbacks.size(); in removeAudioPortCallback()
1558 for (size_t i = 0; i < mAudioPortCallbacks.size(); i++) { in onAudioPortListUpdate()
[all …]
/frameworks/av/include/media/
DAudioSystem.h510 bool isAudioPortCbEnabled() const { return (mAudioPortCallbacks.size() != 0); } in isAudioPortCbEnabled()
535 Vector <sp <AudioPortCallback> > mAudioPortCallbacks; variable