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.cpp189 CHECK(mPlaylist != NULL); in getSegmentStartTimeUs()
192 mPlaylist->getSeqNumberRange( in getSegmentStartTimeUs()
202 CHECK(mPlaylist->itemAt( in getSegmentStartTimeUs()
215 CHECK(mPlaylist != NULL); in getSegmentDurationUs()
218 mPlaylist->getSeqNumberRange( in getSegmentDurationUs()
226 CHECK(mPlaylist->itemAt( in getSegmentDurationUs()
238 if (mPlaylist == NULL || mLastPlaylistFetchTimeUs < 0ll) { in delayUsToRefreshPlaylist()
243 if (mPlaylist->isComplete()) { in delayUsToRefreshPlaylist()
247 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist()
254 size_t n = mPlaylist->size(); in delayUsToRefreshPlaylist()
[all …]
DLiveSession.cpp444 "trackIndex", mPlaylist->getSelectedIndex()); in dequeueAccessUnit()
1033 CHECK(msg->findObject("playlist", (sp<RefBase> *)&mPlaylist)); in onMasterPlaylistFetched()
1034 if (mPlaylist == NULL) { in onMasterPlaylistFetched()
1052 if (mPlaylist->isVariantPlaylist()) { in onMasterPlaylistFetched()
1054 for (size_t i = 0; i < mPlaylist->size(); ++i) { in onMasterPlaylistFetched()
1062 mPlaylist->itemAt(i, &uri, &meta); in onMasterPlaylistFetched()
1075 if (mPlaylist->hasType(i, "video")) { in onMasterPlaylistFetched()
1110 mPlaylist->pickRandomMediaItems(); in onMasterPlaylistFetched()
1488 if (mPlaylist == NULL) { in getTrackCount()
1491 return mPlaylist->getTrackCount() + (mHasMetadata ? 1 : 0); in getTrackCount()
[all …]
DPlaylistFetcher.h145 sp<M3UParser> mPlaylist; member
DLiveSession.h208 sp<M3UParser> mPlaylist; member