Lines Matching refs:stats

1146     let stats = a.get_candidate_pairs_stats().await;  in test_candidate_pair_stats()  localVariable
1147 assert_eq!(stats.len(), 4, "expected 4 candidate pairs stats"); in test_candidate_pair_stats()
1156 for cps in stats { in test_candidate_pair_stats()
1259 for stats in local_stats { in test_local_candidate_stats()
1260 let candidate = if stats.id == host_local.id() { in test_local_candidate_stats()
1261 host_local_stat = stats.clone(); in test_local_candidate_stats()
1263 } else if stats.id == srflx_local.id() { in test_local_candidate_stats()
1264 srflx_local_stat = stats.clone(); in test_local_candidate_stats()
1271 stats.candidate_type, in test_local_candidate_stats()
1276 stats.priority, in test_local_candidate_stats()
1280 assert_eq!(stats.ip, candidate.address(), "invalid stats IP"); in test_local_candidate_stats()
1390 for stats in remote_stats { in test_remote_candidate_stats()
1391 let candidate = if stats.id == relay_remote.id() { in test_remote_candidate_stats()
1392 relay_remote_stat = stats.clone(); in test_remote_candidate_stats()
1394 } else if stats.id == srflx_remote.id() { in test_remote_candidate_stats()
1395 srflx_remote_stat = stats.clone(); in test_remote_candidate_stats()
1397 } else if stats.id == prflx_remote.id() { in test_remote_candidate_stats()
1398 prflx_remote_stat = stats.clone(); in test_remote_candidate_stats()
1400 } else if stats.id == host_remote.id() { in test_remote_candidate_stats()
1401 host_remote_stat = stats.clone(); in test_remote_candidate_stats()
1408 stats.candidate_type, in test_remote_candidate_stats()
1413 stats.priority, in test_remote_candidate_stats()
1417 assert_eq!(stats.ip, candidate.address(), "invalid stats IP"); in test_remote_candidate_stats()