Home
last modified time | relevance | path

Searched refs:DrmConvertedStatus (Results 1 – 25 of 31) 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.mk22 DrmConvertedStatus.cpp \
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp217 DrmConvertedStatus* DrmPassthruPlugIn::onConvertData( in onConvertData()
229 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/); in onConvertData()
232 DrmConvertedStatus* DrmPassthruPlugIn::onCloseConvertSession(int uniqueId, int convertId) { in onCloseConvertSession()
234 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.java774 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { in convertData()
792 public DrmConvertedStatus closeConvertSession(int convertId) { in closeConvertSession()
903 private native DrmConvertedStatus _convertData( in _convertData()
906 private native DrmConvertedStatus _closeConvertSession(int uniqueId, int convertId); in _closeConvertSession()
/frameworks/av/drm/libdrmframework/include/
DIDrmManagerService.h35 class DrmConvertedStatus; variable
133 virtual DrmConvertedStatus* convertData(
136 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId) = 0;
220 virtual DrmConvertedStatus* convertData(
223 virtual DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManager.h38 class DrmConvertedStatus; variable
106 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
108 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DNoOpDrmManagerClientImpl.h52 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
53 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
DDrmManagerService.h112 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
114 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/common/include/
DDrmEngineBase.h76 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
78 DrmConvertedStatus* closeConvertSession(int uniqueId, int convertId);
343 virtual DrmConvertedStatus* onConvertData(
360 virtual DrmConvertedStatus* onCloseConvertSession(int uniqueId, int convertId) = 0;
DIDrmEngine.h29 class DrmConvertedStatus; variable
287 virtual DrmConvertedStatus* convertData(
304 virtual DrmConvertedStatus* closeConvertSession( 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()
404 DrmConvertedStatus* FwdLockEngine::onConvertData(int /* uniqueId */,
437 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
440 DrmConvertedStatus* FwdLockEngine::onCloseConvertSession(int /* uniqueId */,
468 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
/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.h70 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData);
72 DrmConvertedStatus* onCloseConvertSession(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);
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp248 DrmConvertedStatus* DrmManagerService::convertData( in convertData()
254 DrmConvertedStatus* DrmManagerService::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession()
DDrmManager.cpp348 DrmConvertedStatus* DrmManager::convertData( in convertData()
350 DrmConvertedStatus *drmConvertedStatus = NULL; in convertData()
360 DrmConvertedStatus* DrmManager::closeConvertSession(int uniqueId, int convertId) { in closeConvertSession()
362 DrmConvertedStatus *drmConvertedStatus = NULL; in closeConvertSession()

12