Lines Matching refs:item

44 bool statsd_nuplayer(const std::shared_ptr<const mediametrics::Item>& item,  in statsd_nuplayer()  argument
47 if (item == nullptr) return false; in statsd_nuplayer()
50 const nsecs_t timestamp_nanos = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_nuplayer()
51 const std::string package_name = item->getPkgName(); in statsd_nuplayer()
52 const int64_t package_version_code = item->getPkgVersionCode(); in statsd_nuplayer()
63 std::string whichPlayer = item->getKey(); in statsd_nuplayer()
67 if (item->getString("android.media.mediaplayer.video.mime", &video_mime)) { in statsd_nuplayer()
71 if (item->getString("android.media.mediaplayer.video.codec", &video_codec)) { in statsd_nuplayer()
76 if (item->getInt32("android.media.mediaplayer.width", &width)) { in statsd_nuplayer()
80 if (item->getInt32("android.media.mediaplayer.height", &height)) { in statsd_nuplayer()
85 if (item->getInt64("android.media.mediaplayer.frames", &frames)) { in statsd_nuplayer()
89 if (item->getInt64("android.media.mediaplayer.dropped", &frames_dropped)) { in statsd_nuplayer()
93 if (item->getInt64("android.media.mediaplayer.startupdropped", &frames_dropped_startup)) { in statsd_nuplayer()
97 if (item->getDouble("android.media.mediaplayer.fps", &framerate)) { in statsd_nuplayer()
102 if (item->getString("android.media.mediaplayer.audio.mime", &audio_mime)) { in statsd_nuplayer()
106 if (item->getString("android.media.mediaplayer.audio.codec", &audio_codec)) { in statsd_nuplayer()
111 if (item->getInt64("android.media.mediaplayer.durationMs", &duration_millis)) { in statsd_nuplayer()
115 if (item->getInt64("android.media.mediaplayer.playingMs", &playing_millis)) { in statsd_nuplayer()
120 if (item->getInt32("android.media.mediaplayer.err", &error)) { in statsd_nuplayer()
124 if (item->getInt32("android.media.mediaplayer.errcode", &error_code)) { in statsd_nuplayer()
128 if (item->getString("android.media.mediaplayer.errstate", &error_state)) { in statsd_nuplayer()
133 if (item->getString("android.media.mediaplayer.dataSource", &data_source_type)) { in statsd_nuplayer()
138 if (item->getInt64("android.media.mediaplayer.rebufferingMs", &rebuffering_millis)) { in statsd_nuplayer()
142 if (item->getInt32("android.media.mediaplayer.rebuffers", &rebuffers)) { in statsd_nuplayer()
146 if (item->getInt32("android.media.mediaplayer.rebufferExit", &rebuffer_at_exit)) { in statsd_nuplayer()