Lines Matching refs:raw_os_

59     raw_os_ = new StrictMock<MockRawOs>();  in OsTest()
60 os_ = std::unique_ptr<Os>(new Os(std::unique_ptr<RawOs>(raw_os_))); in OsTest()
67 MockRawOs* raw_os_; member in android::wifilogd::__anonf5a4f0f90111::OsTest
98 EXPECT_CALL(*raw_os_, GetControlSocket(StrEq(kSocketName))) in TEST_F()
108 EXPECT_CALL(*raw_os_, GetControlSocket(StrEq(kSocketName))) in TEST_F()
119 EXPECT_CALL(*raw_os_, ClockGettime(_, _)) in TEST_F()
129 EXPECT_CALL(*raw_os_, in TEST_F()
135 EXPECT_CALL(*raw_os_, in TEST_F()
141 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 0})), _)); in TEST_F()
146 EXPECT_CALL(*raw_os_, in TEST_F()
153 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
159 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 100})), _)); in TEST_F()
165 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
171 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
177 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 50})), _)); in TEST_F()
183 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
189 EXPECT_CALL(*raw_os_, Nanosleep(_, _)).Times(0); in TEST_F()
196 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
209 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
222 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
233 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
245 EXPECT_CALL(*raw_os_, Recv(kFakeFd, buffer.data(), buffer.size(), MSG_TRUNC)) in TEST_F()
256 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
267 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
277 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), 0)).WillOnce(Return(0)); in TEST_F()
287 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()
298 EXPECT_CALL(*raw_os_, Write(kFakeFd, buffer.data(), 0)) in TEST_F()
314 ON_CALL(*raw_os_, ClockGettime(_, _)) in TEST_F()
320 ON_CALL(*raw_os_, ClockGettime(_, _)).WillByDefault(Return(-1)); in TEST_F()
325 ON_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)) in TEST_F()
348 ON_CALL(*raw_os_, Write(kFakeFd, buffer.data(), buffer.size())) in TEST_F()