Home
last modified time | relevance | path

Searched refs:keyedVector (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt/
DAaptUtil.h31 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector,
35 void appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector,
43 void appendValue(android::KeyedVector<KEY, android::Vector<VALUE> >& keyedVector, in appendValue() argument
45 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
47 idx = keyedVector.add(key, android::Vector<VALUE>()); in appendValue()
49 keyedVector.editValueAt(idx).add(value); in appendValue()
53 void appendValue(android::KeyedVector<KEY, android::SortedVector<VALUE> >& keyedVector, in appendValue() argument
55 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
57 idx = keyedVector.add(key, android::SortedVector<VALUE>()); in appendValue()
59 keyedVector.editValueAt(idx).add(value); in appendValue()
/frameworks/av/drm/libmediadrm/
DDrmHalAidl.cpp123 static std::vector<KeyValue> toKeyValueVector(const KeyedVector<String8, String8>& keyedVector) { in toKeyValueVector() argument
125 for (size_t i = 0; i < keyedVector.size(); i++) { in toKeyValueVector()
127 keyValue.key = toStdString(keyedVector.keyAt(i)); in toKeyValueVector()
128 keyValue.value = toStdString(keyedVector.valueAt(i)); in toKeyValueVector()
135 KeyedVector<String8, String8> keyedVector; in toKeyedVector() local
137 keyedVector.add(toString8(keyValueVec[i].key), toString8(keyValueVec[i].value)); in toKeyedVector()
139 return keyedVector; in toKeyedVector()
DDrmHalHidl.cpp192 static ::KeyedVector toHidlKeyedVector(const KeyedVector<String8, String8>& keyedVector) { in toHidlKeyedVector() argument
194 for (size_t i = 0; i < keyedVector.size(); i++) { in toHidlKeyedVector()
196 keyValue.key = toHidlString(keyedVector.keyAt(i)); in toHidlKeyedVector()
197 keyValue.value = toHidlString(keyedVector.valueAt(i)); in toHidlKeyedVector()
204 KeyedVector<String8, String8> keyedVector; in toKeyedVector() local
206 keyedVector.add(toString8(hKeyedVector[i].key), toString8(hKeyedVector[i].value)); in toKeyedVector()
208 return keyedVector; in toKeyedVector()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp106 KeyedVector<String8, String8>* keyedVector) { in ConvertKeyValueArraysToKeyedVector() argument
143 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
Dandroid_media_MediaDrm.cpp685 KeyedVector<String8, String8> keyedVector; in HashMapToKeyedVector() local
718 keyedVector.add(key, value); in HashMapToKeyedVector()
730 return keyedVector; in HashMapToKeyedVector()