History log of /frameworks/base/core/tests/coretests/src/android/os/PowerManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d846023804ddadcd692666152db420c54594ddb9 16-Jan-2018 Michael Wright <michaelwr@google.com> Slider always represents absolute brightness

Currently the slider represents a gamma adjustment to the brightness
curve when auto brightness is enabled and the absolute screen brightness
when it's not. This is a fairly confusing behavior to most people, so
this consolidates them to a single behavior: the slider always
represents the current brightness and auto-brightness will automatically
adjust it.

This also moves a bunch of the brightness methods from PowerManager over
to DisplayManager, since it's really the DisplayPowerController that's
responsible for determining and setting the display brightness.

Test: atest com.android.server.display.BrightnessMappingStrategyTest
Bug: 69406898
Change-Id: I73b5982809a94cd50d563426a72d7965e923c994
/frameworks/base/core/tests/coretests/src/android/os/PowerManagerTest.java
f76c56bcaa9df1d1afa711177f813dc63f399795 27-Jul-2010 Brett Chabot <brettchabot@android.com> Frameworks core tests size cleanup.

Adjust test sizes to better align with the test's runtime.
Also do some import cleanup and migrate to non-deprecated classes.

Change-Id: Ib2b190ddbe84f9ea8f5d6d3604bd4855d00df7a9
/frameworks/base/core/tests/coretests/src/android/os/PowerManagerTest.java
1a44d5dcabc18cd5ef111f732ccff91683a1a093 13-Jan-2010 Neal Nguyen <tommyn@google.com> Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources.

Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code:
- database/DatabaseCursorTest.java
- database/DatabaseStatementTest.java
- net/UriTest.java
/frameworks/base/core/tests/coretests/src/android/os/PowerManagerTest.java