/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
H A D | MediaPlayer2Interface.h | 59 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) { argument 248 listener->notify(srcId, msg, ext1, ext2, obj);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPConnection.cpp | 479 uint32_t srcId = u32at(&data[8]); local 481 sp<ARTPSource> source = findSource(s, srcId); 486 meta->setInt32("ssrc", srcId); 624 sp<ARTPSource> ARTPConnection::findSource(StreamInfo *info, uint32_t srcId) { argument 626 ssize_t index = info->mSources.indexOfKey(srcId); 631 srcId, info->mSessionDesc, info->mIndex, info->mNotifyMsg); 633 info->mSources.add(srcId, source);
|
/frameworks/av/media/libmediaplayer2/ |
H A D | mediaplayer2.cpp | 226 virtual void notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) override { 229 player->notify(srcId, msg, ext1, ext2, obj); 482 status_t MediaPlayer2::getSrcId(int64_t *srcId) { argument 483 if (srcId == NULL) { 488 *srcId = mSrcId; 496 ALOGV("setDataSource type(%d), srcId(%lld)", dsd->mType, (long long)dsd->mId); 546 ALOGV("prepareNextDataSource type(%d), srcId(%lld)", dsd->mType, (long long)dsd->mId); 556 status_t MediaPlayer2::playNextDataSource(int64_t srcId) { argument 557 ALOGV("playNextDataSource srcId(%lld)", (long long)srcId); 1294 notify(int64_t srcId, int msg, int ext1, int ext2, const Parcel *obj) argument [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2Driver.cpp | 204 status_t NuPlayer2Driver::playNextDataSource(int64_t srcId) { argument 208 mSrcId = srcId; 209 mPlayer->playNextDataSource(srcId); 739 void NuPlayer2Driver::notifyResetComplete(int64_t /* srcId */) { 748 void NuPlayer2Driver::notifySetSurfaceComplete(int64_t /* srcId */) { 758 void NuPlayer2Driver::notifyDuration(int64_t /* srcId */, int64_t durationUs) { 763 void NuPlayer2Driver::notifyMorePlayingTimeUs(int64_t /* srcId */, int64_t playingUs) { 768 void NuPlayer2Driver::notifyMoreRebufferingTimeUs(int64_t /* srcId */, int64_t rebufferingUs) { 774 void NuPlayer2Driver::notifyRebufferingWhenExit(int64_t /* srcId */, bool status) { 779 void NuPlayer2Driver::notifySeekComplete(int64_t srcId) { argument 786 notifySeekComplete_l(int64_t srcId) argument 879 int64_t srcId; local 900 notifyListener( int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) argument 906 notifyListener_l( int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) argument 986 notifyPrepareCompleted(int64_t srcId, status_t err) argument [all...] |
H A D | NuPlayer2.cpp | 278 notify->setInt64("srcId", dsd->mId); 400 msg->setInt64("srcId", dsd->mId); 422 msg->setInt64("srcId", dsd->mId); 426 void NuPlayer2::playNextDataSource(int64_t srcId) { argument 430 msg->setInt64("srcId", srcId); 652 CHECK(msg->findInt64("srcId", &mSrcId)); 676 CHECK(msg->findInt64("srcId", &mNextSrcId)); 689 int64_t srcId; local 690 CHECK(msg->findInt64("srcId", 2058 updateVideoSize( int64_t srcId, const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) argument 2149 notifyListener(int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) argument 2564 notifyDriverSeekComplete(int64_t srcId) argument 2577 int64_t srcId; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaPlayer2.cpp | 158 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) argument 201 srcId, msg, ext1, ext2, jParcel); 206 srcId, msg, ext1, ext2, NULL); 249 int64_t srcId = 0; local 250 mp->getSrcId(&srcId); 251 mp->notify(srcId, MEDIA2_ERROR, opStatus, 0); 277 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, 295 ALOGV("handleDataSourceUrl: path %s, srcId %lld", tmp, (long long)srcId); 276 android_media_MediaPlayer2_handleDataSourceUrl( JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, jobject httpServiceObj, jstring path, jobjectArray keys, jobjectArray values) argument 335 android_media_MediaPlayer2_handleDataSourceFD( JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, jobject fileDescriptor, jlong offset, jlong length) argument 396 android_media_MediaPlayer2_handleDataSourceCallback( JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, jobject dataSource) argument 529 android_media_MediaPlayer2_playNextDataSource(JNIEnv *env, jobject thiz, jlong srcId) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 2651 * @param srcId The new resource id for the drawable 2653 public void setImageViewResource(int viewId, int srcId) { argument 2654 setInt(viewId, "setImageResource", srcId);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer2Impl.java | 809 private void handleDataSource(boolean isCurrent, @NonNull DataSourceDesc dsd, long srcId) argument 816 srcId, 822 srcId, 830 srcId, 862 boolean isCurrent, long srcId, 872 handleDataSource(isCurrent, srcId, uri.getPath(), null, null); 883 if (attemptDataSource(isCurrent, srcId, resolver, cacheUri)) { 886 if (attemptDataSource(isCurrent, srcId, resolver, actualUri)) { 889 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies); 892 if (attemptDataSource(isCurrent, srcId, resolve 861 handleDataSource( boolean isCurrent, long srcId, @NonNull Context context, @NonNull Uri uri, @Nullable Map<String, String> headers, @Nullable List<HttpCookie> cookies) argument 899 attemptDataSource( boolean isCurrent, long srcId, ContentResolver resolver, Uri uri) argument 922 handleDataSource( boolean isCurrent, long srcId, String path, Map<String, String> headers, List<HttpCookie> cookies) argument 943 handleDataSource(boolean isCurrent, long srcId, String path, String[] keys, String[] values, List<HttpCookie> cookies) argument 973 nativeHandleDataSourceUrl( boolean isCurrent, long srcId, Media2HTTPService httpService, String path, String[] keys, String[] values) argument 987 handleDataSource( boolean isCurrent, long srcId, FileDescriptor fd, long offset, long length) argument 993 nativeHandleDataSourceFD(boolean isCurrent, long srcId, FileDescriptor fd, long offset, long length) argument 1000 handleDataSource(boolean isCurrent, long srcId, Media2DataSource dataSource) argument 1004 nativeHandleDataSourceCallback( boolean isCurrent, long srcId, Media2DataSource dataSource) argument 1071 nativePlayNextDataSource(long srcId) argument 2780 handleMessage(Message msg, long srcId) argument 3135 postEventFromNative(Object mediaplayer2_ref, long srcId, int what, int arg1, int arg2, Object obj) argument [all...] |