Commit graph

664 commits

Author SHA1 Message Date
Antonio Kantek
69e6fc6e15 Merge "Introducing OEM partner custom input type (HW_CUSTOM_INPUT)" 2020-09-24 20:32:26 +00:00
Eric Jeong
90a29284e2 Add explanation to VHAL_HEARTBEAT property
Bug: 168132371
Test: build okay
Change-Id: I0755779b09ba830fae9f4017306740ec05b2f949
2020-09-23 09:41:20 -07:00
Lakshman Annadorai
bfaf79c9c6 Remove MIN and MAX checking for hidl_enum in UserHalHelper native library.
VehiclePropValue enums is not sorted by their values. Thus obtaining MIN and MAX values for this enum is O(N), which is the same as looping through all the values and checking whether a given int32_t is in the enum.

Test: Tested with `atest -c android.hardware.automotive.vehicle@2.0-utils-unit-tests`.
Bug: 168249409

Change-Id: I296a56e31caa7a5ee69eac49806810f83e46571e
(cherry picked from commit b7d50b91eb)
2020-09-22 21:54:42 +00:00
Kai Wang
551b891e9e Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev am: f10a9af711
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12600691

Change-Id: I8380ebf6cd987728cc52e8803b4c123b89a204cd
2020-09-22 02:40:01 +00:00
Kai Wang
f10a9af711 Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev 2020-09-22 01:50:03 +00:00
TreeHugger Robot
183480959a Merge "Remove MIN and MAX checking for hidl_enum in UserHalHelper native library." 2020-09-21 19:24:20 +00:00
kanant
a4573de71e Introducing OEM partner custom input type (HW_CUSTOM_INPUT)
HW_CUSTOM_INPUT is an input event to be defined by OEM partners.

Bug: 159623196
Test: atest CarServiceUnitTest
Change-Id: I6df5b292730079260af7c48c0d6e5748c5b3470a
2020-09-21 11:41:31 -07:00
Eric Jeong
d0d568fa21 Return immediately when prop is not found am: 3648ac967a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12640905

Change-Id: Ie6c4d68b6edcc9a9be54aa37044ad81a0cb28467
2020-09-18 23:40:04 +00:00
Eric Jeong
3648ac967a Return immediately when prop is not found
- when VHAL prop is not supported, getPropConfigs calls hidl callback
with INVALID_ARG and has to return.
- otherwise, there will be two callbacks invoked from VHAL.

Bug: 168834308
Test: seahawk should boot up
Change-Id: I41f5ddf26b9ba70221d59bae10d7ca9a2133a9eb
Merged-In: I41f5ddf26b9ba70221d59bae10d7ca9a2133a9eb
(cherry picked from commit 26abceefbe)
2020-09-18 16:13:41 -07:00
Eric Jeong
26abceefbe Return immediately when prop is not found
- when VHAL prop is not supported, getPropConfigs calls hidl callback
with INVALID_ARG and has to return.
- otherwise, there will be two callbacks invoked from VHAL.

Bug: 168834308
Test: seahawk should boot up
Change-Id: I41f5ddf26b9ba70221d59bae10d7ca9a2133a9eb
2020-09-18 12:14:54 -07:00
Lakshman Annadorai
b7d50b91eb Remove MIN and MAX checking for hidl_enum in UserHalHelper native library.
VehiclePropValue enums is not sorted by their values. Thus obtaining MIN and MAX values for this enum is O(N), which is the same as looping through all the values and checking whether a given int32_t is in the enum.

Test: Tested with `atest -c android.hardware.automotive.vehicle@2.0-utils-unit-tests`.
Bug: 168249409

Change-Id: I296a56e31caa7a5ee69eac49806810f83e46571e
2020-09-16 10:29:32 -07:00
Kai
b1aa30c3c1 Add configArray for Gear_Selection in google VHAL
ConfigArray in Gear_Selection indicates the supported Gear

Bug: 165942804
Test: build and check value in emulator
Change-Id: I4567031a072edda550b671bc190934d24d5b5eba
(cherry picked from commit a3b16c2d8e)
2020-09-15 20:35:56 +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
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
Kai Wang
770fa0e274 Merge "Add configArray for Gear_Selection in google VHAL" 2020-09-10 19:41:58 +00:00
Eric Jeong
81108e249c New health check in VHAL
- VHAL will not be a client to car watchdog.
- Instead, VHAL updates VHAL_HEARTBEAT periodically and car watchdog
determines VHAL's health based on it.

Bug: 165861394
Test: manual test
Change-Id: If84979ad4ed4dd60c18810b8ae17d6ed8e9bb132
2020-09-08 18:56:24 -07:00
Eric Jeong
c5cd6b7c6d Add vehicle properties to integrate car watchdog
- WATCHDOG_ALIVE to tell car watchdog is alive
- WATCHDOG_TERMINATED_PROCESS to pass a process information terminated
- VHAL_HEARTBEAT to signal that VHAL is alive
by car watchdog

Bug: 159912961
Test: build okay
Change-Id: I0498d525aa6465199f0b0011600234feaf7c4aa4
2020-09-08 18:56:03 -07:00
Kai
a3b16c2d8e Add configArray for Gear_Selection in google VHAL
ConfigArray in Gear_Selection indicates the supported Gear

Bug: 165942804
Test: build and check value in emulator
Change-Id: I4567031a072edda550b671bc190934d24d5b5eba
2020-09-01 21:49:33 -07:00
TreeHugger Robot
76907bbf13 Merge "Add INFO_MODEL and INFO_MODEL_YEAR default values" into rvc-qpr-dev am: 0e2072ce4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12371555

Change-Id: Id7365f87e72e454c7e6808369eee0a17de72435c
2020-08-19 21:21:51 +00:00
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
TreeHugger Robot
e3dcdbd09c Merge "Update EmulatedUserHal to use UserHalHelper native library." 2020-08-18 22:27:00 +00:00
Lakshman Annadorai
bfdb1ac607 Update EmulatedUserHal to use UserHalHelper native library.
Bug: 150409377
Test: Tested using lshal commands in go/user-hal-emulation.

cherry pick from commit I79486a715c92111d3d6f5c011b7e1cd8c5501c25

Change-Id: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
2020-08-18 14:18:18 -07: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
Jordan Jozwiak
ab17cc32d0 Merge "Add INFO_MODEL and INFO_MODEL_YEAR default values" 2020-08-13 15:48:25 +00:00
Jordan Jozwiak
5aa08b7d59 Add INFO_MODEL and INFO_MODEL_YEAR default values
Bug: 162611157
Test: adb shell cmd car_service get-carpropertyconfig | grep MODEL
Change-Id: Iff9f763aa624a2002b0dd326316410a93a47d5c0
2020-08-11 15:03:45 -07:00
TreeHugger Robot
93f1c342b7 Merge "Add a native UserHalHelper library." into rvc-qpr-dev am: d155658f1e am: 3c9fc82e34
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12240869

Change-Id: I3e2c2200a63fd9c79b2d65a0c034839a070b7003
2020-08-06 17:24:17 +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
TreeHugger Robot
91dfc8d8ec Merge "Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST" into rvc-qpr-dev am: 6e5eedbfef am: 8de72df496
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12182996

Change-Id: I52c09b0f79709567b1d5d2226e9d405d07fdab8c
2020-07-20 20:01:52 +00: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
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
Jooyung Han
b0907a6bb8 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
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
2020-07-02 09:18:17 +09:00
TreeHugger Robot
5d93b28a17 Merge "Yet more minor fixes on User HAL:" into rvc-dev am: f04be179a7 am: 59b6c890c2 am: 59f16828ee am: 237a045c40
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12000988

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

Change-Id: Ie8258d12aa91b519fb43ce1c9001b08fbece8aa3
2020-06-30 01:28:39 +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
6121bbec24 Fixed EmulatedUserHal::get(USER_IDENTIFICATION_ASSOCIATION). am: 1972df27b9 am: cd942acff5 am: 02e8cc070e am: b97720d992
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11940099

Change-Id: I1dd65979f7789c0780fa9e9d2b6a873a5836ddb8
2020-06-23 01:28:59 +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
9d54d1bd77 Merge "Added DISABLED flag to users flag for HAL" into rvc-dev am: 110f2bef7f am: 2334a510a5 am: c795ad208b am: 1446d6eee2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11870725

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

Change-Id: I7430f9bbabc4610c58ab8a23d946ae14e9d5476e
2020-06-19 02:17: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
Automerger Merge Worker
83db5f4795 Merge "Merge "Add server library build rules for both host and target" into rvc-dev am: c539468f28 am: 76b49a0c55 am: 2963a6d9ee" into rvc-qpr-dev-plus-aosp am: ac727b3487
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11889122

Change-Id: I779330fda0ad6958b8e802bb4217862082250a92
2020-06-18 23:12:29 +00:00
Hao Chen
3a4b3464ba Merge "Add server library build rules for both host and target" into rvc-dev am: c539468f28 am: 76b49a0c55 am: 2963a6d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11889122

Change-Id: I63924ea43eb256decedbb3de6ce8c58ec5f7fd04
2020-06-18 22:54:09 +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
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
ea1a923e6f Merge "Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request." into rvc-dev am: d5a237964f am: 5ba48ac055 am: 985b5f1272 am: ed31af02b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11764584

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

Change-Id: I8d8680ac68d3ffef232cfc892f661e989f2e7cf4
2020-06-10 21:01:47 +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
e9b2d1626b Merge "Clarified that USER_IDENTIFICATION_ASSOCIATION is optional." into rvc-dev am: b35c0cd494 am: cf9aeeee17 am: 8288f88e75 am: 1a27188b79
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11796048

Change-Id: I7f55be37a2f793593ee4e0de00b83e7fa8ceb763
2020-06-08 22:26:56 +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
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
9a13bb636a Merge "Implemented CREATE_USER and REMOVE_USER on VHAL reference implementation." into rvc-dev am: d7940ccf2f am: b2402c7664 am: f9aa2393c1 am: b9f933eef9
Original change: undetermined

Change-Id: Ic088228a54d786ce15579cbf409e58671b05c060
2020-06-02 01:32:47 +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
4ddca0ee82 Merge "Added userLocales to InitialUserInfoResponse." into rvc-dev am: 38cbff9027 am: e1d802ae43 am: b6cd63f089 am: e40eb84de1
Change-Id: I081ae74823935e8f3e0768808928cb9581794322
2020-05-20 02:57:51 +00:00
TreeHugger Robot
e40eb84de1 Merge "Added userLocales to InitialUserInfoResponse." into rvc-dev am: 38cbff9027 am: e1d802ae43 am: b6cd63f089
Change-Id: Iad5be59e424329845d7f76dbcf4bbd6603d94ba8
2020-05-20 02:46:12 +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
c0db26e34e Merge "Implemented USER_IDENTIFICATION_ASSOCIATION on EmulatedUserHal." into rvc-dev am: e4e9daae6b am: 060b7b43e7 am: da6c82ad30 am: 2f97dfbd22
Change-Id: I8df55a4f30188e9e5410fde4fddd293c41c5c623
2020-05-13 20:36:39 +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
02bc9f17cd Merge "Minor clarificaton on USER_IDENTIFICATION_ASSOCIATION doc." into rvc-dev am: 501169a9fb am: 160bc8a0cf am: 0b1cd30b8f am: e3ae35d5b7
Change-Id: I297364ff69a7c4ea3d440558aba0e9654f940df2
2020-05-12 18:41:11 +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
8486372379 Merge "Register VHAL to car watchdog" into rvc-dev am: 9a3f5f02e9 am: fb76f51c2e am: 88497fc7df am: 38085d542c
Change-Id: Ia2e05162d17cd25acd0b05fad2d27e5ca5ec3fc0
2020-05-08 18:57:47 +00:00
TreeHugger Robot
88497fc7df Merge "Register VHAL to car watchdog" into rvc-dev am: 9a3f5f02e9 am: fb76f51c2e
Change-Id: Icaa0be053ef263a50a1cb451b8d9b0f590029776
2020-05-08 18:33:35 +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
3b4ad91b1d Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev am: 30c37f1eb7 am: 88b6b55195 am: 2c4e2dd877 am: 067cf852ed
Change-Id: I289cd1177dd24c7904b82401d2542557604cffc2
2020-05-07 19:01:25 +00:00
TreeHugger Robot
2c4e2dd877 Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev am: 30c37f1eb7 am: 88b6b55195
Change-Id: Ia2a2857d54c5c3696f7bd63dd276e5898bc8764d
2020-05-07 18:32:36 +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
Felipe Leme
cec924166a Fixed cast.
Test: echo 'in TH we trust'
Bug: 150409351

Change-Id: Id7392551bcb08f3679c58fb4accc15088de0f05a
2020-05-06 21:32:05 -07: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
56ca0ee530 Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104 am: 737c377861 am: fef560ebc0 am: d0d789de48
Change-Id: Ie48a70f0728af694d7ada65a2c66971ba56a7a97
2020-05-01 23:50:20 +00:00
Kai Wang
fef560ebc0 Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104 am: 737c377861
Change-Id: I49de617f0a177a36d404ca85e46ea7d98f288341
2020-05-01 23:17:00 +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
92de0a4478 Merge "Revise documentation for tire pressure and max_defrost" into rvc-dev am: a5b75ddfb2 am: 535997b9fa am: 644b52e932 am: 4c488e9205
Change-Id: I21f268de7c9b803c571921d9484b155c2e14986f
2020-05-01 01:38:58 +00:00
Kai Wang
644b52e932 Merge "Revise documentation for tire pressure and max_defrost" into rvc-dev am: a5b75ddfb2 am: 535997b9fa
Change-Id: Ib31106cd4b64d02bca631c937babfeb26946cc7d
2020-05-01 01:09:09 +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
TreeHugger Robot
e10be3b4b8 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876 am: 7de2ac3171
Change-Id: Id9f4740f81a573ab658f89626078e4f66892b70e
2020-04-27 19:56:09 +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
felipeal
836842221a 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

Exempt-From-Owner-Approval: already approved on rvc-dev, need to submit here due to merge conflict

Change-Id: I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0
(cherry picked from commit 1847a9b25e191c8258522f30b6d4223458feebd1)
2020-04-24 23:09:37 +00:00
TreeHugger Robot
104c92216a Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0 am: e7997bd1ff am: cca31440ef am: a187ed332d
Change-Id: I772d7458d472d0c716a734f3ee4cdc7295010e68
2020-04-24 01:13:45 +00:00
TreeHugger Robot
cca31440ef Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0 am: e7997bd1ff
Change-Id: I41b8e7b6283e74f982549a5fcb486cf3bd1f97e3
2020-04-24 00:57:26 +00:00
TreeHugger Robot
1b3d00a560 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722 am: 4ee3d99007 am: cffea8bcc7 am: 377eee141b
Change-Id: Ibb520d55cedc8ad18b51bbb09ecf266506eb79cf
2020-04-24 00:50:52 +00: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
a772a420b0 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev 2020-04-24 00:23:34 +00:00
TreeHugger Robot
cffea8bcc7 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722 am: 4ee3d99007
Change-Id: I3686b6a0caae79eba0c481fe160182c36fb7af21
2020-04-24 00:19:30 +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
Calvin Huang
ed4bb9e1d0 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7 am: 3c9af5eb07 am: cf71ec955c am: e961adcb75
Change-Id: I2ccc2c38387cc3d864b0e22822470a3bf74394f8
2020-04-23 21:31:17 +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
cf71ec955c Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7 am: 3c9af5eb07
Change-Id: I63955b4db7c285e63f73872a3fad05a86ffc15dd
2020-04-23 20:57:16 +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
Jordan Jozwiak
2542fe9c35 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7 am: 8de5b31ff7 am: cde6e952a4 am: b3022ad86c
Change-Id: I16f431bcfdd3baa60f6ef21de5d9d69b5e4232ae
2020-04-23 20:12:35 +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
cde6e952a4 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7 am: 8de5b31ff7
Change-Id: I0b7798a57a15830208b64587687a8c89608ca831
2020-04-23 19:45:33 +00: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
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
Calvin Huang
43ca6c25d4 Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c am: ad84b138cb am: 76363ffeb5 am: 7b252da62a
Change-Id: I89b06e7f57b147fcce94088fc9cbcc3a6a48b81d
2020-04-17 02:25:59 +00:00
Calvin Huang
76363ffeb5 Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c am: ad84b138cb
Change-Id: Ia3e2a3cbf1c08f6870210bbcb964e1c717010116
2020-04-17 01:41:46 +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
a7f44eb83c Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-16 16:02:17 -07:00
Kai
56e5567aaa Duplicate setting when generate fake data
If the statusCode is Ok, we generate the fake data twice which will
break the test.

Bug: 143234180
Test: atest VehicleHALTest
Change-Id: I7754649fb4202239f9eca63a12bc8dd5f2a3d916
2020-04-13 18:11:14 -07:00
Hayden Gomes
db0f920adc Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c am: 0004813471 am: fbf06faecb am: b8f1fb89e6
Change-Id: I022564be49f859c717c4ecff3d9921844990a6f1
2020-04-10 17:27:19 +00:00
Hayden Gomes
fbf06faecb Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c am: 0004813471
Change-Id: Id43f6f0895ca4501302a17ef6caa96f6c88cf446
2020-04-10 16:29:39 +00:00
Hayden Gomes
0004813471 Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c
Change-Id: Ic5d6e807172e65480621cd9c2781c2f332a52869
2020-04-10 16:28:24 +00:00
Hayden Gomes
6eaedbae7c Merge "Adding android_filesystem_config.h import" into rvc-dev 2020-04-10 16:19:37 +00:00
Hayden Gomes
8261cac9e8 Adding android_filesystem_config.h import
Addressing outstanding todo in VehicleHalManager

Bug: 148098383
Test: m vts and atest android.hardware.automotive.vehicle@2.0-manager-unit-tests
Change-Id: I9a222077d0de91f8c7353c80d8a1aeff53cffa61
2020-04-09 17:17:31 -07:00
TreeHugger Robot
d2dd71446f Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3 am: 95a080b38c am: 01148c0fcb am: 9a0327997e
Change-Id: Ib2c98724dad29442d081cb6b94ea053ca8812cee
2020-04-09 21:59:57 +00:00
TreeHugger Robot
01148c0fcb Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3 am: 95a080b38c
Change-Id: Ie06a3eb402bd4415516a5f49edbd0380676305a1
2020-04-09 21:13:37 +00:00
TreeHugger Robot
95a080b38c Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3
Change-Id: I47fdd9bdab69346ffb8a1ee5aa9647e9a7f8b958
2020-04-09 20:47:58 +00:00
Hao Chen
37cd4646ac Move virtualization-specific proto definition to /device/google/trout
Test: build
Bug: 148816426
Change-Id: I5ea4a078d2733d0b5fc370211389ebc0488898ef
2020-04-09 18:20:15 +00:00
TreeHugger Robot
2bdbefa23f Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev am: 03a34b7964 am: 91c9d6f16e am: 0b46f3eb21 am: 0662d5a277
Change-Id: I9819a2ceec2a757a57777164db3cda4a674d5051
2020-04-07 21:34:12 +00:00
TreeHugger Robot
451ea9a14e Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev am: 03a34b7964
Change-Id: Icafe246cdc3bc69d55f9dc713bf59d04e7c2739d
2020-04-07 20:18:46 +00:00
TreeHugger Robot
03a34b7964 Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev 2020-04-07 20:05:47 +00:00
Calvin Huang
04df530681 Merge "Override VHAL property init value with json" into rvc-dev am: 0c8803cb75 am: 1fc6ac7c9d am: 4b56583b25 am: d609dc7886
Change-Id: If38405f94a3113ca049f0b3a597c5384f4898e06
2020-04-07 19:16:44 +00:00
Calvin Huang
d5608a2d5a Override VHAL property init value with json
Bug: 150978133
Test: Manual
Change-Id: Iaa45adad3712ca3cc325d52433048b3208109402
2020-04-06 22:07:02 -07:00
Hao Chen
efc31de2b6 Add filegroup for trout project to use VehicleHalProto definition
Other virtualization specific definitions and build rules will be moved
to /device/google/trout in the following patches. Keep them for now so
that we will not break the build.

Test: build
Bug: 148816426
Change-Id: I8a579346b55aa812db3dd30a34050c9515f7a68d
2020-04-06 16:27:15 -07:00
TreeHugger Robot
8024de7fcc Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev am: 5a8697164d am: 4d4556aacd am: 6bd37ccfa4 am: 7a9c5dcaae
Change-Id: Ifb913d4610d80cd8642ab3832581232a97a222bd
2020-03-31 00:59:12 +00:00
TreeHugger Robot
4d4556aacd Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev am: 5a8697164d
Change-Id: I94ff3ceec6ae85b25ea5f9f89526713f896cccb8
2020-03-30 23:58:28 +00:00
felipeal
eb5c657bc7 Implemented SWITCH_USER in the emulated User HAL.
Examples:

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
No InitialUserInfo response
No SwitchUser response

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896584 a 1 i 666 i 3 i 1 s "D\\'OH!"
Set property {.timestamp = 63698971001637, .areaId = 1, .prop = 299896584, .status = AVAILABLE, .value = {.int32Values = [3]{666, 3, 1}, .floatValues = [0]{}, .int64Values = [0]{}, .bytes = [0]{}, .stringValue = "D'OH!"}}

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
No InitialUserInfo response
SwitchUser response: {.timestamp = 63698971001637, .areaId = 1, .prop = 299896584, .status = AVAILABLE, .value = {.int32Values = [3]{666, 3, 1}, .floatValues = [0]{}, .int64Values = [0]{}, .bytes = [0]{}, .stringValue = "D'OH!"}}

Test: see commands above
Bug: 150409110

Change-Id: Id5b92774fccebbc39ed8d3f553df3f5aa30fc656
2020-03-23 09:43:34 -07:00
Kai Wang
e290b293d0 Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1 am: 668f6889dd am: e8b5b7b482 am: 5169e0b0f4
Change-Id: Ie4b312703a4348b42b0d3f087d7ac1efdd304e03
2020-03-18 19:05:55 +00:00
Kai Wang
668f6889dd Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1
Change-Id: I5ee32d0f9a88c46f021434dbb6270815bcbe74f8
2020-03-18 17:55:54 +00:00
Kai Wang
6780365567 Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1
Change-Id: I704d3a902c9077cddb3aa8be4a057371db7d3b6a
2020-03-18 17:55:37 +00:00
Kai Wang
e5a22f2fa1 Merge "Add timestamp for continuously property." into rvc-dev 2020-03-18 17:47:04 +00:00
Kai
47a9378d4d Add timestamp for continuously property.
Bug: 148960132
Test: 1. apply google vhal to device
      2. atest CtsCarTestCases:CarPropertyManagerTest

Change-Id: Ib6690b5e242287958017c87632f56a546d418674
2020-03-17 22:46:06 +00:00
Huihong Luo
034c9bc96e Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
Merged-In: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
(cherry picked from commit 5d463fdaaa)
2020-03-11 19:34:00 -07:00
Huihong Luo
ffb22ec965 Merge "Don't send brightness to car service inside Emulator" 2020-03-11 16:49:24 +00:00
Automerger Merge Worker
c70775f853 Merge "Bugfix: add "override" explicitly to make the compiler happy" into rvc-dev am: 8f3fee6216 am: 72d170ffb7 am: 104b9d3367 am: 1665d91e76
Change-Id: I2006463f0b03570c3a229362cb85b402008086e5
2020-03-10 22:01:38 +00:00