Lines Matching defs:NetworkStats
31 uint32 NetworkStats::maximum_tests_ = 8;
33 uint32 NetworkStats::maximum_sequential_packets_ = 21;
35 uint32 NetworkStats::maximum_NAT_packets_ = 2;
37 uint32 NetworkStats::maximum_NAT_idle_seconds_ = 300;
39 bool NetworkStats::start_test_after_connect_ = true;
124 NetworkStats::NetworkStats(net::ClientSocketFactory* socket_factory)
137 NetworkStats::~NetworkStats() {}
139 bool NetworkStats::Start(net::HostResolver* host_resolver,
164 base::Bind(base::IgnoreResult(&NetworkStats::DoConnect),
174 void NetworkStats::StartOneTest() {
184 void NetworkStats::ResetData() {
198 bool NetworkStats::DoConnect(int result) {
226 bool NetworkStats::ConnectComplete(int result) {
247 void NetworkStats::SendHelloRequest() {
259 void NetworkStats::SendProbeRequest() {
315 int NetworkStats::ReadData() {
330 base::Bind(&NetworkStats::OnReadComplete, weak_factory_.GetWeakPtr()));
341 void NetworkStats::OnReadComplete(int result) {
353 base::Bind(base::IgnoreResult(&NetworkStats::ReadData),
359 bool NetworkStats::ReadComplete(int result) {
406 bool NetworkStats::UpdateReception(const ProbePacket& probe_packet) {
455 int NetworkStats::SendData(const std::string& output) {
466 base::Bind(&NetworkStats::OnWriteComplete, weak_factory_.GetWeakPtr()));
476 void NetworkStats::OnWriteComplete(int result) {
487 void NetworkStats::UpdateSendBuffer(int bytes_sent) {
494 void NetworkStats::StartReadDataTimer(uint32 seconds, uint32 test_index) {
497 base::Bind(&NetworkStats::OnReadDataTimeout,
503 void NetworkStats::OnReadDataTimeout(uint32 test_index) {
535 bool NetworkStats::TestPhaseComplete(Status status, int result) {
563 base::Bind(&NetworkStats::StartOneTest, weak_factory_.GetWeakPtr()));
581 NetworkStats::TestType NetworkStats::GetNextTest() {
588 void NetworkStats::DoFinishCallback(int result) {
596 void NetworkStats::RecordHistograms(TestType test_type) {
625 void NetworkStats::RecordInterArrivalHistograms(TestType test_type) {
637 void NetworkStats::RecordPacketsReceivedHistograms(TestType test_type) {
681 void NetworkStats::RecordNATTestReceivedHistograms(Status status) {
721 void NetworkStats::RecordPacketSizeTestReceivedHistograms(Status status) {
739 void NetworkStats::RecordPacketLossSeriesHistograms(TestType test_type) {
765 void NetworkStats::RecordRTTHistograms(TestType test_type, uint32 index) {
782 void NetworkStats::RecordSendToLastRecvDelayHistograms(TestType test_type) {
944 // |udp_stats_client| is owned and deleted in the class NetworkStats.
945 NetworkStats* udp_stats_client =
946 new NetworkStats(net::ClientSocketFactory::GetDefaultFactory());