HomeSort by relevance Sort by last modified time
    Searched refs:ParseTimerState (Results 1 - 3 of 3) sorted by null

  /system/connectivity/shill/
socket_info_reader.h 58 FRIEND_TEST(SocketInfoReaderTest, ParseTimerState);
73 bool ParseTimerState(const std::string& input,
socket_info_reader_unittest.cc 408 TEST_F(SocketInfoReaderTest, ParseTimerState) {
411 EXPECT_FALSE(reader_.ParseTimerState("", &timer_state));
412 EXPECT_FALSE(reader_.ParseTimerState("0", &timer_state));
413 EXPECT_FALSE(reader_.ParseTimerState("X", &timer_state));
414 EXPECT_FALSE(reader_.ParseTimerState("00", &timer_state));
416 EXPECT_TRUE(reader_.ParseTimerState("00:00000000", &timer_state));
418 EXPECT_TRUE(reader_.ParseTimerState("01:00000000", &timer_state));
420 EXPECT_TRUE(reader_.ParseTimerState("02:00000000", &timer_state));
422 EXPECT_TRUE(reader_.ParseTimerState("03:00000000", &timer_state));
424 EXPECT_TRUE(reader_.ParseTimerState("04:00000000", &timer_state))
    [all...]
socket_info_reader.cc 126 if (!ParseTimerState(tokens[5], &timer_state)) {
218 bool SocketInfoReader::ParseTimerState(

Completed in 70 milliseconds