/frameworks/av/drm/libdrmframework/ |
H A D | NoOpDrmManagerClientImpl.cpp | 100 sp<DecryptHandle> &/* decryptHandle */, 108 sp<DecryptHandle> &/* decryptHandle */, 159 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( 168 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( 175 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( 184 sp<DecryptHandle> &/* decryptHandle */) { 190 sp<DecryptHandle> &/* decryptHandle */, 198 sp<DecryptHandle> &/* decryptHandle */, 208 sp<DecryptHandle> &/* decryptHandle */, 215 sp<DecryptHandle> [all...] |
H A D | DrmManagerClient.cpp | 80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { 85 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) { 119 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 126 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 133 sp<DecryptHandle> DrmManagerClient::openDecryptSession( 138 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) { 143 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { 149 sp<DecryptHandle> &decryptHandle, int decryptUnitId, 156 sp<DecryptHandle> &decryptHandle, int decryptUnitId) { 162 sp<DecryptHandle> [all...] |
H A D | DrmManagerClientImpl.cpp | 181 int uniqueId, sp<DecryptHandle> &decryptHandle, 192 int uniqueId, sp<DecryptHandle> &decryptHandle, 259 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( 267 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( 270 DecryptHandle* handle = NULL; 277 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( 283 int uniqueId, sp<DecryptHandle> &decryptHandle) { 293 int uniqueId, sp<DecryptHandle> &decryptHandle, 304 int uniqueId, sp<DecryptHandle> &decryptHandle, 318 int uniqueId, sp<DecryptHandle> [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 201 DecryptHandle* decryptHandle, 218 DecryptHandle* decryptHandle, 223 DecryptHandle* decryptHandle, 333 DecryptHandle* decryptHandle, 337 DecryptHandle* decryptHandle, 351 DecryptHandle* decryptHandle, 363 DecryptHandle* decryptHandle); 376 DecryptHandle* decryptHandle, 397 DecryptHandle* decryptHandle, 419 status_t onDecrypt(int uniqueId, DecryptHandle* decryptHandl [all...] |
/frameworks/av/drm/libdrmframework/include/ |
H A D | NoOpDrmManagerClientImpl.h | 44 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve); 46 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position); 55 sp<DecryptHandle> openDecryptSession( 57 sp<DecryptHandle> openDecryptSession( 59 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf, 61 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle); 62 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, 64 status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, 66 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId); 67 ssize_t pread(int uniqueId, sp<DecryptHandle> [all...] |
H A D | 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, 125 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 128 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId); 130 ssize_t pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
H A D | DrmManagerClientImpl.h | 193 virtual status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve); 207 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position); 308 virtual sp<DecryptHandle> openDecryptSession( 320 virtual sp<DecryptHandle> openDecryptSession( 332 virtual sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf, 343 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle); 355 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, 375 virtual status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, 387 virtual status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId); 400 virtual ssize_t pread(int uniqueId, sp<DecryptHandle> [all...] |
H A D | DrmManagerService.h | 98 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 101 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 118 DecryptHandle* openDecryptSession( 121 DecryptHandle* openDecryptSession( 124 DecryptHandle* openDecryptSession(int uniqueId, const DrmBuffer& buf, 127 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 129 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 132 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 135 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId); 137 ssize_t pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
H A D | 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, 156 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 160 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0; 162 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | 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); 84 status_t onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 87 status_t onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 90 status_t onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId); 92 ssize_t onPread(int uniqueId, DecryptHandle* decryptHandle, 96 DecryptHandle* openDecryptSessionImp [all...] |
/frameworks/av/include/drm/ |
H A D | 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); 102 status_t closeDecryptSession(sp<DecryptHandle> &decryptHandle); 116 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve); 129 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position); 141 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo); 160 sp<DecryptHandle> &decryptHandle, int decryptUnitId, 172 sp<DecryptHandle> &decryptHandle, int decryptUnitId); 184 ssize_t pread(sp<DecryptHandle> [all...] |
H A D | drm_framework_common.h | 52 * copy control settings used in DecryptHandle::copyControlVector 260 class DecryptHandle : public RefBase { class in namespace:android 312 DecryptHandle(): function in class:android::DecryptHandle 321 ~DecryptHandle() { 325 bool operator<(const DecryptHandle& handle) const { 329 bool operator==(const DecryptHandle& handle) const {
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | 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, 93 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle); 95 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 98 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 101 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId); 103 ssize_t pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
H A D | IDrmEngine.h | 213 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0; 226 virtual status_t setPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, 330 int uniqueId, DecryptHandle* decryptHandle, 345 int uniqueId, DecryptHandle* decryptHandle, 358 virtual status_t openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, 369 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0; 381 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 401 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 414 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0; 427 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
/frameworks/av/include/media/ |
H A D | IDataSource.h | 28 class DecryptHandle; 51 // Initialize DRM and return a DecryptHandle. 52 virtual sp<DecryptHandle> DrmInitialization(const char *mime) = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | FileSource.h | 42 virtual sp<DecryptHandle> DrmInitialization(const char *mime); 44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 61 sp<DecryptHandle> mDecryptHandle;
|
H A D | MediaHTTP.h | 52 virtual sp<DecryptHandle> DrmInitialization(const char* mime); 53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 67 sp<DecryptHandle> mDecryptHandle;
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 87 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 123 int uniqueId, DecryptHandle* decryptHandle, 134 int uniqueId, DecryptHandle* decryptHandle, 142 status_t DrmEngineBase::openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, 147 status_t DrmEngineBase::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { 152 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { 157 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 163 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { 168 int uniqueId, DecryptHandle* decryptHandl [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | DRMExtractor.h | 31 class DecryptHandle; 50 sp<DecryptHandle> mDecryptHandle;
|
H A D | ThrottledSource.h | 57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) { 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {
|
H A D | CallbackDataSource.h | 44 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL); 72 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL);
|
H A D | NuCachedSource2.h | 45 virtual sp<DecryptHandle> DrmInitialization(const char* mime); 46 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 209 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 218 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 265 DecryptHandle* DrmManagerService::openDecryptSession( 275 DecryptHandle* DrmManagerService::openDecryptSession( 285 DecryptHandle* DrmManagerService::openDecryptSession( 295 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { 303 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 313 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, 323 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { 331 ssize_t DrmManagerService::pread(int uniqueId, DecryptHandle* decryptHandl [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | 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) { 253 int uniqueId, DecryptHandle* decryptHandle, const char* uri) { 257 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { 268 status_t DrmPassthruPlugIn::onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, 274 status_t DrmPassthruPlugIn::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, 296 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { 301 ssize_t DrmPassthruPlugIn::onPread(int uniqueId, DecryptHandle* decryptHandle,
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 297 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, 532 DecryptHandle* decryptHandle, 561 DecryptHandle* decryptHandle) { 593 DecryptHandle* /* decryptHandle */, 602 DecryptHandle* /* decryptHandle */, 612 DecryptHandle* /* decryptHandl [all...] |