Commits
Zhang Bo committed c57d408ce19
MA-12604[Android] Create dummy battery for devices with no battery cherry-pick following two patches from android-things git. commit 8477e9491f8654a31e233aae11ba9c1684c28541 Author: Dave Rim <davidrim@google.com> Date: Thu Oct 12 14:48:39 2017 +0900 Create dummy battery for devices with no battery Creates a dummy battery module for android devices with no battery Bug: 63166743, Bug: 64996847 Test: com.android.server.cts.BatteryStatsValidationTest#testBleScans Change-Id: I21e0968e8b43ee35c21b77ada204069f2df58773 commit b067cacece5ebcc4f3f0b7efda4b7940c723706a Author: Dave Rim <davidrim@google.com> Date: Thu Oct 19 11:41:25 2017 +0900 Set dummy battery status to charging CtsJobSchedulerTestCases requires status charging Bug: 67625790 Test: cts-tradefed run commandAndExit cts -m CtsJobSchedulerTestCases -t android.jobscheduler.cts.TimingConstraintsTest#testJobParameters_unexpiredDeadline Change-Id: I26463cf8adafbd8baec960ee06e1c7f836f92ed9 Change-Id: If41f51806c7c1a8ac7c5980f00be7a11a54dec7d Signed-off-by: Zhang Bo <bo.zhang@nxp.com>