Searched defs:convertId (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp105 status_t DrmEngineBase::openConvertSession(int uniqueId, int convertId) { argument
106 return onOpenConvertSession(uniqueId, convertId);
110 int uniqueId, int convertId, const DrmBuffer* inputData) {
111 return onConvertData(uniqueId, convertId, inputData);
114 DrmConvertedStatus* DrmEngineBase::closeConvertSession(int uniqueId, int convertId) { argument
115 return onCloseConvertSession(uniqueId, convertId);
109 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
H A DIDrmManagerService.cpp511 int uniqueId, int convertId, const DrmBuffer* inputData) {
517 data.writeInt32(convertId);
545 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
551 data.writeInt32(convertId);
1215 const int convertId = openConvertSession(uniqueId, mimeType); local
1217 reply->writeInt32(convertId);
1227 const int convertId = data.readInt32(); local
1233 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData);
1262 const int convertId = data.readInt32(); local
1264 = closeConvertSession(uniqueId, convertId);
510 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp107 DrmConvertedStatus* DrmManagerClient::convertData(int convertId, const DrmBuffer* inputData) { argument
108 return mDrmManagerClientImpl->convertData(mUniqueId, convertId, inputData);
111 DrmConvertedStatus* DrmManagerClient::closeConvertSession(int convertId) { argument
112 return mDrmManagerClientImpl->closeConvertSession(mUniqueId, convertId);
H A DDrmManagerClientImpl.cpp233 int uniqueId, int convertId, const DrmBuffer* inputData) {
237 getDrmManagerService()->convertData(uniqueId, convertId, inputData);
243 int uniqueId, int convertId) {
244 return getDrmManagerService()->closeConvertSession(uniqueId, convertId);
232 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
242 closeConvertSession( int uniqueId, int convertId) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp186 int uniqueId, int convertId, const DrmBuffer* inputData) {
188 return mDrmManager->convertData(uniqueId, convertId, inputData);
191 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
193 return mDrmManager->closeConvertSession(uniqueId, convertId);
185 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
H A DDrmManager.cpp358 int convertId = -1; local
366 convertId = mConvertId;
367 mConvertSessionMap.add(convertId, &rDrmEngine);
370 return convertId;
374 int uniqueId, int convertId, const DrmBuffer* inputData) {
378 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) {
379 IDrmEngine* drmEngine = mConvertSessionMap.valueFor(convertId);
380 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData);
385 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { argument
389 if (mConvertSessionMap.indexOfKey(convertId) !
373 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp211 status_t DrmPassthruPlugIn::onOpenConvertSession(int uniqueId, int convertId) { argument
217 int uniqueId, int convertId, const DrmBuffer* inputData) {
231 DrmConvertedStatus* DrmPassthruPlugIn::onCloseConvertSession(int uniqueId, int convertId) { argument
216 onConvertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp381 int convertId) {
384 if (!convertSessionMap.isCreated(convertId)) {
388 convertSessionMap.addValue(convertId, newSession);
399 int convertId,
405 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
406 ConvertSession *convSession = convertSessionMap.getValue(convertId);
435 int convertId) {
442 if (convertSessionMap.isCreated(convertId)) {
443 ConvertSession *convSession = convertSessionMap.getValue(convertId);
460 convertSessionMap.removeValue(convertId);
380 onOpenConvertSession(int uniqueId, int convertId) argument
398 onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData) argument
434 onCloseConvertSession(int uniqueId, int convertId) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java748 * @param convertId Handle for the conversion session.
756 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { argument
760 return _convertData(mUniqueId, convertId, inputData);
769 * @param convertId Handle for the conversion session.
774 public DrmConvertedStatus closeConvertSession(int convertId) { argument
775 return _closeConvertSession(mUniqueId, convertId);
886 int uniqueId, int convertId, byte[] inputData);
888 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); argument
885 _convertData( int uniqueId, int convertId, byte[] inputData) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp631 int convertId local
635 return convertId;
670 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
678 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
689 JNIEnv* env, jobject thiz, int uniqueId, jint convertId) {
694 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);
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

Completed in 139 milliseconds