Home
last modified time | relevance | path

Searched refs:g_lock (Results 1 – 2 of 2) sorted by relevance

/hardware/msm7k/liblights/
Dlights.c38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
91 pthread_mutex_init(&g_lock, NULL); in init_globals()
163 pthread_mutex_lock(&g_lock); in set_light_backlight()
169 pthread_mutex_unlock(&g_lock); in set_light_backlight()
179 pthread_mutex_lock(&g_lock); in set_light_keyboard()
181 pthread_mutex_unlock(&g_lock); in set_light_keyboard()
191 pthread_mutex_lock(&g_lock); in set_light_buttons()
194 pthread_mutex_unlock(&g_lock); in set_light_buttons()
298 pthread_mutex_lock(&g_lock); in set_light_battery()
304 pthread_mutex_unlock(&g_lock); in set_light_battery()
[all …]
/hardware/qcom/display/liblight/
Dlights.c38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
74 pthread_mutex_init(&g_lock, NULL); in init_globals()
119 pthread_mutex_lock(&g_lock); in set_light_backlight()
121 pthread_mutex_unlock(&g_lock); in set_light_backlight()
211 pthread_mutex_lock(&g_lock); in set_light_notifications()
214 pthread_mutex_unlock(&g_lock); in set_light_notifications()
222 pthread_mutex_lock(&g_lock); in set_light_attention()
229 pthread_mutex_unlock(&g_lock); in set_light_attention()