Lines Matching refs:key
97 AString key, value;
101 key = line;
103 key.setTo(line, 0, colonPos);
105 if (key == "a=fmtp" || key == "a=rtpmap"
106 || key == "a=framesize") {
112 key.setTo(line, 0, spacePos);
120 key.trim();
123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
125 mTracks.editItemAt(mTracks.size() - 1).add(key, value);
141 AString key, value;
145 key = AString(line, 0, equalPos + 1);
148 key.trim();
151 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
153 mTracks.editItemAt(mTracks.size() - 1).add(key, value);
180 size_t index, const char *key, AString *value) const {
187 ssize_t i = track.indexOfKey(AString(key));
214 char key[20];
215 sprintf(key, "a=rtpmap:%lu", x);
217 CHECK(findAttribute(index, key, desc));
219 sprintf(key, "a=fmtp:%lu", x);
220 if (!findAttribute(index, key, params)) {
231 char key[20];
232 sprintf(key, "a=framesize:%lu", PT);
234 if (!findAttribute(index, key, &value)) {