Home
last modified time | relevance | path

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

12

/frameworks/av/drm/common/include/
DDrmEngineBase.h62 status_t consumeRights(int uniqueId, sp<DecryptHandle>& decryptHandle, int action,
66 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position);
84 int uniqueId, sp<DecryptHandle>& decryptHandle,
88 int uniqueId, sp<DecryptHandle>& decryptHandle,
91 status_t openDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle,
94 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle);
96 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
99 status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
102 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
105 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
[all …]
DIDrmManagerService.h118 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) = 0;
121 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus,
142 virtual sp<DecryptHandle> openDecryptSession(
146 virtual sp<DecryptHandle> openDecryptSession(
149 virtual sp<DecryptHandle> openDecryptSession(
152 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) = 0;
154 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
157 virtual status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
161 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId) = 0;
163 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
[all …]
DIDrmEngine.h213 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) = 0;
226 virtual status_t setPlaybackStatus(int uniqueId, sp<DecryptHandle>& decryptHandle,
330 int uniqueId, sp<DecryptHandle>& decryptHandle,
345 int uniqueId, sp<DecryptHandle>& decryptHandle,
358 virtual status_t openDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle,
369 virtual status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) = 0;
381 virtual status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
401 virtual status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
414 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId) = 0;
427 virtual ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h201 sp<DecryptHandle>& decryptHandle,
218 sp<DecryptHandle>& decryptHandle,
223 sp<DecryptHandle>& decryptHandle,
332 sp<DecryptHandle>& decryptHandle,
336 sp<DecryptHandle>& decryptHandle,
350 sp<DecryptHandle>& decryptHandle,
362 sp<DecryptHandle>& decryptHandle);
375 sp<DecryptHandle>& decryptHandle,
396 sp<DecryptHandle>& decryptHandle,
418 status_t onDecrypt(int uniqueId, sp<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.cpp167 int uniqueId, sp<DecryptHandle> &decryptHandle, in consumeRights()
178 int uniqueId, sp<DecryptHandle> &decryptHandle, in setPlaybackStatus()
245 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
253 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
256 sp<DecryptHandle> handle; in openDecryptSession()
263 sp<DecryptHandle> DrmManagerClientImpl::openDecryptSession( in openDecryptSession()
269 int uniqueId, sp<DecryptHandle> &decryptHandle) { in closeDecryptSession()
279 int uniqueId, sp<DecryptHandle> &decryptHandle, in initializeDecryptUnit()
290 int uniqueId, sp<DecryptHandle> &decryptHandle, in decrypt()
304 int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
[all …]
/frameworks/av/drm/libdrmframework/include/
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,
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,
/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()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h56 status_t onConsumeRights(int uniqueId, sp<DecryptHandle>& decryptHandle,
60 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position);
78 int uniqueId, sp<DecryptHandle>& decryptHandle, int fd, off64_t offset,
82 int uniqueId, sp<DecryptHandle>& decryptHandle, const char* uri);
84 status_t onCloseDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle);
86 status_t onInitializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
89 status_t onDecrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
92 status_t onFinalizeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
95 ssize_t onPread(int uniqueId, sp<DecryptHandle>& decryptHandle,
/frameworks/av/drm/drmserver/
DDrmManagerService.h98 status_t consumeRights(int uniqueId, sp<DecryptHandle>& decryptHandle, int action,
102 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position);
119 sp<DecryptHandle> openDecryptSession(
122 sp<DecryptHandle> openDecryptSession(
125 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
128 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle);
130 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
133 status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
136 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
139 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DDrmManager.h130 status_t consumeRights(int uniqueId, sp<DecryptHandle>& decryptHandle, int action,
134 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position);
151 sp<DecryptHandle> openDecryptSession(
154 sp<DecryptHandle> openDecryptSession(int uniqueId, const char* uri, const char* mime);
156 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
159 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle);
161 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
164 status_t decrypt(int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId,
167 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle,
170 ssize_t pread(int uniqueId, sp<DecryptHandle>& decryptHandle,
DDrmManagerService.cpp217 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) { in consumeRights()
226 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
273 sp<DecryptHandle> DrmManagerService::openDecryptSession( in openDecryptSession()
283 sp<DecryptHandle> DrmManagerService::openDecryptSession( in openDecryptSession()
293 sp<DecryptHandle> DrmManagerService::openDecryptSession( in openDecryptSession()
303 status_t DrmManagerService::closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) { in closeDecryptSession()
311 status_t DrmManagerService::initializeDecryptUnit(int uniqueId, sp<DecryptHandle>& decryptHandle, in initializeDecryptUnit()
321 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId, in decrypt()
331 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
339 ssize_t DrmManagerService::pread(int uniqueId, sp<DecryptHandle>& decryptHandle, in pread()
DDrmManager.cpp429 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) { in consumeRights()
440 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
563 sp<DecryptHandle> DrmManager::openDecryptSession( in openDecryptSession()
570 sp<DecryptHandle> handle = new DecryptHandle(); in openDecryptSession()
593 sp<DecryptHandle> DrmManager::openDecryptSession( in openDecryptSession()
599 sp<DecryptHandle> handle = new DecryptHandle(); in openDecryptSession()
623 sp<DecryptHandle> DrmManager::openDecryptSession( in openDecryptSession()
629 sp<DecryptHandle> handle = new DecryptHandle(); in openDecryptSession()
653 status_t DrmManager::closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) { in closeDecryptSession()
667 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId, in initializeDecryptUnit()
[all …]
/frameworks/av/drm/common/
DDrmEngineBase.cpp82 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) { in consumeRights()
87 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
123 int uniqueId, sp<DecryptHandle>& decryptHandle, in openDecryptSession()
134 int uniqueId, sp<DecryptHandle>& decryptHandle, in openDecryptSession()
142 status_t DrmEngineBase::openDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle, in openDecryptSession()
147 status_t DrmEngineBase::closeDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) { in closeDecryptSession()
152 … int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
157 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId, in decrypt()
163 int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId) { in finalizeDecryptUnit()
168 … int uniqueId, sp<DecryptHandle>& decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread()
DIDrmManagerService.cpp42 const sp<DecryptHandle>& handle, Parcel* data) { in writeDecryptHandleToParcelData()
70 sp<DecryptHandle>& handle, const Parcel& data) { in readDecryptHandleFromParcelData()
102 static void clearDecryptHandle(sp<DecryptHandle> &handle) { in clearDecryptHandle()
417 int uniqueId, sp<DecryptHandle>& decryptHandle, int action, bool reserve) { in consumeRights()
434 int uniqueId, sp<DecryptHandle>& decryptHandle, int playbackStatus, int64_t position) { in setPlaybackStatus()
606 sp<DecryptHandle> BpDrmManagerService::openDecryptSession( in openDecryptSession()
624 sp<DecryptHandle> handle; in openDecryptSession()
626 handle = new DecryptHandle(); in openDecryptSession()
632 sp<DecryptHandle> BpDrmManagerService::openDecryptSession( in openDecryptSession()
649 sp<DecryptHandle> handle; in openDecryptSession()
[all …]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp186 sp<DecryptHandle>& /*decryptHandle*/, int /*action*/, bool /*reserve*/) { in onConsumeRights() argument
192 sp<DecryptHandle>& /*decryptHandle*/, int /*playbackStatus*/, int64_t /*position*/) { in onSetPlaybackStatus() argument
239 int uniqueId, sp<DecryptHandle>& decryptHandle, int /*fd*/, off64_t /*offset*/, in onOpenDecryptSession()
257 int /*uniqueId*/, sp<DecryptHandle>& /*decryptHandle*/, const char* /*uri*/) { in onOpenDecryptSession() argument
261 status_t DrmPassthruPlugIn::onCloseDecryptSession(int uniqueId, sp<DecryptHandle>& decryptHandle) { in onCloseDecryptSession()
273 sp<DecryptHandle>& /*decryptHandle*/, in onInitializeDecryptUnit() argument
279 status_t DrmPassthruPlugIn::onDecrypt(int uniqueId, sp<DecryptHandle>& /*decryptHandle*/, in onDecrypt() argument
302 int uniqueId, sp<DecryptHandle>& /*decryptHandle*/, int /*decryptUnitId*/) { in onFinalizeDecryptUnit() argument
307 ssize_t DrmPassthruPlugIn::onPread(int uniqueId, sp<DecryptHandle>& /*decryptHandle*/, in onPread() argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp297 sp<DecryptHandle>& /* decryptHandle */, in onConsumeRights() argument
376 sp<DecryptHandle>& /* decryptHandle */, int /* playbackStatus */, argument
380 sp<DecryptHandle>& /* decryptHandle */,
475 sp<DecryptHandle>& decryptHandle,
481 sp<DecryptHandle>& decryptHandle,
538 sp<DecryptHandle>& decryptHandle,
567 sp<DecryptHandle>& decryptHandle) {
597 sp<DecryptHandle>& /* decryptHandle */, argument
606 sp<DecryptHandle>& /* decryptHandle */, argument
616 sp<DecryptHandle>& /* decryptHandle */, argument
[all …]
/frameworks/av/media/libmediaplayerservice/datasource/include/datasource/
DPlayerServiceMediaHTTP.h38 sp<DecryptHandle> mDecryptHandle;
41 sp<DecryptHandle> DrmInitialization(const char *mime);
DPlayerServiceFileSource.h47 sp<DecryptHandle> mDecryptHandle;
53 sp<DecryptHandle> DrmInitialization(const char *mime);
/frameworks/av/media/libmediaplayerservice/datasource/
DPlayerServiceFileSource.cpp94 sp<DecryptHandle> PlayerServiceFileSource::DrmInitialization(const char *mime) { in DrmInitialization()
152 sp<DecryptHandle> decryptHandle = in requiresDrm()
DPlayerServiceMediaHTTP.cpp44 sp<DecryptHandle> PlayerServiceMediaHTTP::DrmInitialization(const char *mime) { in DrmInitialization()
/frameworks/av/media/libmedia/include/android/
DIDataSource.h28 class DecryptHandle; variable

12