Home
last modified time | relevance | path

Searched refs:ParseTimeToExpireSeconds (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dconnection_info_reader.h52 FRIEND_TEST(ConnectionInfoReaderTest, ParseTimeToExpireSeconds);
56 bool ParseTimeToExpireSeconds(const std::string& input,
Dconnection_info_reader_unittest.cc192 TEST_F(ConnectionInfoReaderTest, ParseTimeToExpireSeconds) { in TEST_F() argument
195 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("", &time_to_expire)); in TEST_F()
196 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("a", &time_to_expire)); in TEST_F()
197 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("-1", &time_to_expire)); in TEST_F()
199 EXPECT_TRUE(reader_.ParseTimeToExpireSeconds("100", &time_to_expire)); in TEST_F()
Dconnection_info_reader.cc101 if (!ParseTimeToExpireSeconds(tokens[++index], &time_to_expire_seconds)) { in ParseConnectionInfo()
167 bool ConnectionInfoReader::ParseTimeToExpireSeconds( in ParseTimeToExpireSeconds() function in shill::ConnectionInfoReader