Home
last modified time | relevance | path

Searched refs:DrmConvertedStatus (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/include/drm/
DDrmConvertedStatus.h34 class DrmConvertedStatus {
49 DrmConvertedStatus(int _statusCode, const DrmBuffer* _convertedData, int _offset);
54 virtual ~DrmConvertedStatus() { in ~DrmConvertedStatus()
DDrmManagerClient.h34 class DrmConvertedStatus; variable
352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData);
368 DrmConvertedStatus* closeConvertSession(int convertId);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DDrmConvertSession.java20 import android.drm.DrmConvertedStatus;
86 DrmConvertedStatus convertedStatus = null; in convert()
97 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
125 DrmConvertedStatus convertedStatus = null; in close()
131 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/frameworks/av/drm/common/
DDrmConvertedStatus.cpp21 DrmConvertedStatus::DrmConvertedStatus( in DrmConvertedStatus() function in DrmConvertedStatus
DDrmEngineBase.cpp109 DrmConvertedStatus* DrmEngineBase::convertData( in convertData()
114 DrmConvertedStatus* DrmEngineBase::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession()
DAndroid.bp23 "DrmConvertedStatus.cpp",
DIDrmManagerService.cpp503 DrmConvertedStatus* BpDrmManagerService::convertData( in convertData()
516 DrmConvertedStatus* drmConvertedStatus = NULL; in convertData()
533 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); in convertData()
538 DrmConvertedStatus* BpDrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession()
548 DrmConvertedStatus* drmConvertedStatus = NULL; in closeConvertSession()
565 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); in closeConvertSession()
1233 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData); in onTransact()
1263 DrmConvertedStatus* drmConvertedStatus in onTransact()
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp218 DrmConvertedStatus* DrmPassthruPlugIn::onConvertData( in onConvertData()
230 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/); in onConvertData()
233 DrmConvertedStatus* DrmPassthruPlugIn::onCloseConvertSession(int uniqueId, int /*convertId*/) { in onCloseConvertSession()
235 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/); in onCloseConvertSession()
/frameworks/base/drm/java/android/drm/
DDrmConvertedStatus.java29 public class DrmConvertedStatus { class
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { in DrmConvertedStatus() method in DrmConvertedStatus
DDrmOutputStream.java19 import static android.drm.DrmConvertedStatus.STATUS_OK;
69 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); in finish()
104 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer); in write()
DDrmManagerClient.java781 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { in convertData()
799 public DrmConvertedStatus closeConvertSession(int convertId) { in closeConvertSession()
911 private native DrmConvertedStatus _convertData( in _convertData()
914 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); in _closeConvertSession()
/frameworks/av/drm/common/include/
DIDrmManagerService.h35 class DrmConvertedStatus; variable
134 virtual DrmConvertedStatus* convertData(
137 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0;
221 virtual DrmConvertedStatus* convertData(
224 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DIDrmEngine.h29 class DrmConvertedStatus; variable
287 virtual DrmConvertedStatus* convertData(
304 virtual DrmConvertedStatus* closeConvertSession( int uniqueId, int convertId) = 0;
DDrmEngineBase.h77 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
79 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
346 virtual DrmConvertedStatus* onConvertData(
363 virtual DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId) = 0;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp84 int retStatus = DrmConvertedStatus::STATUS_ERROR; in getConvertedStatus()
88 retStatus = DrmConvertedStatus::STATUS_OK; in getConvertedStatus()
96 retStatus = DrmConvertedStatus::STATUS_INPUTDATA_ERROR; in getConvertedStatus()
101 retStatus = DrmConvertedStatus::STATUS_ERROR; in getConvertedStatus()
406 DrmConvertedStatus* FwdLockEngine::onConvertData(int /* uniqueId */,
439 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
442 DrmConvertedStatus* FwdLockEngine::onCloseConvertSession(int /* uniqueId */,
470 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
/frameworks/av/drm/drmserver/
DDrmManager.h38 class DrmConvertedStatus; variable
107 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
109 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManagerService.h113 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
115 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManager.cpp343 DrmConvertedStatus* DrmManager::convertData( in convertData()
345 DrmConvertedStatus *drmConvertedStatus = NULL; in convertData()
355 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession()
357 DrmConvertedStatus *drmConvertedStatus = NULL; in closeConvertSession()
/frameworks/av/drm/libdrmframework/
DNoOpDrmManagerClientImpl.cpp139 DrmConvertedStatus* NoOpDrmManagerClientImpl::convertData( in convertData()
146 DrmConvertedStatus* NoOpDrmManagerClientImpl::closeConvertSession( in closeConvertSession()
DDrmManagerClient.cpp107 DrmConvertedStatus* DrmManagerClient::convertData(int convertId, const DrmBuffer* inputData) { in convertData()
111 DrmConvertedStatus* DrmManagerClient::closeConvertSession(int convertId) { in closeConvertSession()
DDrmManagerClientImpl.cpp234 DrmConvertedStatus* DrmManagerClientImpl::convertData( in convertData()
236 DrmConvertedStatus* drmConvertedStatus = NULL; in convertData()
244 DrmConvertedStatus* DrmManagerClientImpl::closeConvertSession( in closeConvertSession()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h71 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData);
73 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/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h291 DrmConvertedStatus* onConvertData(int uniqueId,
308 DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId);

12