Lines Matching refs:second

138         bool result = AMediaFormat_getInt32(fmt, it.second, &val);  in validateFormatInt32()
141 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatInt32()
146 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatInt32()
149 ALOGE("MediaFormat Value for Key %s is not %d but %d", it.second, it.first + offset, in validateFormatInt32()
153 if (strstr(toString, it.second) == nullptr) { in validateFormatInt32()
154 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatInt32()
176 bool result = AMediaFormat_getInt64(fmt, it.second, &val); in validateFormatInt64()
179 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatInt64()
184 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatInt64()
187 ALOGE("MediaFormat Value for Key %s is not %" PRId64 "but %" PRId64, it.second, in validateFormatInt64()
191 if (strstr(toString, it.second) == nullptr) { in validateFormatInt64()
192 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatInt64()
214 bool result = AMediaFormat_getFloat(fmt, it.second, &val); in validateFormatFloat()
217 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatFloat()
222 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatFloat()
225 ALOGE("MediaFormat Value for Key %s is not %f but %f", it.second, it.first + offset, in validateFormatFloat()
229 if (strstr(toString, it.second) == nullptr) { in validateFormatFloat()
230 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatFloat()
253 bool result = AMediaFormat_getDouble(fmt, it.second, &val); in validateFormatDouble()
256 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatDouble()
261 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatDouble()
264 ALOGE("MediaFormat Value for Key %s is not %f but %f", it.second, it.first + offset, in validateFormatDouble()
268 if (strstr(toString, it.second) == nullptr) { in validateFormatDouble()
269 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatDouble()
291 bool result = AMediaFormat_getSize(fmt, it.second, &val); in validateFormatSize()
294 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatSize()
299 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatSize()
302 ALOGE("MediaFormat Value for Key %s is not %zu but %zu", it.second, in validateFormatSize()
306 if (strstr(toString, it.second) == nullptr) { in validateFormatSize()
307 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatSize()
329 bool result = AMediaFormat_getString(fmt, it.second, &val); in validateFormatString()
332 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatString()
338 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatString()
341 ALOGE("MediaFormat Value for Key %s is not %s but %s", it.second, s.c_str(), val); in validateFormatString()
344 if (strstr(toString, it.second) == nullptr) { in validateFormatString()
345 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatString()
366 bool result = AMediaFormat_getRect(fmt, it.second, &left, &top, &right, &bottom); in validateFormatRect()
369 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatRect()
374 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatRect()
379 it.second, it.first->left, it.first->top, it.first->right, it.first->bottom, in validateFormatRect()
383 if (strstr(toString, it.second) == nullptr) { in validateFormatRect()
384 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatRect()
422 bool result = AMediaFormat_getBuffer(fmt, it.second, &data, &size); in validateFormatBuffer()
425 ALOGE("MediaFormat is not expected to contain Key %s", it.second); in validateFormatBuffer()
430 ALOGE("MediaFormat doesn't contain key %s", it.second); in validateFormatBuffer()
433 ALOGE("MediaFormat Value for Key %s is not %zu but %zu", it.second, in validateFormatBuffer()
439 ALOGE("MediaFormat Value for Key %s is not %s but %s {%zu}", it.second, in validateFormatBuffer()
444 if (strstr(toString, it.second) == nullptr) { in validateFormatBuffer()
445 ALOGE("AMediaFormat_toString() of fmt %s doesn't contains %s", toString, it.second); in validateFormatBuffer()
471 AMediaFormat_setInt32(fmt, it.second, it.first + offset); in configureFormatInt32()
477 AMediaFormat_setInt64(fmt, it.second, it.first + offset); in configureFormatInt64()
483 AMediaFormat_setFloat(fmt, it.second, it.first + offset); in configureFormatFloat()
489 AMediaFormat_setDouble(fmt, it.second, it.first + offset); in configureFormatDouble()
495 AMediaFormat_setSize(fmt, it.second, it.first + offset); in configureFormatSize()
502 AMediaFormat_setString(fmt, it.second, s1.c_str()); in configureFormatString()
508 AMediaFormat_setRect(fmt, it.second, it.first->left + offset, it.first->top + offset, in configureFormatRect()
516 AMediaFormat_setBuffer(fmt, it.second, it.first->buffer + it.first->size - sz, sz); in configureFormatBuffer()