Home
last modified time | relevance | path

Searched refs:g_lock (Results 1 – 9 of 9) 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/msm8996/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()
216 pthread_mutex_lock(&g_lock); in set_light_battery()
219 pthread_mutex_unlock(&g_lock); in set_light_battery()
227 pthread_mutex_lock(&g_lock); in set_light_notifications()
230 pthread_mutex_unlock(&g_lock); in set_light_notifications()
238 pthread_mutex_lock(&g_lock); in set_light_attention()
245 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/qcom/display/msm8909w_3100/liblight/
Dlights.c45 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
89 pthread_mutex_init(&g_lock, NULL); in init_globals()
140 pthread_mutex_lock(&g_lock); in set_light_backlight()
164 pthread_mutex_unlock(&g_lock); in set_light_backlight()
179 pthread_mutex_lock(&g_lock); in set_light_backlight_ext()
185 pthread_mutex_unlock(&g_lock); in set_light_backlight_ext()
277 pthread_mutex_lock(&g_lock); in set_light_battery()
280 pthread_mutex_unlock(&g_lock); in set_light_battery()
288 pthread_mutex_lock(&g_lock); in set_light_notifications()
291 pthread_mutex_unlock(&g_lock); in set_light_notifications()
[all …]
/hardware/qcom/display/msm8998/liblight/
Dlights.c44 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
87 pthread_mutex_init(&g_lock, NULL); in init_globals()
138 pthread_mutex_lock(&g_lock); in set_light_backlight()
162 pthread_mutex_unlock(&g_lock); in set_light_backlight()
253 pthread_mutex_lock(&g_lock); in set_light_battery()
256 pthread_mutex_unlock(&g_lock); in set_light_battery()
264 pthread_mutex_lock(&g_lock); in set_light_notifications()
267 pthread_mutex_unlock(&g_lock); in set_light_notifications()
275 pthread_mutex_lock(&g_lock); in set_light_attention()
282 pthread_mutex_unlock(&g_lock); in set_light_attention()
[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/msm8909/liblight/
Dlights.c44 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
87 pthread_mutex_init(&g_lock, NULL); in init_globals()
138 pthread_mutex_lock(&g_lock); in set_light_backlight()
162 pthread_mutex_unlock(&g_lock); in set_light_backlight()
253 pthread_mutex_lock(&g_lock); in set_light_battery()
256 pthread_mutex_unlock(&g_lock); in set_light_battery()
264 pthread_mutex_lock(&g_lock); in set_light_notifications()
267 pthread_mutex_unlock(&g_lock); in set_light_notifications()
275 pthread_mutex_lock(&g_lock); in set_light_attention()
282 pthread_mutex_unlock(&g_lock); in set_light_attention()
[all …]
/hardware/qcom/sdm845/display/liblight/
Dlights.c48 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
110 pthread_mutex_init(&g_lock, NULL); in init_globals()
213 pthread_mutex_lock(&g_lock); in set_light_backlight()
236 pthread_mutex_unlock(&g_lock); in set_light_backlight()
309 pthread_mutex_lock(&g_lock); in set_light_battery()
312 pthread_mutex_unlock(&g_lock); in set_light_battery()
320 pthread_mutex_lock(&g_lock); in set_light_notifications()
323 pthread_mutex_unlock(&g_lock); in set_light_notifications()
331 pthread_mutex_lock(&g_lock); in set_light_attention()
338 pthread_mutex_unlock(&g_lock); in set_light_attention()
[all …]
/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()