Searched refs:timer_mutex (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/gps/msm8994/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 114 for (i = 0; EBUSY == pthread_mutex_destroy(&t->timer_mutex) && i <= 5; i++) { in timer_thread() 120 pthread_mutex_unlock(&t->timer_mutex); in timer_thread() 153 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 181 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 196 pthread_mutex_lock(&(t->timer_mutex)) == 0) { in loc_timer_stop() 201 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/sdm845/gps/msm8994/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 114 for (i = 0; EBUSY == pthread_mutex_destroy(&t->timer_mutex) && i <= 5; i++) { in timer_thread() 120 pthread_mutex_unlock(&t->timer_mutex); in timer_thread() 153 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 181 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 196 pthread_mutex_lock(&(t->timer_mutex)) == 0) { in loc_timer_stop() 201 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/gps/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 114 for (i = 0; EBUSY == pthread_mutex_destroy(&t->timer_mutex) && i <= 5; i++) { in timer_thread() 120 pthread_mutex_unlock(&t->timer_mutex); in timer_thread() 153 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 181 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 195 pthread_mutex_lock(&(t->timer_mutex)) == 0) { in loc_timer_stop() 200 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/sdm845/gps/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 114 for (i = 0; EBUSY == pthread_mutex_destroy(&t->timer_mutex) && i <= 5; i++) { in timer_thread() 120 pthread_mutex_unlock(&t->timer_mutex); in timer_thread() 153 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 181 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 195 pthread_mutex_lock(&(t->timer_mutex)) == 0) { in loc_timer_stop() 200 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 104 pthread_mutex_destroy(&t->timer_mutex); in timer_thread() 137 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 165 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 179 pthread_mutex_lock(&(t->timer_mutex)); in loc_timer_stop() 184 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/sdm845/gps/msm8084/utils/ |
D | loc_timer.c | 49 pthread_mutex_t timer_mutex; member 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread() 86 pthread_mutex_unlock(&(t->timer_mutex)); in timer_thread() 104 pthread_mutex_destroy(&t->timer_mutex); in timer_thread() 137 if(pthread_mutex_init(&(t->timer_mutex), NULL)) { in loc_timer_start() 165 pthread_mutex_destroy(&t->timer_mutex); in loc_timer_start() 179 pthread_mutex_lock(&(t->timer_mutex)); in loc_timer_stop() 184 pthread_mutex_unlock(&(t->timer_mutex)); in loc_timer_stop()
|
/hardware/qcom/sdm845/gps/msm8960/utils/ |
D | loc_timer.c | 56 pthread_mutex_t timer_mutex; in timer_thread() local 67 if(pthread_mutex_init(&timer_mutex, NULL)) { in timer_thread() 90 pthread_mutex_lock(&(timer_mutex)); in timer_thread() 91 ret = pthread_cond_timedwait(&timer_cond, &timer_mutex, &ts); in timer_thread() 92 pthread_mutex_unlock(&(timer_mutex)); in timer_thread() 105 pthread_mutex_destroy(&timer_mutex); in timer_thread()
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_timer.c | 56 pthread_mutex_t timer_mutex; in timer_thread() local 67 if(pthread_mutex_init(&timer_mutex, NULL)) { in timer_thread() 90 pthread_mutex_lock(&(timer_mutex)); in timer_thread() 91 ret = pthread_cond_timedwait(&timer_cond, &timer_mutex, &ts); in timer_thread() 92 pthread_mutex_unlock(&(timer_mutex)); in timer_thread() 105 pthread_mutex_destroy(&timer_mutex); in timer_thread()
|