/frameworks/av/drm/common/ |
D | DrmEngineBase.cpp | 105 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()
|
D | IDrmManagerService.cpp | 501 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument 507 data.writeInt32(convertId); in convertData() 535 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument 541 data.writeInt32(convertId); in closeConvertSession() 1194 const int convertId = openConvertSession(uniqueId, mimeType); in onTransact() local 1196 reply->writeInt32(convertId); in onTransact() 1206 const int convertId = data.readInt32(); in onTransact() local 1212 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData); in onTransact() 1241 const int convertId = data.readInt32(); in onTransact() local 1243 = closeConvertSession(uniqueId, convertId); in onTransact()
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
D | DrmEngineBase.h | 74 status_t openConvertSession(int uniqueId, int convertId); 76 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData); 78 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId); 328 virtual status_t onOpenConvertSession(int uniqueId, int convertId) = 0; 344 int uniqueId, int convertId, const DrmBuffer* inputData) = 0; 360 virtual DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId) = 0;
|
D | IDrmEngine.h | 272 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;
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
D | DrmPassthruPlugIn.h | 68 status_t onOpenConvertSession(int uniqueId, int convertId); 70 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData); 72 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);
|
/frameworks/av/drm/drmserver/ |
D | DrmManager.cpp | 333 int convertId = -1; in openConvertSession() local 341 convertId = mConvertId; in openConvertSession() 342 mConvertSessionMap.add(convertId, &rDrmEngine); in openConvertSession() 345 return convertId; in openConvertSession() 349 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument 353 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData() 354 IDrmEngine* drmEngine = mConvertSessionMap.valueFor(convertId); in convertData() 355 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData); in convertData() 360 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument 364 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in closeConvertSession() [all …]
|
D | DrmManagerService.cpp | 181 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument 183 return mDrmManager->convertData(uniqueId, convertId, inputData); in convertData() 186 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession() argument 188 return mDrmManager->closeConvertSession(uniqueId, convertId); in closeConvertSession()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 381 int convertId) { argument 384 if (!convertSessionMap.isCreated(convertId)) { 388 convertSessionMap.addValue(convertId, newSession); 399 int convertId, argument 405 if (NULL != inputData && convertSessionMap.isCreated(convertId)) { 406 ConvertSession *convSession = convertSessionMap.getValue(convertId); 435 int convertId) { argument 442 if (convertSessionMap.isCreated(convertId)) { 443 ConvertSession *convSession = convertSessionMap.getValue(convertId); 460 convertSessionMap.removeValue(convertId);
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 107 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()
|
D | DrmManagerClientImpl.cpp | 224 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument 228 getDrmManagerService()->convertData(uniqueId, convertId, inputData); in convertData() 234 int uniqueId, int convertId) { in closeConvertSession() argument 235 return getDrmManagerService()->closeConvertSession(uniqueId, convertId); in closeConvertSession()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 276 status_t onOpenConvertSession(int uniqueId, int convertId); 292 int convertId, 308 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);
|
/frameworks/av/drm/libdrmframework/include/ |
D | IDrmManagerService.h | 134 int uniqueId, int convertId, const DrmBuffer* inputData) = 0; 136 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0; 221 int uniqueId, int convertId, const DrmBuffer* inputData); 223 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
|
D | DrmManagerService.h | 93 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData); 95 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
|
D | DrmManagerClientImpl.h | 266 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData); 282 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
|
D | DrmManager.h | 106 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData); 108 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
|
/frameworks/av/include/drm/ |
D | DrmManagerClient.h | 352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData); 368 DrmConvertedStatus* closeConvertSession(int convertId);
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 767 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { in convertData() argument 771 return _convertData(mUniqueId, convertId, inputData); in convertData() 785 public DrmConvertedStatus closeConvertSession(int convertId) { in closeConvertSession() argument 786 return _closeConvertSession(mUniqueId, convertId); in closeConvertSession() 897 int uniqueId, int convertId, byte[] inputData); in _convertData() argument 899 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); in _closeConvertSession() argument
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 212 status_t DrmPassthruPlugIn::onOpenConvertSession(int uniqueId, int convertId) { in onOpenConvertSession() argument 218 int uniqueId, int convertId, const DrmBuffer* inputData) { in onConvertData() argument 232 DrmConvertedStatus* DrmPassthruPlugIn::onCloseConvertSession(int uniqueId, int convertId) { in onCloseConvertSession() argument
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 631 int convertId in android_drm_DrmManagerClient_openConvertSession() local 635 return convertId; in android_drm_DrmManagerClient_openConvertSession() 670 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) { in android_drm_DrmManagerClient_convertData() argument 678 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer); in android_drm_DrmManagerClient_convertData() 689 JNIEnv* env, jobject thiz, int uniqueId, jint convertId) { in android_drm_DrmManagerClient_closeConvertSession() argument 694 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId); in android_drm_DrmManagerClient_closeConvertSession()
|