Searched defs:decryptHandle (Results 1 - 10 of 10) sorted by path

/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.cpp424 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
431 writeDecryptHandleToParcelData(decryptHandle, &data);
441 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
448 writeDecryptHandleToParcelData(decryptHandle, &data);
661 ALOGV("no decryptHandle is generated in service side");
688 ALOGV("no decryptHandle is generated in service side");
693 status_t BpDrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
700 writeDecryptHandleToParcelData(decryptHandle, &data);
708 int uniqueId, DecryptHandle* decryptHandle,
716 writeDecryptHandleToParcelData(decryptHandle,
423 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
440 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
707 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
727 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
761 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
777 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp300 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
303 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
304 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
305 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve);
311 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
314 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
315 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
316 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
517 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
520 if (mDecryptSessionMap.indexOfKey(decryptHandle
299 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
310 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
530 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
541 decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
554 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
565 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManagerService.cpp146 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
151 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
155 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
160 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
232 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
237 return mDrmManager->closeDecryptSession(uniqueId, decryptHandle);
240 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, argument
246 return mDrmManager->initializeDecryptUnit(uniqueId,decryptHandle, decryptUnitId, headerInfo);
250 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
256 return mDrmManager->decrypt(uniqueId, decryptHandle, decryptUnitI
145 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
154 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
249 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
259 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
268 pread(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.cpp179 int uniqueId, sp<DecryptHandle> &decryptHandle,
182 if (NULL != decryptHandle.get()) {
184 uniqueId, decryptHandle.get(), action, reserve);
190 int uniqueId, sp<DecryptHandle> &decryptHandle,
193 if (NULL != decryptHandle.get()) {
195 uniqueId, decryptHandle.get(), playbackStatus, position);
281 int uniqueId, sp<DecryptHandle> &decryptHandle) {
283 if (NULL != decryptHandle.get()) {
285 uniqueId, decryptHandle.get());
291 int uniqueId, sp<DecryptHandle> &decryptHandle,
178 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
189 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
280 closeDecryptSession( int uniqueId, sp<DecryptHandle> &decryptHandle) argument
290 initializeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
301 decrypt( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
315 finalizeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
325 pread(int uniqueId, sp<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...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp294 DecryptHandle* decryptHandle,
369 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, argument
372 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
467 DecryptHandle* decryptHandle,
473 DecryptHandle* decryptHandle,
484 (NULL != decryptHandle) &&
485 (!decodeSessionMap.isCreated(decryptHandle->decryptId))) {
500 decodeSessionMap.addValue(decryptHandle->decryptId, decodeSession);
504 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
505 decryptHandle
293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
525 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
554 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
586 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
594 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
600 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer) argument
609 onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
616 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument
642 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
662 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp183 status_t DrmPassthruPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, argument
189 status_t DrmPassthruPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, argument
237 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) {
241 decryptHandle->mimeType = String8("video/passthru");
242 decryptHandle->decryptApiType = DecryptApiType::ELEMENTARY_STREAM_BASED;
243 decryptHandle->status = DRM_NO_ERROR;
244 decryptHandle->decryptInfo = NULL;
252 int uniqueId, DecryptHandle* decryptHandle, const char* uri) {
256 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
258 if (NULL != decryptHandle) {
236 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
251 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
267 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
273 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
294 onFinalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
300 onPread(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 102 milliseconds