Searched refs:descrambler (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp40 sp<IDescrambler> *descrambler, std::vector<uint8_t> *sessionId) const;
107 unsigned elementaryPID, sp<IDescrambler> *descrambler,
110 *descrambler = mProgramCas.mDescrambler;
119 *descrambler = mStreamPidToCasMap[index].mDescrambler;
138 sp<IDescrambler> descrambler; local
156 status = casService->createDescrambler(descriptor.mSystemID, &descrambler);
157 if (!status.isOk() || descrambler == NULL) {
158 ALOGE("Failed to create descrambler: : exception=%d, error=%d",
163 status = descrambler->setMediaCasSession(sessionId);
165 ALOGE("Failed to init descrambler
106 getCasSession( unsigned elementaryPID, sp<IDescrambler> *descrambler, std::vector<uint8_t> *sessionId) const argument
297 getCasInfo( unsigned programNumber, unsigned elementaryPID, int32_t *systemId, sp<IDescrambler> *descrambler, std::vector<uint8_t> *sessionId) const argument
[all...]
H A DCasManager.h44 int32_t *systemId, sp<IDescrambler> *descrambler,
H A DATSParser.cpp148 const sp<IDescrambler> &descrambler,
606 ALOGI("Receiving scrambled streams without descrambler!");
695 sp<IDescrambler> descrambler; local
699 &systemId, &descrambler, &sessionId)) {
700 stream->setCasInfo(systemId, descrambler, sessionId);
1317 ALOGE("received scrambled packets without descrambler!");
1603 int32_t systemId, const sp<IDescrambler> &descrambler,
1605 if (mSource != NULL && mDescrambler == NULL && descrambler != NULL) {
1607 mDescrambler = descrambler;
1602 setCasInfo( int32_t systemId, const sp<IDescrambler> &descrambler, const std::vector<uint8_t> &sessionId) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp45 JNIEnv *env, jobject thiz, const sp<JDescrambler> &descrambler) {
47 if (descrambler != NULL) {
48 descrambler->incStrong(thiz);
53 env->SetLongField(thiz, gFields.context, (jlong)descrambler.get());
294 sp<JDescrambler> descrambler = getDescrambler(env, thiz); local
295 if (descrambler == NULL) {
333 status = descrambler->descramble(
44 setDescrambler( JNIEnv *env, jobject thiz, const sp<JDescrambler> &descrambler) argument
H A Dandroid_media_MediaCodec.h62 const sp<IDescrambler> &descrambler,
H A Dandroid_media_MediaCodec.cpp275 const sp<IDescrambler> &descrambler,
286 format, mSurfaceTextureClient, crypto, descrambler, flags);
1011 sp<IDescrambler> descrambler; local
1014 descrambler = interface_cast<IDescrambler>(binder);
1017 err = codec->configure(format, bufferProducer, crypto, descrambler, flags);
271 configure( const sp<AMessage> &format, const sp<IGraphicBufferProducer> &bufferProducer, const sp<ICrypto> &crypto, const sp<IDescrambler> &descrambler, int flags) argument
/frameworks/av/include/media/stagefright/
H A DCodecBase.h263 inline void setDescrambler(const sp<IDescrambler> &descrambler) { argument
264 mDescrambler = descrambler;
H A DMediaCodec.h102 const sp<IDescrambler> &descrambler,
/frameworks/av/media/libstagefright/foundation/include/
H A DCodecBase.h263 inline void setDescrambler(const sp<IDescrambler> &descrambler) { argument
264 mDescrambler = descrambler;
H A DMediaCodec.h102 const sp<IDescrambler> &descrambler,
/frameworks/av/media/libstagefright/include/
H A DCodecBase.h263 inline void setDescrambler(const sp<IDescrambler> &descrambler) { argument
264 mDescrambler = descrambler;
H A DMediaCodec.h102 const sp<IDescrambler> &descrambler,
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1868 * Configure a component to be used with a descrambler.
1880 * @param descrambler Specify a descrambler object to facilitate secure
1892 @ConfigureFlag int flags, @Nullable MediaDescrambler descrambler) {
1894 descrambler != null ? descrambler.getBinder() : null, flags);
1902 throw new IllegalArgumentException("Can't use crypto and descrambler together!");
1890 configure( @ullable MediaFormat format, @Nullable Surface surface, @ConfigureFlag int flags, @Nullable MediaDescrambler descrambler) argument
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp698 const sp<IDescrambler> &descrambler,
727 if (crypto != NULL || descrambler != NULL) {
731 msg->setPointer("descrambler", descrambler.get());
738 ALOGW("Crypto or descrambler should be given for secure codec");
2017 void *descrambler; local
2018 if (!msg->findPointer("descrambler", &descrambler)) {
2019 descrambler = NULL;
2022 mDescrambler = static_cast<IDescrambler *>(descrambler);
694 configure( const sp<AMessage> &format, const sp<Surface> &surface, const sp<ICrypto> &crypto, const sp<IDescrambler> &descrambler, uint32_t flags) argument
[all...]

Completed in 197 milliseconds