Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Driver.h36 virtual status_t playNextDataSource(int64_t srcId) override;
70 void notifySetDataSourceCompleted(int64_t srcId, status_t err);
71 void notifyPrepareCompleted(int64_t srcId, status_t err);
72 void notifyResetComplete(int64_t srcId);
73 void notifySetSurfaceComplete(int64_t srcId);
74 void notifyDuration(int64_t srcId, int64_t durationUs);
75 void notifyMorePlayingTimeUs(int64_t srcId, int64_t timeUs);
76 void notifyMoreRebufferingTimeUs(int64_t srcId, int64_t timeUs);
77 void notifyRebufferingWhenExit(int64_t srcId, bool status);
78 void notifySeekComplete(int64_t srcId);
[all …]
DNuPlayer2Driver.cpp212 status_t NuPlayer2Driver::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
216 mSrcId = srcId; in playNextDataSource()
217 mPlayer->playNextDataSource(srcId); in playNextDataSource()
612 int64_t srcId = (it++)->int64_value(); in invoke() local
613 return mPlayer->getTrackInfo(srcId, response); in invoke()
618 int64_t srcId = (it++)->int64_value(); in invoke() local
623 return mPlayer->selectTrack(srcId, trackIndex, true /* select */, msec * 1000LL); in invoke()
628 int64_t srcId = (it++)->int64_value(); in invoke() local
631 srcId, trackIndex, false /* select */, 0xdeadbeef /* not used */); in invoke()
636 int64_t srcId = (it++)->int64_value(); in invoke() local
[all …]
DNuPlayer2.h53 void playNextDataSource(int64_t srcId);
87 status_t getTrackInfo(int64_t srcId, PlayerMessage* reply) const;
88 status_t getSelectedTrack(int64_t srcId, int32_t type, PlayerMessage* reply) const;
89 status_t selectTrack(int64_t srcId, size_t trackIndex, bool select, int64_t timeUs);
97 status_t prepareDrm(int64_t srcId, const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId);
98 status_t releaseDrm(int64_t srcId);
309 int64_t srcId,
313 void notifyListener(int64_t srcId, int msg, int ext1, int ext2, const PlayerMessage *in = NULL);
329 void notifyDriverSeekComplete(int64_t srcId);
DNuPlayer2.cpp431 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
435 msg->setInt64("srcId", srcId); in playNextDataSource()
702 int64_t srcId; in onMessageReceived() local
703 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
704 if (srcId != mNextSourceInfo.mSrcId) { in onMessageReceived()
705 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, 0); in onMessageReceived()
796 int64_t srcId; in onMessageReceived() local
797 CHECK(msg->findInt64("srcId", (int64_t*)&srcId)); in onMessageReceived()
833 int64_t srcId; in onMessageReceived() local
834 CHECK(msg->findInt64("srcId", (int64_t*)&srcId)); in onMessageReceived()
[all …]
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h48 virtual void notify(int64_t srcId, int msg, int ext1, int ext2,
62 status_t getSrcId(int64_t *srcId);
65 status_t playNextDataSource(int64_t srcId);
88 status_t getDuration(int64_t srcId, int64_t *msec);
95 void notify(int64_t srcId, int msg, int ext1, int ext2,
108 status_t prepareDrm(int64_t srcId,
111 status_t releaseDrm(int64_t srcId);
DMediaPlayer2Interface.h63 virtual void notify(int64_t srcId, int msg, int ext1, int ext2,
163 virtual status_t playNextDataSource(int64_t srcId) = 0;
233 void sendEvent(int64_t srcId, int msg, int ext1=0, int ext2=0, const PlayerMessage *obj=NULL) {
241 listener->notify(srcId, msg, ext1, ext2, obj);
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp59 virtual void notify(int64_t srcId, int msg, int ext1, int ext2, in notify() argument
63 player->notify(srcId, msg, ext1, ext2, obj); in notify()
303 status_t MediaPlayer2::getSrcId(int64_t *srcId) { in getSrcId() argument
304 if (srcId == NULL) { in getSrcId()
309 *srcId = mSrcId; in getSrcId()
384 status_t MediaPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
385 ALOGV("playNextDataSource srcId(%lld)", (long long)srcId); in playNextDataSource()
392 mSrcId = srcId; in playNextDataSource()
394 return mPlayer->playNextDataSource(srcId); in playNextDataSource()
716 status_t MediaPlayer2::getDuration(int64_t srcId, int64_t *msec) { in getDuration() argument
[all …]
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java598 private native long native_getDuration(long srcId);
879 private void handleDataSource(boolean isCurrent, @NonNull DataSourceDesc dsd, long srcId)
891 srcId,
897 srcId,
907 srcId,
939 boolean isCurrent, long srcId,
948 handleDataSource(isCurrent, srcId, uri.getPath(), null, null, startPos, endPos);
958 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
967 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
974 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies, startPos, endPos);
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer2.cpp164 virtual void notify(int64_t srcId, int msg, int ext1, int ext2,
198 void JNIMediaPlayer2Listener::notify(int64_t srcId, int msg, int ext1, int ext2, in notify() argument
211 srcId, msg, ext1, ext2, out); in notify()
215 srcId, msg, ext1, ext2, NULL); in notify()
258 int64_t srcId = 0; in process_media_player_call() local
259 mp->getSrcId(&srcId); in process_media_player_call()
260 mp->notify(srcId, MEDIA2_ERROR, opStatus, 0); in process_media_player_call()
286 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceUrl() argument
306 tmp, (long long)srcId, (long long)startPos, (long long)endPos); in android_media_MediaPlayer2_handleDataSourceUrl()
316 dsd->mId = srcId; in android_media_MediaPlayer2_handleDataSourceUrl()
[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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...