Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp73 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter()
74 mStreams[kVideoIndex] = WebmStream(kVideoType, "Video", &WebmWriter::videoTrack); in WebmWriter()
78 mStreams[kVideoIndex].mSink, in WebmWriter()
79 mStreams[kAudioIndex].mSink, in WebmWriter()
162 if (mStreams[i].mTrackEntry != NULL) { in numTracks()
229 if (mStreams[idx].mThread != NULL) { in initStream()
232 if (mStreams[idx].mSource == NULL) { in initStream()
234 mStreams[idx].mThread = new WebmFrameEmptySourceThread( in initStream()
235 mStreams[idx].mType, mStreams[idx].mSink); in initStream()
237 ALOGV("adding source %p", mStreams[idx].mSource.get()); in initStream()
[all …]
DWebmWriter.h112 WebmStream mStreams[kMaxStreams]; variable
/frameworks/support/compat/src/main/java/androidx/core/app/
DShareCompat.java202 private ArrayList<Uri> mStreams; field in ShareCompat.IntentBuilder
246 boolean needsSendMultiple = mStreams != null && mStreams.size() > 1; in getIntent()
253 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
254 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
258 mStreams = null; in getIntent()
265 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
266 mIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, mStreams); in getIntent()
405 mStreams = null; in setStream()
423 if (mStreams == null && currentStream == null) { in addStream()
426 if (mStreams == null) { in addStream()
[all …]
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java95 private final Map<AudioStream, Long> mStreams; field in AudioGroup
107 mStreams = new HashMap<AudioStream, Long>(); in AudioGroup()
115 return mStreams.keySet().toArray(new AudioStream[mStreams.size()]); in getStreams()
148 if (!mStreams.containsKey(stream)) { in add()
157 mStreams.put(stream, id); in add()
169 Long id = mStreams.remove(stream); in remove()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp183 mStreams.push_back(StreamInfo()); in onAddStream()
184 StreamInfo *info = &*--mStreams.end(); in onAddStream()
218 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream()
219 while (it != mStreams.end() in onRemoveStream()
224 if (it == mStreams.end()) { in onRemoveStream()
228 mStreams.erase(it); in onRemoveStream()
245 if (mStreams.empty()) { in onPollStreams()
257 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
258 it != mStreams.end(); ++it) { in onPollStreams()
281 List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
[all …]
DARTPConnection.h70 List<StreamInfo> mStreams; member
/frameworks/av/services/audioflinger/
DBufLog.cpp60 memset(mStreams, 0, sizeof(mStreams)); in BufLog()
67 BufLogStream *pBLStream = mStreams[id]; in ~BufLog()
70 mStreams[id] = NULL; in ~BufLog()
80 BufLogStream *pBLStream = mStreams[id]; in write()
83 pBLStream = mStreams[id] = new BufLogStream(id, tag, format, channels, in write()
97 BufLogStream *pBLStream = mStreams[id]; in reset()
100 mStreams[id] = NULL; in reset()
DBufLog.h185 BufLogStream *mStreams[BUFLOG_MAXSTREAMS]; variable
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp308 mStreams[kAudioIndex] = StreamItem("audio"); in LiveSession()
309 mStreams[kVideoIndex] = StreamItem("video"); in LiveSession()
310 mStreams[kSubtitleIndex] = StreamItem("subtitles"); in LiveSession()
389 StreamItem& strm = mStreams[streamIdx]; in dequeueAccessUnit()
548 || (mStreams[i].mNewUri != newUri)) { in checkSwitchProgress()
614 || (newUri != mStreams[i].mNewUri) in checkSwitchProgress()
699 if (mStreams[i].mUri == uri) { in onMessageReceived()
700 mStreams[i].mSeekMode = (SeekMode) seekMode; in onMessageReceived()
837 && uri == mStreams[i].mNewUri) { in onMessageReceived()
857 && uri == mStreams[i].mNewUri) { in onMessageReceived()
[all …]
DLiveSession.h186 StreamItem mStreams[kMaxStreams]; member
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp146 return mStreams.size(); in getStreamCount()
152 mStreams.insert(serviceStream); in registerClientStream()
159 mStreams.erase(serviceStream); in unregisterClientStream()
173 for (const auto& serviceStream : mStreams) { in binderDied()
200 result << " client: pid = " << mProcessId << " has " << mStreams.size() << " streams\n"; in dump()
201 for (const auto& serviceStream : mStreams) { in dump()
DAAudioClientTracker.h93 std::set<android::sp<AAudioServiceStreamBase>> mStreams; variable
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp129 KeyedVector<unsigned, sp<Stream> > mStreams; member
329 ssize_t index = mStreams.indexOfKey(pid); in parsePID()
334 *err = mStreams.editValueAt(index)->parse( in parsePID()
354 for (size_t i = 0; i < mStreams.size(); ++i) { in signalDiscontinuity()
355 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); in signalDiscontinuity()
360 for (size_t i = 0; i < mStreams.size(); ++i) { in signalEOS()
361 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
368 if (mStreams.size() == infos.size()) { in switchPIDs()
372 for (i = 0; i < mStreams.size(); ++i) { in switchPIDs()
373 ssize_t index = oldType2PIDs.indexOfKey(mStreams[i]->type()); in switchPIDs()
[all …]