Home
last modified time | relevance | path

Searched refs:timeoutNs (Results 1 – 9 of 9) sorted by relevance

/system/core/libutils/include/utils/
DMutex.h125 status_t timedLock(nsecs_t timeoutNs) TRY_ACQUIRE(0);
192 inline status_t Mutex::timedLock(nsecs_t timeoutNs) { in timedLock() argument
193 timeoutNs += systemTime(SYSTEM_TIME_REALTIME); in timedLock()
195 /* .tv_sec = */ static_cast<time_t>(timeoutNs / 1000000000), in timedLock()
196 /* .tv_nsec = */ static_cast<long>(timeoutNs % 1000000000), in timedLock()
/system/chre/apps/chqts/src/general_test/
Dtest.cc80 if (chreGetTime() - request.requestTimeNs > request.timeoutNs) { in validateChreAsyncResult()
83 request.timeoutNs / nanoapp_testing::kOneSecondInNanoseconds); in validateChreAsyncResult()
Dbasic_wifi_test.cc276 uint64_t timeoutNs) { in resetCurrentWifiRequest() argument
281 .timeoutNs = timeoutNs in resetCurrentWifiRequest()
Dtest.h63 uint64_t timeoutNs; member
Dbasic_wifi_test.h97 uint64_t timeoutNs);
/system/chre/pal/tests/include/
Dgnss_pal_impl_test.h57 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs);
Dwifi_pal_impl_test.h65 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs);
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc200 chre::Nanoseconds timeoutNs) { in waitForAsyncResponseAssertSuccess() argument
203 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()
Dgnss_pal_impl_test.cc230 chre::Nanoseconds timeoutNs) { in waitForAsyncResponseAssertSuccess() argument
233 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()