Home
last modified time | relevance | path

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

/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_condition_variable.h51 uint64_t timeoutNs) { in chppConditionVariableTimedWait() argument
52 uint64_t timeoutS = timeoutNs / CHPP_NSEC_PER_SEC; in chppConditionVariableTimedWait()
53 timeoutNs = timeoutNs % CHPP_NSEC_PER_SEC; in chppConditionVariableTimedWait()
58 now.tv_nsec += timeoutNs; in chppConditionVariableTimedWait()
Dplatform_notifier.h59 uint64_t timeoutNs);
83 uint64_t timeoutNs) { in chppNotifierTimedWait() argument
84 return chppPlatformNotifierTimedWait(notifier, timeoutNs); in chppNotifierTimedWait()
/system/chre/chpp/platform/linux/
Dnotifier.c67 uint64_t timeoutNs) { in chppPlatformNotifierTimedWait() argument
68 if (timeoutNs == CHPP_TRANSPORT_TIMEOUT_INFINITE) { in chppPlatformNotifierTimedWait()
74 uint64_t timeoutS = timeoutNs / CHPP_NSEC_PER_SEC; in chppPlatformNotifierTimedWait()
75 timeoutNs = timeoutNs % CHPP_NSEC_PER_SEC; in chppPlatformNotifierTimedWait()
82 timeout.tv_nsec += timeoutNs; in chppPlatformNotifierTimedWait()
/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/chpp/include/chpp/
Dclients.h253 uint64_t timeoutNs);
300 uint64_t timeoutNs);
329 uint64_t timeoutNs);
Dcondition_variable.h78 uint64_t timeoutNs);
Dnotifier.h88 uint64_t timeoutNs);
/system/chre/chpp/
Dclients.c314 uint64_t timeoutNs) { in chppClientTimestampRequest() argument
329 if (timeoutNs == CHPP_CLIENT_REQUEST_TIMEOUT_INFINITE) { in chppClientTimestampRequest()
333 rRState->responseTimeNs = timeoutNs + rRState->requestTimeNs; in chppClientTimestampRequest()
343 timeoutNs / CHPP_NSEC_PER_MSEC, in chppClientTimestampRequest()
417 uint64_t timeoutNs) { in chppSendTimestampedRequestOrFail() argument
424 chppClientTimestampRequest(clientState, rRState, buf, timeoutNs); in chppSendTimestampedRequestOrFail()
450 uint64_t timeoutNs) { in chppSendTimestampedRequestAndWaitTimeout() argument
460 timeoutNs); in chppSendTimestampedRequestAndWaitTimeout()
465 timeoutNs / CHPP_NSEC_PER_MSEC); in chppSendTimestampedRequestAndWaitTimeout()
/system/chre/apps/test/chqts/src/general_test/
Dtest.cc79 if (chreGetTime() - request.requestTimeNs > request.timeoutNs) { in validateChreAsyncResult()
82 request.timeoutNs / nanoapp_testing::kOneSecondInNanoseconds); in validateChreAsyncResult()
Dtest.h64 uint64_t timeoutNs; member
Dbasic_wifi_test.h100 uint64_t timeoutNs);
Dbasic_wifi_test.cc483 uint64_t timeoutNs) { in resetCurrentWifiRequest() argument
487 .timeoutNs = timeoutNs}; in resetCurrentWifiRequest()
/system/chre/pal/tests/include/
Dwifi_pal_impl_test.h65 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs);
Dgnss_pal_impl_test.h57 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs);
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc171 chre::Nanoseconds timeoutNs) { in waitForAsyncResponseAssertSuccess() argument
174 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()
Dgnss_pal_impl_test.cc232 chre::Nanoseconds timeoutNs) { in waitForAsyncResponseAssertSuccess() argument
235 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()
/system/chre/chpp/test/
Dclients_test.cpp102 uint64_t timeoutNs, in registerAndValidateRequestForTimeout() argument
106 chppClientTimestampRequest(clientState, rRState, header, timeoutNs); in registerAndValidateRequestForTimeout()