Home
last modified time | relevance | path

Searched refs:lpEnabled (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8998/liblight/
Dlights.c132 unsigned int lpEnabled = in set_light_backlight() local
140 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
141 (!lpEnabled && in set_light_backlight()
143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
147 if (lpEnabled != 0) { in set_light_backlight()
/hardware/qcom/display/msm8909/liblight/
Dlights.c132 unsigned int lpEnabled = in set_light_backlight() local
140 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
141 (!lpEnabled && in set_light_backlight()
143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
147 if (lpEnabled != 0) { in set_light_backlight()
/hardware/qcom/display/msm8909w_3100/liblight/
Dlights.c134 unsigned int lpEnabled = in set_light_backlight() local
142 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
143 (!lpEnabled && in set_light_backlight()
145 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
149 if (lpEnabled != 0) { in set_light_backlight()
/hardware/qcom/sdm845/display/liblight/
Dlights.c201 unsigned int lpEnabled = in set_light_backlight() local
215 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
216 (!lpEnabled && in set_light_backlight()
221 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
232 if (!err && !lpEnabled) { in set_light_backlight()