Searched defs:decryptHandle (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/
H A DFileSource.cpp236 sp<DecryptHandle> decryptHandle = local
239 if (decryptHandle != nullptr) {
240 requiresDrm = decryptHandle->decryptApiType == DecryptApiType::CONTAINER_BASED;
241 drmClient->closeDecryptSession(decryptHandle);
/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.cpp417 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
424 writeDecryptHandleToParcelData(decryptHandle, &data);
434 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
441 writeDecryptHandleToParcelData(decryptHandle, &data);
654 ALOGV("no decryptHandle is generated in service side");
681 ALOGV("no decryptHandle is generated in service side");
686 status_t BpDrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
693 writeDecryptHandleToParcelData(decryptHandle, &data);
701 int uniqueId, DecryptHandle* decryptHandle,
709 writeDecryptHandleToParcelData(decryptHandle,
416 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
433 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
700 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
720 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
756 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
772 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.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...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp186 DecryptHandle* /*decryptHandle*/, int /*action*/, bool /*reserve*/) {
192 DecryptHandle* /*decryptHandle*/, int /*playbackStatus*/, int64_t /*position*/) {
239 int uniqueId, DecryptHandle* decryptHandle, int /*fd*/, off64_t /*offset*/, off64_t /*length*/) {
243 decryptHandle->mimeType = String8("video/passthru");
244 decryptHandle->decryptApiType = DecryptApiType::ELEMENTARY_STREAM_BASED;
245 decryptHandle->status = DRM_NO_ERROR;
246 decryptHandle->decryptInfo = NULL;
254 int /*uniqueId*/, DecryptHandle* /*decryptHandle*/, const char* /*uri*/) {
258 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
260 if (NULL != decryptHandle) {
238 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int , off64_t , off64_t ) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp270 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
273 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
274 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
275 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve);
281 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
284 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) {
285 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId);
286 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
487 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
490 if (mDecryptSessionMap.indexOfKey(decryptHandle
269 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
280 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
500 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
511 decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
524 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
535 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManagerService.cpp209 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
214 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
218 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
223 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
295 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { argument
300 return mDrmManager->closeDecryptSession(uniqueId, decryptHandle);
303 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, argument
309 return mDrmManager->initializeDecryptUnit(uniqueId,decryptHandle, decryptUnitId, headerInfo);
313 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
319 return mDrmManager->decrypt(uniqueId, decryptHandle, decryptUnitI
208 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
217 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
312 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
322 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
331 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp297 DecryptHandle* /* decryptHandle */,
375 status_t FwdLockEngine::onSetPlaybackStatus(int /* uniqueId */, DecryptHandle* /* decryptHandle */,
378 status_t FwdLockEngine::onSetPlaybackStatus(int /* uniqueId */, DecryptHandle* /* decryptHandle */,
473 DecryptHandle* decryptHandle,
479 DecryptHandle* decryptHandle,
490 (NULL != decryptHandle) &&
491 (!decodeSessionMap.isCreated(decryptHandle->decryptId))) {
506 decodeSessionMap.addValue(decryptHandle->decryptId, decodeSession);
510 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
511 decryptHandle
472 onOpenDecryptSession(int , DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t ) argument
531 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
560 onCloseDecryptSession(int , DecryptHandle* decryptHandle) argument
627 onRead(int , DecryptHandle* decryptHandle, void* buffer, int numBytes) argument
653 onLseek(int , DecryptHandle* decryptHandle, off64_t offset, int whence) argument
673 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]

Completed in 2745 milliseconds