Home
last modified time | relevance | path

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

12

/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h200 DecryptHandle* decryptHandle,
217 DecryptHandle* decryptHandle,
222 DecryptHandle* decryptHandle,
332 DecryptHandle* decryptHandle,
336 DecryptHandle* decryptHandle,
350 DecryptHandle* decryptHandle,
362 DecryptHandle* decryptHandle);
375 DecryptHandle* decryptHandle,
396 DecryptHandle* decryptHandle,
418 status_t onDecrypt(int uniqueId, DecryptHandle* decryptHandle,
[all …]
/frameworks/base/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, int fd, off64_t offset, off64_t length);
86 int uniqueId, DecryptHandle* decryptHandle, const char* uri);
88 status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle);
90 status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
93 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
96 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
98 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
262 virtual status_t onConsumeRights(int uniqueId, DecryptHandle* decryptHandle,
[all …]
DIDrmEngine.h212 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
225 virtual status_t setPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
327 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) = 0;
339 int uniqueId, DecryptHandle* decryptHandle, const char* uri) = 0;
349 virtual status_t closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) = 0;
361 virtual status_t initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle,
381 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
394 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0;
407 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
/frameworks/base/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/base/drm/libdrmframework/include/
DIDrmManagerService.h119 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) = …
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,
151 virtual status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
155 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) = 0;
157 virtual ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
203 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
[all …]
DDrmManagerService.h81 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,
110 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
113 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
115 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
DDrmManagerClientImpl.h192 … status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
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);
326 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle);
338 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle,
358 status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId,
370 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId);
383 ssize_t pread(int uniqueId, sp<DecryptHandle> &decryptHandle,
DDrmManager.h94 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,
123 status_t decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
126 status_t finalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId);
128 ssize_t pread(int uniqueId, DecryptHandle* decryptHandle,
/frameworks/base/include/drm/
DDrmManagerClient.h72 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length);
81 sp<DecryptHandle> openDecryptSession(const char* uri);
90 status_t closeDecryptSession(sp<DecryptHandle> &decryptHandle);
104 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve);
117 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
129 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo);
148 sp<DecryptHandle> &decryptHandle, int decryptUnitId,
160 sp<DecryptHandle> &decryptHandle, int decryptUnitId);
172 ssize_t pread(sp<DecryptHandle> &decryptHandle,
Ddrm_framework_common.h259 class DecryptHandle : public RefBase {
311 DecryptHandle(): in DecryptHandle() function
320 ~DecryptHandle() { in ~DecryptHandle()
324 bool operator<(const DecryptHandle& handle) const {
328 bool operator==(const DecryptHandle& handle) const {
/frameworks/base/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, int fd, off64_t offset, off64_t length) { in openDecryptSession()
128 int uniqueId, DecryptHandle* decryptHandle, const char* uri) { in openDecryptSession()
132 status_t DrmEngineBase::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
137 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
142 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt()
148 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
153 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread()
DIDrmManagerService.cpp41 const DecryptHandle* handle, Parcel* data) { in writeDecryptHandleToParcelData()
69 DecryptHandle* handle, const Parcel& data) { in readDecryptHandleFromParcelData()
101 static void clearDecryptHandle(DecryptHandle* handle) { in clearDecryptHandle()
413 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
430 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
602 DecryptHandle* BpDrmManagerService::openDecryptSession( in openDecryptSession()
615 DecryptHandle* handle = NULL; in openDecryptSession()
617 handle = new DecryptHandle(); in openDecryptSession()
623 DecryptHandle* BpDrmManagerService::openDecryptSession(int uniqueId, const char* uri) { in openDecryptSession()
633 DecryptHandle* handle = NULL; in openDecryptSession()
[all …]
/frameworks/base/drm/libdrmframework/
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(int fd, off64_t offset, off64_t length) { in openDecryptSession()
123 sp<DecryptHandle> DrmManagerClient::openDecryptSession(const char* uri) { in openDecryptSession()
127 status_t DrmManagerClient::closeDecryptSession(sp<DecryptHandle> &decryptHandle) { in closeDecryptSession()
132 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
138 sp<DecryptHandle> &decryptHandle, int decryptUnitId, in decrypt()
145 sp<DecryptHandle> &decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
151 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread()
DDrmManagerClientImpl.cpp179 int uniqueId, sp<DecryptHandle> &decryptHandle, in consumeRights()
190 int uniqueId, sp<DecryptHandle> &decryptHandle, in setPlaybackStatus()
257 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
262 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
264 DecryptHandle* handle = NULL; in openDecryptSession()
272 int uniqueId, sp<DecryptHandle> &decryptHandle) { in closeDecryptSession()
282 int uniqueId, sp<DecryptHandle> &decryptHandle, in initializeDecryptUnit()
293 int uniqueId, sp<DecryptHandle> &decryptHandle, in decrypt()
307 int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
316 ssize_t DrmManagerClientImpl::pread(int uniqueId, sp<DecryptHandle> &decryptHandle, in pread()
/frameworks/base/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp183 status_t DrmPassthruPlugIn::onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, in onConsumeRights()
189 status_t DrmPassthruPlugIn::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, in onSetPlaybackStatus()
237 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) { in onOpenDecryptSession()
252 int uniqueId, DecryptHandle* decryptHandle, const char* uri) { in onOpenDecryptSession()
256 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in onCloseDecryptSession()
267 status_t DrmPassthruPlugIn::onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, in onInitializeDecryptUnit()
273 status_t DrmPassthruPlugIn::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, in onDecrypt()
289 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in onFinalizeDecryptUnit()
294 ssize_t DrmPassthruPlugIn::onPread(int uniqueId, DecryptHandle* decryptHandle, in onPread()
/frameworks/base/drm/drmserver/
DDrmManagerService.cpp160 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
166 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
210 DecryptHandle* DrmManagerService::openDecryptSession( in openDecryptSession()
220 DecryptHandle* DrmManagerService::openDecryptSession( in openDecryptSession()
230 status_t DrmManagerService::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
235 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, in initializeDecryptUnit()
242 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt()
249 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
254 ssize_t DrmManagerService::pread(int uniqueId, DecryptHandle* decryptHandle, in pread()
DDrmManager.cpp300 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights()
311 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
429 DecryptHandle* DrmManager::openDecryptSession(int uniqueId, int fd, off64_t offset, off64_t length)… in openDecryptSession()
434 DecryptHandle* handle = new DecryptHandle(); in openDecryptSession()
456 DecryptHandle* DrmManager::openDecryptSession(int uniqueId, const char* uri) { in openDecryptSession()
461 DecryptHandle* handle = new DecryptHandle(); in openDecryptSession()
484 status_t DrmManager::closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) { in closeDecryptSession()
498 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
508 status_t DrmManager::decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, in decrypt()
522 int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
[all …]
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp257 DecryptHandle* decryptHandle, in onConsumeRights()
332 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
335 status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
430 DecryptHandle* decryptHandle,
436 DecryptHandle* decryptHandle,
489 DecryptHandle* decryptHandle,
518 DecryptHandle* decryptHandle) {
550 DecryptHandle* decryptHandle,
557 status_t FwdLockEngine::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
564 DecryptHandle* decryptHandle,
[all …]
/frameworks/base/include/media/stagefright/
DFileSource.h41 virtual sp<DecryptHandle> DrmInitialization();
43 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
55 sp<DecryptHandle> mDecryptHandle;
DDataSource.h84 virtual sp<DecryptHandle> DrmInitialization() { in DrmInitialization()
87 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) {}; in getDrmInfo()
/frameworks/base/media/libstagefright/include/
DChromiumHTTPDataSource.h46 virtual sp<DecryptHandle> DrmInitialization();
48 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
92 sp<DecryptHandle> mDecryptHandle;
DDRMExtractor.h30 class DecryptHandle; variable
48 sp<DecryptHandle> mDecryptHandle;
DNuCachedSource2.h43 virtual sp<DecryptHandle> DrmInitialization();
44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
/frameworks/base/media/libstagefright/
DDRMExtractor.cpp44 const sp<DecryptHandle> &decryptHandle,
59 sp<DecryptHandle> mDecryptHandle;
73 const sp<DecryptHandle> &decryptHandle, in DRMSource()
280 sp<DecryptHandle> decryptHandle = source->DrmInitialization(); in SniffDRM()
DFileSource.cpp130 sp<DecryptHandle> FileSource::DrmInitialization() { in DrmInitialization()
152 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { in getDrmInfo()

12