/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 194 * @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 [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 206 * @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 sessio [all...] |
DrmEngineBase.h | 62 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, [all...] |
/frameworks/av/drm/common/ |
DrmEngineBase.cpp | 82 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) [all...] |
IDrmManagerService.cpp | 41 const DecryptHandle* handle, Parcel* data) { 69 DecryptHandle* handle, const Parcel& data) { 101 static void clearDecryptHandle(DecryptHandle* handle) { 414 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); 603 DecryptHandle* BpDrmManagerService::openDecryptSession [all...] |
/cts/tests/tests/drm/lib/ |
TestPlugin.h | 56 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); [all...] |
TestPlugin.cpp | 113 status_t TestPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, 118 status_t TestPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 150 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) { 155 int uniqueId, DecryptHandle* decryptHandle, const char* uri) { 159 status_t TestPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 56 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); [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 294 DecryptHandle* decryptHandle, 369 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 372 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 467 DecryptHandle* decryptHandle, 473 DecryptHandle* decryptHandle, [all...] |
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerService.h | 79 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 82 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 99 DecryptHandle* openDecryptSession( 102 DecryptHandle* openDecryptSession( 105 DecryptHandle* openDecryptSession(int uniqueId, const DrmBuffer& buf, 108 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 110 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle [all...] |
IDrmManagerService.h | 118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 121 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0; 141 virtual DecryptHandle* openDecryptSession( 145 virtual DecryptHandle* openDecryptSession( 148 virtual DecryptHandle* openDecryptSession( 151 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0; 153 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle [all...] |
DrmManager.h | 92 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 95 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 112 DecryptHandle* openDecryptSession( 115 DecryptHandle* openDecryptSession(int uniqueId, const char* uri, const char* mime); 117 DecryptHandle* openDecryptSession(int uniqueId, const DrmBuffer& buf, 120 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 122 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle [all...] |
DrmManagerClientImpl.h | 187 * @param[in] decryptHandle Handle for the decryption session 193 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); 308 sp<DecryptHandle> openDecryptSession( 320 sp<DecryptHandle> openDecryptSession( 332 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf, 339 * @param[in] decryptHandle Handle for the decryption sessio [all...] |
/frameworks/av/include/drm/ |
DrmManagerClient.h | 73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime); 83 sp<DecryptHandle> openDecryptSession(const char* uri, const char* mime); 93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType); 98 * @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 sessio [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 184 status_t DrmPassthruPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, 190 status_t DrmPassthruPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 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 [all...] |
/frameworks/av/drm/libdrmframework/ |
DrmManagerClient.cpp | 80 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); 119 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 126 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 133 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 138 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) [all...] |
DrmManagerClientImpl.cpp | 170 int uniqueId, sp<DecryptHandle> &decryptHandle, 173 if (NULL != decryptHandle.get()) { 175 uniqueId, decryptHandle.get(), action, reserve); 181 int uniqueId, sp<DecryptHandle> &decryptHandle, 184 if (NULL != decryptHandle.get()) { 186 uniqueId, decryptHandle.get(), playbackStatus, position); 248 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( 256 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession [all...] |
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 141 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 146 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve); 150 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 155 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); 197 DecryptHandle* DrmManagerService::openDecryptSession( 207 DecryptHandle* DrmManagerService::openDecryptSession( 217 DecryptHandle* DrmManagerService::openDecryptSession( 227 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) [all...] |
DrmManager.cpp | 275 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) [all...] |
/frameworks/av/media/libstagefright/ |
DRMExtractor.cpp | 39 const sp<DecryptHandle> &decryptHandle, 54 sp<DecryptHandle> mDecryptHandle; 68 const sp<DecryptHandle> &decryptHandle, 72 mDecryptHandle(decryptHandle), 275 sp<DecryptHandle> decryptHandle = source->DrmInitialization(); 277 if (decryptHandle != NULL) { 278 if (decryptHandle->decryptApiType == DecryptApiType::CONTAINER_BASED) [all...] |