Commit graph

181 commits

Author SHA1 Message Date
Enrico Granata
ad2baebb3b Do not write initial empty values for the diagnostic properties.
There is a separate step that initializes them with meaningful values.

Change-Id: I2480a029773b62b0e77b8c52c73f2ee465caf17c
Fixes: b/65125128
Test: runtest -x packages/services/Car/tests/android_car_api_test/src/android/car/apitest/CarDiagnosticManagerTest.java
2017-09-11 15:06:40 -07:00
Scott Randolph
66339cfc3a Additonal usage note updates for Audio properties
Mostly comment updates for clarification.
Updates the names of a few constants (but not their value nor usage).

Test: build for Mojave
Change-Id: Ic9021f82fa4bd960189e005f074f2b407be13ae7
bug: 65384336
2017-09-05 16:49:00 -07:00
Scott Randolph
065a085a3f Add RINGTONE to Vehicle HAL AUDIO_FOCUS
Test:  build on Mojave with associated CarService changes
Change-Id: I7fcf9b4bb1808971f4fc8265a7d581dce57be3d3
Bug: 64729839
2017-09-05 12:12:16 -07:00
Pavel Maltsev
250139c8b0 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: build and flash, verefied system works stable.
Change-Id: I8adb858f53a5d9d31f7444bf97ae09baf2fffafa
2017-08-24 21:59:18 -07:00
Pavel Maltsev
d4ffeb71bc Increase thread pool for VHAL 2.1
Fixes: 36510399

Test: runtest -x
packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/E2ePerformanceTest.java

Change-Id: Id5638f63c6ff23bb78675fa07a2f3922bb7e3d73
2017-08-18 16:54:01 +00:00
TreeHugger Robot
e6aeacdaa1 Merge "Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value" into oc-mr1-dev 2017-08-11 01:47:49 +00:00
TreeHugger Robot
0a21415efa Merge changes from topic 'hidl-vndk-enabled-oc-mr1' into oc-mr1-dev
* changes:
  Mark hidl utils as vndk
  Manually update makefile for vndk-sp hidl libs.
  Update make file for vndk enabled.
2017-08-05 02:01:37 +00:00
TreeHugger Robot
3bb18be633 Merge "Implement comments from API review" into oc-mr1-dev 2017-08-04 20:40:34 +00:00
Justin Yun
608d773ef8 Update make file for vndk enabled.
Update the Android.bp generated with hidl-gen.

Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
2017-08-04 14:12:23 +09:00
Steve Paik
ec73701e4c Implement comments from API review
Bug:  64372008
Test:  Fix comments
Change-Id: Ia2bc0ae4c45015e7965b544f5d46f7e2a3ff0e2a
2017-08-03 19:36:29 -07:00
Enrico Granata
7f7a54ee3b Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value
Test: build
Bug: 64024685
Change-Id: I24ef13514a94e10c599605e6970a023168774049
2017-08-03 23:53:38 +00:00
TreeHugger Robot
72c691df3c Merge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev 2017-08-03 21:58:52 +00:00
Tri Vo
f5d136c231 Update Android.bp HIDL makefiles
Allow HAL definition libs to be static.

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104
2017-08-03 00:30:01 +00:00
Enrico Granata
8864792125 Fix a typo in one of the OBD2 ignition monitors
Test: build
Bug: 64024685
Change-Id: Iab438e53ef71e61a4f58af48171bb0151a602fd6
2017-08-01 16:58:51 -07:00
TreeHugger Robot
c2fa0484ed Merge "Improvements to the documentation for the OBD2 properties" into oc-mr1-dev 2017-08-01 00:40:56 +00:00
Asaf Rosenfeld
01d10a11cf Rename and Redoc VMS HAL defs.
Test: All tests has been adjusted to post review names and pass.
Bug: 64093467
Change-Id: I7b5646b179030b59b87abc23ffe6a2a81e1b74b2
2017-07-31 16:40:42 +00:00
Enrico Granata
390ced6134 Improvements to the documentation for the OBD2 properties
Addition of a flag to the configuration for OBD2_FREEZE_FRAME_CLEAR
to indicate support for deletion of individual freeze frames.

Test: build
Bug: 64024685
Change-Id: I43cc448c801a5d59095be03d8056530364860ef5
2017-07-28 13:34:34 -07:00
Enrico Granata
5aa4b5d232 Rename the enums that are supposed to match OBD2 values to have an Obd2 prefix
Rename the enums that contain a list of sensors and don't directly map to OBD2 to have a Diagnostic prefix

Test: clean build and flash, then
runtest -x packages/services/Car/tests/android_car_api_test/src/android/car/apitest/CarDiagnosticManagerTest.java
runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
runtest -x packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2FreezeFrameTest.java
runtest -x packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2LiveFrameTest.java

Bug: 64024685
Change-Id: I9147bcd8f2972dee9f3d1e62f8978b595d88f606
2017-07-25 17:20:53 -07:00
Enrico Granata
ada97632a8 Remove unnecessary whitespace from enum members in OBD2 properties
Test: build
Bug: 64024685
Change-Id: I205aa80e0f1f9ed8e3b78e993f87dae69b883b3a
2017-07-25 17:54:57 +00:00
Asaf Rosenfeld
e8d8c03e9a Add publisher ID to DATA messages
VMS Core routing needs the publisher ID in order to route correctly.

Test: all tests pass + adding tests for new use cases
bug: 63933446
Change-Id: I3acd2a3efebdedbf9d65af18d70928380e9b44d1
2017-07-21 20:35:56 +00:00
Steve Paik
85d75ba634 Merge "Fix WHEEL_TICK + and add friends" 2017-07-19 20:17:54 +00:00
Steve Paik
dd98d966c5 Fix WHEEL_TICK + and add friends
Bug: 62876582
Test: Embedded Kitchen Sink works with VHAL emulator
Change-Id: Ifb631e69697658dd3e7b25ec22421b511fd1759b
2017-07-18 16:02:57 -07:00
TreeHugger Robot
bc8d764140 Merge "Rename VtsHalEvsV1_0 Target" 2017-07-14 11:21:56 +00:00
bansukkim
815b52d800 Rename VtsHalEvsV1_0 Target
Test: mma
Bug: 62349323

Change-Id: I9f5c9ab808a524b5aebe1ff1ac8e411d196d2d15
2017-07-14 09:10:34 +00:00
Tri Vo
22b2d68170 Build automotive hals with VNDK.
Bug: 37342627
Test: cd hardware/interfaces/automotive &&
BOARD_VNDK_VERSION=current mma -j64 -k
Change-Id: I89e9af8a5fded3a31eedb9942cfba8e8d9614f53
2017-07-12 16:25:27 -07:00
Tri Vo
fc87140da9 convert vehicle to .bp
Test: cd hardware/interfaces/automotive && mma -j64
Change-Id: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
2017-07-11 12:55:13 -07:00
Enrico Granata
7d8dad4013 The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property ID set correctly
Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts -m VtsHalAutomotiveVehicleV2_1Host
Change-Id: I9b4d5f19657301f2d1c98c0811dcfa39cca85381
2017-07-06 15:55:30 -07:00
TreeHugger Robot
49517aa66c Merge "Update service name targeted by VTS test" 2017-06-30 17:46:29 +00:00
Scott Randolph
968b355572 Update service name targeted by VTS test
Use the standard driver rather than the "mock" driver for testing.
Test:  Run the test.

Change-Id: I706eabaf33f6879a22359250ce02daaf4a7fe15f
2017-06-29 18:59:40 -07:00
Steve Paik
108919b1e7 Add HVAC_AUTO_RECIRC_ON property
Bug:  32870841
Test:  Compiles - property will be implemented in VHAL
Change-Id: I5092a95bb9396833e3530bdcfa162a0fbce2cec5
2017-06-28 15:04:02 -07:00
TreeHugger Robot
5e463f12c5 Merge "Revert "EVS: Android.bp -> Android.mk"" 2017-06-26 23:26:57 +00:00
Steven Moreland
731531d87f Revert "EVS: Android.bp -> Android.mk"
This reverts commit ee4f923b31.

Change-Id: I8b8490b3e828a9a31af8f6f823d9c70e1c11c9c5
2017-06-26 19:22:03 +00:00
Asaf Rosenfeld
03a2b77928 Merge "Adding Publisher ID to VMS HAL messages" 2017-06-23 04:56:26 +00:00
Steven Moreland
c525408c60 Remove toString methods in Vehicle HAL.
These methods are already generated by HIDL, but this is
only now being realized.

Test: methods no longer conflict
Change-Id: I522630267beb7f87713a0a54c1ecb38077dc1b4e
2017-06-21 12:57:02 -07:00
Asaf Rosenfeld
322a326ea4 Adding Publisher ID to VMS HAL messages
Test: all tests were adjusted and pass
Change-Id: I4514b14d298d8464c0aabf62286529e5da2cda96
2017-06-16 14:48:21 -07:00
Asaf Rosenfeld
c193a1eb82 Merge "Adding an index for Vms Layer Subtype Will rename ID to type in another CL so messages include Type and Subtype instead of Id and subtype." 2017-06-09 22:26:09 +00:00
Asaf Rosenfeld
9095dc8e41 Adding an index for Vms Layer Subtype
Will rename ID to type in another CL so messages include Type and Subtype instead of Id and subtype.

Test: All VMS tests are adjusted and pass.
Bug:b/37627272

Change-Id: I039f952ff944605ca46a8f6f6f484aac830fc46e
2017-06-09 13:05:45 -07:00
Steve Paik
d841094820 Add support of generating fake events via emulator
Bug:  62358398
Test:  Python scripts can enable fake events
Change-Id: Id933ae59fc4d763572b88f58367a3aef0af52b6b
2017-06-06 10:24:53 -07:00
TreeHugger Robot
9603549973 Merge "Put correct user/group in EVS mock driver .rc file" 2017-05-31 22:36:09 +00:00
Scott Randolph
e70dd7a71a Put correct user/group in EVS mock driver .rc file
If this module is included on a target platform, it will start at boot
time (but not very early) since it isn't actually need for backing up a
real car.  This makes it available for testing.

Test: build gordon_peak
Change-Id: I79bc2dafa1a8db579a1c3cc801bac8e4e1d01872
2017-05-30 18:53:46 -07:00
TreeHugger Robot
49a880c52c Merge "Compile manager-lib shared library" 2017-05-31 01:44:55 +00:00
Alex Yakavenka
773bf5aa08 Compile manager-lib shared library
bug: 38424350
Test: Local build
Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe
2017-05-26 17:41:01 +00:00
Scott Randolph
6471d6cd43 Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev am: fd8da20eca
am: 34d7fe47aa

Change-Id: I0b64b1fb1c4c87d7d2ede832c20fa8d173440a2c
2017-05-26 00:28:07 +00:00
Scott Randolph
34d7fe47aa Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
am: fd8da20eca

Change-Id: I0c1dcb81b0f2afb2d7065ceee72125af9d7980ee
2017-05-26 00:25:42 +00:00
TreeHugger Robot
fd8da20eca Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev 2017-05-26 00:14:47 +00:00
Scott Randolph
3209fb3738 Fix typos in IEvsEnumerator descriptive comment
IEvsEnumerator::openCamera had a typo and the incorrect name of a related
interface in one of the descriptive comments.  This fixes those issues
and updates the checksum for the interface.

Bug: 38508696
Test: build evs_app and evs default driver.
Change-Id: I24f3ca2bc3652711a4ee2ea9a37428d4bdafc509
2017-05-22 16:58:15 -07:00
Steven Moreland
7708449766 Update makefiles. (2/2) am: 76cfb84140
am: f203167814

Change-Id: I1f13401266f3c2f78c627088b09c79cd7c8d0276
2017-05-22 17:29:04 +00:00
Steven Moreland
f203167814 Update makefiles. (2/2)
am: 76cfb84140

Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
2017-05-22 17:15:20 +00:00
Steven Moreland
76cfb84140 Update makefiles. (2/2)
Adds default configuration for all hals.

Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
2017-05-19 15:54:03 -07:00
TreeHugger Robot
060e3c72b4 Merge "Eliminate redundant #includes and a missing one" 2017-05-12 19:24:57 +00:00