Home
last modified time | relevance | path

Searched refs:DecryptHandle (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h62 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* decryptHandle,
[all …]
DIDrmEngine.h213 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* decryptHandle,
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h201 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* decryptHandle,
[all …]
/frameworks/av/drm/libdrmframework/
DNoOpDrmManagerClientImpl.cpp100 sp<DecryptHandle> &/* decryptHandle */, in consumeRights() argument
108 sp<DecryptHandle> &/* decryptHandle */, in setPlaybackStatus() argument
159 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( in openDecryptSession()
168 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( in openDecryptSession()
175 sp<DecryptHandle> NoOpDrmManagerClientImpl::openDecryptSession( in openDecryptSession()
184 sp<DecryptHandle> &/* decryptHandle */) { in closeDecryptSession() argument
190 sp<DecryptHandle> &/* decryptHandle */, in initializeDecryptUnit() argument
198 sp<DecryptHandle> &/* decryptHandle */, in decrypt() argument
208 sp<DecryptHandle> &/* decryptHandle */, in finalizeDecryptUnit() argument
215 sp<DecryptHandle> &/* decryptHandle */, in pread() argument
DDrmManagerClient.cpp80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { in consumeRights()
85 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
119 sp<DecryptHandle> DrmManagerClient::openDecryptSession( in openDecryptSession()
126 sp<DecryptHandle> DrmManagerClient::openDecryptSession( in openDecryptSession()
133 sp<DecryptHandle> DrmManagerClient::openDecryptSession( in openDecryptSession()
138 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) { in closeDecryptSession()
143 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
149 sp<DecryptHandle> &decryptHandle, int decryptUnitId, in decrypt()
156 sp<DecryptHandle> &decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread()
DDrmManagerClientImpl.cpp181 int uniqueId, sp<DecryptHandle> &decryptHandle, in consumeRights()
192 int uniqueId, sp<DecryptHandle> &decryptHandle, in setPlaybackStatus()
259 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
267 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
270 DecryptHandle* handle = NULL; in openDecryptSession()
277 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
283 int uniqueId, sp<DecryptHandle> &decryptHandle) { in closeDecryptSession()
293 int uniqueId, sp<DecryptHandle> &decryptHandle, in initializeDecryptUnit()
304 int uniqueId, sp<DecryptHandle> &decryptHandle, in decrypt()
318 int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
[all …]
/frameworks/av/drm/libdrmframework/include/
DIDrmManagerService.h118 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* decryptHandle,
[all …]
DNoOpDrmManagerClientImpl.h44 … 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> &decryptHandle,
DDrmManagerService.h98 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* decryptHandle,
DDrmManagerClientImpl.h193 …virtual status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool re…
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 decryptUn…
400 virtual ssize_t pread(int uniqueId, sp<DecryptHandle> &decryptHandle,
DDrmManager.h92 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* decryptHandle,
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h56 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* openDecryptSessionImpl();
/frameworks/av/include/drm/
DDrmManagerClient.h73 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> &decryptHandle,
Ddrm_framework_common.h256 class DecryptHandle : public RefBase {
308 DecryptHandle(): in DecryptHandle() function
317 ~DecryptHandle() { in ~DecryptHandle()
321 bool operator<(const DecryptHandle& handle) const {
325 bool operator==(const DecryptHandle& handle) const {
/frameworks/av/drm/common/
DDrmEngineBase.cpp82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
87 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
123 int uniqueId, DecryptHandle* decryptHandle, in openDecryptSession()
134 int uniqueId, DecryptHandle* decryptHandle, in openDecryptSession()
142 status_t DrmEngineBase::openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, in openDecryptSession()
147 status_t DrmEngineBase::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
152 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
157 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt()
163 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread()
DIDrmManagerService.cpp42 const DecryptHandle* handle, Parcel* data) { in writeDecryptHandleToParcelData()
70 DecryptHandle* handle, const Parcel& data) { in readDecryptHandleFromParcelData()
102 static void clearDecryptHandle(DecryptHandle* handle) { in clearDecryptHandle()
417 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
434 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
606 DecryptHandle* BpDrmManagerService::openDecryptSession( in openDecryptSession()
624 DecryptHandle* handle = NULL; in openDecryptSession()
626 handle = new DecryptHandle(); in openDecryptSession()
632 DecryptHandle* BpDrmManagerService::openDecryptSession( in openDecryptSession()
649 DecryptHandle* handle = NULL; in openDecryptSession()
[all …]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp186 DecryptHandle* /*decryptHandle*/, int /*action*/, bool /*reserve*/) { in onConsumeRights() argument
192 DecryptHandle* /*decryptHandle*/, int /*playbackStatus*/, int64_t /*position*/) { in onSetPlaybackStatus() argument
239 … int uniqueId, DecryptHandle* decryptHandle, int /*fd*/, off64_t /*offset*/, off64_t /*length*/) { in onOpenDecryptSession()
254 int /*uniqueId*/, DecryptHandle* /*decryptHandle*/, const char* /*uri*/) { in onOpenDecryptSession() argument
258 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in onCloseDecryptSession()
269 status_t DrmPassthruPlugIn::onInitializeDecryptUnit(int uniqueId, DecryptHandle* /*decryptHandle*/, in onInitializeDecryptUnit() argument
275 status_t DrmPassthruPlugIn::onDecrypt(int uniqueId, DecryptHandle* /*decryptHandle*/, in onDecrypt() argument
297 int uniqueId, DecryptHandle* /*decryptHandle*/, int /*decryptUnitId*/) { in onFinalizeDecryptUnit() argument
302 ssize_t DrmPassthruPlugIn::onPread(int uniqueId, DecryptHandle* /*decryptHandle*/, in onPread() argument
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp209 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
218 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
265 DecryptHandle* DrmManagerService::openDecryptSession( in openDecryptSession()
275 DecryptHandle* DrmManagerService::openDecryptSession( in openDecryptSession()
285 DecryptHandle* DrmManagerService::openDecryptSession( in openDecryptSession()
295 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
303 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, in initializeDecryptUnit()
313 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt()
323 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
331 ssize_t DrmManagerService::pread(int uniqueId, DecryptHandle* decryptHandle, in pread()
DDrmManager.cpp270 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
281 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
399 DecryptHandle* DrmManager::openDecryptSession( in openDecryptSession()
406 DecryptHandle* handle = new DecryptHandle(); in openDecryptSession()
428 DecryptHandle* DrmManager::openDecryptSession( in openDecryptSession()
434 DecryptHandle* handle = new DecryptHandle(); in openDecryptSession()
457 DecryptHandle* DrmManager::openDecryptSession( in openDecryptSession()
463 DecryptHandle* handle = new DecryptHandle(); in openDecryptSession()
487 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
501 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp297 DecryptHandle* /* decryptHandle */, in onConsumeRights() argument
375 status_t FwdLockEngine::onSetPlaybackStatus(int /* uniqueId */, DecryptHandle* /* decryptHandle */, argument
378 status_t FwdLockEngine::onSetPlaybackStatus(int /* uniqueId */, DecryptHandle* /* decryptHandle */,
473 DecryptHandle* decryptHandle,
479 DecryptHandle* decryptHandle,
532 DecryptHandle* decryptHandle,
561 DecryptHandle* decryptHandle) {
593 DecryptHandle* /* decryptHandle */, argument
602 DecryptHandle* /* decryptHandle */, argument
612 DecryptHandle* /* decryptHandle */, argument
[all …]
/frameworks/av/media/libstagefright/include/
DFileSource.h46 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
67 sp<DecryptHandle> mDecryptHandle;
DMediaHTTP.h52 virtual sp<DecryptHandle> DrmInitialization(const char* mime);
53 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
67 sp<DecryptHandle> mDecryptHandle;
DThrottledSource.h57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) {
61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { in getDrmInfo()
/frameworks/av/media/libmedia/include/media/
DIDataSource.h28 class DecryptHandle; variable
52 virtual sp<DecryptHandle> DrmInitialization(const char *mime) = 0;
/frameworks/av/include/media/
DIDataSource.h28 class DecryptHandle; variable
52 virtual sp<DecryptHandle> DrmInitialization(const char *mime) = 0;

12