Lines Matching refs:os_

61     os_ = std::unique_ptr<Os>(new Os(std::unique_ptr<RawOs>(raw_os_)));  in OsTest()
65 std::unique_ptr<Os> os_; member in android::wifilogd::__anonf5a4f0f90111::OsTest
103 EXPECT_EQ(kExpectedResult, os_->GetControlSocket(kSocketName)); in TEST_F()
113 EXPECT_EQ(kExpectedResult, os_->GetControlSocket(kSocketName)); in TEST_F()
123 const Os::Timestamp received = os_->GetTimestamp(CLOCK_REALTIME); in TEST_F()
132 os_->Nanosleep(kSleepTimeNsec); in TEST_F()
138 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
143 os_->Nanosleep(0); in TEST_F()
149 os_->Nanosleep(Os::kMaxNanos + 1); in TEST_F()
161 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
179 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
191 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
202 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
215 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
228 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
239 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
251 os_->ReceiveDatagram(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
261 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
272 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
281 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
292 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
303 EXPECT_EQ(kExpectedResult, os_->Write(kFakeFd, buffer.data(), buffer.size())); in TEST_F()
317 EXPECT_DEATH(os_->GetTimestamp(CLOCK_REALTIME), "Check failed"); in TEST_F()
322 EXPECT_DEATH(os_->GetTimestamp(CLOCK_REALTIME), "Unexpected error"); in TEST_F()
328 EXPECT_DEATH(os_->Nanosleep(Os::kMaxNanos), "Unexpected error"); in TEST_F()
335 os_->ReceiveDatagram(kFakeFd, buffer.data(), GetMaxVal<size_t>()), in TEST_F()
342 EXPECT_DEATH(os_->Write(kFakeFd, buffer.data(), GetMaxVal<size_t>()), in TEST_F()
351 EXPECT_DEATH(os_->Write(kFakeFd, buffer.data(), buffer.size()), in TEST_F()