c56eb053034c55ff4a71ef7b05919698ab8d51de |
|
05-Dec-2017 |
Paul Duffin <paulduffin@google.com> |
Flatten dependency hierarchy of legacy-android-test Previous changes statically included legacy-android-test in preparation for removing android.test.* and junit.* classes from the android.jar. Unfortunately, that lead to duplicate classes between APKs and the bootclasspath which caused build problems (Proguard) and also runtime problems (when targeting and running on older releases). Switching from statically including the classes to using the runtime libraries cannot be done in one step because legacy-android-test is statically included in libraries which are used in many APKs and so removing it from those libraries requires that all APKs be updated at once. Doing that atomically across dozens of projects is not practical. This change modifies APKS that statically include the legacy-android-test library indirectly. * If the APK manifest uses the android.test.runner library then the APK is modified to stop statically including legacy-android-test and instead build against android.test.base/mock/runner libraries instead. * Otherwise, the APK statically includes legacy-android-test. Also, any libraries that statically include are modified to stop statically including it and if it has source dependencies on the classes is changed to build against the android.test.base/mock/runner libraries. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * car-support-lib/car-support.mk Added 'legacy-android-test' to LOCAL_STATIC_JAVA_LIBRARIES because EmbeddedKitchenSinkApp was statically linked to it through its dependency on vehicle-hal-support-lib * service/Android.mk Added 'legacy-android-test' to LOCAL_STATIC_JAVA_LIBRARIES because CarService was statically linked to it through its dependency on vehicle-hal-support-lib * tests/CarDiagnosticVerifier/Android.mk Added 'legacy-android-test' to LOCAL_STATIC_JAVA_LIBRARIES because CarDiagnosticVerifier was statically linked to it through its dependency on vehicle-hal-support-lib * tests/obd2_app/Android.mk Added 'legacy-android-test' to LOCAL_STATIC_JAVA_LIBRARIES because Obd2App was statically linked to it through its dependency on com.android.car.obd2 which in turn depends on vehicle-hal-support-lib * tests/vehiclehal_test/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because VehicleHALTest's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that VehicleHALTest specifies in its manifest. * vehicle-hal-support-lib/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because vehicle-hal-support-lib is not a package so does not need to statically include the classes Bug: 30188076 Test: make checkbuild Change-Id: I46b28d0092d561b3f047480f1ea8f330ed1d8535
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
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/vehicle-hal-support-lib/Android.mk
|
14f54c5d63c72ae99542cdfc13e8a6271f4780a2 |
|
02-Aug-2017 |
Steven Moreland <smoreland@google.com> |
Reland "Car: remove use of -static hidl java" This reverts commit a8cc03920111dd3150f313269125849b01b01058. Note, need to add base dependencies because they aren't available by default in all branches and the "java-static" libraries originally included them. Test: no link errors Bug: 36376126 Change-Id: I9423a53524e5b3d5f54d8ec7376774f6ab21eb0e
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
a8cc03920111dd3150f313269125849b01b01058 |
|
02-Aug-2017 |
Steven Moreland <smoreland@google.com> |
Revert "Car: remove use of -static hidl java" This reverts commit be4780ccce616f1ae9311eaf6967195360cb1e33. Reason for revert: missing IBase dependency Change-Id: I9146352c7aea1a5287d54f0fdc054a27db64bb40
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
be4780ccce616f1ae9311eaf6967195360cb1e33 |
|
02-Aug-2017 |
Steven Moreland <smoreland@google.com> |
Car: remove use of -static hidl java These libraries are being removed. Now, the regular java library can be used as both a static and non-static library, we are removing these duplicate libraries which cause several types problems (such as undefined behavior when both the static and non-static libs are loaded). Bug: 36376126 Test: no build/runtime errors running test Change-Id: I7efb5d12d080c4c2006264b6fc119cf4292a5494
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
254ae28a6163962fc8cb1f49d390b93f199445bb |
|
13-Apr-2017 |
Andreas Huber <andih@google.com> |
Changed the naming scheme for Treble java libraries (both static and dynamic) android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java Bug: 37207894 Test: make Change-Id: If611e6cc1f05320b8fc99d5244eb40f92be9aa71 Merged-In: Ie2a1af8bb38e0ef4f044ca5dbea9cf50b61a0c68
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
87c0545b6f0814657df555902300d7b3dfe6b96f |
|
22-Mar-2017 |
Enrico Granata <egranata@google.com> |
Add logic to obd2_lib to generate a live OBD2 frame from a connection. This commit adds a few main moving parts: - logic to intersect the sensor types supported by obd2_lib with those supported by a vehicle; - logic to collect all such supported sensors in one operation, and store the result in a JSON object; - logic to create a VehiclePropValue from JSON data. Test: runtest -x packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/Obd2LiveFrameGeneratorTest.java Change-Id: Ic89cd8b615b11a1ba136df1ac6f336e7882ef1c6
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
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/vehicle-hal-support-lib/Android.mk
|
cb533efeec87c5e21c05cf87b4553ccb308b4bee |
|
19-Jan-2017 |
Paul Duffin <paulduffin@google.com> |
Prepare for removal of legacy-test from default targets In preparation for removing junit classes from the Android API the legacy-test target will be removed from the TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Bug: 30188076 Test: make checkbuild Change-Id: I2677107b6d0d873f948327bf6f62ef6d32a4f650
/packages/services/Car/vehicle-hal-support-lib/Android.mk
|
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/vehicle-hal-support-lib/Android.mk
|