Searched refs:device_metrics (Results 1 – 2 of 2) sorted by relevance
1024 shared_ptr<DeviceMetrics> device_metrics(new DeviceMetrics); in RegisterDevice() local1025 devices_metrics_[interface_index] = device_metrics; in RegisterDevice()1026 device_metrics->technology = technology; in RegisterDevice()1029 device_metrics->initialization_timer.reset( in RegisterDevice()1035 device_metrics->initialization_timer->Start(); in RegisterDevice()1038 device_metrics->enable_timer.reset( in RegisterDevice()1046 device_metrics->disable_timer.reset( in RegisterDevice()1054 device_metrics->scan_timer.reset( in RegisterDevice()1062 device_metrics->connect_timer.reset( in RegisterDevice()1070 device_metrics->scan_connect_timer.reset( in RegisterDevice()[all …]
1176 void AutoConnectMetricsReset(DeviceMetrics* device_metrics);1207 DeviceMetrics* device_metrics = GetDeviceMetrics(interface_index); in set_time_to_scan_timer() local1208 device_metrics->scan_timer.reset(timer); // Passes ownership in set_time_to_scan_timer()1212 DeviceMetrics* device_metrics = GetDeviceMetrics(interface_index); in set_time_to_connect_timer() local1213 device_metrics->connect_timer.reset(timer); // Passes ownership in set_time_to_connect_timer()1217 DeviceMetrics* device_metrics = GetDeviceMetrics(interface_index); in set_time_to_scan_connect_timer() local1218 device_metrics->scan_connect_timer.reset(timer); // Passes ownership in set_time_to_scan_connect_timer()