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.cpp504 int uniqueId, int convertId, const DrmBuffer* inputData) {
510 data.writeInt32(convertId);
538 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
544 data.writeInt32(convertId);
1212 const int convertId = openConvertSession(uniqueId, mimeType); local
1214 reply->writeInt32(convertId);
1224 const int convertId = data.readInt32(); local
1233 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData);
1262 const int convertId = data.readInt32(); local
1264 = closeConvertSession(uniqueId, convertId);
503 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.cpp235 int uniqueId, int convertId, const DrmBuffer* inputData) {
239 getDrmManagerService()->convertData(uniqueId, convertId, inputData);
245 int uniqueId, int convertId) {
246 return getDrmManagerService()->closeConvertSession(uniqueId, convertId);
234 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
244 closeConvertSession( int uniqueId, int convertId) argument
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp212 status_t DrmPassthruPlugIn::onOpenConvertSession(int uniqueId, int convertId) { argument
218 int uniqueId, int convertId, const DrmBuffer* inputData) {
232 DrmConvertedStatus* DrmPassthruPlugIn::onCloseConvertSession(int uniqueId, int convertId) { argument
217 onConvertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp333 int convertId = -1; local
341 convertId = mConvertId;
342 mConvertSessionMap.add(convertId, &rDrmEngine);
345 return convertId;
349 int uniqueId, int convertId, const DrmBuffer* inputData) {
353 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) {
354 IDrmEngine* drmEngine = mConvertSessionMap.valueFor(convertId);
355 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData);
360 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { argument
364 if (mConvertSessionMap.indexOfKey(convertId) !
348 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
[all...]
H A DDrmManagerService.cpp249 int uniqueId, int convertId, const DrmBuffer* inputData) {
251 return mDrmManager->convertData(uniqueId, convertId, inputData);
254 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
256 return mDrmManager->closeConvertSession(uniqueId, convertId);
248 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp387 int /* uniqueId */, int convertId) {
390 if (!convertSessionMap.isCreated(convertId)) {
394 convertSessionMap.addValue(convertId, newSession);
405 int convertId,
411 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
412 ConvertSession *convSession = convertSessionMap.getValue(convertId);
441 int convertId) {
448 if (convertSessionMap.isCreated(convertId)) {
449 ConvertSession *convSession = convertSessionMap.getValue(convertId);
466 convertSessionMap.removeValue(convertId);
386 onOpenConvertSession( int , int convertId) argument
404 onConvertData(int , int convertId, const DrmBuffer* inputData) argument
440 onCloseConvertSession(int , int convertId) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java766 * @param convertId Handle for the conversion session.
774 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { argument
778 return _convertData(mUniqueId, convertId, inputData);
787 * @param convertId Handle for the conversion session.
792 public DrmConvertedStatus closeConvertSession(int convertId) { argument
793 return _closeConvertSession(mUniqueId, convertId);
904 int uniqueId, int convertId, byte[] inputData);
906 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); argument
903 _convertData( int uniqueId, int convertId, byte[] inputData) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp635 int convertId local
639 return static_cast<jint>(convertId);
674 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
682 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
693 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) {
698 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);
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

Completed in 157 milliseconds