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

12

/frameworks/av/drm/libdrmframework/include/
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 DDrmManagerService.h70 void removeUniqueId(int uniqueId);
72 void addClient(int uniqueId);
74 void removeClient(int uniqueId);
77 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener);
79 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
81 DrmMetadata* getMetadata(int uniqueId, const String8* path);
83 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
85 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
87 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
89 status_t saveRights(int uniqueId, cons
[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.cpp123 void BpDrmManagerService::removeUniqueId(int uniqueId) { argument
127 data.writeInt32(uniqueId);
131 void BpDrmManagerService::addClient(int uniqueId) { argument
134 data.writeInt32(uniqueId);
138 void BpDrmManagerService::removeClient(int uniqueId) { argument
141 data.writeInt32(uniqueId);
146 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
151 data.writeInt32(uniqueId);
158 int uniqueId, const String8* path, const int action) {
163 data.writeInt32(uniqueId);
145 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
157 getConstraints( int uniqueId, const String8* path, const int action) argument
190 getMetadata(int uniqueId, const String8* path) argument
220 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
235 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
286 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) argument
340 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
370 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
387 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
402 checkRightsStatus(int uniqueId, const String8& path, int action) argument
416 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
433 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
450 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
468 removeRights(int uniqueId, const String8& path) argument
480 removeAllRights(int uniqueId) argument
491 openConvertSession(int uniqueId, const String8& mimeType) argument
503 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
538 closeConvertSession(int uniqueId, int convertId) argument
570 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
606 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
632 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
659 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
686 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
700 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
720 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
756 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
772 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
807 int uniqueId = addUniqueId(data.readInt32()); local
841 const int uniqueId = data.readInt32(); local
856 const int uniqueId = data.readInt32(); local
890 const int uniqueId = data.readInt32(); local
922 const int uniqueId = data.readInt32(); local
937 const int uniqueId = data.readInt32(); local
990 const int uniqueId = data.readInt32(); local
1048 const int uniqueId = data.readInt32(); local
1083 const int uniqueId = data.readInt32(); local
1101 const int uniqueId = data.readInt32(); local
1115 const int uniqueId = data.readInt32(); local
1129 const int uniqueId = data.readInt32(); local
1149 const int uniqueId = data.readInt32(); local
1169 const int uniqueId = data.readInt32(); local
1186 int uniqueId = data.readInt32(); local
1210 const int uniqueId = data.readInt32(); local
1223 const int uniqueId = data.readInt32(); local
1261 const int uniqueId = data.readInt32(); local
1291 const int uniqueId = data.readInt32(); local
1325 const int uniqueId = data.readInt32(); local
1348 const int uniqueId = data.readInt32(); local
1370 const int uniqueId = data.readInt32(); local
1394 const int uniqueId = data.readInt32(); local
1409 const int uniqueId = data.readInt32(); local
1440 const int uniqueId = data.readInt32(); local
1496 const int uniqueId = data.readInt32(); local
1513 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/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/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
[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/drmserver/
H A DDrmManagerService.cpp139 void DrmManagerService::removeUniqueId(int uniqueId) { argument
140 mDrmManager->removeUniqueId(uniqueId);
143 void DrmManagerService::addClient(int uniqueId) { argument
144 mDrmManager->addClient(uniqueId);
147 void DrmManagerService::removeClient(int uniqueId) { argument
148 mDrmManager->removeClient(uniqueId);
152 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
154 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener);
159 int uniqueId, const String8* path, const int action) {
161 return mDrmManager->getConstraints(uniqueId, pat
151 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
158 getConstraints( int uniqueId, const String8* path, const int action) argument
164 getMetadata(int uniqueId, const String8* path) argument
169 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
174 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
179 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
184 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
191 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
196 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
202 checkRightsStatus( int uniqueId, const String8& path, int action) argument
208 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
217 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
226 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
233 removeRights(int uniqueId, const String8& path) argument
238 removeAllRights(int uniqueId) argument
243 openConvertSession(int uniqueId, const String8& mimeType) argument
248 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
254 closeConvertSession(int uniqueId, int convertId) argument
259 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
265 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
275 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
285 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
295 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
303 initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
312 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
322 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
331 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
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.java184 Object thisReference, int uniqueId, int infoType, String message) {
189 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message);
207 int uniqueId = msg.arg1;
218 info = new DrmInfoEvent(uniqueId, infoType, message);
226 info = new DrmInfoEvent(uniqueId, infoType, message);
230 error = new DrmErrorEvent(uniqueId, infoType, message);
872 private native void _setListeners(int uniqueId, Object weak_this); argument
874 private native void _release(int uniqueId); argument
876 private native void _installDrmEngine(int uniqueId, String engineFilepath); argument
878 private native ContentValues _getConstraints(int uniqueId, Strin argument
183 notify( Object thisReference, int uniqueId, int infoType, String message) argument
880 _getMetadata(int uniqueId, String path) argument
882 _canHandle(int uniqueId, String path, String mimeType) argument
884 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
886 _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest) argument
888 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
891 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
893 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
895 _checkRightsStatus(int uniqueId, String path, int action) argument
897 _removeRights(int uniqueId, String path) argument
899 _removeAllRights(int uniqueId) argument
901 _openConvertSession(int uniqueId, String mimeType) argument
903 _convertData( int uniqueId, int convertId, byte[] inputData) argument
906 _closeConvertSession(int uniqueId, int convertId) argument
908 _getAllSupportInfo(int uniqueId) argument
[all...]
/frameworks/av/drm/libdrmframework/
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/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
392 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument
415 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
426 android_drm_DrmManagerClient_processDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) argument
509 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument
581 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
592 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument
608 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
618 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument
625 android_drm_DrmManagerClient_removeAllRights( JNIEnv* env, jobject thiz, jint uniqueId) argument
632 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
673 android_drm_DrmManagerClient_convertData( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) argument
692 android_drm_DrmManagerClient_closeConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java70 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { argument
74 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) {
87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, argument
92 mEntries.remove(uniqueId);
97 Entry entry = mEntries.get(uniqueId);
99 entry = new Entry(uniqueId);
100 mEntries.put(uniqueId, entry);
/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) {
135 android::status_t FwdLockEngine::onInitialize(int /* uniqueId */) {
150 int /* uniqueId */,
158 android::status_t FwdLockEngine::onTerminate(int /* uniqueId */) {
212 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int /* uniqueId */) {
227 bool FwdLockEngine::onCanHandle(int /* uniqueId */, const String8& path) {
234 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int /* uniqueId */, cons
266 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
305 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& ) argument
341 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
531 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
673 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]

Completed in 418 milliseconds

12