Commit graph

6 commits

Author SHA1 Message Date
Pavel Maltsev
2579fb792b Move Vehicle HAL under automotive package
Test: verified unit tests and VTS are passing

Bug: b/33200203
Change-Id: I69cc4bc0d4cbc1a6bf2f77564a8f70412fe06947
2017-02-05 16:48:12 -08:00
Pavel Maltsev
8e624b323c Convert Vehicle Property to integer
This make sense for easier extending Vehicle Hal interface
by OEMs and creating new versions.

Test: adb shell "su system /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests" ; ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO

Change-Id: I02415a1c180a6d24fded48a1583f7cb150419820
Fix: b/34894217
2017-02-01 16:41:14 -08:00
Pavel Maltsev
03dddfe48b Resolve TODOs in Vehicle HAL interface
Fix: b/34109323

Test: comments changed
Change-Id: Ic00f43331fcaf4177e82fd33f05b095d45e7f8ad
2017-01-06 10:36:41 -08:00
Pavel Maltsev
db179c5ec4 Vehicle HAL reference impl Part II
Implemented:
  - IVehicle::get <-- changed signature
  - IVehicle::set
  - status_t replaced with StatusCode
  - changed error handling to handle errors on SET

Test: unit tests provided
Bug: b/31971746
Change-Id: I9ea3feab7539adf588f1278fb905c0a458fa1627
2016-11-02 14:31:34 -07:00
Pavel Maltsev
e2603e3d52 Vehicle HAL reference impl Part I
Implemented:
  - defined VehicleHal
  - object pool for VehiclePropValue objects
  - batching of vehicle HAL events
  - subscription management

Test: unit tests provided

Bug: b/31971746
Change-Id: Idd2d0aee7b32a975c3db54812be235e13f52905a
2016-10-28 18:34:45 -07:00
Pavel Maltsev
a2f426ab27 Initial HIDL vehicle HAL
Bug: b/31803520
Test: writing a test client in upcoming CLs

Change-Id: I050ab2d764f4550c5d0417c892d05d95472c9b7f
2016-10-12 12:01:50 -07:00