Lines Matching refs:item

179 bool statsd_codec(const std::shared_ptr<const mediametrics::Item>& item,  in statsd_codec()  argument
182 if (item == nullptr) return false; in statsd_codec()
187 const nsecs_t timestampNanos = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_codec()
208 if (item->getString("android.media.mediacodec.codec", &codec)) { in statsd_codec()
214 if (item->getString("android.media.mediacodec.mime", &mime)) { in statsd_codec()
220 if (item->getString("android.media.mediacodec.mode", &mode)) { in statsd_codec()
226 if (item->getInt32("android.media.mediacodec.encoder", &isEncoder)) { in statsd_codec()
232 if (item->getInt32("android.media.mediacodec.secure", &isSecure)) { in statsd_codec()
238 item->getInt32("android.media.mediacodec.hardware", &isHardware); in statsd_codec()
242 item->getInt32("android.media.mediacodec.tunneled", &isTunneled); in statsd_codec()
246 if (item->getInt32("android.media.mediacodec.width", &width)) { in statsd_codec()
252 if (item->getInt32("android.media.mediacodec.height", &height)) { in statsd_codec()
258 if (item->getInt32("android.media.mediacodec.rotation-degrees", &rotation)) { in statsd_codec()
264 if (item->getInt32("android.media.mediacodec.crypto", &crypto)) { in statsd_codec()
270 if (item->getInt32("android.media.mediacodec.profile", &profile)) { in statsd_codec()
276 if (item->getInt32("android.media.mediacodec.level", &level)) { in statsd_codec()
283 if ( item->getInt32("android.media.mediacodec.maxwidth", &maxWidth)) { in statsd_codec()
289 if ( item->getInt32("android.media.mediacodec.maxheight", &maxHeight)) { in statsd_codec()
295 if ( item->getInt32("android.media.mediacodec.errcode", &errorCode)) { in statsd_codec()
301 if ( item->getString("android.media.mediacodec.errstate", &errorState)) { in statsd_codec()
307 if (item->getInt64("android.media.mediacodec.latency.max", &latencyMax)) { in statsd_codec()
313 if (item->getInt64("android.media.mediacodec.latency.min", &latencyMin)) { in statsd_codec()
319 if (item->getInt64("android.media.mediacodec.latency.avg", &latencyAvg)) { in statsd_codec()
325 if (item->getInt64("android.media.mediacodec.latency.n", &latencyCount)) { in statsd_codec()
331 if (item->getInt64("android.media.mediacodec.latency.unknown", &latencyUnknown)) { in statsd_codec()
337 if (item->getInt32("android.media.mediacodec.queueSecureInputBufferError", in statsd_codec()
344 if (item->getInt32("android.media.mediacodec.queueInputBufferError", &queueInputBufferError)) { in statsd_codec()
350 if (item->getString("android.media.mediacodec.bitrate_mode", &bitrateMode)) { in statsd_codec()
356 if (item->getInt32("android.media.mediacodec.bitrate", &bitrate)) { in statsd_codec()
362 if (item->getInt64("android.media.mediacodec.lifetimeMs", &lifetimeMillis)) { in statsd_codec()
369 item->getInt64("android.media.mediacodec.playback-duration-sec", &playbackDurationSec); in statsd_codec()
375 if (item->getString("android.media.mediacodec.log-session-id", &sessionId)) { in statsd_codec()
382 if (item->getInt32("android.media.mediacodec.channelCount", &channelCount)) { in statsd_codec()
388 if (item->getInt32("android.media.mediacodec.sampleRate", &sampleRate)) { in statsd_codec()
395 if (item->getInt64("android.media.mediacodec.vencode.bytes", &bytes)) { in statsd_codec()
401 if (item->getInt64("android.media.mediacodec.vencode.frames", &frames)) { in statsd_codec()
407 if (item->getInt64("android.media.mediacodec.video.input.bytes", &inputBytes)) { in statsd_codec()
413 if (item->getInt64("android.media.mediacodec.video.input.frames", &inputFrames)) { in statsd_codec()
419 if (item->getInt64("android.media.mediacodec.vencode.durationUs", &durationUs)) { in statsd_codec()
425 if (item->getInt32("android.media.mediacodec.color-format", &colorFormat)) { in statsd_codec()
431 if (item->getDouble("android.media.mediacodec.frame-rate", &frameRate)) { in statsd_codec()
437 if (item->getDouble("android.media.mediacodec.capture-rate", &captureRate)) { in statsd_codec()
443 if (item->getDouble("android.media.mediacodec.operating-rate", &operatingRate)) { in statsd_codec()
449 if (item->getInt32("android.media.mediacodec.priority", &priority)) { in statsd_codec()
455 if (item->getInt32("android.media.mediacodec.video-qp-i-min", &qpIMin)) { in statsd_codec()
461 if (item->getInt32("android.media.mediacodec.video-qp-i-max", &qpIMax)) { in statsd_codec()
467 if (item->getInt32("android.media.mediacodec.video-qp-p-min", &qpPMin)) { in statsd_codec()
473 if (item->getInt32("android.media.mediacodec.video-qp-p-max", &qpPMax)) { in statsd_codec()
479 if (item->getInt32("android.media.mediacodec.video-qp-b-min", &qpBMin)) { in statsd_codec()
485 if (item->getInt32("android.media.mediacodec.video-qp-b-max", &qpBMax)) { in statsd_codec()
491 if (item->getInt32("android.media.mediacodec.original.bitrate", &originalBitrate)) { in statsd_codec()
497 if ( item->getInt32("android.media.mediacodec.shaped", &shapingEnhanced)) { in statsd_codec()
503 if ( item->getInt32("android.media.mediacodec.original-video-qp-i-min", &qpIMinOri)) { in statsd_codec()
509 if ( item->getInt32("android.media.mediacodec.original-video-qp-i-max", &qpIMaxOri)) { in statsd_codec()
515 if ( item->getInt32("android.media.mediacodec.original-video-qp-p-min", &qpPMinOri)) { in statsd_codec()
521 if ( item->getInt32("android.media.mediacodec.original-video-qp-p-max", &qpPMaxOri)) { in statsd_codec()
527 if ( item->getInt32("android.media.mediacodec.original-video-qp-b-min", &qpBMinOri)) { in statsd_codec()
533 if ( item->getInt32("android.media.mediacodec.original-video-qp-b-max", &qpBMaxOri)) { in statsd_codec()
539 if (item->getInt32("android.media.mediacodec.config-color-standard", &configColorStandard)) { in statsd_codec()
545 if (item->getInt32("android.media.mediacodec.config-color-range", &configColorRange)) { in statsd_codec()
551 if (item->getInt32("android.media.mediacodec.config-color-transfer", &configColorTransfer)) { in statsd_codec()
557 if (item->getInt32("android.media.mediacodec.parsed-color-standard", &parsedColorStandard)) { in statsd_codec()
563 if (item->getInt32("android.media.mediacodec.parsed-color-range", &parsedColorRange)) { in statsd_codec()
569 if (item->getInt32("android.media.mediacodec.parsed-color-transfer", &parsedColorTransfer)) { in statsd_codec()
575 if (item->getInt32("android.media.mediacodec.hdr-static-info", &hdrStaticInfo)) { in statsd_codec()
581 if (item->getInt32("android.media.mediacodec.hdr10-plus-info", &hdr10PlusInfo)) { in statsd_codec()
587 if (item->getInt32("android.media.mediacodec.hdr-format", &hdrFormat)) { in statsd_codec()
593 if (item->getInt64("android.media.mediacodec.id", &codecId)) { in statsd_codec()
599 if (item->getInt32("android.media.mediacodec.array-mode", &arrayMode)) { in statsd_codec()
605 if (item->getInt32("android.media.mediacodec.operation-mode", &operationMode)) { in statsd_codec()
611 if (item->getInt32("android.media.mediacodec.output-surface", &outputSurface)) { in statsd_codec()
617 if (item->getInt32("android.media.mediacodec.app-max-input-size", &appMaxInputSize)) { in statsd_codec()
623 if (item->getInt32("android.media.mediacodec.used-max-input-size", &usedMaxInputSize)) { in statsd_codec()
629 if (item->getInt32("android.media.mediacodec.codec-max-input-size", &codecMaxInputSize)) { in statsd_codec()
635 if (item->getInt32("android.media.mediacodec.flush-count", &flushCount)) { in statsd_codec()
641 if (item->getInt32("android.media.mediacodec.set-surface-count", &setSurfaceCount)) { in statsd_codec()
647 if (item->getInt32("android.media.mediacodec.resolution-change-count", in statsd_codec()
654 if (item->getInt32("android.media.mediacodec.component-color-format", &componentColorFormat)) { in statsd_codec()
659 uid_t app_uid = item->getUid(); in statsd_codec()
664 if (item->getInt64("android.media.mediacodec.pixel-format", &pixelFormat)) { in statsd_codec()
670 item->getInt64("android.media.mediacodec.first-render-time-us", &firstRenderTimeUs); in statsd_codec()
672 item->getInt64("android.media.mediacodec.frames-released", &framesReleased); in statsd_codec()
674 item->getInt64("android.media.mediacodec.frames-rendered", &framesRendered); in statsd_codec()
676 item->getInt64("android.media.mediacodec.frames-dropped", &framesDropped); in statsd_codec()
678 item->getInt64("android.media.mediacodec.frames-skipped", &framesSkipped); in statsd_codec()
680 item->getDouble("android.media.mediacodec.framerate-content", &framerateContent); in statsd_codec()
682 item->getDouble("android.media.mediacodec.framerate-actual", &framerateActual); in statsd_codec()
684 item->getInt64("android.media.mediacodec.freeze-score", &freezeScore); in statsd_codec()
686 item->getDouble("android.media.mediacodec.freeze-rate", &freezeRate); in statsd_codec()
688 item->getString("android.media.mediacodec.freeze-score-histogram", &freezeScoreHistogramStr); in statsd_codec()
690 item->getString("android.media.mediacodec.freeze-score-histogram-buckets", in statsd_codec()
693 item->getString("android.media.mediacodec.freeze-duration-ms-histogram", in statsd_codec()
696 item->getString("android.media.mediacodec.freeze-duration-ms-histogram-buckets", in statsd_codec()
699 item->getString("android.media.mediacodec.freeze-distance-ms-histogram", in statsd_codec()
702 item->getString("android.media.mediacodec.freeze-distance-ms-histogram-buckets", in statsd_codec()
705 item->getInt64("android.media.mediacodec.judder-score", &judderScore); in statsd_codec()
707 item->getDouble("android.media.mediacodec.judder-rate", &judderRate); in statsd_codec()
709 item->getString("android.media.mediacodec.judder-score-histogram", &judderScoreHistogramStr); in statsd_codec()
711 item->getString("android.media.mediacodec.judder-score-histogram-buckets", in statsd_codec()
721 int32_t statsUid = item->getUid(); in statsd_codec()