/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerGroupTest.java | 79 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/ |
D | PeripheralController.h | 88 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/ |
D | DisplayDeviceConfigTest.java | 76 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/ |
D | AutoTileManager.java | 72 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/ |
D | Hal.h | 133 case aidl::android::hardware::graphics::composer3::DisplayCapability::BRIGHTNESS: in to_string()
|
/frameworks/native/include/input/ |
D | InputDevice.h | 126 BRIGHTNESS = 0x00000001, enumerator
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 666 .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/ |
D | EventHub.cpp | 122 {"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/ |
D | EventHub.h | 161 BRIGHTNESS = 0x00000001, enumerator
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_displayhardware_fuzzer.cpp | 80 DisplayCapability::BRIGHTNESS,
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2231 if (lightInfo.capabilityFlags.test(InputDeviceLightCapability::BRIGHTNESS)) { in nativeGetLights()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 2895 SystemSettingsProto.Screen.BRIGHTNESS); in dumpProtoSystemSettingsLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1923 *outSupport = getHwComposer().hasDisplayCapability(*displayId, DisplayCapability::BRIGHTNESS); in getDisplayBrightnessSupport()
|