Searched refs:brightnessMode (Results 1 – 19 of 19) sorted by relevance
69 off.brightnessMode = BrightnessMode::USER; in TearDown()79 backlightOn.brightnessMode = BrightnessMode::USER; in TearDown()95 whiteFlashing.brightnessMode = BrightnessMode::USER; in TEST_P()142 lowPersistence.brightnessMode = BrightnessMode::LOW_PERSISTENCE; in TEST_P()
48 .brightnessMode = Brightness::USER,56 .brightnessMode = Brightness::LOW_PERSISTENCE,64 .brightnessMode = Brightness::USER,
202 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()215 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()227 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()230 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
64 off.brightnessMode = aidl::BrightnessMode::USER; in setToColorAidl()85 .brightnessMode = V2_0::Brightness::USER, in setToColorHidl()
25 android.hardware.light.BrightnessMode brightnessMode;
63 BrightnessMode brightnessMode;
133 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()140 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()152 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
173 int brightnessMode; member
135 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()142 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()154 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
33 static_cast<Brightness>(state.brightnessMode)}; in setLight()
62 .brightnessMode = static_cast<int>(state.brightnessMode), in setLight()
49 if (state.brightnessMode == Brightness::LOW_PERSISTENCE) { in setLight()
85 if (state.brightnessMode == Brightness::LOW_PERSISTENCE) { in setLight()
64 .brightnessMode = static_cast<int>(state.brightnessMode), in setLight()
136 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()143 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()154 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
133 Brightness brightnessMode;