Searched refs:raw_os_ (Results 1 – 3 of 3) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | os_unittest.cpp | 60 raw_os_ = new StrictMock<MockRawOs>(); in OsTest() 61 os_ = std::unique_ptr<Os>(new Os(std::unique_ptr<RawOs>(raw_os_))); in OsTest() 68 MockRawOs* raw_os_; member in android::wifilogd::__anonf5a4f0f90111::OsTest 99 EXPECT_CALL(*raw_os_, GetControlSocket(StrEq(kSocketName))) in TEST_F() 109 EXPECT_CALL(*raw_os_, GetControlSocket(StrEq(kSocketName))) in TEST_F() 120 EXPECT_CALL(*raw_os_, ClockGettime(_, _)) in TEST_F() 130 EXPECT_CALL(*raw_os_, in TEST_F() 136 EXPECT_CALL(*raw_os_, in TEST_F() 142 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 0})), _)); in TEST_F() 147 EXPECT_CALL(*raw_os_, in TEST_F() [all …]
|
/system/connectivity/wifilogd/ |
D | os.cpp | 38 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()
|
D | os.h | 100 const std::unique_ptr<RawOs> raw_os_;
|