Commit graph

812 commits

Author SHA1 Message Date
TreeHugger Robot
0e2072ce4b Merge "Add INFO_MODEL and INFO_MODEL_YEAR default values" into rvc-qpr-dev 2020-08-19 21:03:56 +00:00
TreeHugger Robot
182b84b23e Merge "Update EmulatedUserHal to use UserHalHelper native library." into rvc-qpr-dev am: da9014f5e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12317659

Change-Id: Ibb70112d7bbd06927b05498de9dc368b08c34e97
2020-08-18 23:40:38 +00:00
Lakshman Annadorai
92ad8215e7 Update EmulatedUserHal to use UserHalHelper native library.
Bug: 150409377
Test: Tested using lshal commands in go/user-hal-emulation.

Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
2020-08-18 22:30:38 +00:00
Jordan Jozwiak
590607780a Add INFO_MODEL and INFO_MODEL_YEAR default values
Bug: 162611157
Test: adb shell cmd car_service get-carpropertyconfig | grep MODEL
Change-Id: Iff9f763aa624a2002b0dd326316410a93a47d5c0
Merged-In: Iff9f763aa624a2002b0dd326316410a93a47d5c0
(cherry picked from commit 5aa08b7d59)
2020-08-13 16:47:44 +00:00
TreeHugger Robot
3c9fc82e34 Merge "Add a native UserHalHelper library." into rvc-qpr-dev am: d155658f1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12240869

Change-Id: Ic14bd12a654ac73bea9cd2772e9f7a372dda94e7
2020-08-06 16:58:54 +00:00
TreeHugger Robot
d155658f1e Merge "Add a native UserHalHelper library." into rvc-qpr-dev 2020-07-31 17:20:19 +00:00
Lakshman Annadorai
b33e2abbfe Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: Tested with unit tests.
Bug: 150409377

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
2020-07-30 15:15:32 -07:00
Dan Shi
1a3e0f86eb Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284 am: e5c9b5e722 am: 1a52c0eb25
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: I474b87b3697ea787c0f9be246c13a0d71248141f
2020-07-29 06:20:27 +00:00
Dan Shi
e5c9b5e722 Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
2020-07-29 05:45:58 +00:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
TreeHugger Robot
8de72df496 Merge "Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST" into rvc-qpr-dev am: 6e5eedbfef
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12182996

Change-Id: Ic801c82c89df1858a073f7caeffafbce1825c9fc
2020-07-20 19:44:56 +00:00
TreeHugger Robot
6e5eedbfef Merge "Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST" into rvc-qpr-dev 2020-07-20 19:29:15 +00:00
felipeal
5b46a339d0 Fixed EmulatedUserHal merge issues.
Some changes were not properly auto-merged, and it's quite impossible to
cherry-pick them automatically (using git), so this CL is manually fixing
it.

Test: adb shell lshal debug android.hardware.automotive.vehic
le@2.0::IVehicle/default --user-hal

Bug: 150413515

Change-Id: Ibb8bef2c1ae8df32369dff5c5e5de76480b3a66f
Merged-In: I5c8b99b8027b5ec10ace323d872cd85f9a0d4177
2020-07-18 02:12:23 +00:00
felipeal
3e9d442fa1 Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896584 a 1 i -42 i 4 i 11
Fixes:  161574356

Change-Id: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
2020-07-17 18:25:08 -07:00
Jooyung Han
d610435ac4 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-07 16:22:36 +09:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
TreeHugger Robot
6bb7b60138 Merge "Yet more minor fixes on User HAL:" into rvc-dev am: f04be179a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12000988

Change-Id: I9a0c61e8a9a523aa0f9a02e1558d99ae58fc18a5
2020-06-30 01:16:03 +00:00
TreeHugger Robot
59b6c890c2 Merge "Yet more minor fixes on User HAL:" into rvc-dev am: f04be179a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12000988

Change-Id: I4d99cb1d89ca49f493798eede6e0afcaf59360c0
2020-06-30 01:16:00 +00:00
TreeHugger Robot
f04be179a7 Merge "Yet more minor fixes on User HAL:" into rvc-dev 2020-06-30 01:09:22 +00:00
felipeal
bc366009a6 Yet more minor fixes on User HAL:
- Minor fixes on docs.
- Switched order of String fields on InitialUserInfoResponse to be consistent
  with doc.

Test: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py  -l android.hardware.automotive.vehicle@2.0
Bug: 159856152

Change-Id: I7b05a64fcea7512101436df7c93a3204274a4d6b
2020-06-25 18:47:42 -07:00
felipeal
cd942acff5 Fixed EmulatedUserHal::get(USER_IDENTIFICATION_ASSOCIATION). am: 1972df27b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11940099

Change-Id: I6a7f2ceeb4fdb48edbd2b3ed5961a65b71081220
2020-06-23 00:47:15 +00:00
felipeal
1972df27b9 Fixed EmulatedUserHal::get(USER_IDENTIFICATION_ASSOCIATION).
It must set the requestId in the response.

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 a 1 i 666 i 1 i 1 i 2 && \
      adb shell cmd car_service get-user-auth-association --hal-only KEY_FOB
Fixes: 159497444
Bug: 159498909

Change-Id: Ib3f87b45714883c3e5b72464813df24ec4124dbb
2020-06-22 16:06:19 -07:00
TreeHugger Robot
a383eeb573 Merge "Reserves memory for external buffers" into rvc-dev am: 5f86b51408
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11925286

Change-Id: I8ddc6286a88ef7f80ef5a075cc57377b3102f42b
2020-06-22 18:28:26 +00:00
TreeHugger Robot
79de2730fe Merge "Reserves memory for external buffers" into rvc-dev am: 5f86b51408
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11925286

Change-Id: I2152655d24bcc54e227dad9c283e7f81b310eb1a
2020-06-22 18:27:48 +00:00
TreeHugger Robot
5f86b51408 Merge "Reserves memory for external buffers" into rvc-dev 2020-06-22 18:16:48 +00:00
Changyeon Jo
4fe55b9ab1 Merge "Adds a EvsEvent type for general streaming error" into rvc-dev am: fda881504a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11838590

Change-Id: Idacd0934fd3999d877c8b87af6f5ea9a0c6cac0e
2020-06-19 04:43:10 +00:00
Changyeon Jo
27f667ebe1 Merge "Adds a EvsEvent type for general streaming error" into rvc-dev am: fda881504a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11838590

Change-Id: Ief747eb0e58adfb1ce3494ede05dea56db0f4bac
2020-06-19 04:42:29 +00:00
Changyeon Jo
fda881504a Merge "Adds a EvsEvent type for general streaming error" into rvc-dev 2020-06-19 04:31:42 +00:00
Changyeon Jo
523e37e638 Reserves memory for external buffers
This change adds a line to reserve memory to hold externally
allocated EVS frame buffers for CameraStreamExternalBuffering test.

Fix: 159399273
Test: vts-tradefed run commandAndExit -m VtsHalEvsV1_1TargetTest
Change-Id: I9e6b29580ac8357efd32b8fec434456e40cbaa58
2020-06-18 21:06:19 -07:00
TreeHugger Robot
286cc6e608 Merge "Added DISABLED flag to users flag for HAL" into rvc-dev am: 110f2bef7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11870725

Change-Id: Idada0cb6cc2272a3e8d9c315cec477cc8e861cc0
2020-06-19 01:58:22 +00:00
TreeHugger Robot
2334a510a5 Merge "Added DISABLED flag to users flag for HAL" into rvc-dev am: 110f2bef7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11870725

Change-Id: I920005003ba19b99a68a56bc118c0e3cd2bc0455
2020-06-19 01:57:51 +00:00
TreeHugger Robot
110f2bef7f Merge "Added DISABLED flag to users flag for HAL" into rvc-dev 2020-06-19 01:42:15 +00:00
Hao Chen
2f865f875c Merge "Add server library build rules for both host and target" into rvc-dev am: c539468f28
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11889122

Change-Id: I763c9c14994e4d58db03a6704293ae0d9db893fc
2020-06-18 22:16:26 +00:00
Hao Chen
76b49a0c55 Merge "Add server library build rules for both host and target" into rvc-dev am: c539468f28
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11889122

Change-Id: I429282c294294d86eab6db701b901b899d7f0e19
2020-06-18 22:16:19 +00:00
Changyeon Jo
e98bce8cec Adds a EvsEvent type for general streaming error
Bug: 142891447
Test: m -j android.hardware.automotive.evs@1.1
Change-Id: I102c48e689cd567701bc33e379f545e8aff880e9
2020-06-18 13:51:23 -07:00
Hao Chen
c324db992e Add server library build rules for both host and target
Bug: 157603385
Test: build and create Acloud local instance
Change-Id: I80951eb4192360c62a5f72902d20e2dee84d97ad
2020-06-17 14:14:12 -07:00
Mayank Garg
ffb1ffdd0e Added DISABLED flag to users flag for HAL
Bug: 158681378
Test: m (successful build)
Change-Id: I46af767c2cb4716bfbe45f51f59f9c670d6c0a0b
2020-06-16 12:07:24 -07:00
TreeHugger Robot
52ce3150b1 Merge "Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request." into rvc-dev am: d5a237964f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11764584

Change-Id: Ia904328b88b1fc2170ea6767b5b9766db07bc76c
2020-06-10 20:50:40 +00:00
TreeHugger Robot
5ba48ac055 Merge "Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request." into rvc-dev am: d5a237964f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11764584

Change-Id: I362b3966717e7d41cbad820347691b07ef30d7be
2020-06-10 20:49:57 +00:00
TreeHugger Robot
d5a237964f Merge "Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request." into rvc-dev 2020-06-10 20:35:19 +00:00
TreeHugger Robot
4ba2b85a44 Merge "Clarified that USER_IDENTIFICATION_ASSOCIATION is optional." into rvc-dev am: b35c0cd494
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11796048

Change-Id: I92e72ed9642f3a351729dd015ac17fc5a25341b0
2020-06-08 21:47:55 +00:00
TreeHugger Robot
cf9aeeee17 Merge "Clarified that USER_IDENTIFICATION_ASSOCIATION is optional." into rvc-dev am: b35c0cd494
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11796048

Change-Id: I5483cee9efce23082212aaea37ff9a80886fd54b
2020-06-08 21:43:06 +00:00
felipeal
04b84ed8b2 Clarified that USER_IDENTIFICATION_ASSOCIATION is optional.
Test: none
Bug: 157938045

Change-Id: Ie010a0452ce545457ff06223ebfe24cf6522f04a
2020-06-08 12:11:41 -07:00
felipeal
7a3d7c96fc Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request.
Bug: 158336360
Test: m -j android.hardware.automotive.vehicle@2.0-service && adb push $OUT/vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service /vendor/bin/hw/ && adb shell kill `pid android.hardware.automotive.vehicle`

Change-Id: I0b506ba5a4b53ada94bc4afc081d3e4222f5e92d
2020-06-08 12:06:16 -07:00
TreeHugger Robot
b2402c7664 Merge "Implemented CREATE_USER and REMOVE_USER on VHAL reference implementation." into rvc-dev am: d7940ccf2f
Original change: undetermined

Change-Id: Ied7f3e3938ce9ee321f9f7907f73d5eaf20b3560
2020-06-02 00:32:14 +00:00
felipeal
d1803412f6 Implemented CREATE_USER and REMOVE_USER on VHAL reference implementation.
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896585 a 1 i 666 i 1 && \
      adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal

Bug: 150408921
Bug: 150409600

Change-Id: If971c262ecaba604f55582b3ef0a850410d82ff9
2020-05-28 14:47:02 -07:00
TreeHugger Robot
e5d75fd8a6 Merge "Added userLocales to InitialUserInfoResponse." into rvc-dev am: 38cbff9027
Change-Id: I297bfd70e438318f263f4e6f2e06da49490218ff
2020-05-20 02:12:44 +00:00
TreeHugger Robot
e1d802ae43 Merge "Added userLocales to InitialUserInfoResponse." into rvc-dev am: 38cbff9027
Change-Id: I7810b73ae561314328883b98374073806048b6e8
2020-05-20 02:12:33 +00:00
felipeal
26d9314911 Added userLocales to InitialUserInfoResponse.
Test: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py  -l android.hardware.automotive.vehicle@2.0
Bug: 156611139

Change-Id: I0e296dc49f25087714e4dc1d6d4e302c63bedbc8
2020-05-19 17:06:40 -07:00
TreeHugger Robot
060b7b43e7 Merge "Implemented USER_IDENTIFICATION_ASSOCIATION on EmulatedUserHal." into rvc-dev am: e4e9daae6b
Change-Id: I04cc8f98b69316d2d68d5931d0dde92ae79277b7
2020-05-13 19:40:31 +00:00
TreeHugger Robot
e4e9daae6b Merge "Implemented USER_IDENTIFICATION_ASSOCIATION on EmulatedUserHal." into rvc-dev 2020-05-13 19:29:47 +00:00
TreeHugger Robot
63d0cf3641 Merge "Minor clarificaton on USER_IDENTIFICATION_ASSOCIATION doc." into rvc-dev am: 501169a9fb
Change-Id: Ic5f0cb5f0ac5a48e1ce984958b1de0ab7c7d44df
2020-05-12 20:43:44 +00:00
TreeHugger Robot
160bc8a0cf Merge "Minor clarificaton on USER_IDENTIFICATION_ASSOCIATION doc." into rvc-dev am: 501169a9fb
Change-Id: Ie22a52ab3598d5c975cf6a6252d4abaaad02fbb4
2020-05-12 17:26:38 +00:00
TreeHugger Robot
501169a9fb Merge "Minor clarificaton on USER_IDENTIFICATION_ASSOCIATION doc." into rvc-dev 2020-05-12 17:05:45 +00:00
felipeal
5a944183d6 Implemented USER_IDENTIFICATION_ASSOCIATION on EmulatedUserHal.
Bug: 150409351

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587  a 1 i 666 i 1 i 101 i 2
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --get 299896587

Change-Id: I4890ae5c0cea22bf024b1d7429449390237ab244
2020-05-08 19:04:40 -07:00
TreeHugger Robot
ec244dfe6c Merge "Register VHAL to car watchdog" into rvc-dev am: 9a3f5f02e9
Change-Id: Ic14828c422fd7fd66d42bf6f16065b567cc33c7d
2020-05-08 18:17:45 +00:00
TreeHugger Robot
fb76f51c2e Merge "Register VHAL to car watchdog" into rvc-dev am: 9a3f5f02e9
Change-Id: I08d1ae906391ae2807236c7c466c05fed5e695ad
2020-05-08 18:17:17 +00:00
TreeHugger Robot
9a3f5f02e9 Merge "Register VHAL to car watchdog" into rvc-dev 2020-05-08 17:58:15 +00:00
felipeal
00134a22c2 Minor clarificaton on USER_IDENTIFICATION_ASSOCIATION doc.
Test: none
Bug: 150409351
Change-Id: I4c8e11c118a503998736acb37259eb6aaea1c542
2020-05-08 09:48:29 -07:00
Eric Jeong
908101a9d9 Register VHAL to car watchdog
- For health checking, the car watchdog client attemps to get
PERF_VEHICLE_SPEED.
- If successful, it regards VHAL is healhty and responds to the car
watchdog daemon. Otherwise, VHAL will be killed by the daemon.

Bug: 154367059
Bug: 154262220
Test: dumpsys android.automotive.watchdog.ICarWatchdog/default and check
if vehicle hal is registered as a client

Change-Id: I2eb466550c56f25ba550ebbd35dc8fde9681ea59
2020-05-07 15:10:43 -07:00
TreeHugger Robot
2ea2b751ff Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev am: 30c37f1eb7
Change-Id: Ic3c4ea9a7fc14bbac66c32aaec70acbf82b1605c
2020-05-07 18:07:43 +00:00
TreeHugger Robot
88b6b55195 Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev am: 30c37f1eb7
Change-Id: Ib9308e5fa26bb377ee0cf75baa4ffbab44a8ec51
2020-05-07 18:07:17 +00:00
felipeal
4dda37e0d0 Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation.
Bug: 150409351
Test: m
Test: atest UserHalServiceTest UserHalHelperTest

Change-Id: I121b47f1cc0889259210de96007c3c0f82985e8c
2020-05-06 12:34:47 -07:00
Kai Wang
3a42087dbf Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104
Change-Id: I36678a91b0d72a68cfa51427d8eefb94cf3a2649
2020-05-01 22:59:40 +00:00
Kai Wang
737c377861 Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104
Change-Id: I1c2d4386571e8650ebe5e4894cf7b25cf860fa77
2020-05-01 22:59:27 +00:00
Kai Wang
89fe540104 Merge "Duplicate setting when generate fake data" into rvc-dev 2020-05-01 22:25:37 +00:00
Kai Wang
17978934b5 Merge "Revise documentation for tire pressure and max_defrost" into rvc-dev am: a5b75ddfb2
Change-Id: Iebd46d1c8de71aa929cfca08f2868c30c7fbd47a
2020-05-01 00:58:41 +00:00
Kai Wang
535997b9fa Merge "Revise documentation for tire pressure and max_defrost" into rvc-dev am: a5b75ddfb2
Change-Id: Idcdf45085710af833b83b43b70da8d3f715259b8
2020-05-01 00:58:29 +00:00
Kai
bb780f4875 Revise documentation for tire pressure and max_defrost
Use the max/min in areaConfig to indicate the recommended tire
pressure.
Explain areaId for HVAC_MAX_DEFROST

Bug: 153906683
Test: make and flash
Change-Id: Ie71279dba4e87efdec75934dcac1c86e22fffaa3
2020-04-30 18:56:27 +00:00
Hayden Gomes
d3c5c2b435 Merge "Fix AudioControl@2.0 fade check" into rvc-dev am: 331370012d
Change-Id: I0e1ac7b0c3b6964d70c63c04aa20c98e7cf75734
2020-04-29 17:48:30 +00:00
Hayden Gomes
5fbf64e33a Merge "Fix AudioControl@2.0 fade check" into rvc-dev am: 331370012d
Change-Id: Ied4a76be664eddaa890efecd0f9116834f6df7a2
2020-04-29 17:48:00 +00:00
Hayden Gomes
331370012d Merge "Fix AudioControl@2.0 fade check" into rvc-dev 2020-04-29 17:27:32 +00:00
Hayden Gomes
908a0a2d6b Fix AudioControl@2.0 fade check
Fade now checks isValidValue rather than !isValidValue

Bug: 155225937
Test: built ran and adjusted fade
Change-Id: I21b0dee8ebd677217b037c38cc744a77cf145709
2020-04-28 15:12:19 -07:00
TreeHugger Robot
d529e419dc Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876
Change-Id: I826c03b06e92c8e21da820b2226de78ad0aea1e3
2020-04-27 19:41:04 +00:00
TreeHugger Robot
7de2ac3171 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876
Change-Id: I2ea8162bba5ff9eaa5e7de85801107d3e1d3f9eb
2020-04-27 19:40:50 +00:00
TreeHugger Robot
d2115c9876 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev 2020-04-27 19:23:12 +00:00
felipeal
9c998c0720 Moved emulated User HAL capabilities into a library.
So it can be used by other Vehicle HAL implementations.

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --help
Test: m -j android.hardware.automotive.vehicle@2.0-emulated-user-hal-lib

Bug: 150167241
Bug: 150409377

Merged-In: I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0
Change-Id: I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0
2020-04-24 16:11:19 -07:00
TreeHugger Robot
e7997bd1ff Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0
Change-Id: Ic981e7f833ca7a7360336882bedd875d07fd2be7
2020-04-24 00:39:46 +00:00
TreeHugger Robot
04efab36b9 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0
Change-Id: Ic0357498717f7121cc1e85ee923af97c543b00d6
2020-04-24 00:39:37 +00:00
TreeHugger Robot
a772a420b0 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev 2020-04-24 00:23:34 +00:00
TreeHugger Robot
6ba63a1e6c Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722
Change-Id: Ib42464404d95b7eae51c9dacfde6ee5f95c6d1ed
2020-04-23 23:48:54 +00:00
TreeHugger Robot
4ee3d99007 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722
Change-Id: I2ee22516956b8ec8b5baf9ca5f0273637e6b5868
2020-04-23 23:47:57 +00:00
TreeHugger Robot
bb0349f722 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev 2020-04-23 23:26:20 +00:00
Felipe Leme
0fd963cad8 Minor corrections on USER_SWITCH documentation.
Also removed the hash check on Vehicle HAL files, as they're still being
worked on.

Test: m
Bug: 15249991

Change-Id: I214ebc9b5bbd71e5db1a1332296ceb4e426c50cf
2020-04-23 14:28:30 -07:00
Calvin Huang
94b7e04409 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7
Change-Id: Icbfab48f13c40a6f4e697879fa4edf5484e269e4
2020-04-23 20:41:14 +00:00
Calvin Huang
3c9af5eb07 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7
Change-Id: I3d0d89cb9b8b36a0e2428b867dcccf8a2be7a978
2020-04-23 20:41:01 +00:00
Calvin Huang
96ea2ce5e7 Merge "Add manifest to vintf fragments" into rvc-dev 2020-04-23 20:24:30 +00:00
felipeal
67664dfacc Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY.
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 i 1 i 1 i 2
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --get 299896587

Bug: 150409351

Change-Id: I5f05c1689abdeeffd1abcd0e85fd01b584501a2e
2020-04-23 12:54:09 -07:00
Jordan Jozwiak
8de5b31ff7 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7
Change-Id: If8ec9373e256476213d5743c7504b8e2d18fe705
2020-04-23 19:33:09 +00:00
Jordan Jozwiak
116cf1f04f Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7
Change-Id: I1bcf5205db44c6585ecab3b479cdf1b6a86e7884
2020-04-23 19:32:56 +00:00
Jordan Jozwiak
93f22c85c7 Merge "Add config for tire pressure display units" into rvc-dev 2020-04-23 19:19:54 +00:00
Jordan Jozwiak
7faa170ff1 Add config for tire pressure display units
Bug: 154751939
Test: aae app vhal apply google
// verify property included in dump
adb -s c3139966 shell dumpsys activity service com.android.car get-carpropertyconfig | grep TIRE_PRESSURE_DISPLAY_UNITS -A5

Change-Id: Id7a3ad7351db5a4f03ab3a29fa06e9c82321a44e
2020-04-22 14:38:52 -07:00
Calvin Huang
a653616f18 Add manifest to vintf fragments
Bug: 153734354
Test: Manual
Change-Id: I5f29cdacced0bdc0bf5a74f92ecda916f10bea06
2020-04-21 14:44:10 -07:00
Chris Weir
e1f9a37753 Merge "Undo symlinked libc++fs" into rvc-dev am: a1482062ec
Change-Id: I1f235b848566b501f5676842ed1c2f2f24945c72
2020-04-21 21:08:43 +00:00
Chris Weir
6a81001b94 Merge "Undo symlinked libc++fs" into rvc-dev am: a1482062ec
Change-Id: I69e5550ed833bbac5d2cde0ebf7d4ad086fd1877
2020-04-21 21:08:15 +00:00
chrisweir
0d69b72097 Undo symlinked libc++fs
Several features for auto need libc++fs, but the previous solution of
symlinking to external/libcxx would cause problems later down the
line. Instead, we will compile a separate version of libc++fs with a
different namespace, as to not interfere with the canonical
std::filesystem.

Change summary
===============================================================
directory_iterator.cpp:
-----------------------
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang-format (to reduce diff size)
* "" --> <> for non-local includes

filesystem_common.h:
--------------------
* FILESYSTEM_COMMON_H --> AUTO_FILESYSTEM_COMMON_H
* "" --> <> for non-local includes
* filesystem --> automotive/filesystem
* don't include apple_availability.h
* add using std::error_code
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* use namespace std::chrono
* use std::error_code, std::is_floating_point, std::micro, std::nano, std::ratio
* LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang format (to reduce diff size)

filesystem:
-----------
* _LIBCPP_FILESYSTEM --> _LIBAUTO_FILESYSTEM
* std::filesystem --> android::hardware:automotive::filesystem
* _VSTD_FS --> android::hardware::automotive::filesystem
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* Copied _FilesystemClock from chrono
* use namespace std and std::chrono
* use std::basic_string, std::enable_if, std::error_code, and std::false_type

operations.cpp:
---------------
* filesystem --> automotive/filesystem
* "" --> <> for non-local includes
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* _VSTD_FS --> android::hardware::automotive::filesystem
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang-format (to reduce diff size)
* fix "the the" typo (to pass lint)

Bug: 152067309
Test: Manual
Change-Id: I5551b3e634b85b4d7236e888de68740bfda6aad1
2020-04-21 11:19:28 -07:00
Calvin Huang
4d996b812a Merge "Add manifest for IVehicle" am: 0a8204f350
Change-Id: I99916cec11b823a0059589533a1f57c99bb8a243
2020-04-21 17:57:29 +00:00
Calvin Huang
b0341be5dd Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
Merged-In: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-20 20:50:14 +00:00
Calvin Huang
ad84b138cb Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c
Change-Id: Ie123467e4298da21ed6dfcc4daa937fb73e94185
2020-04-17 01:21:13 +00:00
Calvin Huang
d6ee0faa9a Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c
Change-Id: I2ba4740c6a76cdb84fce4ca638144bbb59c4a93d
2020-04-17 01:21:11 +00:00