Dan Shi
f2b950f470
Rename vts-core to vts
...
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Lakshman Annadorai
8eb03223e9
Update EmulatedUserHal to use UserHalHelper native library.
...
Bug: 150409377
Fixes: 167588307
Test: Tested using lshal commands in go/user-hal-emulation.
Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
(cherry picked from commit 92ad8215e7
)
2020-09-15 02:54:35 +00:00
felipeal
5d40b783d1
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
Bug: 167588307
Change-Id: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
Merged-In: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
(cherry picked from commit 3e9d442fa1
)
2020-09-11 17:43:34 +00:00
Felipe Leme
82120a8ce4
Merge "Add a native UserHalHelper library."
2020-09-11 17:43:04 +00:00
Felipe Leme
3e15feb00f
Added myself (A.K.A felipeal@) to OWNERS.
...
Test: N/A
Bug: N/A
Change-Id: Ic5921afceecb1869fcfeda5670b2465a85202cfc
2020-09-11 09:59:11 -07:00
Lakshman Annadorai
3568c5c3b7
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: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307
Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe
)
2020-09-11 16:06:42 +00:00
Xin Li
36dcf1a404
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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