Home
last modified time | relevance | path

Searched refs:mStreams (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/voip/java/android/net/rtp/
DAudioGroup.java81 private final Map<AudioStream, Integer> mStreams; field in AudioGroup
93 mStreams = new HashMap<AudioStream, Integer>(); in AudioGroup()
117 if (!mStreams.containsKey(stream)) { in add()
125 mStreams.put(stream, socket); in add()
135 Integer socket = mStreams.remove(stream); in remove()
/frameworks/base/media/libstagefright/rtsp/
DARTPConnection.cpp187 mStreams.push_back(StreamInfo()); in onAddStream()
188 StreamInfo *info = &*--mStreams.end(); in onAddStream()
222 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream()
223 while (it != mStreams.end() in onRemoveStream()
228 if (it == mStreams.end()) { in onRemoveStream()
232 mStreams.erase(it); in onRemoveStream()
249 if (mStreams.empty()) { in onPollStreams()
261 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
262 it != mStreams.end(); ++it) { in onPollStreams()
286 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
[all …]
DARTPConnection.h74 List<StreamInfo> mStreams; member
/frameworks/base/media/libstagefright/mpeg2ts/
DATSParser.cpp60 KeyedVector<unsigned, sp<Stream> > mStreams; member
127 ssize_t index = mStreams.indexOfKey(pid); in parsePID()
132 mStreams.editValueAt(index)->parse( in parsePID()
139 for (size_t i = 0; i < mStreams.size(); ++i) { in signalDiscontinuity()
140 mStreams.editValueAt(i)->signalDiscontinuity(isASeek); in signalDiscontinuity()
220 ssize_t index = mStreams.indexOfKey(elementaryPID); in parseProgramMap()
223 mStreams.add(elementaryPID, in parseProgramMap()
227 mStreams.add(elementaryPID, in parseProgramMap()
241 for (size_t i = 0; i < mStreams.size(); ++i) { in getSource()
242 sp<MediaSource> source = mStreams.editValueAt(i)->getSource(type); in getSource()
/frameworks/base/services/audioflinger/
DAudioPolicyManagerBase.cpp412 mStreams[AudioSystem::ENFORCED_AUDIBLE].mCanBeMuted = false; in setSystemProperty()
415 mStreams[AudioSystem::ENFORCED_AUDIBLE].mCanBeMuted = true; in setSystemProperty()
577 checkAndSetVolume(stream, mStreams[stream].mIndexCur, output, outputDesc->device()); in startOutput()
800 mStreams[stream].mIndexMin = indexMin; in initStreamVolume()
801 mStreams[stream].mIndexMax = indexMax; in initStreamVolume()
807 if ((index < mStreams[stream].mIndexMin) || (index > mStreams[stream].mIndexMax)) { in setStreamVolumeIndex()
812 if (!mStreams[stream].mCanBeMuted) index = mStreams[stream].mIndexMax; in setStreamVolumeIndex()
815 mStreams[stream].mIndexCur = index; in setStreamVolumeIndex()
834 *index = mStreams[stream].mIndexCur; in getStreamVolumeIndex()
977 mStreams[i].dump(buffer + 3, SIZE); in dump()
[all …]