Lines Matching refs:decryptHandle

275     int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {  in consumeRights()  argument
278 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in consumeRights()
279 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in consumeRights()
280 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve); in consumeRights()
286 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus() argument
289 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in setPlaybackStatus()
290 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in setPlaybackStatus()
291 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); in setPlaybackStatus()
492 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession() argument
495 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in closeDecryptSession()
496 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in closeDecryptSession()
497 result = drmEngine->closeDecryptSession(uniqueId, decryptHandle); in closeDecryptSession()
499 mDecryptSessionMap.removeItem(decryptHandle->decryptId); in closeDecryptSession()
506 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit() argument
509 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in initializeDecryptUnit()
510 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in initializeDecryptUnit()
511 … result = drmEngine->initializeDecryptUnit(uniqueId, decryptHandle, decryptUnitId, headerInfo); in initializeDecryptUnit()
516 status_t DrmManager::decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt() argument
521 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in decrypt()
522 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in decrypt()
524 uniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
530 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit() argument
533 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in finalizeDecryptUnit()
534 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in finalizeDecryptUnit()
535 result = drmEngine->finalizeDecryptUnit(uniqueId, decryptHandle, decryptUnitId); in finalizeDecryptUnit()
540 ssize_t DrmManager::pread(int uniqueId, DecryptHandle* decryptHandle, in pread() argument
545 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in pread()
546 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in pread()
547 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()