• Home
  • Raw
  • Download

Lines Matching refs:decryptHandle

290     int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {  in consumeRights()  argument
293 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in consumeRights()
294 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in consumeRights()
295 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve); in consumeRights()
301 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus() argument
304 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in setPlaybackStatus()
305 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in setPlaybackStatus()
306 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); in setPlaybackStatus()
507 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession() argument
510 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in closeDecryptSession()
511 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in closeDecryptSession()
512 result = drmEngine->closeDecryptSession(uniqueId, decryptHandle); in closeDecryptSession()
514 mDecryptSessionMap.removeItem(decryptHandle->decryptId); in closeDecryptSession()
521 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit() argument
524 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in initializeDecryptUnit()
525 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in initializeDecryptUnit()
526 … result = drmEngine->initializeDecryptUnit(uniqueId, decryptHandle, decryptUnitId, headerInfo); in initializeDecryptUnit()
531 status_t DrmManager::decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt() argument
536 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in decrypt()
537 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in decrypt()
539 uniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
545 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit() argument
548 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in finalizeDecryptUnit()
549 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in finalizeDecryptUnit()
550 result = drmEngine->finalizeDecryptUnit(uniqueId, decryptHandle, decryptUnitId); in finalizeDecryptUnit()
555 ssize_t DrmManager::pread(int uniqueId, DecryptHandle* decryptHandle, in pread() argument
560 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in pread()
561 IDrmEngine* drmEngine = mDecryptSessionMap.valueFor(decryptHandle->decryptId); in pread()
562 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()