Home
last modified time | relevance | path

Searched refs:convertId (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/drm/common/
DDrmEngineBase.cpp105 status_t DrmEngineBase::openConvertSession(int uniqueId, int convertId) { in openConvertSession() argument
106 return onOpenConvertSession(uniqueId, convertId); in openConvertSession()
110 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
111 return onConvertData(uniqueId, convertId, inputData); in convertData()
114 DrmConvertedStatus* DrmEngineBase::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
115 return onCloseConvertSession(uniqueId, convertId); in closeConvertSession()
DIDrmManagerService.cpp504 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
510 data.writeInt32(convertId); in convertData()
538 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
544 data.writeInt32(convertId); in closeConvertSession()
1212 const int convertId = openConvertSession(uniqueId, mimeType); in onTransact() local
1214 reply->writeInt32(convertId); in onTransact()
1224 const int convertId = data.readInt32(); in onTransact() local
1233 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData); in onTransact()
1262 const int convertId = data.readInt32(); in onTransact() local
1264 = closeConvertSession(uniqueId, convertId); in onTransact()
/frameworks/av/drm/common/include/
DDrmEngineBase.h75 status_t openConvertSession(int uniqueId, int convertId);
77 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
79 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
331 virtual status_t onOpenConvertSession(int uniqueId, int convertId) = 0;
347 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
363 virtual DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId) = 0;
DIDrmEngine.h272 virtual status_t openConvertSession(int uniqueId, int convertId) = 0;
288 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
304 virtual DrmConvertedStatus* closeConvertSession( int uniqueId, int convertId) = 0;
DIDrmManagerService.h135 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
137 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0;
222 int uniqueId, int convertId, const DrmBuffer* inputData);
224 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp391 int /* uniqueId */, int convertId) { argument
394 if (!convertSessionMap.isCreated(convertId)) {
398 convertSessionMap.addValue(convertId, newSession);
409 int convertId, argument
415 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
416 ConvertSession *convSession = convertSessionMap.getValue(convertId);
445 int convertId) { argument
452 if (convertSessionMap.isCreated(convertId)) {
453 ConvertSession *convSession = convertSessionMap.getValue(convertId);
470 convertSessionMap.removeValue(convertId);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h69 status_t onOpenConvertSession(int uniqueId, int convertId);
71 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData);
73 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp107 DrmConvertedStatus* DrmManagerClient::convertData(int convertId, const DrmBuffer* inputData) { in convertData() argument
108 return mDrmManagerClientImpl->convertData(mUniqueId, convertId, inputData); in convertData()
111 DrmConvertedStatus* DrmManagerClient::closeConvertSession(int convertId) { in closeConvertSession() argument
112 return mDrmManagerClientImpl->closeConvertSession(mUniqueId, convertId); in closeConvertSession()
DDrmManagerClientImpl.cpp221 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
225 getDrmManagerService()->convertData(uniqueId, convertId, inputData); in convertData()
231 int uniqueId, int convertId) { in closeConvertSession() argument
232 return getDrmManagerService()->closeConvertSession(uniqueId, convertId); in closeConvertSession()
/frameworks/av/drm/drmserver/
DDrmManager.cpp496 int convertId = -1; in openConvertSession() local
504 convertId = mConvertId; in openConvertSession()
505 mConvertSessionMap.add(convertId, &rDrmEngine); in openConvertSession()
509 return convertId; in openConvertSession()
513 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
517 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData()
518 IDrmEngine* drmEngine = mConvertSessionMap.valueFor(convertId); in convertData()
519 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData); in convertData()
524 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
528 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in closeConvertSession()
[all …]
DDrmManagerService.cpp257 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
259 return mDrmManager->convertData(uniqueId, convertId, inputData); in convertData()
262 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
264 return mDrmManager->closeConvertSession(uniqueId, convertId); in closeConvertSession()
DDrmManagerService.h113 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
115 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManager.h145 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
147 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h275 status_t onOpenConvertSession(int uniqueId, int convertId);
291 int convertId,
307 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h52 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
53 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManagerClientImpl.h266 … virtual DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
282 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
/frameworks/av/include/drm/
DDrmManagerClient.h352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData);
368 DrmConvertedStatus* closeConvertSession(int convertId);
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java797 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { in convertData() argument
801 return _convertData(mUniqueId, convertId, inputData); in convertData()
815 public DrmConvertedStatus closeConvertSession(int convertId) { in closeConvertSession() argument
816 return _closeConvertSession(mUniqueId, convertId); in closeConvertSession()
928 int uniqueId, int convertId, byte[] inputData); in _convertData() argument
930 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); in _closeConvertSession() argument
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp635 int convertId in android_drm_DrmManagerClient_openConvertSession() local
639 return static_cast<jint>(convertId); in android_drm_DrmManagerClient_openConvertSession()
674 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) { in android_drm_DrmManagerClient_convertData() argument
682 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer); in android_drm_DrmManagerClient_convertData()
693 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) { in android_drm_DrmManagerClient_closeConvertSession() argument
698 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId); in android_drm_DrmManagerClient_closeConvertSession()