Lines Matching refs:item

40 bool statsd_audiothread(const std::shared_ptr<const mediametrics::Item>& item,  in statsd_audiothread()  argument
43 if (item == nullptr) return false; in statsd_audiothread()
46 const nsecs_t timestamp_nanos = MediaMetricsService::roundTime(item->getTimestamp()); in statsd_audiothread()
47 const std::string package_name = item->getPkgName(); in statsd_audiothread()
48 const int64_t package_version_code = item->getPkgVersionCode(); in statsd_audiothread()
60 if (item->getString(MM_PREFIX "type", &mytype)) { in statsd_audiothread()
64 if (item->getInt32(MM_PREFIX "framecount", &framecount)) { in statsd_audiothread()
68 if (item->getInt32(MM_PREFIX "samplerate", &samplerate)) { in statsd_audiothread()
72 if (item->getString(MM_PREFIX "workMs.hist", &work_millis_hist)) { in statsd_audiothread()
76 if (item->getString(MM_PREFIX "latencyMs.hist", &latency_millis_hist)) { in statsd_audiothread()
80 if (item->getString(MM_PREFIX "warmupMs.hist", &warmup_millis_hist)) { in statsd_audiothread()
84 if (item->getInt64(MM_PREFIX "underruns", &underruns)) { in statsd_audiothread()
88 if (item->getInt64(MM_PREFIX "overruns", &overruns)) { in statsd_audiothread()
92 if (item->getInt64(MM_PREFIX "activeMs", &active_millis)) { in statsd_audiothread()
96 if (item->getInt64(MM_PREFIX "durationMs", &duration_millis)) { in statsd_audiothread()
101 if (item->getInt32(MM_PREFIX "id", &id)) { in statsd_audiothread()
106 if (item->getInt32(MM_PREFIX "portId", &port_id)) { in statsd_audiothread()
111 if (item->getString(MM_PREFIX "type", &type)) { in statsd_audiothread()
116 if (item->getInt32(MM_PREFIX "sampleRate", &sample_rate)) { in statsd_audiothread()
121 if (item->getInt32(MM_PREFIX "channelMask", &channel_mask)) { in statsd_audiothread()
126 if (item->getString(MM_PREFIX "encoding", &encoding)) { in statsd_audiothread()
131 if (item->getInt32(MM_PREFIX "frameCount", &frame_count)) { in statsd_audiothread()
136 if (item->getString(MM_PREFIX "outDevice", &output_device)) { in statsd_audiothread()
141 if (item->getString(MM_PREFIX "inDevice", &input_device)) { in statsd_audiothread()
146 if (item->getDouble(MM_PREFIX "ioJitterMs.mean", &io_jitter_mean_millis)) { in statsd_audiothread()
151 if (item->getDouble(MM_PREFIX "ioJitterMs.std", &io_jitter_stddev_millis)) { in statsd_audiothread()
156 if (item->getDouble(MM_PREFIX "processTimeMs.mean", &process_time_mean_millis)) { in statsd_audiothread()
161 if (item->getDouble(MM_PREFIX "processTimeMs.std", &process_time_stddev_millis)) { in statsd_audiothread()
166 if (item->getDouble(MM_PREFIX "timestampJitterMs.mean", &timestamp_jitter_mean_millis)) { in statsd_audiothread()
171 if (item->getDouble(MM_PREFIX "timestampJitterMs.std", &timestamp_jitter_stddev_millis)) { in statsd_audiothread()
176 if (item->getDouble(MM_PREFIX "latencyMs.mean", &latency_mean_millis)) { in statsd_audiothread()
181 if (item->getDouble(MM_PREFIX "latencyMs.std", &latency_stddev_millis)) { in statsd_audiothread()