adbee556a9e8f399acda17958eed1ba33ad07218 |
|
25-Jul-2016 |
Joe Onorato <joeo@google.com> |
Have BatteryStats track and report the running wakelocks. The times reported are in the screen off / on battery time base. Bug: 29546924 Change-Id: I025b2959becb256a26cf531e944786d4e9a59149
/frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
|
98f0d4692c6634ff5d4ffbbc150d405da66c4c38 |
|
20-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
Record in progress count when parceling Timer The total time is computed before parceling, but the total count is not. Bug:27747854 Change-Id: If3afdca9605f74d96a54fb9df17f6df761b99e55
/frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
|
abded113bde548734600dc1b6e4ce2e94f48e32e |
|
09-Feb-2016 |
Joe Onorato <joeo@google.com> |
Add unit tests for BatteryStatsImpl. - Add a Clocks interface to wrap SystemClock.uptimeMillis and SystemClock.elapsedRealtime. - Make the inner classes static so they can be created independently, which meant passing explicit pointers to the BatteryStatsImpl and the Uid objects in a lot of places. - Make several fields protected so they can be accessed by the tests (they are still @hidden) - Add a test suite for the battery stats. - Add the tests Change-Id: I4e45afedc64f7050985c28a7eb4f5c1ddbaa63fa
/frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
|