Home
last modified time | relevance | path

Searched refs:convertId (Results 1 – 20 of 20) 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.cpp389 int /* uniqueId */, int convertId) { argument
392 if (!convertSessionMap.isCreated(convertId)) {
396 convertSessionMap.addValue(convertId, newSession);
407 int convertId, argument
413 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
414 ConvertSession *convSession = convertSessionMap.getValue(convertId);
443 int convertId) { argument
450 if (convertSessionMap.isCreated(convertId)) {
451 ConvertSession *convSession = convertSessionMap.getValue(convertId);
468 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.cpp235 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
239 getDrmManagerService()->convertData(uniqueId, convertId, inputData); in convertData()
245 int uniqueId, int convertId) { in closeConvertSession() argument
246 return getDrmManagerService()->closeConvertSession(uniqueId, convertId); in closeConvertSession()
/frameworks/av/drm/drmserver/
DDrmManager.cpp491 int convertId = -1; in openConvertSession() local
499 convertId = mConvertId; in openConvertSession()
500 mConvertSessionMap.add(convertId, &rDrmEngine); in openConvertSession()
504 return convertId; in openConvertSession()
508 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
512 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData()
513 IDrmEngine* drmEngine = mConvertSessionMap.valueFor(convertId); in convertData()
514 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData); in convertData()
519 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument
523 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.h276 status_t onOpenConvertSession(int uniqueId, int convertId);
292 int convertId,
308 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);
/frameworks/av/include/drm/
DDrmManagerClient.h352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData);
368 DrmConvertedStatus* closeConvertSession(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/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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...