Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8994/liblight/
Dlights.c39 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
75 pthread_mutex_init(&g_lock, NULL); in init_globals()
123 pthread_mutex_lock(&g_lock); in set_light_backlight()
125 pthread_mutex_unlock(&g_lock); in set_light_backlight()
207 pthread_mutex_lock(&g_lock); in set_light_battery()
210 pthread_mutex_unlock(&g_lock); in set_light_battery()
218 pthread_mutex_lock(&g_lock); in set_light_notifications()
221 pthread_mutex_unlock(&g_lock); in set_light_notifications()
229 pthread_mutex_lock(&g_lock); in set_light_attention()
236 pthread_mutex_unlock(&g_lock); in set_light_attention()
[all …]
/hardware/qcom/display/msm8226/liblight/
Dlights.c38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
74 pthread_mutex_init(&g_lock, NULL); in init_globals()
122 pthread_mutex_lock(&g_lock); in set_light_backlight()
124 pthread_mutex_unlock(&g_lock); in set_light_backlight()
206 pthread_mutex_lock(&g_lock); in set_light_battery()
209 pthread_mutex_unlock(&g_lock); in set_light_battery()
217 pthread_mutex_lock(&g_lock); in set_light_notifications()
220 pthread_mutex_unlock(&g_lock); in set_light_notifications()
228 pthread_mutex_lock(&g_lock); in set_light_attention()
235 pthread_mutex_unlock(&g_lock); in set_light_attention()
[all …]
/hardware/intel/common/wrs_omxil_core/utils/src/
Dmodule.c31 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
129 pthread_mutex_lock(&g_lock); in module_open()
135 pthread_mutex_unlock(&g_lock); in module_open()
141 pthread_mutex_unlock(&g_lock); in module_open()
164 pthread_mutex_unlock(&g_lock); in module_open()
194 pthread_mutex_unlock(&g_lock); in module_open()
203 pthread_mutex_unlock(&g_lock); in module_open()
214 pthread_mutex_lock(&g_lock); in module_close()
237 pthread_mutex_unlock(&g_lock); in module_close()
249 pthread_mutex_lock(&g_lock); in module_symbol()
[all …]
/hardware/qcom/display/msm8084/liblight/
Dlights.c38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
74 pthread_mutex_init(&g_lock, NULL); in init_globals()
122 pthread_mutex_lock(&g_lock); in set_light_backlight()
124 pthread_mutex_unlock(&g_lock); in set_light_backlight()
200 pthread_mutex_lock(&g_lock); in set_light_notifications()
203 pthread_mutex_unlock(&g_lock); in set_light_notifications()
211 pthread_mutex_lock(&g_lock); in set_light_attention()
218 pthread_mutex_unlock(&g_lock); in set_light_attention()
230 pthread_mutex_lock(&g_lock); in set_light_buttons()
232 pthread_mutex_unlock(&g_lock); in set_light_buttons()
/hardware/qcom/display/msm8960/liblight/
Dlights.c40 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
79 pthread_mutex_init(&g_lock, NULL); in init_globals()
136 pthread_mutex_lock(&g_lock); in set_light_backlight()
138 pthread_mutex_unlock(&g_lock); in set_light_backlight()
243 pthread_mutex_lock(&g_lock); in set_light_notifications()
246 pthread_mutex_unlock(&g_lock); in set_light_notifications()
254 pthread_mutex_lock(&g_lock); in set_light_attention()
261 pthread_mutex_unlock(&g_lock); in set_light_attention()
/hardware/qcom/display/msm8974/liblight/
Dlights.c40 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
79 pthread_mutex_init(&g_lock, NULL); in init_globals()
136 pthread_mutex_lock(&g_lock); in set_light_backlight()
138 pthread_mutex_unlock(&g_lock); in set_light_backlight()
243 pthread_mutex_lock(&g_lock); in set_light_notifications()
246 pthread_mutex_unlock(&g_lock); in set_light_notifications()
254 pthread_mutex_lock(&g_lock); in set_light_attention()
261 pthread_mutex_unlock(&g_lock); in set_light_attention()