Searched defs:uniqueId (Results 1 - 20 of 20) sorted by relevance

/frameworks/av/drm/common/
H A DDrmInfoEvent.cpp22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 message) argument
23 : mUniqueId(uniqueId),
H A DIDrmServiceListener.cpp48 int uniqueId = data.readInt32(); local
52 status_t status = notify(DrmInfoEvent(uniqueId, type, message));
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 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);
156 status_t BpDrmManagerService::installDrmEngine(int uniqueId, const String8& drmEngineFile) { argument
161 data.writeInt32(uniqueId);
144 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
168 getConstraints( int uniqueId, const String8* path, const int action) argument
200 getMetadata(int uniqueId, const String8* path) argument
229 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
244 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
295 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) argument
347 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
377 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
394 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
409 checkRightsStatus(int uniqueId, const String8& path, int action) argument
423 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
440 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
457 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
475 removeRights(int uniqueId, const String8& path) argument
487 removeAllRights(int uniqueId) argument
498 openConvertSession(int uniqueId, const String8& mimeType) argument
510 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
545 closeConvertSession(int uniqueId, int convertId) argument
577 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
613 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
639 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
666 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
693 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
707 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
727 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
761 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
777 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
812 int uniqueId = addUniqueId(data.readInt32()); local
846 const int uniqueId = data.readInt32(); local
861 const int uniqueId = data.readInt32(); local
874 const int uniqueId = data.readInt32(); local
906 const int uniqueId = data.readInt32(); local
938 const int uniqueId = data.readInt32(); local
953 const int uniqueId = data.readInt32(); local
1001 const int uniqueId = data.readInt32(); local
1056 const int uniqueId = data.readInt32(); local
1086 const int uniqueId = data.readInt32(); local
1104 const int uniqueId = data.readInt32(); local
1118 const int uniqueId = data.readInt32(); local
1132 const int uniqueId = data.readInt32(); local
1152 const int uniqueId = data.readInt32(); local
1172 const int uniqueId = data.readInt32(); local
1189 int uniqueId = data.readInt32(); local
1213 const int uniqueId = data.readInt32(); local
1226 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
1435 const int uniqueId = data.readInt32(); local
1479 const int uniqueId = data.readInt32(); local
1496 const int uniqueId = data.readInt32(); local
[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
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...]
/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.java176 Object thisReference, int uniqueId, int infoType, String message) {
181 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message);
199 int uniqueId = msg.arg1;
210 info = new DrmInfoEvent(uniqueId, infoType, message);
218 info = new DrmInfoEvent(uniqueId, infoType, message);
222 error = new DrmErrorEvent(uniqueId, infoType, message);
854 private native void _setListeners(int uniqueId, Object weak_this); argument
856 private native void _release(int uniqueId); argument
858 private native void _installDrmEngine(int uniqueId, String engineFilepath); argument
860 private native ContentValues _getConstraints(int uniqueId, Strin argument
175 notify( Object thisReference, int uniqueId, int infoType, String message) argument
862 _getMetadata(int uniqueId, String path) argument
864 _canHandle(int uniqueId, String path, String mimeType) argument
866 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
868 _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest) argument
870 _saveRights( int uniqueId, DrmRights drmRights, String rightsPath, String contentPath) argument
873 _getDrmObjectType(int uniqueId, String path, String mimeType) argument
875 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument
877 _checkRightsStatus(int uniqueId, String path, int action) argument
879 _removeRights(int uniqueId, String path) argument
881 _removeAllRights(int uniqueId) argument
883 _openConvertSession(int uniqueId, String mimeType) argument
885 _convertData( int uniqueId, int convertId, byte[] inputData) argument
888 _closeConvertSession(int uniqueId, int convertId) argument
890 _getAllSupportInfo(int uniqueId) argument
[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/base/include/androidfw/
H A DInputDevice.h36 String8 uniqueId; member in struct:android::InputDeviceIdentifier
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp71 void DrmManagerService::removeUniqueId(int uniqueId) { argument
72 mDrmManager->removeUniqueId(uniqueId);
75 void DrmManagerService::addClient(int uniqueId) { argument
76 mDrmManager->addClient(uniqueId);
79 void DrmManagerService::removeClient(int uniqueId) { argument
80 mDrmManager->removeClient(uniqueId);
84 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
86 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener);
90 status_t DrmManagerService::installDrmEngine(int uniqueId, const String8& drmEngineFile) { argument
92 return mDrmManager->installDrmEngine(uniqueId, drmEngineFil
83 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
95 getConstraints( int uniqueId, const String8* path, const int action) argument
101 getMetadata(int uniqueId, const String8* path) argument
106 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
111 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
116 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
121 saveRights( int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
128 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
133 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
139 checkRightsStatus( int uniqueId, const String8& path, int action) argument
145 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
154 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
163 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
170 removeRights(int uniqueId, const String8& path) argument
175 removeAllRights(int uniqueId) argument
180 openConvertSession(int uniqueId, const String8& mimeType) argument
185 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
191 closeConvertSession(int uniqueId, int convertId) argument
196 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
212 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
222 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
232 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
240 initializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
249 decrypt( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
259 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
268 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
H A DDrmManager.cpp90 void DrmManager::removeUniqueId(int uniqueId) { argument
93 if (uniqueId == mUniqueIdVector.itemAt(i)) {
137 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) {
140 mServiceListeners.add(uniqueId, drmServiceListener);
142 mServiceListeners.removeItem(uniqueId);
147 void DrmManager::addClient(int uniqueId) { argument
153 rDrmEngine.initialize(uniqueId);
154 rDrmEngine.setOnInfoListener(uniqueId, this);
159 void DrmManager::removeClient(int uniqueId) { argument
164 rDrmEngine.terminate(uniqueId);
136 setDrmServiceListener( int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) argument
168 getConstraints(int uniqueId, const String8* path, const int action) argument
178 getMetadata(int uniqueId, const String8* path) argument
188 installDrmEngine(int uniqueId, const String8& absolutePath) argument
203 canHandle(int uniqueId, const String8& path, const String8& mimeType) argument
222 processDrmInfo(int uniqueId, const DrmInfo* drmInfo) argument
232 canHandle(int uniqueId, const String8& path) argument
247 acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
257 saveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
269 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument
279 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
289 checkRightsStatus(int uniqueId, const String8& path, int action) argument
299 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
310 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
321 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
332 removeRights(int uniqueId, const String8& path) argument
343 removeAllRights(int uniqueId) argument
356 openConvertSession(int uniqueId, const String8& mimeType) argument
373 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
385 closeConvertSession(int uniqueId, int convertId) argument
397 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
429 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
458 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
487 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
517 closeDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
530 initializeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
541 decrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
554 finalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
565 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
577 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument
605 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument
628 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);
75 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
76 ALOGV("DrmPassthruPlugIn::onProcessDrmInfo - Enter : %d", uniqueId);
110 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) {
111 ALOGV("DrmPassthruPlugIn::onSetOnInfoListener : %d", uniqueId);
115 status_t DrmPassthruPlugIn::onInitialize(int uniqueId) { argument
116 ALOGV("DrmPassthruPlugIn::onInitialize : %d", uniqueId);
120 status_t DrmPassthruPlugIn::onTerminate(int uniqueId) { argument
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
109 onSetOnInfoListener( int uniqueId, const IDrmEngine::OnInfoListener* infoListener) argument
125 onGetSupportInfo(int uniqueId) argument
137 onSaveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
143 onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
159 onCanHandle(int uniqueId, const String8& path) argument
166 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument
171 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
177 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
183 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
189 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
195 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
201 onRemoveRights(int uniqueId, const String8& path) argument
206 onRemoveAllRights(int uniqueId) argument
211 onOpenConvertSession(int uniqueId, int convertId) argument
216 onConvertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
231 onCloseConvertSession(int uniqueId, int convertId) argument
236 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
251 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
256 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
267 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
273 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
294 onFinalizeDecryptUnit( int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
300 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp43 void DrmManagerClientImpl::remove(int uniqueId) { argument
44 getDrmManagerService()->removeUniqueId(uniqueId);
72 void DrmManagerClientImpl::addClient(int uniqueId) { argument
73 getDrmManagerService()->addClient(uniqueId);
76 void DrmManagerClientImpl::removeClient(int uniqueId) { argument
77 getDrmManagerService()->removeClient(uniqueId);
81 int uniqueId,
85 return getDrmManagerService()->setDrmServiceListener(uniqueId,
90 int uniqueId, const String8& drmEngineFile) {
93 status = getDrmManagerService()->installDrmEngine(uniqueId, drmEngineFil
80 setOnInfoListener( int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener) argument
89 installDrmEngine( int uniqueId, const String8& drmEngineFile) argument
98 getConstraints( int uniqueId, const String8* path, const int action) argument
108 getMetadata(int uniqueId, const String8* path) argument
116 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument
125 processDrmInfo( int uniqueId, const DrmInfo* drmInfo) argument
134 acquireDrmInfo( int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
143 saveRights(int uniqueId, const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath) argument
149 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument
158 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
168 checkRightsStatus( int uniqueId, const String8& path, int action) argument
178 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
189 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
200 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
211 removeRights(int uniqueId, const String8& path) argument
219 removeAllRights(int uniqueId) argument
223 openConvertSession( int uniqueId, const String8& mimeType) argument
232 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
242 closeConvertSession( int uniqueId, int convertId) argument
247 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument
257 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
265 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
275 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
280 closeDecryptSession( int uniqueId, sp<DecryptHandle> &decryptHandle) argument
290 initializeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
301 decrypt( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
315 finalizeDecryptUnit( int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId) argument
325 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) 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
335 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument
356 onRemoveRights(int uniqueId, const String8& path) argument
362 onRemoveAllRights(int uniqueId) argument
369 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
380 onOpenConvertSession(int uniqueId, int convertId) argument
398 onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData) argument
434 onCloseConvertSession(int uniqueId, int convertId) argument
466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
525 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const char* uri) argument
554 onCloseDecryptSession(int uniqueId, DecryptHandle* decryptHandle) argument
586 onInitializeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) argument
594 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) argument
600 onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId, const DrmBuffer* encBuffer, DrmBuffer** decBuffer) argument
609 onFinalizeDecryptUnit(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId) argument
616 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument
642 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
662 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/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);
211 int uniqueId = 0; local
212 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false);
213 drmManager->addClient(uniqueId);
217 return uniqueId;
221 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) {
226 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener);
232 JNIEnv* env, jobject thiz, jint uniqueId) {
220 android_drm_DrmManagerClient_setListeners( JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) argument
231 android_drm_DrmManagerClient_release( JNIEnv* env, jobject thiz, jint uniqueId) argument
245 android_drm_DrmManagerClient_getConstraintsFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) argument
294 android_drm_DrmManagerClient_getMetadataFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) argument
334 android_drm_DrmManagerClient_getAllSupportInfo( JNIEnv* env, jobject thiz, jint uniqueId) argument
381 android_drm_DrmManagerClient_installDrmEngine( JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) argument
389 android_drm_DrmManagerClient_saveRights( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmRights, jstring rightsPath, jstring contentPath) argument
412 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
423 android_drm_DrmManagerClient_processDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) argument
506 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument
578 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
589 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument
605 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
615 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument
622 android_drm_DrmManagerClient_removeAllRights( JNIEnv* env, jobject thiz, jint uniqueId) argument
628 android_drm_DrmManagerClient_openConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) argument
669 android_drm_DrmManagerClient_convertData( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) argument
688 android_drm_DrmManagerClient_closeConvertSession( JNIEnv* env, jobject thiz, int uniqueId, jint convertId) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebSettingsClassic.java143 public AutoFillProfile(int uniqueId, String fullName, String email, argument
147 mUniqueId = uniqueId;
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java1461 private String getDeviceAlias(String uniqueId) { argument
1462 if (BluetoothAdapter.checkBluetoothAddress(uniqueId)) {
1463 // TODO(BT) mBluetoothService.getRemoteAlias(uniqueId)
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java2281 * @param uniqueId The unique id used in the name of the output clip
2287 EditSettings e,String uniqueId,int clipNo) {
2303 + lMediaItem.getId() + uniqueId + ".3gp");
2471 * @param uniqueId The unique id used in the name of the output clip
2476 String generateTransitionClip(EditSettings e, String uniqueId, argument
2482 outputFilename = String.format(mProjectPath + "/" + uniqueId + ".3gp");
3874 * @param uniqueId The unique id
3884 void generateAudioGraph(String uniqueId, String inFileName, String OutAudiGraphFileName, argument
3896 tempPCMFileName = String.format(mProjectPath + "/" + uniqueId + ".pcm");
2286 generateEffectClip(MediaItem lMediaItem, ClipSettings lclipSettings, EditSettings e,String uniqueId,int clipNo) argument

Completed in 213 milliseconds