Home
last modified time | relevance | path

Searched refs:convertedData (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/drm/java/android/drm/
DDrmConvertedStatus.java54 public final byte[] convertedData; field in DrmConvertedStatus
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { in DrmConvertedStatus() argument
74 this.convertedData = convertedData; in DrmConvertedStatus()
DDrmOutputStream.java65 mFile.write(status.convertedData); in finish()
95 mFile.write(status.convertedData); in write()
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DDrmConvertSession.java98 convertedStatus.convertedData != null) { in convert()
99 result = convertedStatus.convertedData; in convert()
132 convertedStatus.convertedData == null) { in close()
139 rndAccessFile.write(convertedStatus.convertedData); in close()
/frameworks/av/drm/common/
DIDrmManagerService.cpp520 DrmBuffer* convertedData = NULL; in convertData() local
528 convertedData = new DrmBuffer(data, bufferSize); in convertData()
530 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); in convertData()
552 DrmBuffer* convertedData = NULL; in closeConvertSession() local
560 convertedData = new DrmBuffer(data, bufferSize); in closeConvertSession()
562 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); in closeConvertSession()
1219 if (NULL != drmConvertedStatus->convertedData) { in onTransact()
1220 const DrmBuffer* convertedData = drmConvertedStatus->convertedData; in onTransact() local
1221 const int bufferSize = convertedData->length; in onTransact()
1224 reply->write(convertedData->data, bufferSize); in onTransact()
[all …]
DDrmConvertedStatus.cpp24 convertedData(_convertedData), in DrmConvertedStatus()
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp220 DrmBuffer* convertedData = NULL; in onConvertData() local
226 convertedData = new DrmBuffer(data, length); in onConvertData()
227 memcpy(convertedData->data, inputData->data, length); in onConvertData()
229 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/); in onConvertData()
/frameworks/av/include/drm/
DDrmConvertedStatus.h60 const DrmBuffer* convertedData; variable
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp648 if (NULL != pDrmConvertedStatus->convertedData) { in GetConvertedStatus()
649 int length = pDrmConvertedStatus->convertedData->length; in GetConvertedStatus()
652 dataArray, 0, length, (jbyte*) pDrmConvertedStatus->convertedData->data); in GetConvertedStatus()
654 delete [] pDrmConvertedStatus->convertedData->data; in GetConvertedStatus()
655 delete pDrmConvertedStatus->convertedData; pDrmConvertedStatus->convertedData = NULL; in GetConvertedStatus()
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduPersister.java856 byte[] convertedData = drmConvertSession.convert(buffer, len); in persistData()
857 if (convertedData != null) { in persistData()
858 os.write(convertedData, 0, convertedData.length); in persistData()
872 byte[] convertedData = drmConvertSession.convert(data, data.length); in persistData()
873 if (convertedData != null) { in persistData()
874 os.write(convertedData, 0, convertedData.length); in persistData()
/frameworks/base/api/
Dcurrent.txt8482 field public final byte[] convertedData;