Home
last modified time | relevance | path

Searched refs:raw_os_ (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/wifilogd/tests/
Dos_unittest.cpp59 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::__anonf09ed4820111::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()
[all …]
/system/connectivity/wifilogd/
Dos.cpp38 Os::Os() : raw_os_(new RawOs()) {} in Os()
39 Os::Os(std::unique_ptr<RawOs> raw_os) : raw_os_(std::move(raw_os)) {} in Os()
44 int sock_fd = raw_os_->GetControlSocket(socket_name.c_str()); in GetControlSocket()
54 int failed = raw_os_->ClockGettime(clock_id, &now_timespec); in GetTimestamp()
81 failed = raw_os_->Nanosleep(&sleep_timespec, &remaining_timespec); in Nanosleep()
100 const ssize_t res = raw_os_->Recv(fd, buf, buflen, MSG_TRUNC); in ReceiveDatagram()
119 const ssize_t res = raw_os_->Write(fd, buf, buflen); in Write()
Dos.h100 const std::unique_ptr<RawOs> raw_os_;