Searched refs:kMaxNanos (Results 1 – 3 of 3) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | os_unittest.cpp | 137 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); in TEST_F() 138 os_->Nanosleep(Os::kMaxNanos); in TEST_F() 148 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); 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() 326 ON_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)) in TEST_F() 328 EXPECT_DEATH(os_->Nanosleep(Os::kMaxNanos), "Unexpected error"); in TEST_F()
|
/system/connectivity/wifilogd/ |
D | os.h | 52 static constexpr auto kMaxNanos = 999'999'999; variable
|
D | os.cpp | 76 SAFELY_CLAMP(sleep_time_nsec, decltype(timespec::tv_nsec), 0, kMaxNanos)}; in Nanosleep()
|