Home | History | Annotate | Download | only in common

Lines Matching defs:key

25 status_t DrmMetadata::put(const String8* key,
27 if((value != NULL) && (key != NULL)) {
33 mMetadataMap.add(*key, charValue);
38 String8 DrmMetadata::get(const String8& key) const {
39 if (NULL != getValue(&key)) {
40 return String8(getValue(&key));
47 const char* DrmMetadata::getValue(const String8* key) const {
48 if(key != NULL) {
49 if (NAME_NOT_FOUND != mMetadataMap.indexOfKey(*key)) {
50 return mMetadataMap.valueFor(*key);
60 const char* DrmMetadata::getAsByteArray(const String8* key) const {
61 return getValue(key);
69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex);
71 return key;