Searched refs:device_metric (Results 1 – 2 of 2) sorted by relevance
199 auto device_metric = device_metrics_[i].get(); in WriteStats() local201 device_metric->connecting_timepoint_, beginning_timepoint_); in WriteStats()203 device_metric->connected_timepoint_, beginning_timepoint_); in WriteStats()205 get_timedelta_nanos(device_metric->disconnected_timepoint_, in WriteStats()206 device_metric->connected_timepoint_); in WriteStats()207 device_connection_statuses[i] = device_metric->connection_status_; in WriteStats()208 device_disconnection_statuses[i] = device_metric->disconnection_status_; in WriteStats()209 device_address[i] = device_metric->address_; in WriteStats()
179 for (auto& device_metric : device_metrics) { in AddStateChangedEvent() local180 if (device_metric->IsStarted() && in AddStateChangedEvent()184 device_metric->AddStateChangedEvent( in AddStateChangedEvent()189 if (device_metric->IsCancelled() && in AddStateChangedEvent()192 device_metric->AddStateChangedEvent( in AddStateChangedEvent()