Searched defs:convertId (Results 1 - 11 of 11) 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.cpp501 int uniqueId, int convertId, const DrmBuffer* inputData) {
507 data.writeInt32(convertId);
535 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
541 data.writeInt32(convertId);
1194 const int convertId = openConvertSession(uniqueId, mimeType); local
1196 reply->writeInt32(convertId);
1206 const int convertId = data.readInt32(); local
1212 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData);
1241 const int convertId = data.readInt32(); local
1243 = closeConvertSession(uniqueId, convertId);
500 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 DNoOpDrmManagerClientImpl.cpp98 DrmConvertedStatus* NoOpDrmManagerClientImpl::convertData(int uniqueId, int convertId, const DrmBuffer* inputData) { argument
102 DrmConvertedStatus* NoOpDrmManagerClientImpl::closeConvertSession(int uniqueId, int convertId) { argument
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/drmserver/
H A DDrmManagerService.cpp192 int uniqueId, int convertId, const DrmBuffer* inputData) {
194 return mDrmManager->convertData(uniqueId, convertId, inputData);
197 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { argument
199 return mDrmManager->closeConvertSession(uniqueId, convertId);
191 convertData( int uniqueId, int convertId, const DrmBuffer* inputData) argument
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...]
/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/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp382 int convertId) {
385 if (!convertSessionMap.isCreated(convertId)) {
389 convertSessionMap.addValue(convertId, newSession);
400 int convertId,
406 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
407 ConvertSession *convSession = convertSessionMap.getValue(convertId);
436 int convertId) {
443 if (convertSessionMap.isCreated(convertId)) {
444 ConvertSession *convSession = convertSessionMap.getValue(convertId);
461 convertSessionMap.removeValue(convertId);
381 onOpenConvertSession(int uniqueId, int convertId) argument
399 onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData) argument
435 onCloseConvertSession(int uniqueId, int convertId) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java759 * @param convertId Handle for the conversion session.
767 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { argument
771 return _convertData(mUniqueId, convertId, inputData);
780 * @param convertId Handle for the conversion session.
785 public DrmConvertedStatus closeConvertSession(int convertId) { argument
786 return _closeConvertSession(mUniqueId, convertId);
897 int uniqueId, int convertId, byte[] inputData);
899 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); argument
896 _convertData( int uniqueId, int convertId, byte[] inputData) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp634 int convertId local
638 return static_cast<jint>(convertId);
673 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
681 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
692 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) {
697 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);
672 android_drm_DrmManagerClient_convertData( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) argument
691 android_drm_DrmManagerClient_closeConvertSession( JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) argument

Completed in 80 milliseconds