/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 204 void onDisplayBrightnessChange(int brightness); in onDisplayBrightnessChange() argument 211 void onDisplayBrightnessChange(int displayId, int brightness); in onDisplayBrightnessChange() argument 453 public void sendDisplayBrightness(int brightness) { in sendDisplayBrightness() argument 454 int brightnessToSet = adjustBrightness(brightness, /* minBrightness= */ 0, in sendDisplayBrightness() 481 public void sendDisplayBrightness(int displayId, int brightness) { in sendDisplayBrightness() argument 482 int brightnessToSet = adjustBrightness(brightness, /* minBrightness= */ 0, in sendDisplayBrightness() 827 int brightness; in dispatchEvents() local 829 brightness = v.getInt32Value(0) * MAX_BRIGHTNESS / maxBrightness; in dispatchEvents() 835 if (brightness < 0) { in dispatchEvents() 836 Slogf.e(CarLog.TAG_POWER, "invalid brightness: " + brightness in dispatchEvents() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | MockedPowerHalService.java | 175 public void sendDisplayBrightness(int brightness) { in sendDisplayBrightness() argument 176 sendDisplayBrightness(Display.DEFAULT_DISPLAY, brightness); in sendDisplayBrightness() 180 public void sendDisplayBrightness(int displayId, int brightness) { in sendDisplayBrightness() argument 182 mDisplayBrightnessSet.put(displayId, brightness); in sendDisplayBrightness() 193 public void waitForBrightnessSent(int displayId, int brightness, long timeoutMs) in waitForBrightnessSent() argument 195 if (getDisplayBrightness(displayId) == brightness) { in waitForBrightnessSent()
|
D | PowerHalServiceUnitTest.java | 292 int brightness = 24; in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness() local 295 int expectedBrightness = brightness * 2; in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness() 297 brightness); in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness() 344 int brightness = 24; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported() local 347 int expectedBrightness = brightness * 2; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported() 349 new int[]{displayPort, brightness}); in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported() 421 int brightness = 24; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported() local 424 int expectedBrightness = brightness * 2; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported() 426 new int[]{displayPort, brightness}); in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported() 737 public void onDisplayBrightnessChange(int brightness) { in onDisplayBrightnessChange() argument [all …]
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | SystemInterface.java | 131 public void setDisplayBrightness(int brightness) { in setDisplayBrightness() argument 132 mDisplayInterface.setDisplayBrightness(brightness); in setDisplayBrightness() 136 public void setDisplayBrightness(int displayId, int brightness) { in setDisplayBrightness() argument 137 mDisplayInterface.setDisplayBrightness(displayId, brightness); in setDisplayBrightness()
|
D | DisplayInterface.java | 77 void setDisplayBrightness(int brightness); in setDisplayBrightness() argument 85 void setDisplayBrightness(int displayId, int brightness); in setDisplayBrightness() argument
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/display/ |
D | DisplayManagerHelper.java | 114 @FloatRange(from = 0f, to = 1f) float brightness) { in setBrightness() 116 displayManager.setBrightness(displayId, brightness); in setBrightness()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 2064 int brightness = 25; in testSendDisplayBrightness_noDisplayId() local 2067 mService.sendDisplayBrightness(brightness); in testSendDisplayBrightness_noDisplayId() 2069 mPowerHal.waitForBrightnessSent(displayId, brightness, WAIT_TIMEOUT_MS); in testSendDisplayBrightness_noDisplayId() 2071 mPowerHal.getDisplayBrightness(displayId)).isEqualTo(brightness); in testSendDisplayBrightness_noDisplayId() 2076 int brightness = 50; in testSendDisplayBrightness_withDisplayId() local 2079 mService.sendDisplayBrightness(displayId, brightness); in testSendDisplayBrightness_withDisplayId() 2081 mPowerHal.waitForBrightnessSent(displayId, brightness, WAIT_TIMEOUT_MS); in testSendDisplayBrightness_withDisplayId() 2083 mPowerHal.getDisplayBrightness(displayId)).isEqualTo(brightness); in testSendDisplayBrightness_withDisplayId() 2368 int brightness = 10; in testOnDisplayBrightnessChange_noDisplayId() local 2370 mService.onDisplayBrightnessChange(brightness); in testOnDisplayBrightnessChange_noDisplayId() [all …]
|
/packages/apps/Settings/aconfig/accessibility/ |
D | accessibility_flags.aconfig | 9 description: "Whether to add brightness preference in SUW Vision Settings"
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 1848 public void onDisplayBrightnessChange(int brightness) { in onDisplayBrightnessChange() argument 1849 mHandler.handleDisplayBrightnessChange(Display.DEFAULT_DISPLAY, brightness); in onDisplayBrightnessChange() 1853 public void onDisplayBrightnessChange(int displayId, int brightness) { in onDisplayBrightnessChange() argument 1854 mHandler.handleDisplayBrightnessChange(displayId, brightness); in onDisplayBrightnessChange() 1857 private void doHandleDisplayBrightnessChange(int displayId, int brightness) { in doHandleDisplayBrightnessChange() argument 1858 mSystemInterface.setDisplayBrightness(displayId, brightness); in doHandleDisplayBrightnessChange() 1907 public void sendDisplayBrightness(int brightness) { in sendDisplayBrightness() argument 1908 mHal.sendDisplayBrightness(brightness); in sendDisplayBrightness() 1916 public void sendDisplayBrightness(int displayId, int brightness) { in sendDisplayBrightness() argument 1917 mHal.sendDisplayBrightness(displayId, brightness); in sendDisplayBrightness() [all …]
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceController.java | 180 value = convertLinearToGammaFloat(info.brightness, info.brightnessMinimum, in getCurrentBrightness()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 649 public void setDisplayBrightness(int brightness) {} in setDisplayBrightness() argument 652 public void setDisplayBrightness(int displayId, int brightness) {} in setDisplayBrightness() argument
|
/packages/services/Car/aconfig/ |
D | flags.aconfig | 51 description: "Use per display max brightness defined by VHAL"
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 574 public void setDisplayBrightness(int brightness) {} in setDisplayBrightness() argument 577 public void setDisplayBrightness(int displayId, int brightness) {} in setDisplayBrightness() argument
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 786 private static void setScreenBrightness(int brightness) { in setScreenBrightness() argument 787 runShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 755 public void setDisplayBrightness(int brightness) {} in setDisplayBrightness() argument 758 public void setDisplayBrightness(int displayId, int brightness) {} in setDisplayBrightness() argument
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|