Searched refs:uniqueId (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h51 void removeUniqueId(int uniqueId);
53 void addClient(int uniqueId);
55 void removeClient(int uniqueId);
58 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener);
60 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
62 DrmMetadata* getMetadata(int uniqueId, const String8* path);
64 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
66 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
68 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
70 status_t saveRights(int uniqueId, cons
[all...]
H A DNoOpDrmManagerClientImpl.h28 void remove(int uniqueId);
29 void addClient(int uniqueId);
30 void removeClient(int uniqueId);
32 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener);
33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
35 DrmMetadata* getMetadata(int uniqueId, const String8* path);
36 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
38 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
39 status_t saveRights(int uniqueId, cons
[all...]
H A DDrmManager.h58 void removeUniqueId(int uniqueId);
60 void addClient(int uniqueId);
62 void removeClient(int uniqueId);
71 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener);
73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
75 DrmMetadata* getMetadata(int uniqueId, const String8* path);
77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
79 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
81 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
83 status_t saveRights(int uniqueId, cons
[all...]
H A DDrmManagerClientImpl.h46 virtual void remove(int uniqueId);
51 * @param[in] uniqueId Unique identifier for a session
53 virtual void addClient(int uniqueId);
58 * @param[in] uniqueId Unique identifier for a session
60 virtual void removeClient(int uniqueId);
66 * @param[in] uniqueId Unique identifier for a session
72 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener);
77 * @param[in] uniqueId Unique identifier for a session
86 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
91 * @param[in] uniqueId Uniqu
[all...]
H A DIDrmManagerService.h87 virtual void removeUniqueId(int uniqueId) = 0;
89 virtual void addClient(int uniqueId) = 0;
91 virtual void removeClient(int uniqueId) = 0;
94 int uniqueId, const sp<IDrmServiceListener>& infoListener) = 0;
97 int uniqueId, const String8* path, const int action) = 0;
99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0;
101 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0;
103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
105 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0;
107 virtual status_t saveRights(int uniqueId, cons
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path);
35 status_t onInitialize(int uniqueId);
37 status_t onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener);
39 status_t onTerminate(int uniqueId);
41 bool onCanHandle(int uniqueId, const String8& path);
43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights,
48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
50 String8 onGetOriginalMimeType(int uniqueId, cons
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { argument
35 return onGetMetadata(uniqueId, path);
38 status_t DrmEngineBase::initialize(int uniqueId) { argument
39 return onInitialize(uniqueId);
43 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) {
44 return onSetOnInfoListener(uniqueId, infoListener);
47 status_t DrmEngineBase::terminate(int uniqueId) { argument
48 return onTerminate(uniqueId);
29 getConstraints( int uniqueId, const String8* path, int action) argument
42 setOnInfoListener( int uniqueId, const IDrmEngine::OnInfoListener* infoListener) argument
51 canHandle(int uniqueId, const String8& path) argument
55 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
59 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
65 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
69 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
73 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
77 checkRightsStatus(int uniqueId, const String8& path, int action) argument
81 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
86 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
97 removeRights(int uniqueId, const String8& path) argument
101 removeAllRights(int uniqueId) argument
105 openConvertSession(int uniqueId, int convertId) argument
109 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
114 closeConvertSession(int uniqueId, int convertId) argument
118 getSupportInfo(int uniqueId) argument
122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
142 openDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
147 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
151 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
156 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
162 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
167 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmInfoEvent.cpp22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 message) argument
23 : mUniqueId(uniqueId),
H A DIDrmManagerService.cpp122 void BpDrmManagerService::removeUniqueId(int uniqueId) { argument
126 data.writeInt32(uniqueId);
130 void BpDrmManagerService::addClient(int uniqueId) { argument
133 data.writeInt32(uniqueId);
137 void BpDrmManagerService::removeClient(int uniqueId) { argument
140 data.writeInt32(uniqueId);
145 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
150 data.writeInt32(uniqueId);
157 int uniqueId, const String8* path, const int action) {
162 data.writeInt32(uniqueId);
144 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
156 getConstraints( int uniqueId, const String8* path, const int action) argument
189 getMetadata(int uniqueId, const String8* path) argument
219 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
234 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
285 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) argument
337 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
367 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
384 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
399 checkRightsStatus(int uniqueId, const String8& path, int action) argument
413 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
430 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
447 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
465 removeRights(int uniqueId, const String8& path) argument
477 removeAllRights(int uniqueId) argument
488 openConvertSession(int uniqueId, const String8& mimeType) argument
500 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
535 closeConvertSession(int uniqueId, int convertId) argument
567 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
603 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
629 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
656 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
683 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
697 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
717 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
751 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
767 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
802 int uniqueId = addUniqueId(data.readInt32()); local
836 const int uniqueId = data.readInt32(); local
851 const int uniqueId = data.readInt32(); local
885 const int uniqueId = data.readInt32(); local
917 const int uniqueId = data.readInt32(); local
932 const int uniqueId = data.readInt32(); local
980 const int uniqueId = data.readInt32(); local
1035 const int uniqueId = data.readInt32(); local
1065 const int uniqueId = data.readInt32(); local
1083 const int uniqueId = data.readInt32(); local
1097 const int uniqueId = data.readInt32(); local
1111 const int uniqueId = data.readInt32(); local
1131 const int uniqueId = data.readInt32(); local
1151 const int uniqueId = data.readInt32(); local
1168 int uniqueId = data.readInt32(); local
1192 const int uniqueId = data.readInt32(); local
1205 const int uniqueId = data.readInt32(); local
1240 const int uniqueId = data.readInt32(); local
1270 const int uniqueId = data.readInt32(); local
1304 const int uniqueId = data.readInt32(); local
1327 const int uniqueId = data.readInt32(); local
1349 const int uniqueId = data.readInt32(); local
1373 const int uniqueId = data.readInt32(); local
1388 const int uniqueId = data.readInt32(); local
1414 const int uniqueId = data.readInt32(); local
1458 const int uniqueId = data.readInt32(); local
1475 const int uniqueId = data.readInt32(); local
[all...]
H A DIDrmServiceListener.cpp48 int uniqueId = data.readInt32(); local
52 status_t status = notify(DrmInfoEvent(uniqueId, type, message));
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action);
39 DrmMetadata* getMetadata(int uniqueId, const String8* path);
41 status_t initialize(int uniqueId);
43 status_t setOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener);
45 status_t terminate(int uniqueId);
47 bool canHandle(int uniqueId, const String8& path);
49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
51 status_t saveRights(int uniqueId, const DrmRights& drmRights,
54 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
56 String8 getOriginalMimeType(int uniqueId, cons
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
432 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
449 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
[all...]
H A DIDrmEngine.h63 * @param[in] uniqueId Unique identifier for a session
67 virtual status_t initialize(int uniqueId) = 0;
73 * @param[in] uniqueId Unique identifier for a session
79 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) = 0;
86 * @param[in] uniqueId Unique identifier for a session
90 virtual status_t terminate(int uniqueId) = 0;
95 * @param[in] uniqueId Unique identifier for a session
105 int uniqueId, const String8* path, int action) = 0;
110 * @param[in] uniqueId Unique identifier for a session
117 virtual DrmMetadata* getMetadata(int uniqueId, cons
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h48 * @param uniqueId Unique identifier for a session
57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
62 * @param uniqueId Unique identifier for a session
69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path);
74 * @param uniqueId Unique identifier for a session
78 status_t onInitialize(int uniqueId);
84 * @param uniqueId Unique identifier for a session
89 status_t onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener);
94 * @param uniqueId Unique identifier for a session
98 status_t onTerminate(int uniqueId);
517 int uniqueId; member in class:android::FwdLockEngine::ConvertSession
[all...]
/frameworks/av/drm/libdrmframework/
H A DNoOpDrmManagerClientImpl.cpp21 void NoOpDrmManagerClientImpl::remove(int uniqueId) { argument
24 void NoOpDrmManagerClientImpl::addClient(int uniqueId) { argument
27 void NoOpDrmManagerClientImpl::removeClient(int uniqueId) { argument
31 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener) {
35 DrmConstraints* NoOpDrmManagerClientImpl::getConstraints(int uniqueId, const String8* path, const int action) { argument
39 DrmMetadata* NoOpDrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { argument
43 bool NoOpDrmManagerClientImpl::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument
47 DrmInfoStatus* NoOpDrmManagerClientImpl::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
51 DrmInfo* NoOpDrmManagerClientImpl::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
55 status_t NoOpDrmManagerClientImpl::saveRights(int uniqueId, cons argument
30 setOnInfoListener( int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener) argument
60 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
64 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
68 checkRightsStatus(int uniqueId, const String8& path, int action) argument
72 consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
76 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
81 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
86 removeRights(int uniqueId, const String8& path) argument
90 removeAllRights(int uniqueId) argument
94 openConvertSession(int uniqueId, const String8& mimeType) argument
98 convertData(int uniqueId, int convertId, const DrmBuffer* inputData) argument
102 closeConvertSession(int uniqueId, int convertId) argument
106 getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
110 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
115 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
120 openDecryptSession(int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
125 closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle) argument
129 initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
134 decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
139 finalizeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
143 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManagerClientImpl.cpp48 void DrmManagerClientImpl::remove(int uniqueId) { argument
49 getDrmManagerService()->removeUniqueId(uniqueId);
83 void DrmManagerClientImpl::addClient(int uniqueId) { argument
84 getDrmManagerService()->addClient(uniqueId);
87 void DrmManagerClientImpl::removeClient(int uniqueId) { argument
88 getDrmManagerService()->removeClient(uniqueId);
92 int uniqueId,
96 return getDrmManagerService()->setDrmServiceListener(uniqueId,
101 int uniqueId, const String8* path, const int action) {
105 getDrmManagerService()->getConstraints(uniqueId, pat
91 setOnInfoListener( int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener) argument
100 getConstraints( int uniqueId, const String8* path, const int action) argument
110 getMetadata(int uniqueId, const String8* path) argument
118 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument
127 processDrmInfo( int uniqueId, const DrmInfo* drmInfo) argument
136 acquireDrmInfo( int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
145 saveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
151 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument
160 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
170 checkRightsStatus( int uniqueId, const String8& path, int action) argument
180 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
191 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
202 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
213 removeRights(int uniqueId, const String8& path) argument
221 removeAllRights(int uniqueId) argument
225 openConvertSession( int uniqueId, const String8& mimeType) argument
234 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
244 closeConvertSession( int uniqueId, int convertId) argument
249 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
267 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
277 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
282 closeDecryptSession( int uniqueId, sp<DecryptHandle> &decryptHandle) argument
292 initializeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
303 decrypt( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
317 finalizeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
327 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp82 void DrmManagerService::removeUniqueId(int uniqueId) { argument
83 mDrmManager->removeUniqueId(uniqueId);
86 void DrmManagerService::addClient(int uniqueId) { argument
87 mDrmManager->addClient(uniqueId);
90 void DrmManagerService::removeClient(int uniqueId) { argument
91 mDrmManager->removeClient(uniqueId);
95 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
97 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener);
102 int uniqueId, const String8* path, const int action) {
104 return mDrmManager->getConstraints(uniqueId, pat
94 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
101 getConstraints( int uniqueId, const String8* path, const int action) argument
107 getMetadata(int uniqueId, const String8* path) argument
112 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
117 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
122 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
127 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
134 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
139 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
145 checkRightsStatus( int uniqueId, const String8& path, int action) argument
151 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
160 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
169 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
176 removeRights(int uniqueId, const String8& path) argument
181 removeAllRights(int uniqueId) argument
186 openConvertSession(int uniqueId, const String8& mimeType) argument
191 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
197 closeConvertSession(int uniqueId, int convertId) argument
202 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
208 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
218 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
228 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
238 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
246 initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
255 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
265 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
274 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManager.cpp56 int uniqueId = -1; local
62 uniqueId = temp;
63 mUniqueIdArray[uniqueId] = true;
68 uniqueId |= 0x1000;
75 return uniqueId;
78 void DrmManager::removeUniqueId(int uniqueId) { argument
80 if (uniqueId & 0x1000) {
82 uniqueId &= ~(0x1000);
85 if (uniqueId >= 0 && uniqueId < kMaxNumUniqueId
126 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
137 addClient(int uniqueId) argument
149 removeClient(int uniqueId) argument
158 getConstraints(int uniqueId, const String8* path, const int action) argument
168 getMetadata(int uniqueId, const String8* path) argument
178 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
197 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
207 canHandle(int uniqueId, const String8& path) argument
222 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
232 saveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
244 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
254 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
264 checkRightsStatus(int uniqueId, const String8& path, int action) argument
274 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
285 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
296 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
307 removeRights(int uniqueId, const String8& path) argument
318 removeAllRights(int uniqueId) argument
331 openConvertSession(int uniqueId, const String8& mimeType) argument
348 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
360 closeConvertSession(int uniqueId, int convertId) argument
372 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
404 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
433 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
462 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
492 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
505 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
516 decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
529 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
540 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument
580 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument
603 int uniqueId = mServiceListeners.keyAt(index); local
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { argument
60 int uniqueId, const String8* path, int action) {
61 ALOGV("DrmPassthruPlugIn::onGetConstraints From Path: %d", uniqueId);
76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
77 ALOGV("DrmPassthruPlugIn::onProcessDrmInfo - Enter : %d", uniqueId);
111 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) {
112 ALOGV("DrmPassthruPlugIn::onSetOnInfoListener : %d", uniqueId);
116 status_t DrmPassthruPlugIn::onInitialize(int uniqueId) { argument
117 ALOGV("DrmPassthruPlugIn::onInitialize : %d", uniqueId);
121 status_t DrmPassthruPlugIn::onTerminate(int uniqueId) { argument
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
110 onSetOnInfoListener( int uniqueId, const IDrmEngine::OnInfoListener* infoListener) argument
126 onGetSupportInfo(int uniqueId) argument
138 onSaveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
144 onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
160 onCanHandle(int uniqueId, const String8& path) argument
167 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument
172 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
178 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
184 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
190 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
196 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
202 onRemoveRights(int uniqueId, const String8& path) argument
207 onRemoveAllRights(int uniqueId) argument
212 onOpenConvertSession(int uniqueId, int convertId) argument
217 onConvertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
232 onCloseConvertSession(int uniqueId, int convertId) argument
237 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
252 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
257 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
268 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
274 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
295 onFinalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
301 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmErrorEvent.java78 * @param uniqueId Unique session identifier.
82 public DrmErrorEvent(int uniqueId, int type, String message) { argument
83 super(uniqueId, type, message);
90 * @param uniqueId Unique session identifier.
96 public DrmErrorEvent(int uniqueId, int type, String message, argument
98 super(uniqueId, type, message, attributes);
H A DDrmInfoEvent.java67 * @param uniqueId Unique session identifier.
72 public DrmInfoEvent(int uniqueId, int type, String message) { argument
73 super(uniqueId, type, message);
80 * @param uniqueId Unique session identifier.
87 public DrmInfoEvent(int uniqueId, int type, String message, argument
89 super(uniqueId, type, message, attributes);
H A DDrmEvent.java57 * @param uniqueId Unique session identifier.
62 protected DrmEvent(int uniqueId, int type, String message, argument
64 mUniqueId = uniqueId;
79 * @param uniqueId Unique session identifier.
83 protected DrmEvent(int uniqueId, int type, String message) { argument
84 mUniqueId = uniqueId;
H A DDrmManagerClient.java183 Object thisReference, int uniqueId, int infoType, String message) {
188 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message);
206 int uniqueId = msg.arg1;
217 info = new DrmInfoEvent(uniqueId, infoType, message);
225 info = new DrmInfoEvent(uniqueId, infoType, message);
229 error = new DrmErrorEvent(uniqueId, infoType, message);
865 private native void _setListeners(int uniqueId, Object weak_this); argument
867 private native void _release(int uniqueId); argument
869 private native void _installDrmEngine(int uniqueId, String engineFilepath); argument
871 private native ContentValues _getConstraints(int uniqueId, Strin argument
182 notify( Object thisReference, int uniqueId, int infoType, String message) argument
873 _getMetadata(int uniqueId, String path) argument
875 _canHandle(int uniqueId, String path, String mimeType) argument
877 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
879 _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest) argument
881 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
884 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
886 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
888 _checkRightsStatus(int uniqueId, String path, int action) argument
890 _removeRights(int uniqueId, String path) argument
892 _removeAllRights(int uniqueId) argument
894 _openConvertSession(int uniqueId, String mimeType) argument
896 _convertData( int uniqueId, int convertId, byte[] inputData) argument
899 _closeConvertSession(int uniqueId, int convertId) argument
901 _getAllSupportInfo(int uniqueId) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp79 FwdLockConv_CloseSession(convSession->uniqueId, &(convSession->output));
108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument
114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) {
122 DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) { argument
135 android::status_t FwdLockEngine::onInitialize(int uniqueId) { argument
149 FwdLockEngine::onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { argument
156 android::status_t FwdLockEngine::onTerminate(int uniqueId) { argument
210 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) { argument
225 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { argument
232 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, cons argument
244 onSaveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
254 onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
312 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument
336 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
357 onRemoveRights(int uniqueId, const String8& path) argument
363 onRemoveAllRights(int uniqueId) argument
370 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
381 onOpenConvertSession(int uniqueId, int convertId) argument
399 onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData) argument
435 onCloseConvertSession(int uniqueId, int convertId) argument
467 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
526 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
555 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
587 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
595 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
601 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer) argument
610 onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
617 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument
643 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
663 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/include/drm/
H A DDrmInfoEvent.h76 * @param[in] uniqueId Unique session identifier
80 DrmInfoEvent(int uniqueId, int infoType, const String8 message);
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp167 jint uniqueId = event.getUniqueId(); local
171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string());
176 mObject, uniqueId, type, message);
213 int uniqueId = 0; local
214 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false);
215 drmManager->addClient(uniqueId);
219 return static_cast<jint>(uniqueId);
223 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) {
228 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener);
234 JNIEnv* env, jobject thiz, jint uniqueId) {
222 android_drm_DrmManagerClient_setListeners( JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) argument
233 android_drm_DrmManagerClient_release( JNIEnv* env, jobject thiz, jint uniqueId) argument
247 android_drm_DrmManagerClient_getConstraintsFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) argument
296 android_drm_DrmManagerClient_getMetadataFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) argument
336 android_drm_DrmManagerClient_getAllSupportInfo( JNIEnv* env, jobject thiz, jint uniqueId) argument
383 android_drm_DrmManagerClient_installDrmEngine( JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) argument
391 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument
414 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
425 android_drm_DrmManagerClient_processDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) argument
508 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument
580 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
591 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument
607 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
617 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument
624 android_drm_DrmManagerClient_removeAllRights( JNIEnv* env, jobject thiz, jint uniqueId) argument
631 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
672 android_drm_DrmManagerClient_convertData( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) argument
691 android_drm_DrmManagerClient_closeConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) argument
[all...]

Completed in 589 milliseconds

12