Home
last modified time | relevance | path

Searched refs:srcId (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Driver.h35 virtual status_t playNextDataSource(int64_t srcId) override;
71 void notifySetDataSourceCompleted(int64_t srcId, status_t err);
72 void notifyPrepareCompleted(int64_t srcId, status_t err);
73 void notifyResetComplete(int64_t srcId);
74 void notifySetSurfaceComplete(int64_t srcId);
75 void notifyDuration(int64_t srcId, int64_t durationUs);
76 void notifyMorePlayingTimeUs(int64_t srcId, int64_t timeUs);
77 void notifyMoreRebufferingTimeUs(int64_t srcId, int64_t timeUs);
78 void notifyRebufferingWhenExit(int64_t srcId, bool status);
79 void notifySeekComplete(int64_t srcId);
[all …]
DNuPlayer2Driver.cpp204 status_t NuPlayer2Driver::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
208 mSrcId = srcId; in playNextDataSource()
209 mPlayer->playNextDataSource(srcId); in playNextDataSource()
779 void NuPlayer2Driver::notifySeekComplete(int64_t srcId) { in notifySeekComplete() argument
783 notifySeekComplete_l(srcId); in notifySeekComplete()
786 void NuPlayer2Driver::notifySeekComplete_l(int64_t srcId) { in notifySeekComplete_l() argument
796 notifyListener_l(srcId, wasSeeking ? MEDIA2_SEEK_COMPLETE : MEDIA2_PREPARED); in notifySeekComplete_l()
879 int64_t srcId; in onMessageReceived() local
883 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
892 sendEvent(srcId, msgId, ext1, ext2, (in == NULL ? NULL : in->getParcel())); in onMessageReceived()
[all …]
DNuPlayer2.cpp426 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
430 msg->setInt64("srcId", srcId); in playNextDataSource()
689 int64_t srcId; in onMessageReceived() local
690 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
691 if (srcId != mNextSrcId) { in onMessageReceived()
692 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, 0); in onMessageReceived()
2059 int64_t srcId, in updateVideoSize() argument
2064 notifyListener(srcId, MEDIA2_SET_VIDEO_SIZE, 0, 0); in updateVideoSize()
2143 srcId, in updateVideoSize()
2149 void NuPlayer2::notifyListener(int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) { in notifyListener() argument
[all …]
DNuPlayer2.h47 void playNextDataSource(int64_t srcId);
291 int64_t srcId,
295 void notifyListener(int64_t srcId, int msg, int ext1, int ext2, const Parcel *in = NULL);
309 void notifyDriverSeekComplete(int64_t srcId);
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h45 virtual void notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) = 0;
58 status_t getSrcId(int64_t *srcId);
61 status_t playNextDataSource(int64_t srcId);
92 void notify(int64_t srcId, int msg, int ext1, int ext2,
DMediaPlayer2Interface.h59 virtual void notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) = 0;
159 virtual status_t playNextDataSource(int64_t srcId) = 0;
240 void sendEvent(int64_t srcId, int msg, int ext1=0, int ext2=0, const Parcel *obj=NULL) {
248 listener->notify(srcId, msg, ext1, ext2, obj);
/frameworks/base/media/java/android/media/
DMediaPlayer2Impl.java809 private void handleDataSource(boolean isCurrent, @NonNull DataSourceDesc dsd, long srcId) in handleDataSource() argument
816 srcId, in handleDataSource()
822 srcId, in handleDataSource()
830 srcId, in handleDataSource()
862 boolean isCurrent, long srcId, in handleDataSource() argument
872 handleDataSource(isCurrent, srcId, uri.getPath(), null, null); in handleDataSource()
883 if (attemptDataSource(isCurrent, srcId, resolver, cacheUri)) { in handleDataSource()
886 if (attemptDataSource(isCurrent, srcId, resolver, actualUri)) { in handleDataSource()
889 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies); in handleDataSource()
892 if (attemptDataSource(isCurrent, srcId, resolver, uri)) { in handleDataSource()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp479 uint32_t srcId = u32at(&data[8]); in parseRTP() local
481 sp<ARTPSource> source = findSource(s, srcId); in parseRTP()
486 meta->setInt32("ssrc", srcId); in parseRTP()
624 sp<ARTPSource> ARTPConnection::findSource(StreamInfo *info, uint32_t srcId) { in findSource() argument
626 ssize_t index = info->mSources.indexOfKey(srcId); in findSource()
631 srcId, info->mSessionDesc, info->mIndex, info->mNotifyMsg); in findSource()
633 info->mSources.add(srcId, source); in findSource()
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp226 virtual void notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) override { in notify() argument
229 player->notify(srcId, msg, ext1, ext2, obj); in notify()
482 status_t MediaPlayer2::getSrcId(int64_t *srcId) { in getSrcId() argument
483 if (srcId == NULL) { in getSrcId()
488 *srcId = mSrcId; in getSrcId()
556 status_t MediaPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
557 ALOGV("playNextDataSource srcId(%lld)", (long long)srcId); in playNextDataSource()
564 mSrcId = srcId; in playNextDataSource()
565 return mPlayer->playNextDataSource(srcId); in playNextDataSource()
1294 void MediaPlayer2::notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) { in notify() argument
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer2.cpp158 virtual void notify(int64_t srcId, int msg, int ext1, int ext2,
192 void JNIMediaPlayer2Listener::notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) in notify() argument
201 srcId, msg, ext1, ext2, jParcel); in notify()
206 srcId, msg, ext1, ext2, NULL); in notify()
249 int64_t srcId = 0; in process_media_player_call() local
250 mp->getSrcId(&srcId); in process_media_player_call()
251 mp->notify(srcId, MEDIA2_ERROR, opStatus, 0); in process_media_player_call()
277 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceUrl() argument
295 ALOGV("handleDataSourceUrl: path %s, srcId %lld", tmp, (long long)srcId); in android_media_MediaPlayer2_handleDataSourceUrl()
305 dsd->mId = srcId; in android_media_MediaPlayer2_handleDataSourceUrl()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViews.java2653 public void setImageViewResource(int viewId, int srcId) {
2654 setInt(viewId, "setImageResource", srcId);