Age | Commit message (Collapse) | Author |
|
CarPropertyService replaces Cabin, Hvac, Info, Sensor,
and VendorExtension services.
Bug: 78782959
Bug: 36649684
Bug: 68056035
Test: runtest -x packages/services/Car/tests/android_car_api_test
runtest -x packages/services/Car/tests/carservice_unit_test
Change-Id: I69756654473fe66ef95e9e2cd4f3c1045e3ac938
Merged-In: Ic0a94805f83cc0222fb2bcf9674b6031bc050986
(cherry picked from commit fc0257133967edcb217e07e9ab942690eeaae3de)
(cherry picked from commit 0265d8348716b2971f76e697f410f4cf7128371c)
|
|
Checklist:
1. Fake data generator interface using VHAL generator command
2. VHAL JSON data parser
3. VHAL data verifier
4. E2e test base class with VHAL connection and utility methods
5. Sample HVAC E2E test with test data in assets/
Bug: 76017041
Test: lunch bat_land-userdebug & atest VehicleHALTest
Change-Id: I5309a22a4ae3e1c115f6ea7ee0a0da46c73b7d86
|
|
Bug: 76017041
Test: runtest -x packages/services/Car/tests/vehiclehal_test
Change-Id: I754eb574e6a59b5734e54c001313d0121e1f8fa9
|
|
Use front windshield zone for defroster property instead of global.
Bug: 77495244
Test: runtest -x
Change-Id: I88f7d488b3caec7834800279b347b379321f6a72
|
|
* changes:
Fix E2E tests
Implement handling for CarPowerManager interface
|
|
Bug: 70891434
Test: VHAL tests pass
Change-Id: If205af43e5a4dbdac34ed07247de7863c3bf1685
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: I1e77ed30aa2b67a6b8640a23fc42c28b0445bf29
|
|
am: 736f2b2cdc
Change-Id: I81aa343db94d7333b08f774fb034b5a6b1731ba6
|
|
A checked self-assignment is still treated as a potentially bug-prone
self-assignment. Avoid.
Bug: 72076216
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: I486a12c36f4ddb2290cf45cd33076c486f685765
|
|
Part of VHAL refactor:
- Remove VehicleZoneUtil class + test
- Rename COMPLEX type to MIXED
- Remove zone/areaId from subscribe()
- Remove supportedAreas from VehiclePropertyConfig class
- Add status and timestamp fields to VehiclePropValue
- Update tests
Bug: 72348165
Test: Compiles
Change-Id: I379ab658c235f1ab1fb979cc27e21cad17261751
|
|
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
|
|
Run stress test multiple times to make sure at least one attempt succeed
before giving up.
Bug: 65944764
Test: runtest -x packages/services/Car/tests/vehiclehal_test
Change-Id: I9a4a6dc0a3fdcc85270d52441b6bd20846177d3d
|
|
bug: 64303350
Test: build
Change-Id: Icc1b47a6a6695bc95e651938e1368630f258f07a
|
|
- 2.1 vhal is removed and only 2.0 should be used.
bug: 64303350
Test: build
Change-Id: I2dfcd9b76cb3ec6f4429361138e55419d1169711
|
|
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I90f023f9ccdb006c6caf216e156af5c3f6bd5ba7
|
|
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
|
|
Test: runtest -x /packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2LiveFrameTest.java
Change-Id: Iee912177281e0e53dbaca82101c1db8b1ffe856c
|
|
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
|
|
This reverts commit be4780ccce616f1ae9311eaf6967195360cb1e33.
Reason for revert: missing IBase dependency
Change-Id: I9146352c7aea1a5287d54f0fdc054a27db64bb40
|
|
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
|
|
Also, change mapping of predefined frequence, if client specify
SENSOR_RATE_FASTEST us maximum available rate from vehicle property
configuration. Allow users to use all predefined SENSOR_RATE_*
Test: runtest -x packages/services/Car/test/vehiclehal_test
Bug: b/36510399
Change-Id: Ica466c0ff35161cd1e580ad3da2c87d8b844795e
Fix: b/37538698
|
|
|
|
Also, fixed some sensor mapping between CarSensorManager and VHAL
Bug: b/36510399
Test: runtest -x packages/services/Car/tests/vehiclehal_test/
Change-Id: I556e03402c16a3b2c8cb25d7a048f8c9a072e23b
|
|
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: If611e6cc1f05320b8fc99d5244eb40f92be9aa71
Merged-In: Ie2a1af8bb38e0ef4f044ca5dbea9cf50b61a0c68
|
|
that these test cases will run again
Test: TARGET_USES_CAR_FUTURE_FEATURES=true runtest -x <filename>.java
Bug: 36097304
Change-Id: If5f0362084531880d6bd2e02a61fe579a383b147
|
|
Test: runtest -x packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2FreezeFrameTest.java
Bug: 34279245
Change-Id: Iaaef24e9c1fa627a3283b46f9226606b227c732b
|
|
Test: build
Change-Id: Ia1fd2e3057d3a4d35e6be00b7e5a11440027a575
|
|
Test: all existing tests passing
Bug: b/33200203
Change-Id: Id1ff815ae2af9c48ce8612b4cfb5327de13a5a1f
|
|
Test: .
Change-Id: Ic3d0f6cc172257cfdfa4d5aed5e97cd7cb15a7fb
|
|
For now, this only contains basic tests of the OBD2 support
Test: runtest -x packages/services/Car/tests/vehiclehal_test/ -j32 from the root of one's Android checkout
Change-Id: I22fb27dbf418379a7b485570841841bfdf6b247d
|