Lines Matching refs:mTracks
451 for (size_t i = 0; i < mTracks.size(); ++i) {
452 CHECK_EQ((status_t)OK, mTracks.editValueAt(i)->start());
473 for (size_t i = 0; i < mTracks.size(); ++i) {
474 mTracks.valueAt(i)->stopAsync();
500 const sp<Track> &track = mTracks.valueFor(trackIndex);
515 ssize_t index = mTracks.indexOfKey(trackIndex);
519 mTracks.valueAt(index)->converter();
522 mTracks.removeItemsAt(index);
524 if (mTracks.isEmpty()) {
562 mTracks.valueFor(mVideoTrackIndex);
588 sp<Track> track = mTracks.valueFor(trackIndex);
590 mTracks.removeItem(trackIndex);
593 if (!mTracks.isEmpty()) {
620 for (size_t i = 0; i < mTracks.size(); ++i) {
621 mTracks.editValueAt(i)->pause();
638 for (size_t i = 0; i < mTracks.size(); ++i) {
639 mTracks.editValueAt(i)->resume();
678 const sp<Track> &videoTrack = mTracks.valueFor(mVideoTrackIndex);
789 size_t trackIndex = mTracks.size();
797 mTracks.add(trackIndex, track);
943 trackIndex = mTracks.size();
1003 mTracks.add(trackIndex, track);
1095 for (size_t i = 0; i < mTracks.size(); ++i) {
1096 const sp<Track> &track = mTracks.valueAt(i);