Home
last modified time | relevance | path

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

/device/google/marlin/liblight/
Dlights.c182 unsigned int lpEnabled = state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight() local
191 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
192 (!lpEnabled && g_last_backlight_mode == BRIGHTNESS_MODE_LOW_PERSISTENCE)) { in set_light_backlight()
193 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
/device/google/wahoo/liblight/
Dlights.c182 unsigned int lpEnabled = state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight() local
191 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()
192 (!lpEnabled && g_last_backlight_mode == BRIGHTNESS_MODE_LOW_PERSISTENCE)) { in set_light_backlight()
193 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()