Home
last modified time | relevance | path

Searched refs:abstime (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dsync.h67 wifi_error wait(struct timespec abstime) in wait() argument
74 abstime.tv_sec += now.tv_sec; in wait()
75 …if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 … in wait()
77 abstime.tv_sec += 1; in wait()
78 abstime.tv_nsec += now.tv_usec * 1000; in wait()
79 abstime.tv_nsec -= 1000*1000*1000; in wait()
83 abstime.tv_nsec += now.tv_usec * 1000; in wait()
85 status = pthread_cond_timedwait(&mCondition, &mMutex, &abstime); in wait()
Dwificonfig.cpp790 struct timespec abstime; in requestEvent() local
791 abstime.tv_sec = 4; in requestEvent()
792 abstime.tv_nsec = 0; in requestEvent()
793 res = mCondition.wait(abstime); in requestEvent()
Dwifilogger.cpp990 struct timespec abstime; in requestEvent() local
991 abstime.tv_sec = 4; in requestEvent()
992 abstime.tv_nsec = 0; in requestEvent()
993 res = mCondition.wait(abstime); in requestEvent()
Dnan_ind.cpp931 struct timespec abstime; in getNanStaParameter() local
932 abstime.tv_sec = 4; in getNanStaParameter()
933 abstime.tv_nsec = 0; in getNanStaParameter()
934 ret = mCondition.wait(abstime); in getNanStaParameter()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dsync.h67 wifi_error wait(struct timespec abstime) in wait() argument
74 abstime.tv_sec += now.tv_sec; in wait()
75 …if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 … in wait()
77 abstime.tv_sec += 1; in wait()
78 abstime.tv_nsec += now.tv_usec * 1000; in wait()
79 abstime.tv_nsec -= 1000*1000*1000; in wait()
83 abstime.tv_nsec += now.tv_usec * 1000; in wait()
85 status = pthread_cond_timedwait(&mCondition, &mMutex, &abstime); in wait()
Dwificonfig.cpp988 struct timespec abstime; in requestEvent() local
989 abstime.tv_sec = 4; in requestEvent()
990 abstime.tv_nsec = 0; in requestEvent()
991 res = mCondition.wait(abstime); in requestEvent()
Dwifilogger.cpp1038 struct timespec abstime; in requestEvent() local
1039 abstime.tv_sec = 4; in requestEvent()
1040 abstime.tv_nsec = 0; in requestEvent()
1041 res = mCondition.wait(abstime); in requestEvent()
Dnan_ind.cpp982 struct timespec abstime; in getNanStaParameter() local
983 abstime.tv_sec = 4; in getNanStaParameter()
984 abstime.tv_nsec = 0; in getNanStaParameter()
985 ret = mCondition.wait(abstime); in getNanStaParameter()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_queue.h125 struct timespec abstime; in wsi_queue_pull() local
126 abstime.tv_nsec = abs_nsec; in wsi_queue_pull()
127 abstime.tv_sec = MIN2(abs_sec, INT_TYPE_MAX(abstime.tv_sec)); in wsi_queue_pull()
130 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime); in wsi_queue_pull()
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidConditionVariable.h158 timespec abstime; in timedWait() local
159 abstime.tv_sec = waitUntilUs / 1000000LL; in timedWait()
160 abstime.tv_nsec = (waitUntilUs % 1000000LL) * 1000; in timedWait()
161 return timedWait(userLock, abstime); in timedWait()
165 bool timedWait(StaticLock<IsRecursive>* userLock, const timespec& abstime) { in timedWait() argument
166 return pthread_cond_timedwait(&mCond, &userLock->mLock, &abstime) == 0; in timedWait()
/hardware/google/aemu/base/include/aemu/base/synchronization/
DConditionVariable.h150 timespec abstime; in timedWait() local
151 abstime.tv_sec = waitUntilUs / 1000000LL; in timedWait()
152 abstime.tv_nsec = (waitUntilUs % 1000000LL) * 1000; in timedWait()
153 return pthread_cond_timedwait(&mCond, &userLock->mLock, &abstime) == 0; in timedWait()