Home
last modified time | relevance | path

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

/device/htc/flounder/lights/
Dlights.c34 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
69 pthread_mutex_lock(&g_lock); in set_light_battery()
75 pthread_mutex_unlock(&g_lock); in set_light_battery()
83 pthread_mutex_lock(&g_lock); in set_light_notifications()
89 pthread_mutex_unlock(&g_lock); in set_light_notifications()
99 pthread_mutex_lock(&g_lock); in set_light_backlight()
101 pthread_mutex_unlock(&g_lock); in set_light_backlight()
138 pthread_mutex_init(&g_lock, NULL); in open_lights()
/device/lge/bullhead/liblight/
Dlights.c38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
56 pthread_mutex_init(&g_lock, NULL); in init_globals()
115 pthread_mutex_lock(&g_lock); in set_light_backlight()
117 pthread_mutex_unlock(&g_lock); in set_light_backlight()
178 pthread_mutex_lock(&g_lock); in set_light_notifications()
180 pthread_mutex_unlock(&g_lock); in set_light_notifications()
188 pthread_mutex_lock(&g_lock); in set_light_attention()
190 pthread_mutex_unlock(&g_lock); in set_light_attention()
/device/huawei/angler/liblight/
Dlights.c44 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
91 pthread_mutex_init(&g_lock, NULL); in init_globals()
290 pthread_mutex_lock(&g_lock); in set_light_battery()
293 pthread_mutex_unlock(&g_lock); in set_light_battery()
306 pthread_mutex_lock(&g_lock); in set_light_notifications()
309 pthread_mutex_unlock(&g_lock); in set_light_notifications()