Home | History | Annotate | Download | only in common

Lines Matching refs:DrmInfo

25 #include <drm/DrmInfo.h>
234 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
242 data.writeInt32(drmInfo->getInfoType());
243 const DrmBuffer dataBuffer = drmInfo->getData();
249 data.writeString8(drmInfo->getMimeType());
251 data.writeInt32(drmInfo->getCount());
252 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
257 const String8 value = drmInfo->get(key);
285 DrmInfo* BpDrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) {
314 DrmInfo* drmInfo = NULL;
325 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8());
331 drmInfo->put(key, (value == String8("NULL")) ? String8("") : value);
334 return drmInfo;
942 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8());
948 drmInfo->put(key, (value == String8("NULL")) ? String8("") : value);
951 DrmInfoStatus* drmInfoStatus = processDrmInfo(uniqueId, drmInfo);
970 delete drmInfo; drmInfo = NULL;
1001 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest);
1003 if (NULL != drmInfo) {
1005 drmInfo->getData();
1006 reply->writeInt32(drmInfo->getInfoType());
1013 reply->writeString8(drmInfo->getMimeType());
1014 reply->writeInt32(drmInfo->getCount());
1016 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
1020 const String8 value = drmInfo->get(key);
1026 delete drmInfo; drmInfo = NULL;