Searched refs:mAudioVolumeGroupCallback (Results 1 – 2 of 2) sorted by relevance
1626 for (size_t i = 0; i < mAudioVolumeGroupCallback.size(); i++) { in addAudioVolumeGroupCallback()1627 if (mAudioVolumeGroupCallback[i] == callback) { in addAudioVolumeGroupCallback()1631 mAudioVolumeGroupCallback.add(callback); in addAudioVolumeGroupCallback()1632 return mAudioVolumeGroupCallback.size(); in addAudioVolumeGroupCallback()1640 for (i = 0; i < mAudioVolumeGroupCallback.size(); i++) { in removeAudioVolumeGroupCallback()1641 if (mAudioVolumeGroupCallback[i] == callback) { in removeAudioVolumeGroupCallback()1645 if (i == mAudioVolumeGroupCallback.size()) { in removeAudioVolumeGroupCallback()1648 mAudioVolumeGroupCallback.removeAt(i); in removeAudioVolumeGroupCallback()1649 return mAudioVolumeGroupCallback.size(); in removeAudioVolumeGroupCallback()1656 for (size_t i = 0; i < mAudioVolumeGroupCallback.size(); i++) { in onAudioVolumeGroupChanged()[all …]
533 bool isAudioVolumeGroupCbEnabled() const { return (mAudioVolumeGroupCallback.size() != 0); } in isAudioVolumeGroupCbEnabled()555 Vector <sp <AudioVolumeGroupCallback> > mAudioVolumeGroupCallback; variable