e8056ca93515f01f237290bbc371bc082570fa96 |
|
03-Apr-2018 |
Enrico Granata <egranata@google.com> |
Enable dumpsys car_service The command in use to dumpsys information from CarService was "dumpsys activity service com.android.car/.CarService", which is based on overloading dump() in the CarService class. OTOH, the class known to the ServiceManager as "car_service" is ICarImpl, which was not providing the correct overload of dump(). Fix this by moving the dumping logic over in ICarImpl Test: manual Fixes: 77498074 Change-Id: I0c18a9088e9c06201de79e8ebf247dc969ff7317
/packages/services/Car/service/src/com/android/car/CarService.java
|
b40de197fb9b60bcbb20c243ba6b1a41e25e2e67 |
|
02-Mar-2018 |
Steve Paik <spaik@google.com> |
Add CarPowerManagerNative Add native interface to interace with CarPowerManagementService. This CL consists of the following pieces: - PowerTestService: Test code to exercise the native itnerface. - libcarpowermanager.so: Shared library to be included by native services that want to interact with CarPowerManagementService. Bug: 32061842 Test: PowerTestService Change-Id: Ife320d09f02961f9de65b214c8b3dc394fc39396 Merged-In: I8cfabd36f5d5b72727f04b5ba184ec44e83d79c2
/packages/services/Car/service/src/com/android/car/CarService.java
|
bf0eab7a275edfbf7df2881ebca69cde72bd5614 |
|
06-Feb-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Provide an option to disable app blocking. adb shell dumpsys activity service com.android.car enable-uxr true|false Running above command and setting it to false will disable UXR blocking. Bug:72992174 Test: Running above command and setting it to false will allow any app to run while in restricted mode. Setting it to true will enable back UX Restriction behavior. Change-Id: Ic66976dde6965b4a8e5395a70a142f12eb6bc9f3
/packages/services/Car/service/src/com/android/car/CarService.java
|
b19bc326413285806ecca7fb7b54ec7a9074f286 |
|
12-Oct-2017 |
Enrico Granata <egranata@google.com> |
Refactor SystemInterface. Split SystemInterface into a set of smaller chunks, each wrapping one specific functional set of system APIs. Provide default implementations of each of those chunks. Rework SystemInterface to be a class that wraps all the chunks and forwards to each of them. Add a Builder API to allow one to construct a full SystemInterface from individual chunks. This turns a fairly heavy-weight interface into smaller pieces which are easier to use individually, and it also makes it easier for tests to only change a subset of SystemInterface functionality when they need to do so. Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/CarPowerManagementServiceTest.java runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/UptimeTrackerTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarPowerManagementTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarDiagnosticManagerTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarSensorManagerTest.java Change-Id: I34c89b526d052126198a148d742123af78eafcbd Fixes: 67739411
/packages/services/Car/service/src/com/android/car/CarService.java
|
c1fdb6ae5b56bc4d138b7bffd7c82de0ca107a78 |
|
06-Oct-2017 |
Enrico Granata <egranata@google.com> |
Cleanup SystemInterface. Make SystemInterface be a Java interface, instead of an abstract base class. Some of the methods of SystemInterface can be default implemented as they do not depend on a specific Context being available. Rename getDefault() to createDefault() as it provides a new object each time it's invoked. Change-Id: I79ebfdaa667acb5e01372dbd88133b0399f06ed8 Fixes: 66696783 Test: build and flash to home screen, plus runtest com.android.car.CarPowerManagementServiceTest
/packages/services/Car/service/src/com/android/car/CarService.java
|
9a916d707c04d80e9df6dcd84d976900804be717 |
|
19-Sep-2017 |
Enrico Granata <egranata@google.com> |
Sketch out CarStorageMonitoringService/CarStorageMonitoringManager Bug: 32512551 Test: manual in KitchenSink Change-Id: I5b36b734223195a32d2e0632f0c35b0a470fa3c3
/packages/services/Car/service/src/com/android/car/CarService.java
|
99e1a7555a9521c33203b68c5ab5bd1c039ee712 |
|
25-Aug-2017 |
Pavel Maltsev <pavelm@google.com> |
Merge Vehicle HAL 2.1 iface to 2.0 Vehicle HAL is property based and all properties are considered optional. It is quite a bit of pain to create new versions of VHAL only to extend properties. Bug: 64303350 Test: verified system works stable Change-Id: I4c5c891236912651ca1341f7fd515e533a6b4506
/packages/services/Car/service/src/com/android/car/CarService.java
|
b3634e209ebcfe2cb987f70cea264bf8b07c3e15 |
|
06-May-2017 |
Enrico Granata <egranata@google.com> |
Enable Vehicle HAL 2.1 and Diagnostics by default in master. Bug: 37246134 Test: verified VHAL 2.1 running via lshal and logcat; verifed diagnostic_injector.py can inject diagnostic data Change-Id: I49d20de2a440cf45d2a0928fe43197e491a0ba66
/packages/services/Car/service/src/com/android/car/CarService.java
|
920444970ec041d6b5c886f8d679cda5a3d91eb9 |
|
12-Jan-2017 |
Chris Phoenix <cphoenix@google.com> |
Car HAL uses "default" service name the getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds Bug: 33844934 Change-Id: I31ba09836947fc8ecf4821736ec9221e67d0cbad
/packages/services/Car/service/src/com/android/car/CarService.java
|
2cc76d0f8f401f1b62d019da3a9c097c9f52804c |
|
14-Feb-2017 |
Pavel Maltsev <pavelm@google.com> |
Support VHAL 2.1 in Car Service Bug: b/34716856 Test: manual Change-Id: I6c5f83fc097dcc373fb3a97a4c57f9c143a73a70
/packages/services/Car/service/src/com/android/car/CarService.java
|
cfe93105f637c2822da113308f113ed418d0b319 |
|
02-Feb-2017 |
Pavel Maltsev <pavelm@google.com> |
Move Vehicle HAL under automotive package Test: all existing tests passing Bug: b/33200203 Change-Id: Id1ff815ae2af9c48ce8612b4cfb5327de13a5a1f
/packages/services/Car/service/src/com/android/car/CarService.java
|
ec83b63c47f65c5978eec3ee24952969a17b1ee7 |
|
06-Jan-2017 |
Pavel Maltsev <pavelm@google.com> |
Handle losing conneciton with VHAL in Car Service Test: TODO Change-Id: Ib465b146db119bc4dbf6019f76619935891fd45d Fix: b/34083734
/packages/services/Car/service/src/com/android/car/CarService.java
|
1552204b9ebedb96dfb44c68ad519ef27c1d3c99 |
|
05-Jan-2017 |
Steven Moreland <smoreland@google.com> |
IVehicle getService catch RemoteException. Bug: 33673120 Test: compiles Change-Id: I02796bc89ea929f87ec10579e7ea627676ba67b2
/packages/services/Car/service/src/com/android/car/CarService.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/CarService.java
|
e33f07e7c149ae6bf9154745fd9f83b49127b4f7 |
|
26-Jul-2016 |
Yao Chen <yaochen@google.com> |
Add dumpsys command to CarService to change day/night mode from adb Bug: 30372029 Change-Id: I6360c950e772d5049330c8cc5c9e3f54b7bb5fda
/packages/services/Car/service/src/com/android/car/CarService.java
|
973d2a26ddab3d7752fa0385da4f53f8f721bfc8 |
|
14-Apr-2016 |
Vitalii Tomkiv <vitalit@google.com> |
Add property set when car service is ready. Add bootstat.:init.rc. Change-Id: Ieb60dd8695c81e7aa884caea235015cb63adedca
/packages/services/Car/service/src/com/android/car/CarService.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/CarService.java
|
fe30ba00aec2fd5936b17439f392a053ec54ec9a |
|
18-Sep-2015 |
keunyoung <keunyoung@google.com> |
migrate car service to use vehicle network service - all jni stuffs gone as HAL is no longer loaded by car service - disabled dispatch limiting in CarSensorService as vehicle network service is already doing it. - needs product config change to start VNS for CarService to work. bug: 24095928 Change-Id: I5d7b2ae7efb24daf23f304db4def0c4f9a519b25 (cherry picked from commit 3f3190ce58955eda2730331c825ebd6433dab42d)
/packages/services/Car/service/src/com/android/car/CarService.java
|
cc449f7941456a0133ff8a4b2e49737f0936c1d0 |
|
12-Aug-2015 |
keunyoung <keunyoung@google.com> |
More details in Hal with sensor pipeline improvements for batching - updated CarSensorEvent to use int array instead of byte as most use cases involve int value manipulations. - removed unused sensor types in CarSensorManager. They can brought back later as necessary. - CarSensorManager subscription works for several sensors. bug: 22701368 Change-Id: I2fb8901fe5266693aeae5f1b3f2b3adb75056a93 (cherry picked from commit d68bc574a27aee0fb6750ed301d247645d7bbb1e)
/packages/services/Car/service/src/com/android/car/CarService.java
|
ca515079e9fc0c35b1498830f67378e9ccf949e5 |
|
10-Jul-2015 |
keunyoung <keunyoung@google.com> |
add skeleton for car service and car api - car service: system uid with system signature, starts in PRE_BOOT_COMPLETED - added minimal skeleton implementation for proof of convept for several key ideas: Car api, CarServiceLoader interface, CarActivity abstraction - Also adding CarSensorManager/Service for defining flow in HAL initialization. bug: 22701368, 22702215 Change-Id: If664bbd7b939102b7ea48bdde61ec068c42582cd (cherry picked from commit d58724adeb671998c511995e177874a3eea025df)
/packages/services/Car/service/src/com/android/car/CarService.java
|