Searched refs:kFakeFd (Results 1 – 2 of 2) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | os_unittest.cpp | 194 constexpr int kFakeFd = 100; in TEST_F() local 196 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F() 201 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F() 205 constexpr int kFakeFd = 100; in TEST_F() local 209 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F() 214 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F() 218 constexpr int kFakeFd = 100; in TEST_F() local 222 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F() 227 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F() 231 constexpr int kFakeFd = 100; in TEST_F() local [all …]
|
D | command_processor_unittest.cpp | 150 constexpr int kFakeFd = 100; in SendDumpBuffers() local 151 return command_processor_->ProcessCommand(buf.data(), buf.size(), kFakeFd); in SendDumpBuffers() 229 constexpr int kFakeFd = 100; in TEST_F() local 231 command_processor_->ProcessCommand(buf.data(), buf.size(), kFakeFd)); in TEST_F()
|