Searched refs:decryptHandle (Results 1 - 20 of 20) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h194 * @param decryptHandle Handle for the decryption session
201 DecryptHandle* decryptHandle,
209 * @param decryptHandle Handle for the decryption session
218 DecryptHandle* decryptHandle,
223 DecryptHandle* decryptHandle,
324 * @param decryptHandle Handle for the current decryption session
333 DecryptHandle* decryptHandle,
337 DecryptHandle* decryptHandle,
345 * @param decryptHandle Handle for the current decryption session
351 DecryptHandle* decryptHandle,
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
83 return onConsumeRights(uniqueId, decryptHandle, action, reserve);
87 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
88 return onSetPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
123 int uniqueId, DecryptHandle* decryptHandle,
127 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length);
130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime);
134 int uniqueId, DecryptHandle* decryptHandle,
137 return onOpenDecryptSession(uniqueId, decryptHandle, uri);
139 return onOpenDecryptSession(uniqueId, decryptHandle, ur
81 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
86 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
142 openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
147 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
151 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
156 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
162 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
167 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DIDrmManagerService.cpp414 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
421 writeDecryptHandleToParcelData(decryptHandle, &data);
431 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
438 writeDecryptHandleToParcelData(decryptHandle, &data);
651 ALOGV("no decryptHandle is generated in service side");
678 ALOGV("no decryptHandle is generated in service side");
683 status_t BpDrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
690 writeDecryptHandleToParcelData(decryptHandle, &data);
698 int uniqueId, DecryptHandle* decryptHandle,
706 writeDecryptHandleToParcelData(decryptHandle,
413 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
430 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
697 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
717 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
751 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
767 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h62 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
65 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
83 int uniqueId, DecryptHandle* decryptHandle,
87 int uniqueId, DecryptHandle* decryptHandle,
90 status_t openDecryptSession(int uniqueId, DecryptHandle* decryptHandle,
93 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
95 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
98 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
101 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
103 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
432 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
449 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
[all...]
H A DIDrmEngine.h206 * @param[in] decryptHandle Handle for the decryption session
213 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
219 * @param[in] decryptHandle Handle for the decryption session
226 virtual status_t setPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
320 * @param[in] decryptHandle Handle for the current decryption session
330 int uniqueId, DecryptHandle* decryptHandle,
337 * @param[in] decryptHandle Handle for the current decryption session
345 int uniqueId, DecryptHandle* decryptHandle,
352 * @param[in] decryptHandle Handle for the current decryption session
358 virtual status_t openDecryptSession(int uniqueId, DecryptHandle* decryptHandle,
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h56 status_t onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
59 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
80 int uniqueId, DecryptHandle* decryptHandle, const char* uri);
82 status_t onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
84 status_t onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
87 status_t onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
90 status_t onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
92 ssize_t onPread(int uniqueId, DecryptHandle* decryptHandle,
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp294 DecryptHandle* decryptHandle,
370 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, argument
373 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
468 DecryptHandle* decryptHandle,
474 DecryptHandle* decryptHandle,
485 (NULL != decryptHandle) &&
486 (!decodeSessionMap.isCreated(decryptHandle->decryptId))) {
501 decodeSessionMap.addValue(decryptHandle->decryptId, decodeSession);
505 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
506 decryptHandle
293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
467 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
526 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
555 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
587 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
595 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
601 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer) argument
610 onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
617 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument
643 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
663 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h79 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
82 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
108 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
110 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
113 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
116 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
118 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
H A DNoOpDrmManagerClientImpl.h44 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
46 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
61 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle);
62 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle,
64 status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId,
66 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId);
67 ssize_t pread(int uniqueId, sp<DecryptHandle> &decryptHandle,
H A DDrmManager.h92 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
95 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
120 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
122 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
125 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
128 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
130 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
H A DDrmManagerClientImpl.h187 * @param[in] decryptHandle Handle for the decryption session
193 virtual status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
199 * @param[in] decryptHandle Handle for the decryption session
207 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
339 * @param[in] decryptHandle Handle for the decryption session
343 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle);
349 * @param[in] decryptHandle Handle for the decryption session
355 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle,
364 * @param[in] decryptHandle Handle for the decryption session
375 virtual status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, in
[all...]
H A DIDrmManagerService.h118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
121 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0;
151 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0;
153 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
156 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
160 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0;
162 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
209 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
238 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
[all...]
/frameworks/av/include/drm/
H A DDrmManagerClient.h98 * @param[in] decryptHandle Handle for the decryption session
102 status_t closeDecryptSession(sp<DecryptHandle> &decryptHandle);
109 * @param[in] decryptHandle Handle for the decryption session
116 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve);
121 * @param[in] decryptHandle Handle for the decryption session
129 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
134 * @param[in] decryptHandle Handle for the decryption session
141 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo);
148 * @param[in] decryptHandle Handle for the decryption session
160 sp<DecryptHandle> &decryptHandle, in
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp184 status_t DrmPassthruPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, argument
190 status_t DrmPassthruPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, argument
238 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) {
242 decryptHandle->mimeType = String8("video/passthru");
243 decryptHandle->decryptApiType = DecryptApiType::ELEMENTARY_STREAM_BASED;
244 decryptHandle->status = DRM_NO_ERROR;
245 decryptHandle->decryptInfo = NULL;
253 int uniqueId, DecryptHandle* decryptHandle, const char* uri) {
257 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
259 if (NULL != decryptHandle) {
237 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
252 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
268 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
274 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
295 onFinalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
301 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) {
81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve);
85 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) {
87 ->setPlaybackStatus(mUniqueId, decryptHandle, playbackStatus, position);
138 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) { argument
139 return mDrmManagerClientImpl->closeDecryptSession(mUniqueId, decryptHandle);
143 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) {
145 mUniqueId, decryptHandle, decryptUnitId, headerInfo);
149 sp<DecryptHandle> &decryptHandle, int decryptUnitId,
152 mUniqueId, decryptHandle, decryptUnitI
79 consumeRights( sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
84 setPlaybackStatus( sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
142 initializeDecryptUnit( sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
148 decrypt( sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
155 finalizeDecryptUnit( sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
161 pread( sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManagerClientImpl.cpp181 int uniqueId, sp<DecryptHandle> &decryptHandle,
184 if (NULL != decryptHandle.get()) {
186 uniqueId, decryptHandle.get(), action, reserve);
192 int uniqueId, sp<DecryptHandle> &decryptHandle,
195 if (NULL != decryptHandle.get()) {
197 uniqueId, decryptHandle.get(), playbackStatus, position);
283 int uniqueId, sp<DecryptHandle> &decryptHandle) {
285 if (NULL != decryptHandle.get()) {
287 uniqueId, decryptHandle.get());
293 int uniqueId, sp<DecryptHandle> &decryptHandle,
180 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
191 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
282 closeDecryptSession( int uniqueId, sp<DecryptHandle> &decryptHandle) argument
292 initializeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
303 decrypt( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
317 finalizeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
327 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DNoOpDrmManagerClientImpl.cpp72 status_t NoOpDrmManagerClientImpl::consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) { argument
77 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) {
125 status_t NoOpDrmManagerClientImpl::closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle) { argument
129 status_t NoOpDrmManagerClientImpl::initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, argument
134 status_t NoOpDrmManagerClientImpl::decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, argument
139 status_t NoOpDrmManagerClientImpl::finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) { argument
143 ssize_t NoOpDrmManagerClientImpl::pread(int uniqueId, sp<DecryptHandle> &decryptHandle, argument
76 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp152 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
157 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
161 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
166 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
238 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
243 return mDrmManager->closeDecryptSession(uniqueId, decryptHandle);
246 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, argument
252 return mDrmManager->initializeDecryptUnit(uniqueId,decryptHandle, decryptUnitId, headerInfo);
256 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
262 return mDrmManager->decrypt(uniqueId, decryptHandle, decryptUnitI
151 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
160 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
255 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
265 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
274 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManager.cpp275 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
278 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
279 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
280 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve);
286 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
289 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
290 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
291 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
492 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
495 if (mDecryptSessionMap.indexOfKey(decryptHandle
274 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
285 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
505 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
516 decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
529 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
540 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp39 const sp<DecryptHandle> &decryptHandle,
68 const sp<DecryptHandle> &decryptHandle,
72 mDecryptHandle(decryptHandle),
275 sp<DecryptHandle> decryptHandle = source->DrmInitialization(); local
277 if (decryptHandle != NULL) {
278 if (decryptHandle->decryptApiType == DecryptApiType::CONTAINER_BASED) {
279 *mimeType = String8("drm+container_based+") + decryptHandle->mimeType;
281 } else if (decryptHandle->decryptApiType == DecryptApiType::ELEMENTARY_STREAM_BASED) {
282 *mimeType = String8("drm+es_based+") + decryptHandle->mimeType;
67 DRMSource(const sp<MediaSource> &mediaSource, const sp<DecryptHandle> &decryptHandle, DrmManagerClient *managerClient, int32_t trackId, DrmBuffer *ipmpBox) argument

Completed in 245 milliseconds