Searched defs:charValue (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/drm/common/
H A DDrmConstraints.cpp34 char* charValue = new char[length + 1]; local
35 if (NULL != charValue) {
36 strncpy(charValue, value, length);
37 charValue[length] = '\0';
38 mConstraintMap.add(*key, charValue);
H A DDrmMetadata.cpp29 char* charValue = new char[length + 1]; local
31 memcpy(charValue, value, length);
32 charValue[length] = '\0';
33 mMetadataMap.add(*key, charValue);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp65 char* charValue = NULL; local
66 charValue = new char[value.length() + 1];
67 strncpy(charValue, value.string(), value.length());
68 charValue[value.length()] = '\0';
71 drmConstraints->put(&(DrmConstraints::LICENSE_AVAILABLE_TIME), charValue);
72 delete[] charValue;

Completed in 87 milliseconds