/frameworks/av/drm/libdrmframework/ |
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 */ [all...] |
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...] |
/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...] |
/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/include/ |
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 [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 virtual 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 virtual sp<DecryptHandle> openDecryptSession( 320 virtual sp<DecryptHandle> openDecryptSession( 332 virtual sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf, 339 * @param[in] decryptHandle Handle for the decryption sessio [all...] |
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 [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/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/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...] |
drm_framework_common.h | 52 * copy control settings used in DecryptHandle::copyControlVector 256 class DecryptHandle : public RefBase { 308 DecryptHandle(): 317 ~DecryptHandle() { 321 bool operator<(const DecryptHandle& handle) const { 325 bool operator==(const DecryptHandle& handle) const {
|
/frameworks/av/media/libstagefright/include/ |
MediaHTTP.h | 52 virtual sp<DecryptHandle> DrmInitialization(const char* mime); 53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 67 sp<DecryptHandle> mDecryptHandle;
|
FileSource.h | 46 virtual sp<DecryptHandle> DrmInitialization(const char *mime); 48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client); 67 sp<DecryptHandle> mDecryptHandle;
|
CallbackDataSource.h | 44 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL); 73 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL);
|
ThrottledSource.h | 57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) { 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {
|
/frameworks/av/media/libmedia/include/media/ |
IDataSource.h | 28 class DecryptHandle; 51 // Initialize DRM and return a DecryptHandle. 52 virtual sp<DecryptHandle> DrmInitialization(const char *mime) = 0;
|
/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...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 186 DecryptHandle* /*decryptHandle*/, int /*action*/, bool /*reserve*/) { 192 DecryptHandle* /*decryptHandle*/, int /*playbackStatus*/, int64_t /*position*/) { 239 int uniqueId, DecryptHandle* decryptHandle, int /*fd*/, off64_t /*offset*/, off64_t /*length*/) { 243 decryptHandle->mimeType = String8("video/passthru"); 244 decryptHandle->decryptApiType = DecryptApiType::ELEMENTARY_STREAM_BASED; 245 decryptHandle->status = DRM_NO_ERROR; 246 decryptHandle->decryptInfo = NULL [all...] |
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 209 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 214 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve); 218 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 223 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); 265 DecryptHandle* DrmManagerService::openDecryptSession( 275 DecryptHandle* DrmManagerService::openDecryptSession( 285 DecryptHandle* DrmManagerService::openDecryptSession( 295 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
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, [all...] |
/frameworks/base/media/jni/ |
android_media_MediaDataSource.h | 50 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
|