Commit graph

1234 commits

Author SHA1 Message Date
Bob Badour
47589e09e0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/Android.bp
  automotive/vehicle/aidl/impl/proto/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I9c8d81e2f899026607ee182a1c7fa1853d38cdc0
2021-10-07 16:13:14 -07:00
Keun young Park
8791c7ee75 update automotive hals for car mainline
- add min_sdk_version and apex_available

Bug: 192665266
Test: build
Change-Id: I34be81d542e51832a4f73c0227ca544e963ab3c9
2021-10-06 09:23:30 -07:00
TreeHugger Robot
dfc583405c Merge "Updated WHEEL_TICK configArray documentation in VHAL." 2021-10-05 18:44:16 +00:00
TreeHugger Robot
ed9b778434 Merge "Add constants for hibernation to VHAL" 2021-10-05 14:55:41 +00:00
Yu Shan
a2bbcd26bd Migrate proto_message_converter to AIDL vhal.
Migrate proto_message_converter to AIDL vhal. This would be used
in grpc vehicleClient/vehiclServer. This CL also creates the
required proto files.

Test: unit tests.
Bug: 199337732
Change-Id: Iac69a8c1578d4aba374ee0d9716da8b6b18ccace
2021-10-04 12:57:16 -07:00
Maxim Pleshivenkov
cc4713ccdb Add constants for hibernation to VHAL
Extended VHAL with constants for hibernation
(suspend to disk).

Bug: 188666978
Test: manual
Change-Id: I11469b5e4c18ff6fa8450276188eaaa4c6cfa61a
2021-09-30 18:25:29 +00:00
TreeHugger Robot
5d7457709a Merge "Define an abstract interface to access hardware." 2021-09-29 22:32:29 +00:00
Treehugger Robot
00a096a620 Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." am: f997f54349 am: 15ee6fa3f0 am: ab567b22ed am: 6506b1e782 am: ebadad276a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814073

Change-Id: Ic2a725692cf96e5107f2eb54dc2d931b30716a4f
2021-09-29 22:08:51 +00:00
Treehugger Robot
ebadad276a Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." am: f997f54349 am: 15ee6fa3f0 am: ab567b22ed am: 6506b1e782
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814073

Change-Id: Idffa22efb87fd432d0d6f3c42dcf5924e0eb55b0
2021-09-29 21:59:38 +00:00
Treehugger Robot
6506b1e782 Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." am: f997f54349 am: 15ee6fa3f0 am: ab567b22ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814073

Change-Id: Ib952524469246e2db998e33a08a8396d65b890ca
2021-09-29 21:48:50 +00:00
Treehugger Robot
15ee6fa3f0 Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." am: f997f54349
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814073

Change-Id: Ib3fa65cd6f70f6b3bc99a7a8e903b1ede5e3b364
2021-09-29 21:25:15 +00:00
Yu Shan
f86dae8918 Define an abstract interface to access hardware.
For non-virtualized VHAL, VHAL would use a VehicleHareware
implementation in the same process. For virtualized VHAL, on
android side, a VehicleHardware implementation acts as the client
to take with a GRPC server in another VM. That server uses a
VehicleHardware implementation underneath.

Test: Local build.
Bug: 199453627
Change-Id: I34512fad44aa4f69832d147d2c4ef4221e53dc4f
2021-09-29 13:37:55 -07:00
Yiming Pan
ba7e3994bc Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I0f9790146d64200ccbfa364ba2e12d016c6d0629
2021-09-29 11:06:23 -07:00
Kai Wang
0bc1600786 Merge "Add areaId for CRITICALLY_LOW_TIRE_PRESSURE" into sc-v2-dev am: 773ed6ddd9 am: 7e1abd0cd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15856346

Change-Id: I6a72d2cc8fa14602d51a9095b4f43e67dbc871d8
2021-09-28 22:45:49 +00:00
Kai Wang
7e1abd0cd8 Merge "Add areaId for CRITICALLY_LOW_TIRE_PRESSURE" into sc-v2-dev am: 773ed6ddd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15856346

Change-Id: I3ff39c2658f9a8a70add9331231e3ee951f400de
2021-09-28 22:31:51 +00:00
Kai Wang
773ed6ddd9 Merge "Add areaId for CRITICALLY_LOW_TIRE_PRESSURE" into sc-v2-dev 2021-09-28 22:22:17 +00:00
Tyler Trephan
c0653a4452 Updated WHEEL_TICK configArray documentation in VHAL.
It now specifies that the micrometers-per-wheel-tick values are static
and approximations.

Test: None
Bug: 169364681
Change-Id: Ia002bdcf7c9a91d82d8f6d543d2476d227256046
2021-09-28 19:25:47 +00:00
TreeHugger Robot
9974d946e1 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2021-09-28 00:12:15 +00:00
Yu Shan
eb766523f2 Change unit test suites to device tests.
Since VHAL is not supposed to run on all devices, only auto targets,
we change the test suites to device-tests. This also prevents the
unit tests to be run against an incompatible version of vendor
image, which causes test breakage.

Bug: 201009483
Test: presubmits
Change-Id: I8878ce6f8200dbc4a3247258f835e980fbaa2028
2021-09-27 15:18:31 -07:00
Bob Badour
2f244076ff [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  automotive/vehicle/aidl/impl/vhal/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Ic1778822784ec32904d235fe6677ef4f2711c2c4
2021-09-27 14:31:49 -07:00
Yu Shan
23a84dd8d6 Add VHAL AIDL v1 service.
Test: Local build.
Bug: 198664004
Change-Id: Ifd8b15d85865f360f9cce7b35bc2114f4478682c
2021-09-24 18:18:31 -07:00
Yu Shan
379c33ca66 Migrate VHAL default config to AIDL.
Test: atest VehicleHalDefaultConfigTest
Bug: 199337732
Change-Id: I9d96c82598427a597245d73a15c22eccff672250
2021-09-23 13:28:29 -07:00
Yu Shan
e4923de337 Add HidlAidlCompatibilityTest.
Add test to verify all properties defined in HIDL VHAL are also
defined in AIDL.

Test: atest VehicleHalAidlHidlCompatibilityTest
Bug: b/170400618
Change-Id: I5c9e26f5eb149477c18a6b22ca8a39d8642249df
2021-09-22 14:25:03 -07:00
Yu Shan
81fbbea6b9 Migrate VehiclePropertyStore.
Test: atest VehicleHalVehicleUtilsTest
Bug: 199337732
Change-Id: Ia18699a0115fdb004c57c0e6fb02b043ddb138b5
2021-09-21 16:30:17 -07:00
Yu Shan
00c39ebf00 Add VehicleHal utilities.
Add some utility functions to AIDL VHAL.

Test: atest VehicleHalVehicleUtilsTest
Bug: 199337732
Change-Id: I9e74161efecf7c66caa2f52177fbdd43cdc9d68b
2021-09-21 13:37:27 -07:00
Kai Wang
e509bf1f76 Add areaId for CRITICALLY_LOW_TIRE_PRESSURE
CRITICALLY_LOW_TIRE_PRESSURE is a seat type property. Added areaId into
the property config.

Bug: 174585018
Test: atest AtsCarHostTests
Change-Id: I260b9e79844f44cad31efcf510301af0ee6227a1
2021-09-17 22:46:09 +00:00
Yu Shan
59393a9ce7 Define IVehicle AIDL interface.
Define IVehicle AIDL interface according to new interface design
doc.

Test: Local build
Bug: 198664004
Change-Id: Ic757f969ccce6d9dcffc6e7cd19f55f86a41f435
2021-09-10 18:28:58 -07:00
Treehugger Robot
bed4ab5ef3 Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." am: ac48f5f420 am: f2a4b17919 am: 621c1d7aa9 am: 7024eccc56 am: 6204d8018b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814074

Change-Id: I5c3bb8ff13876b573a96a7b4c395260b97ab3da5
2021-09-04 05:18:44 +00:00
Treehugger Robot
00bb99f686 Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." am: b0c278e439 am: 956de3323a am: 5c484fe928 am: 28acd137be am: 3a30977c1a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814075

Change-Id: I2e180007c04e795341981225df7a9e3aad9e4e77
2021-09-04 05:18:35 +00:00
Treehugger Robot
6204d8018b Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." am: ac48f5f420 am: f2a4b17919 am: 621c1d7aa9 am: 7024eccc56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814074

Change-Id: I202e9690f2888a2f019442ceee4827beedfc7546
2021-09-04 05:03:05 +00:00
Treehugger Robot
3a30977c1a Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." am: b0c278e439 am: 956de3323a am: 5c484fe928 am: 28acd137be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814075

Change-Id: Ieabbb878140547e7ac3104318092ab4605b6395f
2021-09-04 05:02:58 +00:00
Treehugger Robot
7024eccc56 Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." am: ac48f5f420 am: f2a4b17919 am: 621c1d7aa9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814074

Change-Id: Iabecdbdc976b3ae60004b844ce1d271aec72d972
2021-09-04 04:47:06 +00:00
Treehugger Robot
28acd137be Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." am: b0c278e439 am: 956de3323a am: 5c484fe928
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814075

Change-Id: Ibcb5ae5292b1f2bac2c357395eadc0fa72296809
2021-09-04 04:47:01 +00:00
Treehugger Robot
f2a4b17919 Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." am: ac48f5f420
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814074

Change-Id: I6d43f8700ca82cbcbd6a603ab74acc0f8d13f12b
2021-09-04 04:14:55 +00:00
Treehugger Robot
956de3323a Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." am: b0c278e439
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814075

Change-Id: I97ab8b569de9cd5fff0b56e31380bdb2a1f0c394
2021-09-04 04:14:49 +00:00
Treehugger Robot
ac48f5f420 Merge "Backfill owner information for VTS module VtsHalEvsV1_0TargetTest." 2021-09-04 04:12:13 +00:00
Treehugger Robot
b0c278e439 Merge "Backfill owner information for VTS module VtsHalEvsV1_1TargetTest." 2021-09-04 03:51:24 +00:00
Yiming Pan
2fcf0772b4 Backfill owner information for VTS module VtsHalEvsV1_1TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I5a7371f4014dc8ba637e341d23c7f4a88c783d5e
2021-08-30 12:59:04 -07:00
Yiming Pan
10be7be340 Backfill owner information for VTS module VtsHalEvsV1_0TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I5b9777b7bc8a4b505c00d8d32f021bafc601d63c
2021-08-30 12:58:55 -07:00
TreeHugger Robot
8589253e58 Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca am: a66bac8e90 am: 4c002642b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: I863dae6cd37a87dd92a4aedd0d5fbb44f7c11b8c
2021-08-21 00:00:53 +00:00
TreeHugger Robot
4c002642b0 Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca am: a66bac8e90
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: I7c184383fd0a6720351947dac7808cfab34080cb
2021-08-20 22:28:55 +00:00
TreeHugger Robot
a66bac8e90 Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: Ifbf528768e04cf583d1798340a7c9a7df66a304a
2021-08-20 21:32:44 +00:00
TreeHugger Robot
828a063f3c Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: Iada15d1177104ca60713d927c8457dd1ca26c766
2021-08-20 21:23:09 +00:00
Ashutosh Agarwal
52799bd05d Update Documentation for EPOCH_TIME.
This is a change in behaviour for EPOCH_TIME to align it with a future revisions.

Bug: 157504928
Test: atest CarServicesTest
Test: atest VehiclePropertyIdsTest

Change-Id: I81881a03a1a562afc93cb1a2fe8a8fffa43f093d
2021-08-19 18:54:54 +00:00
Jiyong Park
e0f2d29b7f Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I0652f1efe920111d79dd8c2ecd52e55dda54538f
Merged-In: Ib58c9f1cb80d083a3c62d03415610be855b80f03
Change-Id: Ied92f2784ed7d6a73693c640042c8a66fbbcfa17
2021-08-17 14:48:50 +00:00
Kai Wang
6439b4257d Merge "Add placeholder properties for emulator" into sc-v2-dev am: c490c1359b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15546061

Change-Id: I5822c80b2405f509cbfe339667d128cda7c8ae49
2021-08-13 23:41:00 +00:00
TreeHugger Robot
83eecfe362 Merge "evs: Use ui::LayerStack" 2021-08-13 21:06:31 +00:00
Bob Badour
f79355756f [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/Android.bp
  automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I07633391fdf6298dadd9bde70e7fc12cee2bb646
2021-08-12 17:40:47 -07:00
Kai
b22a8678f8 Add placeholder properties for emulator
Add some placeholder properties in google VHAL. Developers who use the
aae emulator can use them in developing new features without
implementing a real property.

Bug: 193460353
Test: build aae emulator, use adb lshal to change property values
Change-Id: I6131a4892495c4c1e1c73e078572a666a33f984e
Merged-In: I6131a4892495c4c1e1c73e078572a666a33f984e
(cherry picked from commit 4d1fe81bee)
2021-08-12 18:50:44 +00:00
Kai Wang
34c5b9ae41 Merge "Add placeholder properties for emulator" 2021-08-12 16:50:42 +00:00