/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 193 * @param decryptHandle Handle for the decryption session 200 DecryptHandle* decryptHandle, 208 * @param decryptHandle Handle for the decryption session 217 DecryptHandle* decryptHandle, 222 DecryptHandle* decryptHandle, 323 * @param decryptHandle Handle for the current decryption session 332 DecryptHandle* decryptHandle [all...] |
/frameworks/base/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/base/drm/libdrmframework/include/ |
DrmManagerService.h | 81 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 84 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 101 DecryptHandle* openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length); 103 DecryptHandle* openDecryptSession(int uniqueId, const char* uri); 105 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 107 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, [all...] |
IDrmManagerService.h | 119 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 122 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0; 142 virtual DecryptHandle* openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length) = 0; 144 virtual DecryptHandle* openDecryptSession(int uniqueId, const char* uri) = 0; 146 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0; 148 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, [all...] |
DrmManager.h | 94 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 97 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 114 DecryptHandle* openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length); 116 DecryptHandle* openDecryptSession(int uniqueId, const char* uri); 118 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 120 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, [all...] |
DrmManagerClientImpl.h | 186 * @param[in] decryptHandle Handle for the decryption session 192 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve); 198 * @param[in] decryptHandle Handle for the decryption session 206 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position); 306 sp<DecryptHandle> openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length); 316 sp<DecryptHandle> openDecryptSession(int uniqueId, const char* uri); 322 * @param[in] decryptHandle Handle for the decryption session 326 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle) [all...] |
/frameworks/base/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 205 * @param[in] decryptHandle Handle for the decryption session 212 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 218 * @param[in] decryptHandle Handle for the decryption session 225 virtual status_t setPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 319 * @param[in] decryptHandle Handle for the current decryption session 327 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) = 0; 333 * @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, int fd, off64_t offset, off64_t length); 86 int uniqueId, DecryptHandle* decryptHandle, const char* uri); 88 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); [all...] |
/frameworks/base/include/drm/ |
DrmManagerClient.h | 72 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length); 81 sp<DecryptHandle> openDecryptSession(const char* uri); 86 * @param[in] decryptHandle Handle for the decryption session 90 status_t closeDecryptSession(sp<DecryptHandle> &decryptHandle); 97 * @param[in] decryptHandle Handle for the decryption session 104 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve); 109 * @param[in] decryptHandle Handle for the decryption session 117 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) [all...] |
drm_framework_common.h | 51 * copy control settings used in DecryptHandle::copyControlVector 259 class DecryptHandle : public RefBase { 311 DecryptHandle(): 320 ~DecryptHandle() { 324 bool operator<(const DecryptHandle& handle) const { 328 bool operator==(const DecryptHandle& handle) const {
|
/frameworks/base/include/media/stagefright/ |
FileSource.h | 41 virtual sp<DecryptHandle> DrmInitialization(); 43 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 55 sp<DecryptHandle> mDecryptHandle;
|
DataSource.h | 84 virtual sp<DecryptHandle> DrmInitialization() { 87 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {};
|
/frameworks/base/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, int fd, off64_t offset, off64_t length) { 124 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length); 128 int uniqueId, DecryptHandle* decryptHandle, const char* uri) [all...] |
IDrmManagerService.cpp | 41 const DecryptHandle* handle, Parcel* data) { 69 DecryptHandle* handle, const Parcel& data) { 101 static void clearDecryptHandle(DecryptHandle* handle) { 413 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 420 writeDecryptHandleToParcelData(decryptHandle, &data); 430 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 437 writeDecryptHandleToParcelData(decryptHandle, &data); 602 DecryptHandle* BpDrmManagerService::openDecryptSession [all...] |
/frameworks/base/media/libstagefright/include/ |
DRMExtractor.h | 30 class DecryptHandle; 48 sp<DecryptHandle> mDecryptHandle;
|
ChromiumHTTPDataSource.h | 46 virtual sp<DecryptHandle> DrmInitialization(); 48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 92 sp<DecryptHandle> mDecryptHandle;
|
NuCachedSource2.h | 43 virtual sp<DecryptHandle> DrmInitialization(); 44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
/frameworks/base/drm/drmserver/ |
DrmManagerService.cpp | 160 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 162 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve); 166 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 168 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); 210 DecryptHandle* DrmManagerService::openDecryptSession( 220 DecryptHandle* DrmManagerService::openDecryptSession( 230 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { [all...] |
DrmManager.cpp | 300 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) [all...] |
/frameworks/base/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(int fd, off64_t offset, off64_t length) { 123 sp<DecryptHandle> DrmManagerClient::openDecryptSession(const char* uri) { 127 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) { [all...] |
DrmManagerClientImpl.cpp | 179 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); 257 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( 262 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession [all...] |
/frameworks/base/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 183 status_t DrmPassthruPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, 189 status_t DrmPassthruPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 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 [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 257 DecryptHandle* decryptHandle, 332 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 335 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 430 DecryptHandle* decryptHandle, 436 DecryptHandle* decryptHandle, [all...] |
/frameworks/base/media/libstagefright/ |
FileSource.cpp | 130 sp<DecryptHandle> FileSource::DrmInitialization() { 152 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {
|
DRMExtractor.cpp | 44 const sp<DecryptHandle> &decryptHandle, 59 sp<DecryptHandle> mDecryptHandle; 73 const sp<DecryptHandle> &decryptHandle, 77 mDecryptHandle(decryptHandle), 280 sp<DecryptHandle> decryptHandle = source->DrmInitialization(); 282 if (decryptHandle != NULL) { 283 if (decryptHandle->decryptApiType == DecryptApiType::CONTAINER_BASED) [all...] |