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

  /system/connectivity/shill/
socket_info_reader.h 53 FRIEND_TEST(SocketInfoReaderTest, ParseConnectionState);
71 bool ParseConnectionState(const std::string& input,
socket_info_reader_unittest.cc 368 TEST_F(SocketInfoReaderTest, ParseConnectionState) {
372 EXPECT_FALSE(reader_.ParseConnectionState("", &connection_state));
373 EXPECT_FALSE(reader_.ParseConnectionState("0", &connection_state));
374 EXPECT_FALSE(reader_.ParseConnectionState("X", &connection_state));
376 EXPECT_TRUE(reader_.ParseConnectionState("00", &connection_state));
378 EXPECT_TRUE(reader_.ParseConnectionState("01", &connection_state));
380 EXPECT_TRUE(reader_.ParseConnectionState("02", &connection_state));
382 EXPECT_TRUE(reader_.ParseConnectionState("03", &connection_state));
384 EXPECT_TRUE(reader_.ParseConnectionState("04", &connection_state));
386 EXPECT_TRUE(reader_.ParseConnectionState("05", &connection_state))
    [all...]
socket_info_reader.cc 112 if (!ParseConnectionState(tokens[3], &connection_state)) {
202 bool SocketInfoReader::ParseConnectionState(

Completed in 190 milliseconds