Home
last modified time | relevance | path

Searched refs:BRIGHTNESS (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerGroupTest.java79 private static final float BRIGHTNESS = 0.99f; field in PowerGroupTest
259 mPowerGroup.updateLocked(/* screenBrightnessOverride= */ BRIGHTNESS, in testUpdateWhileAwake_UpdatesDisplayPowerRequest()
274 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAwake_UpdatesDisplayPowerRequest()
297 mPowerGroup.updateLocked(/* screenBrightnessOverride= */ BRIGHTNESS, in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
312 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
334 mPowerGroup.updateLocked(/* screenBrightnessOverride= */ BRIGHTNESS, in testUpdateWhileDozing_DozeAfterScreenOff()
349 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileDozing_DozeAfterScreenOff()
370 mPowerGroup.updateLocked(/* screenBrightnessOverride= */ BRIGHTNESS, in testUpdateQuiescent()
385 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateQuiescent()
406 mPowerGroup.updateLocked(/* screenBrightnessOverride= */ BRIGHTNESS, in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()
[all …]
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h88 capabilityFlags |= InputDeviceLightCapability::BRIGHTNESS; in MonoLight()
105 capabilityFlags |= InputDeviceLightCapability::BRIGHTNESS; in RgbLight()
123 capabilityFlags |= InputDeviceLightCapability::BRIGHTNESS; in MultiColorLight()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayDeviceConfigTest.java76 private static final float[] BRIGHTNESS = {0, 0.62f, 1}; field in DisplayDeviceConfigTest
78 Spline.createSpline(NITS, BRIGHTNESS);
110 assertArrayEquals(mDisplayDeviceConfig.getBrightness(), BRIGHTNESS, ZERO_DELTA); in testConfigValuesFromDisplayConfig() local
112 assertArrayEquals(mDisplayDeviceConfig.getBacklight(), BRIGHTNESS, ZERO_DELTA); in testConfigValuesFromDisplayConfig() local
580 + "<value>" + BRIGHTNESS[0] + "</value>\n" in getContent()
584 + "<value>" + BRIGHTNESS[1] + "</value>\n" in getContent()
588 + "<value>" + BRIGHTNESS[2] + "</value>\n" in getContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java72 public static final String BRIGHTNESS = "reduce_brightness"; field in AutoTileManager
174 if (!mAutoTracker.isAdded(BRIGHTNESS) && mIsReduceBrightColorsAvailable) { in startControllersAndSettingsListeners()
416 if (mAutoTracker.isAdded(BRIGHTNESS)) return;
417 mHost.addTile(BRIGHTNESS);
418 mAutoTracker.setTileAdded(BRIGHTNESS);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h133 case aidl::android::hardware::graphics::composer3::DisplayCapability::BRIGHTNESS: in to_string()
/frameworks/native/include/input/
DInputDevice.h126 BRIGHTNESS = 0x00000001, enumerator
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp666 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
1305 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
11186 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
11196 ASSERT_TRUE(lights[0].capabilityFlags.test(InputDeviceLightCapability::BRIGHTNESS)); in TEST_F()
11206 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
11217 ASSERT_TRUE(lights[0].capabilityFlags.test(InputDeviceLightCapability::BRIGHTNESS)); in TEST_F()
11227 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
11249 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
11270 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
11299 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp122 {"brightness", InputLightClass::BRIGHTNESS},
131 {{InputLightClass::BRIGHTNESS, "brightness"},
1258 if (!base::ReadFileToString(it->second.path / LIGHT_NODES.at(InputLightClass::BRIGHTNESS), in getLightBrightness()
1317 LIGHT_NODES.at(InputLightClass::BRIGHTNESS))) { in setLightBrightness()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h161 BRIGHTNESS = 0x00000001, enumerator
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_displayhardware_fuzzer.cpp80 DisplayCapability::BRIGHTNESS,
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2231 if (lightInfo.capabilityFlags.test(InputDeviceLightCapability::BRIGHTNESS)) { in nativeGetLights()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java2895 SystemSettingsProto.Screen.BRIGHTNESS); in dumpProtoSystemSettingsLocked()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1923 *outSupport = getHwComposer().hasDisplayCapability(*displayId, DisplayCapability::BRIGHTNESS); in getDisplayBrightnessSupport()