Home
last modified time | relevance | path

Searched refs:descrambler (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp40 sp<IDescrambler> *descrambler, std::vector<uint8_t> *sessionId) const;
107 unsigned elementaryPID, sp<IDescrambler> *descrambler, in getCasSession() argument
110 *descrambler = mProgramCas.mDescrambler; in getCasSession()
119 *descrambler = mStreamPidToCasMap[index].mDescrambler; in getCasSession()
138 sp<IDescrambler> descrambler; in initSession() local
156 status = casService->createDescrambler(descriptor.mSystemID, &descrambler); in initSession()
157 if (!status.isOk() || descrambler == NULL) { in initSession()
163 status = descrambler->setMediaCasSession(sessionId); in initSession()
171 session->mDescrambler = descrambler; in initSession()
180 if (descrambler != NULL) { in initSession()
[all …]
DCasManager.h44 int32_t *systemId, sp<IDescrambler> *descrambler,
DATSParser.cpp148 const sp<IDescrambler> &descrambler,
695 sp<IDescrambler> descrambler; in updateCasSessions() local
699 &systemId, &descrambler, &sessionId)) { in updateCasSessions()
700 stream->setCasInfo(systemId, descrambler, sessionId); in updateCasSessions()
1603 int32_t systemId, const sp<IDescrambler> &descrambler, in setCasInfo() argument
1605 if (mSource != NULL && mDescrambler == NULL && descrambler != NULL) { in setCasInfo()
1607 mDescrambler = descrambler; in setCasInfo()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp45 JNIEnv *env, jobject thiz, const sp<JDescrambler> &descrambler) { in setDescrambler() argument
47 if (descrambler != NULL) { in setDescrambler()
48 descrambler->incStrong(thiz); in setDescrambler()
53 env->SetLongField(thiz, gFields.context, (jlong)descrambler.get()); in setDescrambler()
294 sp<JDescrambler> descrambler = getDescrambler(env, thiz); in android_media_MediaDescrambler_native_descramble() local
295 if (descrambler == NULL) { in android_media_MediaDescrambler_native_descramble()
333 status = descrambler->descramble( in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaCodec.h62 const sp<IDescrambler> &descrambler,
Dandroid_media_MediaCodec.cpp275 const sp<IDescrambler> &descrambler, in configure() argument
286 format, mSurfaceTextureClient, crypto, descrambler, flags); in configure()
1011 sp<IDescrambler> descrambler; in android_media_MediaCodec_native_configure() local
1014 descrambler = interface_cast<IDescrambler>(binder); in android_media_MediaCodec_native_configure()
1017 err = codec->configure(format, bufferProducer, crypto, descrambler, flags); in android_media_MediaCodec_native_configure()
/frameworks/av/media/libstagefright/include/
DCodecBase.h263 inline void setDescrambler(const sp<IDescrambler> &descrambler) { in setDescrambler() argument
264 mDescrambler = descrambler; in setDescrambler()
DMediaCodec.h102 const sp<IDescrambler> &descrambler,
/frameworks/base/media/java/android/media/
DMediaCodec.java1892 @ConfigureFlag int flags, @Nullable MediaDescrambler descrambler) { in configure() argument
1894 descrambler != null ? descrambler.getBinder() : null, flags); in configure()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp698 const sp<IDescrambler> &descrambler, in configure() argument
727 if (crypto != NULL || descrambler != NULL) { in configure()
731 msg->setPointer("descrambler", descrambler.get()); in configure()
2017 void *descrambler; in onMessageReceived() local
2018 if (!msg->findPointer("descrambler", &descrambler)) { in onMessageReceived()
2019 descrambler = NULL; in onMessageReceived()
2022 mDescrambler = static_cast<IDescrambler *>(descrambler); in onMessageReceived()