Commit graph

243 commits

Author SHA1 Message Date
Hongwei Wang
8655bc3e59 Removes deprecated audio property in vehicle hal
Bug: 72054677
Test: None
Change-Id: I68a29c786dabf99afb4c44b49586f372a97abae6
2018-01-18 21:01:24 +00:00
TreeHugger Robot
43a354641e Merge "Remove AUDIO_* properties." 2018-01-13 04:17:30 +00:00
Scott Randolph
525ff2d2e7 Remove AUDIO_* properties.
See go/aae-audio for an implementation guide for automotive that does
not rely upon these car specific properties.  The very small remaining
automotive specific elements will be represented in the automotive audio
control HAL.

Change-Id: Ia2147a8e486bdb896097771970f0527fc630b9c4
Test:  not yet.  Will run vhal VTS tests.
2018-01-11 15:07:26 -08:00
Aditi Nagaraj
6327b86696 Merge "Adding VmsUtils for parsing Vms Vehicle Properties" 2018-01-11 22:49:23 +00:00
Aditi Nagaraj
8dcab8e6dd Adding VmsUtils for parsing Vms Vehicle Properties
Test: Tested unit test app on mojave.
Bug: 68704508
Change-Id: I4833e4940710752a2f7943323c5e7ff2489f1c07
2018-01-11 13:04:26 -08:00
Scott Randolph
46bc12867b Define new AudioControl HAL for automotive.
This provides a mechanism for Android to interact with a car's
audio subsystem.
It is a partial replacement for the deprecated AUDIO_* properties in VehicleHal.
It also provides control over fade/balance.

Bug: 31623564
Test: build for bat_land.  VTS tests in future CL.
Change-Id: I4344cce3a6aa9a28d1327bf4d16bd080c7fd3f50
2018-01-10 11:50:17 -08:00
Steve Paik
b7302df033 Fix window properties to be per window zone
Bug: 70931486
Test: Compiles
Change-Id: Idb6daf0444f5fe18f251d01a1581fbcdde37f83c
2017-12-22 10:59:49 -08:00
Chih-hung Hsieh
dec548b0a9 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" 2017-11-29 23:29:36 +00:00
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Chih-Hung Hsieh
8c7f10bdc4 Use -Werror in hardware/interfaces/automotive/vehicle/2.0
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I439352bb0f876bac10393c08c9bdaa665709b147
2017-11-28 14:18:26 -08:00
TreeHugger Robot
5f05509dc1 Merge "Add HW_KEY_INPUT to DefaultVehicleHal" 2017-11-18 01:45:20 +00:00
Enrico Granata
624034fab3 Add HW_KEY_INPUT to DefaultVehicleHal
Having this property available allows one to simulate key events via Vhal Emulator for testing/debugging purposes

Test: manual
Exempt-From-Owner-Approval: CL against code owned by Automotive team
Change-Id: I1de84c616c6611b8562f9c4442195829869f224d
(cherry picked from commit cbc10191c3d56490a646a472635e8babc397cb44)
2017-11-17 23:32:03 +00:00
Enrico Granata
a77c20486a Give automotive team ownership of the default Vehicle HAL implementation
Test: read file
Change-Id: I32db85f45ebe38c128415f0fa3cb7ccca66d4a97
Exempt-From-Owner-Approval: smoreland@ suggested we take ownership of this subdirectory
2017-11-17 15:28:08 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steve Paik
e980916bd7 Add EV parameters to VHAL
Add parameters:
  - INFO_FUEL_TYPE
  - INFO_EV_BATTERY_CAPACITY
  - INFO_EV_CONNECTOR_TYPE
  - ENGINE_ON
  - FUEL_LEVEL
  - FUEL_DOOR_OPEN
  - EV_BATTERY_LEVEL
  - EV_CHARGE_PORT_OPEN
  - EV_CHARGE_PORT_CONNECTED
  - EV_BATTERY_INSTANTANEOUS_CHARGE_RATE

Added enums:
  - EvConnectorType
  - FuelType

Bug: 63330964
Test: Embedded Kitchen Sink can access the params

Change-Id: Iaedbb02db91d354ebed98fbae4c1ba204098e152
2017-11-09 00:13:51 -08:00
Steven Moreland
f390f03aa4 Update for Soong-only makefiles.
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
2017-10-11 18:30:28 +00:00
Steven Moreland
70bfb9d250 Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f am: b53e6ad535
am: 9a17f41f6f

Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
861651985f Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3 Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290
am: 97228c0b7d

Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e
am: b94d0c7290

Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e Update makefiles for hidl adapter.
am: 26a0bb2762

Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
TreeHugger Robot
ffc151ca2a Merge "Register mock EVS driver as EvsEnumeratorHw" 2017-09-19 21:34:45 +00:00
Scott Randolph
34daf2ff7c Register mock EVS driver as EvsEnumeratorHw
This makes the mock driver (when loaded and running) serve as THE evs
driver for the system.  Facilitates VTS tests running, etc.
This driver should not run on a production system as it should have a
"real" driver registered instead.

Change-Id: I716f8f8226e7152521375b94013828a3aa2bb9f0
BUg: 65376941
Test: boot mojave, then 'ps -lef | grep evs'
2017-09-19 14:29:21 -07:00
TreeHugger Robot
4cebe832f9 Merge "Remove java static libs from automotive." 2017-09-14 23:05:29 +00:00
Steven Moreland
caf05a0474 Remove java static libs from automotive.
Now that all the usages are cleaned up, ran update-
makefiles.sh on them.

Test: pass
Change-Id: Id5b7bf67fa7b1251a28c5f835306c253cd0d3473
2017-09-14 09:28:20 -07:00
TreeHugger Robot
6f53db667b Merge "Add 'vendor.' prefix to a vendor HAL service name" 2017-09-12 06:34:56 +00:00
Enrico Granata
3b62ca8ce2 Do not write initial empty values for the diagnostic properties. There is a separate step that initializes them with meaningful values. am: ad2baebb3b
am: 8beffc61fb

Change-Id: I239505a8b1a4b3cb90a02e7980d256c9e9222678
2017-09-12 02:17:30 +00:00
Jaekyun Seok
81104ae5ef Add 'vendor.' prefix to a vendor HAL service name
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
2017-09-12 08:01:42 +09:00
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
552f24634c Merge "Additonal usage note updates for Audio properties" into oc-mr1-dev am: ecc01b9c36
am: 15373a9494

Change-Id: Ic4f08b3f88baaade77714d5d6b5bf008b08123ce
2017-09-06 23:26:05 +00: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
b02563e7fa Merge "Add RINGTONE to Vehicle HAL AUDIO_FOCUS" into oc-mr1-dev am: b58c3ccdde
am: 6839b6cdd3

Change-Id: Ifb2a50ca5398bb488bfd3a4257e8ce473996df81
2017-09-05 22:10:55 +00: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
8d37cf60b2 resolve merge conflicts of 0d6eca0e to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id762ceddec08446d76769ea5c7a2a791ed6fd1c8
2017-08-25 05:35:53 -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
2b90ff20df Merge "Increase thread pool for VHAL 2.1" into oc-mr1-dev am: b96a339f5a
am: 681ec8c328

Change-Id: I24d49731fcbec3f721b304ca4e3b4a062f39abe4
2017-08-18 17:15:01 +00: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
Steven Moreland
dfd8287506 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
2017-08-14 20:25:09 +00:00
Steven Moreland
ff308ea6ba Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Enrico Granata
bb38d1487c Merge "Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value" into oc-mr1-dev am: e6aeacdaa1
am: a650d503c9

Change-Id: I4c92bdb215b831ef9a14546f0780cdb621b7cc29
2017-08-11 01:58:19 +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
Justin Yun
723c2dbd43 Update make file for vndk enabled. am: 608d773ef8
am: d66371512c

Change-Id: I35b778c39c2349346278deb6dea56b8cd3701f7d
2017-08-05 02:17:38 +00:00
Justin Yun
d66371512c Update make file for vndk enabled.
am: 608d773ef8

Change-Id: I6ea2891c61edaa2f8e1657544e3d2fb5011626c8
2017-08-05 02:10:40 +00:00