Home
last modified time | relevance | path

Searched refs:timer_state (Results 1 – 9 of 9) sorted by relevance

/system/connectivity/shill/
Dsocket_info_reader_unittest.cc106 EXPECT_EQ(info1.timer_state(), info2.timer_state()); in ExpectSocketInfoEqual()
409 SocketInfo::TimerState timer_state = SocketInfo::kTimerStateUnknown; in TEST_F() local
411 EXPECT_FALSE(reader_.ParseTimerState("", &timer_state)); in TEST_F()
412 EXPECT_FALSE(reader_.ParseTimerState("0", &timer_state)); in TEST_F()
413 EXPECT_FALSE(reader_.ParseTimerState("X", &timer_state)); in TEST_F()
414 EXPECT_FALSE(reader_.ParseTimerState("00", &timer_state)); in TEST_F()
416 EXPECT_TRUE(reader_.ParseTimerState("00:00000000", &timer_state)); in TEST_F()
417 EXPECT_EQ(SocketInfo::kTimerStateNoTimerPending, timer_state); in TEST_F()
418 EXPECT_TRUE(reader_.ParseTimerState("01:00000000", &timer_state)); in TEST_F()
419 EXPECT_EQ(SocketInfo::kTimerStateRetransmitTimerPending, timer_state); in TEST_F()
[all …]
Dsocket_info.h68 TimerState timer_state);
110 TimerState timer_state() const { return timer_state_; } in timer_state() function
111 void set_timer_state(TimerState timer_state) { timer_state_ = timer_state; } in set_timer_state() argument
Dsocket_info_reader.cc125 SocketInfo::TimerState timer_state = SocketInfo::kTimerStateUnknown; in ParseSocketInfo() local
126 if (!ParseTimerState(tokens[5], &timer_state)) { in ParseSocketInfo()
129 socket_info->set_timer_state(timer_state); in ParseSocketInfo()
219 const string& input, SocketInfo::TimerState* timer_state) { in ParseTimerState() argument
230 *timer_state = static_cast<SocketInfo::TimerState>(result); in ParseTimerState()
232 *timer_state = SocketInfo::kTimerStateUnknown; in ParseTimerState()
Dtraffic_monitor.cc96 << ", TimerState=" << info.timer_state(); in BuildIPPortToTxQueueLength()
100 (info.timer_state() != SocketInfo::kTimerStateRetransmitTimerPending && in BuildIPPortToTxQueueLength()
101 info.timer_state() != in BuildIPPortToTxQueueLength()
108 << " TimerState=" << info.timer_state(); in BuildIPPortToTxQueueLength()
Dsocket_info.cc28 TimerState timer_state) in SocketInfo() argument
36 timer_state_(timer_state) { in SocketInfo()
Dsocket_info_unittest.cc44 EXPECT_EQ(info1.timer_state(), info2.timer_state()); in ExpectSocketInfoEqual()
Dsocket_info_reader.h74 SocketInfo::TimerState* timer_state);
Dconnection_health_checker.cc362 sock_info.timer_state() == in VerifySentData()
Dconnection_health_checker_unittest.cc227 SocketInfo::TimerState timer_state, in CreateSocketInfoProxy() argument
237 timer_state); in CreateSocketInfoProxy()