Searched defs:GetAndClearErrorMask (Results 1 - 2 of 2) sorted by relevance

/system/connectivity/shill/net/
H A Drtnl_handler.cc298 GetAndClearErrorMask(hdr->nlmsg_seq); // Clear any queued error mask.
310 if (!ContainsValue(GetAndClearErrorMask(hdr->nlmsg_seq),
498 RTNLHandler::ErrorMask RTNLHandler::GetAndClearErrorMask(uint32_t sequence) { function in class:shill::RTNLHandler
H A Drtnl_handler_unittest.cc107 RTNLHandler::ErrorMask GetAndClearErrorMask(uint32_t sequence) { function in class:shill::RTNLHandlerTest
108 return RTNLHandler::GetInstance()->GetAndClearErrorMask(sequence);
276 EXPECT_TRUE(GetAndClearErrorMask(kSequenceNumber).empty());
288 EXPECT_TRUE(GetAndClearErrorMask(kSequenceNumber + 1).empty());
289 EXPECT_THAT(GetAndClearErrorMask(kSequenceNumber), ElementsAre(1, 2, 3));
291 // A second call to GetAndClearErrorMask() returns an empty vector.
292 EXPECT_TRUE(GetAndClearErrorMask(kSequenceNumber).empty());
320 EXPECT_EQ(expectation.mask, GetAndClearErrorMask(kSequenceNumber));

Completed in 49 milliseconds