Home
last modified time | relevance | path

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

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSessionManager.java47 private List<PlaylistItem> mPlaylist = new ArrayList<PlaylistItem>(); field in SessionManager
66 return mPlaylist.isEmpty() ? null : mPlaylist.get(0); in getCurrentItem()
71 return mPlaylist; in getPlaylist()
84 if (mPlaylist.isEmpty()) { in updateStatus()
91 for (int i = 0; i < mPlaylist.size(); i++) { in updateStatus()
92 PlaylistItem item = mPlaylist.get(i); in updateStatus()
93 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */); in updateStatus()
117 mPlaylist.add(item); in add()
165 for (PlaylistItem item : mPlaylist) { in getStatus()
209 mPlaylist.clear(); in stop()
[all …]
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp185 CHECK(mPlaylist != NULL); in getSegmentStartTimeUs()
188 mPlaylist->getSeqNumberRange( in getSegmentStartTimeUs()
198 CHECK(mPlaylist->itemAt( in getSegmentStartTimeUs()
211 CHECK(mPlaylist != NULL); in getSegmentDurationUs()
214 mPlaylist->getSeqNumberRange( in getSegmentDurationUs()
222 CHECK(mPlaylist->itemAt( in getSegmentDurationUs()
234 if (mPlaylist == NULL || mLastPlaylistFetchTimeUs < 0ll) { in delayUsToRefreshPlaylist()
239 if (mPlaylist->isComplete()) { in delayUsToRefreshPlaylist()
243 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist()
250 size_t n = mPlaylist->size(); in delayUsToRefreshPlaylist()
[all …]
DLiveSession.cpp449 "trackIndex", mPlaylist->getSelectedIndex()); in dequeueAccessUnit()
1021 CHECK(msg->findObject("playlist", (sp<RefBase> *)&mPlaylist)); in onMasterPlaylistFetched()
1022 if (mPlaylist == NULL) { in onMasterPlaylistFetched()
1040 if (mPlaylist->isVariantPlaylist()) { in onMasterPlaylistFetched()
1042 for (size_t i = 0; i < mPlaylist->size(); ++i) { in onMasterPlaylistFetched()
1050 mPlaylist->itemAt(i, &uri, &meta); in onMasterPlaylistFetched()
1063 if (mPlaylist->hasType(i, "video")) { in onMasterPlaylistFetched()
1098 mPlaylist->pickRandomMediaItems(); in onMasterPlaylistFetched()
1473 if (mPlaylist == NULL) { in getTrackCount()
1476 return mPlaylist->getTrackCount() + (mHasMetadata ? 1 : 0); in getTrackCount()
[all …]
DPlaylistFetcher.h144 sp<M3UParser> mPlaylist; member
DLiveSession.h206 sp<M3UParser> mPlaylist; member