Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/
DAdaptiveBrightnessTogglePreferenceControllerTest.java91 int brightnessMode = Settings.System.getInt(mContext.getContentResolver(), in testHandlePreferenceChanged_setFalse() local
94 assertThat(brightnessMode).isEqualTo(Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); in testHandlePreferenceChanged_setFalse()
100 int brightnessMode = Settings.System.getInt(mContext.getContentResolver(), in testHandlePreferenceChanged_setTrue() local
103 assertThat(brightnessMode).isEqualTo(Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC); in testHandlePreferenceChanged_setTrue()
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DAdaptiveBrightnessTogglePreferenceController.java64 int brightnessMode = Settings.System.getInt(getContext().getContentResolver(), in isAdaptiveBrightnessChecked() local
67 return brightnessMode != Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; in isAdaptiveBrightnessChecked()