Searched refs:Nanosleep (Results 1 – 9 of 9) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | os_unittest.cpp | 131 Nanosleep(Pointee(EqualsTimespec({0, kSleepTimeNsec})), _)); in TEST_F() 132 os_->Nanosleep(kSleepTimeNsec); in TEST_F() 137 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); in TEST_F() 138 os_->Nanosleep(Os::kMaxNanos); in TEST_F() 142 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 0})), _)); in TEST_F() 143 os_->Nanosleep(0); in TEST_F() 148 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); in TEST_F() 149 os_->Nanosleep(Os::kMaxNanos + 1); in TEST_F() 154 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F() 160 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 100})), _)); in TEST_F() [all …]
|
D | mock_raw_os.h | 36 MOCK_METHOD2(Nanosleep,
|
D | mock_os.h | 39 MOCK_METHOD1(Nanosleep, void(uint32_t sleep_time_nsec));
|
D | main_loop_unittest.cpp | 115 EXPECT_CALL(*os_, Nanosleep(_)); in TEST_F()
|
/system/connectivity/wifilogd/ |
D | os.cpp | 73 void Os::Nanosleep(uint32_t sleep_time_nsec) { in Nanosleep() function in android::wifilogd::Os 81 failed = raw_os_->Nanosleep(&sleep_timespec, &remaining_timespec); in Nanosleep()
|
D | raw_os.h | 45 virtual int Nanosleep(NONNULL const struct timespec* req,
|
D | raw_os.cpp | 42 int RawOs::Nanosleep(const struct timespec* req, struct timespec* rem) { in Nanosleep() function in android::wifilogd::RawOs
|
D | os.h | 74 virtual void Nanosleep(uint32_t sleep_time_nsec);
|
D | main_loop.cpp | 76 os_->Nanosleep(kTransientErrorSleepTimeNsec); in ProcessError()
|