Commit graph

393 commits

Author SHA1 Message Date
Steve Paik
f38f62a1d4 Add STEERING_ANGLE property
Bug: 80551979
Test: Added property to VHAL
Change-Id: Ie6310d85af9bf0aebe63f0f2fdbac9a75c32b1ec
2018-09-14 17:26:20 +00:00
Jordan Jozwiak
c72501342a Add the INFO_DRIVER_SEAT property.
Bug: b/113356861
Test: Build and install.
Change-Id: I07963fd94aca1a2e83d968f85daa78be7ab90fd9
(cherry picked from commit e4d470dc3adc5ba2b35abcdc61e37927953c36d4)
2018-09-11 20:47:17 +00:00
Steve Paik
4569ca2f88 Add detail to FUEL_LEVEL_LOW to include all energy types
Bug: 109700633
Bug: 109740025
Test: Comment change only
Change-Id: Ief87c4a82d965187f0d8f00fd226e4d539c58643
(cherry picked from commit 9108bc896655541d087dc3a457e8429f45b9d8eb)
2018-08-28 04:26:38 +00:00
Gregory Clark
61a7bbcb77 Add the HVAC_FAN_DIRECTION_AVAILABLE property.
Bug: b/111371726
Test: Build and flash.
Change-Id: I586e607e313792dae689b82f411db94bf22982aa
(cherry picked from commit a5b4872c616c8f9fa983fad8ed8ef77e1edef618)
2018-08-23 18:40:02 +00:00
Jordan Jozwiak
a8e73abffe Add the HVAC_SEAT_VENTILATION property.
Bug: b/111610946
Test: Build and install.
Exempt-From-Owner-Approval: Add property for HVAC_SEAT_VENTILATION
following existing pattern
Change-Id: I71c23d01c35d9db76eb8d4845e6bb9ce4257defb
(cherry picked from commit 2158eccd4bd139a29f14a041c6de60831a2405a7)
2018-08-22 15:52:50 +00:00
Jordan Jozwiak
510fff3675 Merge "Add the HVAC_SEAT_TEMPERATURE property." 2018-08-22 15:47:13 +00:00
Jordan Jozwiak
782ef26b41 Add missing VHAL properties
Bug: b/111500076
Test: Build and install.
Change-Id: I32bfd33ce050ab6ffc886e2ba63b99bd5a33ad31
(cherry picked from commit 85df08f4fe94fd6dfedd6d7def5192cf1f7ce2c4)
2018-08-21 22:17:18 +00:00
Jordan Jozwiak
c0ce8b2a10 Add the HVAC_SEAT_TEMPERATURE property.
Bug: b/111564723
Test: Build and install.
Change-Id: I37184aff227910a91adcb810078b578764fa56ec
(cherry picked from commit 7cc52cdaa6c2d37edbdc87a456a59d2e74591f9d)
2018-08-21 22:15:04 +00:00
Steven Moreland
fec4521e83 Merge "Update makefiles after native handle in Java." am: 1847a2f2e7 am: fb6a66b3f7
am: 9dc1ccc852

Change-Id: I30fda77e5c5657c00f57a85b959dfd853d535366
2018-08-14 19:38:07 -07:00
Steven Moreland
f5e4d7fb59 Update makefiles after native handle in Java.
Bug: 35098567
Test: N/A
Change-Id: I54b8d804e480cda09806f8028b966f28c4bd706e
2018-08-14 20:29:42 +00:00
Steve Paik
61b24e3a44 Add PERF_VEHICLE_SPEED_DISPLAY
Bug: 110881960
Test: none
Change-Id: I486d71bb00e2d943293e5e5567f4dbb0c35e39b0
2018-08-07 09:25:14 -07:00
davidln
cfb94787ea Propagate set events in the emulated vehicle HAL.
Bug: 110105682

Test: build, deploy, test updating temp via app UI, temp change reflected in subscribed system UI
Change-Id: I75e6825ff9450f977c1f5d7f2b97bca6c78f1883
(cherry picked from commit 6d8110ffbf7e964246c13810d909b3a5cf7818b6)
2018-07-25 15:46:24 +00:00
Dean Harding
bea881c9a1 Make the emulated VHAL always listen for socket connections.
Previously, when running under the emulator, it would only connect to
the emulator's qemu pipe and you couldn't script the emulated VHAL.

Also changed the logic of SocketComm so that it supports connections
from more than one client at a time.

Bug: 87643732
Test: tested locally
Change-Id: I504cd806f0a95799a68b75c3515c1f230109f1d0
(cherry picked from commit 8dad67a0148114cb60f3567268bc2cf40ff18f82)
2018-06-26 21:17:15 +00:00
Chao Yan
454d4ef594 Generate VHAL property mixed type from JSON
Bug: 76017041
Test: atest VehicleHALTest
Change-Id: Iaf2f01f71e2eee6478de0aadd2fe2bd13a385404
2018-06-22 10:52:25 -07:00
Steve Paik
9ab31039e2 Add example vendor extension properties
Bug: 110415164
Test: EKS Property Test
Change-Id: Ia1815376d96141ef4401eb4784b81ad4ed889c63
2018-06-21 11:09:15 -07:00
Chao Yan
e2d0c55739 Merge "Added support for multiple VHAL generators" 2018-06-06 20:45:20 +00:00
Steve Paik
ac1ade5c27 Merge "Add initial values for properties" into pi-dev
am: 3b50bd927b

Change-Id: Ib565a847a2b138a5b20df58cea9e665ca022a3cc
2018-06-05 17:28:27 -07:00
Chao Yan
0f85dd1684 Added support for multiple VHAL generators
Using priority queue to schedule multiple VHAL event generators

Bug: 76017041
Test: atest VehicleHALTest
Change-Id: I6bc8071cafd12334dfe37d4f3808530836aec4df
2018-06-05 16:42:01 -07:00
Steve Paik
3b50bd927b Merge "Add initial values for properties" into pi-dev 2018-06-05 23:32:24 +00:00
Scott Randolph
965fea1dda Explicitly unfreeze the Automotive HALs
am: 62fd03d8e6

Change-Id: Icb6acf5f5cecdbc429153994ffaad6bb7aabd264
2018-06-04 16:56:01 -07:00
Scott Randolph
62fd03d8e6 Explicitly unfreeze the Automotive HALs
Per discussion with Treble team, keeping HALs unfrozen is suitable for
platforms whos functionality is evolving and which do not require hard
gaurantees of cross version vendor/system interoperability.

Test: build owl
Bug: 109674659
Change-Id: Idc2a391b4bd7c2edbf9cdd7fc099b9d4a6fcf95a
2018-06-04 14:21:31 -07:00
Steve Paik
44b0283f6c Add initial values for properties
Cleanup defaultconfig.h to have proper initial values so that all
properties may be tested with EmbeddedKitchenSink.

Bug: 109674339
Test: Embedded Kitchen Sink
Change-Id: I3007c645b90b0e6805b8d1011c3a8d659eb13d2b
2018-06-04 21:07:39 +00:00
Steve Paik
26761f6d39 Merge "Fix tire pressure sensor property" into pi-dev
am: de0e5293bd

Change-Id: I354c9cdc4ce1ed9d93857a33b7437a00266fdf54
2018-05-25 14:10:23 -07:00
Steve Paik
57b63bd356 Fix tire pressure sensor property
Update comment to remove reference to unused min/max values

Bug: 80102628
Test: comments updated
Change-Id: I9555ac2e6c274b52e01ce9555e8403b2b94a5036
2018-05-23 18:03:16 -07:00
Scott Randolph
918ba5920c Fix name of Wheel to VehicleAreaWheel
am: 3fea05cd40

Change-Id: I8d1fbac4d7f00792ea399a033b6f58626adcff53
2018-05-21 20:27:57 -07:00
Scott Randolph
3fea05cd40 Fix name of Wheel to VehicleAreaWheel
All but this enum follow the naming pattern.  Now Wheels do too.

Test:  Build Mojave and Owl
Bug: 79995183
Change-Id: Ifa9efd50aaae13ac7f437c5efe8cf70aa64218e9
2018-05-21 18:27:39 -07:00
Steve Paik
6af76112bd Merge "Remove ConfigFlags" into pi-dev
am: cf31bf85a9

Change-Id: I9d3eb98345bb939b3cd739158c0cffe70d839fde
2018-05-21 15:48:11 -07:00
TreeHugger Robot
cf31bf85a9 Merge "Remove ConfigFlags" into pi-dev 2018-05-21 22:26:28 +00:00
Steve Paik
b7480876c1 Merge "Update default config areaId's" into pi-dev
am: 6bf62943fc

Change-Id: Ib51b473edd766df0b6c10ad6d2b48b3f51eae1ec
2018-05-18 13:06:54 -07:00
Steve Paik
3de778f448 Remove ConfigFlags
ConfigArray replaces the need for configFlags.  Deprecate this before it
gets released.

Bug: 74133619
Test: grep -ril configflag shows all instances removed
Change-Id: I645862507959738eb2739e70a53827b749e88aeb
2018-05-16 17:48:49 -07:00
Steve Paik
de2feefd4d Update default config areaId's
Bug: 79752968
Test: Embedded Kitchen Sink

Change-Id: I9b32c22ae2f141c1ead7d3969186fa513e785ccf
2018-05-16 15:45:51 -07:00
Kiran Rachuri
cf4bd2c8d7 Update types.hal comments
am: e9a39e2714

Change-Id: I6f755b9067f937cfa01291842c06640fc2e6cb10
2018-05-15 12:39:11 -07:00
Kiran Rachuri
e9a39e2714 Update types.hal comments
(1) Specify rules for property to area mapping
(2) Fix comment for WHEEL_TICK property
(3) Document the need for supported gears from vhal. CURRENT_GEAR and GEAR_SELECTION should report the list of available gears in the vehicle. This helps in determining the driving state of the vehicle.
Merge changes from ag/4051112 ag/4026897

Bug: 79434788
Bug: 77849652
Bug: 79260189
Test: Build and Flash
Change-Id: Ib2bd488a5ec09fe3bdf8807c253aebcdb240324b
2018-05-15 17:18:09 +00:00
Chao Yan
ca7aa77fc7 Merge "Added fake VHAL value generator based on JSON file" into pi-dev
am: 7a53d3e9af

Change-Id: I9fcfad0483e7cda0fd1e7fc09b1b76956e9ea749
2018-05-10 15:54:16 -07:00
Chao Yan
7a53d3e9af Merge "Added fake VHAL value generator based on JSON file" into pi-dev 2018-05-10 22:41:17 +00:00
Chao Yan
f63c2cad23 Added fake VHAL value generator based on JSON file
Note: It only supports a single generation task at any time. Mixed value
properties like diagnostics frame is not implemented yet. It only
supports properties with ON_CHANGE mode for now.

Bug: 76017041
Test: lunch bat_land-userdebug & m -j8; adb push <json_data>
/data/local/tmp; use python emulator to inject fake value "start" command
specifying the JSON data path on device; verify values on KitchenSink app

Change-Id: Ic964ef52a19422bab7015fe54c7e4c5ef8b47a55
2018-05-10 11:05:28 -07:00
Kiran Rachuri
a3de22392f Merge "Add HVAC properties" into pi-dev
am: 73bfa71121

Change-Id: Ia6b4b51bb8bdc0ed0a56ef4038a8f815db5249e1
2018-05-07 15:37:20 -07:00
Kiran Rachuri
73bfa71121 Merge "Add HVAC properties" into pi-dev 2018-05-07 22:15:01 +00:00
Kiran Rachuri
74570ecb71 Add HVAC properties
Bug: 79265187
Test: Build and flash locally. Test using GAS Vehicle APIs Test App
Change-Id: I3e127af55716c29eddc4f844e431a9efb397afa0
2018-05-05 08:08:10 -07:00
Steven Moreland
c90461c738 rename hidl_enum_{iterator,range}
This is actually a range, not an iterator.

Bug: 78573628
Test: m
Change-Id: Ie824a3eabcb7d5af94a8752e1498bdc8c7032e40
2018-05-02 00:06:33 +00:00
Scott Randolph
6e85e29e47 Merge "Remove ENV_CABIN_TEMPERATURE from VHal" into pi-dev
am: ba7d8361f7

Change-Id: I37f05f83f2bdc5837c3c7f05aaa3d660ce2ef9a4
2018-04-30 16:24:56 -07:00
Scott Randolph
ba7d8361f7 Merge "Remove ENV_CABIN_TEMPERATURE from VHal" into pi-dev 2018-04-30 23:08:31 +00:00
Scott Randolph
3c807a5ca4 Remove ENV_CABIN_TEMPERATURE from VHal
This property was an inadvertent duplicate of HVAC_TEMPERATURE_CURRENT.

Test:  Build OWL and Mojave
Bug: 78599196
Change-Id: I698217de0fa91ed817ec95a375a0949160ae8be5
2018-04-25 19:48:26 -07:00
Steve Paik
909e1fda08 Merge "Use configArray for HVAC_POWER_ON" into pi-dev
am: 7fa25dee8f

Change-Id: Ib64af6829d055b0c980ea3c19002e96be3bd1264
2018-04-25 19:38:39 -07:00
Scott Randolph
d2a5c74e2c Merge "Rename EV_CONNECTOR_TYPE enums" into pi-dev
am: 0e3e580249

Change-Id: I9e8896a88937bf2c31f09eb6507e51fa2a445c78
2018-04-25 18:06:38 -07:00
Steve Paik
24139744a5 Use configArray for HVAC_POWER_ON
Bug: 77167122
Test: EmbeddedKitchenSink
Change-Id: I6a178396c3c44c37b33b74b8481ef39b53a36189
2018-04-25 17:53:03 -07:00
Steve Paik
5fc65ccafc Rename EV_CONNECTOR_TYPE enums
Bug: 78571971
Test: Documentation / naming update
Change-Id: I6ca65a9a745d9f5dd109f5b47a3a4af4d818fe39
2018-04-25 11:09:14 -07:00
Michael Butler
2958148166 Merge "Update Android.bp via update-makefiles.sh" into pi-dev
am: e6da8cb609

Change-Id: Icad1f34c2fa180a30cf207d915cf0bbfcdb6a1d6
2018-04-20 02:28:28 -07:00
TreeHugger Robot
e6da8cb609 Merge "Update Android.bp via update-makefiles.sh" into pi-dev 2018-04-20 09:21:55 +00:00
Scott Randolph
1cbd114a05 Merge "Update VHAL comments to clarify useage" into pi-dev
am: b49820de42

Change-Id: Iaa06d88fde73d82dcd738da676f943b969cd1a7c
2018-04-18 17:11:32 -07:00
Michael Butler
23ee97e748 Update Android.bp via update-makefiles.sh
When calling update-makefiles.sh there are
some unrelated changes that were missed in
previous commits.

Bug: 68112778
Test: mma
Change-Id: I22b76f3d5bcd084afd2f06e613d2f9f37c1a0c9c
2018-04-18 19:34:10 +00:00
Scott Randolph
7400d1c5f5 Update VHAL comments to clarify useage
Window position and motion updated.
Also added comments calling out explicit temperature units.

Test:  Build mojave
Change-Id: If283a5f0de1ff6e9b2d3c21bcd652de55e2d7046
Bug: 77983671
2018-04-18 08:59:28 -07:00
Steve Paik
55fe136188 Merge "Update VHAL types.hal" into pi-dev
am: 1058b982e9

Change-Id: I9001e90f76a1cf18cb88fd5a65e2f8f4602073fd
2018-04-03 13:26:53 -07:00
Steve Paik
28b9f8be0b Update VHAL types.hal
Revised types.hal:
  - Add documentation to everything
  - Remove radio property
  - Update Power Manager properties
  - Cleanup formatting

Bug: 77301298
Test: It compiles
Change-Id: I05a1b3269092c05e7f56c57166d2aebe420d7f6a
2018-04-02 22:45:20 -07:00
Ram Periathiruvadi
3c95ae1688 Merge "Deprecate DRIVING_STATUS vehicle property." into pi-dev
am: 899d09c3ff

Change-Id: I658ea31e4adeb8ba9cb0ae55c911a1a3eec49e00
2018-03-30 23:11:06 +00:00
Enrico Granata
2bd8570cf9 Merge "Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android" into pi-dev
am: e0bce7913b

Change-Id: I3b84cc57a5fc63fd5f35fc6055238063c2a7d386
2018-03-30 20:54:23 +00:00
Ram Periathiruvadi
899d09c3ff Merge "Deprecate DRIVING_STATUS vehicle property." into pi-dev 2018-03-30 20:37:50 +00:00
Enrico Granata
e0bce7913b Merge "Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android" into pi-dev 2018-03-30 18:07:22 +00:00
Pavel Maltsev
866f07671c Merge "Extend VHAL test property to allow inject events" into pi-dev
am: 04db1bfe60

Change-Id: Ic3c060d747ecd3eabda8151b6eb3ff7029887c72
2018-03-30 05:26:43 +00:00
Ram Periathiruvadi
b4ec3dd5cf Deprecate DRIVING_STATUS vehicle property.
DRIVING_STATUS is not required from VHAL.  It will be derived from other
car sensor vehicle properties in higher layers.

Bug: 71793754
Test: compile and boot.
Change-Id: Ia9f9aeb0e7ff0f16c66422ecb4dc9ad9c152a844
2018-03-29 15:43:32 -07:00
Pavel Maltsev
f0cd5e146a Extend VHAL test property to allow inject events
This is needed for e2e testing, specifically to emulate steering-wheel
buttons from KitchenSink app

Bug: 74616964
Test: manual through kitchensink app
Change-Id: I08de2404f9e17af6b08c2cb1f0fbdc45c655a405
2018-03-29 14:12:59 -07:00
Enrico Granata
8acfc2246a Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android
The status field of a property represents properties of the underlying implementation and it should thus
be read-only to Android. Add a way for VehiclePropertyStore to be told whether it does (or does not) need to
propagate the field to the stored property value.

Test: build
Bug: 76034442
Change-Id: I333fab7e296f425cf5c4a35ae136ccfbaa542379
2018-03-27 16:29:40 -07:00
Yuexi Ma
8ef11932b9 resolve merge conflicts of 07ff5f4376 to pi-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id636c3171bffffeaf7a30a7912c38796e5a4c780
2018-03-26 16:05:07 -07:00
TreeHugger Robot
3df7964f07 Merge "Fix AP_POWER_BOOTUP_REASON to be static" into pi-dev 2018-03-26 19:03:04 +00:00
Enrico Granata
ad7b927993 Make toInt() a little bit shorter by moving std::underlying_type to a template argument
No feature change.

Bug: b/75328113
Test: build
Change-Id: I262493821da7bb06618680932cf93ec25671cfe4
2018-03-23 22:41:40 +00:00
Steve Paik
25aa123f7d Fix AP_POWER_BOOTUP_REASON to be static
Bug: 69284418
Test: VTS passes
Change-Id: Ia4816b4d9329c8bd02bf325aed6cfe5bdda30c70
2018-03-23 14:26:35 -07:00
Yuexi Ma
d56539e62a Update vts test module bp files to use VtsHalTargetTestDefaults
Test: make vts
Change-Id: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502
Merged-In: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502
2018-03-22 23:36:10 +00:00
Yuexi Ma
5ca4ebe0dc rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest
Test: run vts-selftest
Change-Id: Ib413d3ee2bffbb98489a5e787b83014c3b2e3af9
Merged-In: Ib413d3ee2bffbb98489a5e787b83014c3b2e3af9
(cherry picked from commit c446be1563)
2018-03-22 12:15:54 -07:00
Nathan Harold
c893754c0d Update Makefiles Missed In Previous Commits
When calling update-makefiles.sh there are
some unrelated changes that were missed in
previous commits.

Bug: 8675309
Test: compilation
Change-Id: I5bf67fbcc809de36bde1869ada7b835566a5198b
2018-03-19 16:37:46 -07:00
TreeHugger Robot
7371502a1f Merge "VehicleHal::set() should not be able to tamper with a property's AVAILABLE status Properties being (UN)AVAILABLE is used as a one-way communication mechanism from the hardware to the operating system, and not viceversa." into pi-dev 2018-03-17 03:43:20 +00:00
Enrico Granata
74268e6490 VehicleHal::set() should not be able to tamper with a property's AVAILABLE status
Properties being (UN)AVAILABLE is used as a one-way communication mechanism from the hardware
to the operating system, and not viceversa.

Add safety checks in our default HAL implementation to:
  - prevent Android from marking a property as UNAVAILABLE;
  - prevent Android from writing to an UNAVAILABLE property.

The combined effect of these two check is that only AVAILABLE properties are writable,
and they can never be flipped to UNAVAILABLE outside of the HAL implementation itself.

Bug: 74805437
Test: manual
Change-Id: Ib830427d604579015fa142f0fa76f8b73a68a452
2018-03-16 18:31:27 -07:00
Enrico Granata
0dd64f7b78 When writing a VehiclePropValue to the store, update its status
Bug: 74805437
Test: manual
Change-Id: I0269ae3b2584af3959d3fd3beaf06e3c4272f793
2018-03-15 17:16:10 -07:00
Scott Randolph
5f2568b2e1 Add VTS test for automotive AudioControl HAL
Difficult to verify results, but at least exercises the APIs.

Bug: 71614544
Test: adb push ...VtsHalAudioControlV1_0TargetTest /data/actst; adb shell
/data/actst
Merged-In: Ie900a4e47483ef881e00a4753097dbd09a0730a0
Change-Id: Ie900a4e47483ef881e00a4753097dbd09a0730a0
2018-03-09 22:03:32 +00:00
Steve Paik
1b48bba00e Add power properties
Refactor handling of property specific code in emulator.  The
AP_POWER_STATE property is different from other properties in the system
because it has different values for get/set.  Thus, it needs to be
special cased by the default emulator.

Bug: 32061842
Test: VHAL emulator
Change-Id: Ic325ef401abbcf09a7808a9eca01cbfe8b3cc94f
2018-02-26 14:51:26 -08:00
Kamaljeet Maini
8c0b8275a3 Revert "Add power properties"
This reverts commit fe360dec66.

Bug: b/73780849
Test: Build and flash locally
Change-Id: I19370fce3508439575c1e0587bcedd5ed4528e8e
2018-02-22 16:31:37 -08:00
TreeHugger Robot
40d59838e9 Merge "Add power properties" 2018-02-21 23:45:59 +00:00
Zhuoyao Zhang
81def5dbb1 Merge "Convert evs hal test to use VtsHalHidlTargetTestEnvBase" am: 9be06304d6 am: 7e4209ee06
am: 02d339c90f

Change-Id: Iea80193bcdeb7f6b02f5e013bcd135904c14b9a7
2018-02-21 22:36:26 +00:00
Steve Paik
fe360dec66 Add power properties
Bug: 32061842
Test: VHAL emulator
Change-Id: I39e73b57b0951566a692339b30bdce8bf2a33d12
2018-02-21 13:40:44 -08:00
Zhuoyao Zhang
5114c261fd Convert evs hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalEvsV1_0Target

Change-Id: Ifc086ad119d44ecb710e709d4928cc496698fe64
2018-02-20 10:09:09 -08:00
Aditi Nagaraj
666a2a22a1 AreaId is not expected for the Vms VehicleProperty
Bug: 72972190
Test: ran manager-unit-test on mojave
Change-Id: I7d7d93aca19aaa1abf67bd69b59c27e3f9140ed1
2018-02-13 11:08:42 -08:00
Steve Paik
27bfe5ce9f Merge "Add ENGINE_OIL_LEVEL, PARKING_BRAKE_AUTO_APPLY" 2018-02-06 19:33:13 +00:00
Scott Randolph
d17343bdbd Merge "Remove IAudioControlCallback for P" 2018-02-06 09:34:40 +00:00
Scott Randolph
786879b139 Remove IAudioControlCallback for P
Scale back the AudioControl HAL to include only the minimum necessary
controls for automotive audio.  Specifically remove support for the car
to interact with the application level audio focus.

Test:  Build mojave
Change-Id: I718c9d7175a72b9b6e29ca3f0c23a152c7cf1a9a
2018-02-02 17:07:03 -08:00
TreeHugger Robot
441becc921 Merge "Modify FAN_DIRECTION to be a bit mask" 2018-02-03 00:09:15 +00:00
Steve Paik
84b5aeaaf9 Add ENGINE_OIL_LEVEL, PARKING_BRAKE_AUTO_APPLY
Bug: 62337898
Bug: 62337346
Test: Vehicle emulator test
Change-Id: If2ea2ccb0b128e7f30a747e329fd3b7bd0d0234b
2018-02-02 14:47:14 -08:00
TreeHugger Robot
bc72cdf1ea Merge "Remove unused property from Vehicle HAL" 2018-01-31 01:30:30 +00:00
Steve Paik
ded5e17510 Modify FAN_DIRECTION to be a bit mask
We are changing VehicleHvacFanDirection to be a bit mask so that any
combination of fan directions can be made.  This means that
HVAC_FAN_DIRECTION_AVAILABLE must now be a int32_vector.

Bug: 72221544
Test: Unit tests pass
Change-Id: I602871c95aa2429ea334ec85a879610c68979184
2018-01-29 16:52:52 -08:00
Pavel Maltsev
eccbbf8538 Remove unused property from Vehicle HAL
Fix: b/72159812

Test: m -j ; verified device is booting up

Change-Id: I99b59d58dd713d48c50be1a12d9ee2019861c080
2018-01-26 11:59:31 -08:00
Steve Paik
54f2ac6994 Fix missing copies of status member variable
Bug: 72348165
Test: Status appears in Embedded Kitchen Sink
Change-Id: Ia6a672fa44f0c1d5a7fe04234897d73b3f45e939
2018-01-26 11:10:45 -08:00
Hongwei Wang
d879f7a131 Merge "Runs audio control service in delicated user" 2018-01-26 03:24:45 +00:00
TreeHugger Robot
a4c3b60c2c Merge "Update emulator protobuf to include status" 2018-01-26 03:24:18 +00:00
Steve Paik
5160ba3455 Update emulator protobuf to include status
Add status
Remove supported_areas

Bug: 72348165
Test: Use python emulator to get/set values
Change-Id: Iad84305a49b260ff02b28685f581a82ca7ff8195
2018-01-25 16:26:38 -08:00
TreeHugger Robot
f30add84f8 Merge "Refactor VHAL" 2018-01-25 00:36:29 +00:00
Asaf Rosenfeld
743bc7450b Merge "Adding missing VMS PublisherId functionality to vehicle hidl. VMS latest functionality which was added as part of the API review." 2018-01-24 07:28:20 +00:00
Hongwei Wang
d9aeb75800 Runs audio control service in delicated user
Bug: 72409268
Test: adb shell lshal
Change-Id: Ida633084af443b736971d87a33db579ba084c825
2018-01-23 18:14:07 -08:00
Asaf Rosenfeld
dbb17a280d Adding missing VMS PublisherId functionality to vehicle hidl.
VMS latest functionality which was added as part of the API review.

Change-Id: I8866d659e0df750eb86f1f3916aababf37e40649
Test: pending on later ref hal impl similar to other enums.
2018-01-23 17:12:21 -08:00
Steve Paik
1ae977d6e8 Refactor VHAL
This CL contains the following modifications:
- Add INT64_VEC type
- Rename VehiclePropertyType:COMPLEX to MIXED
- Remove supportedAreas from VehiclePropConfig
- Allow an areaId to contain multiple zones/seats/windows
- Remove ROW_* zones
- Remove zone/areaId from subscribe() interface
- CLANG formatting

Bug: 72348165
Test:  Compiles
Change-Id: I274dc69b6532a06433a0409c7ca44d0a5bce65af
2018-01-23 14:52:18 -08:00
Anthony Mah
a9d8c0d0f1 interfaces: Automotive Vehicle HAL shared lib def
Revise the definitions for Vehicle HAL bp file.

Bug: b/67430788
Test: Buits and boots

Change-Id: I57ca7ed41de3fd58860b6a1f226c53dcdd6287bf
2018-01-19 13:20:09 -08:00
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