ddbff98a7c62b2c02dd0849ff8d6d54015a6f944 |
|
22-Mar-2017 |
Pavel Maltsev <pavelm@google.com> |
Respect init/release methods in Car Service Some services have internal threads to handle events, these threads must respect init/release calls, otherwise we are running out of threads when car service test runs Test: runtest -x packages/services/Car/tests/carservice_test/ Change-Id: I58b63f98b09c57f742bd9a4ceef6d77b87d9aaa1 Fix: b/36514170
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
0d07c76bbc788fba8c77d8e932330ab22ec6ba27 |
|
04-Nov-2016 |
Pavel Maltsev <pavelm@google.com> |
Migrating Car service to new Vehicle HAL - make car service work directly with Vehicle HAL - getting rid of protobufs and dependencies on VNS - get rid of CarTestManager / CarTestService and refactor tests accordingly - reworked ICarImpl to pass dependencies rather than using singletons for better testing experience Test: existing test should work, although some of the tests (esp. audio) are broken and we will fix them in follow up CLs Bug: b/31971746 Change-Id: I229969af332304ba3b1718f130cdf22038e86fad Tests: tests adjusted to new data structures
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
f9215209e0f425d2fc570bef37dad959c82d2e9e |
|
10-Oct-2016 |
Keun-young Park <keunyoung@google.com> |
update TODOs - assign bugs for future items - remove it if not necessary any more - also remove unused CarServiceApplication bug: 31970410 Change-Id: I3f5ecb8a80fd450afdb58007e07e88527132edb9
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
9d4cf620be374c0d68c2b2abb8a2a11869ed1c9e |
|
04-Aug-2016 |
Keun-young Park <keunyoung@google.com> |
deep sleep cleanup - keep holding partial wakelock while in sleep - add goToSleep call which is supposed to enter sleep regardless of wakelock Change-Id: I042664387a9c81f87684a7739277d4bf7d86594e
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
fad5792e3c083e9e370ad8999ea2176be65841e2 |
|
21-Apr-2016 |
Keun-young Park <keunyoung@google.com> |
set power state to full on for power property - otherwise it will default to display off state Change-Id: Idf5bdc8ef8b24a3f4fda75d8872d5cd171436185
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
d73afaeb1c4c64ddad94e696a0fd88147888dee1 |
|
09-Apr-2016 |
Keun-young Park <keunyoung@google.com> |
add audio mute after display off - Add SystemStateControllerService to control system behavior during power state transition. - For now, only mute audio when display is turned off. - Audio muting is currently done by focus but should be done via mute state in audio focus vehicle hal later. - also fixed powerOn notification bug: send it whenever there is display state change. also fixed wrong display state check before sending it. bug: 28018362 Change-Id: I786cadbb59e89ff880e24d37245c904db1904dd6
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
e54ac276796c6535558f8444d882adecd19ce2bd |
|
17-Feb-2016 |
Keun-young Park <keunyoung@google.com> |
add android.car - instead of using binder as compatibility layer, add android.car - apps using android.car should add it to LOCAL_JAVA_LIBRARIES unless doing include packages/services/Car/car-support-lib/car-support.mk - support lib renamed to android.support.car - UI stuffs only exist in android.support.car UI has dependency on androud support library and not added to android.car - permission only uses android.car namespace even for support.car - car-systemtest remains as static library. To use CarTestManager, test app should get CarTestManagerBinderWrapper then create CarTestManager. bug: 27199752 Change-Id: I3522e11e958dade404443fbe2d45f576c827fa7a
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
1f4d6a7b960e66116de0c1ccb90f900275cff207 |
|
11-Feb-2016 |
Keun-young Park <keunyoung@google.com> |
fix wrong sleep entry for display state change - a missing break in switch - case brought the issue. - remove rearview camera case from PowerManagement : android display will be kept on, so there is no need to handle rear view camera case specially. - fix possible bug of checking display on. Only handle DISPLAY_ON to on. bug: 27142874, 26718816 Change-Id: Ie5a804be434a466cc67d81725ee2e9c56e693d5f
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
ca013ae5c9881fa078387c3ee97760f81d163e5c |
|
11-Feb-2016 |
Keun-young Park <keunyoung@google.com> |
fix failing garage mode test - Populate Handler bug: 27112153 Change-Id: I3802268271e6f3e145b731bfcdad5a04e8cbb90c
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
fd3fbf7875685aa59330fac32d45e3fff414f6d0 |
|
23-Jan-2016 |
Keun-young Park <keunyoung@google.com> |
implement earlier completion of garage mode - also improves synchronization - fix possible race when power state change happens often - fix no onPowerOn call for initial power on - add unit testing for CarPowerManagementService bug: 26718816 Change-Id: I0c7085caa595675c70c1bd99c3db5b7f89d1edbf
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
dacd724892d2d502127248685e15254905cbf0f6 |
|
26-Jan-2016 |
Yao Chen <yaochen@google.com> |
Add GarageMode unit tests. + Added a build rule to create car-service-lib-for-test, to make mocking easier. + Added unit tests for GarageModeService + Fixed a bug in GarageModeService. Bug: 25447226 Change-Id: I77f7c7c2679e6607ebc75b7b9a893c4c367cbd4e
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
303ea1da65548f363a98cd49a9de58d510073c8c |
|
21-Jan-2016 |
Keun-young Park <keunyoung@google.com> |
notify power on to PowerEventProcessingHandlers - necessary for garage mode service to track runs without power on bug: 26718816 Change-Id: I32abd6ae22117000ac49f9069828a4c76af8bb4f
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
75623ce0736848d0b27f08c65d843a031b325027 |
|
21-Jan-2016 |
Pavel Maltsev <pavelm@google.com> |
Rename car system api package We should use android.support.car for car system Api. Bug: 26091392 Change-Id: I15fb50614c3d08e90854cf835f4fcf5dbc73b650
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|
4b0212c1b3576f4174c292bbcdd72815584ff075 |
|
30-Oct-2015 |
keunyoung <keunyoung@google.com> |
basic power management service - handle boot complete and shutdown - skeleton code for deep sleep added. Complete implementation requires kernel interaction which is TBD. - handle display on / off with keeping display on with wakelock - added interface for implementing garage mode - tested with hal mocking only bug: 25348217 Change-Id: Iae64ee7a16c861edd5473e392589e7e7213bd52b (cherry picked from commit 099bc004632a2d274a11a5c436d718cba362ddc6)
/packages/services/Car/service/src/com/android/car/CarPowerManagementService.java
|