The flags field in UserInfo is a int32_t that contains multiple
UserFlags 'or'ed together. We should not parse it as enum.
Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 202520478
Change-Id: Ie7e81a8a5f39f6070e35f2e77bce88a211fd526b
This CL makes following changes to fix VTS failures reported on Seahawk
reference platform.
* Correct the definition of RawStreamConfig and its size constant.
* Update all test cases to use a stream configuration reported by the
target camera device.
* Update CameraStreamExternalBuffering test cases to take internally
allocated buffers into account.
Bug: 192460757
Bug: 199626993
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: Ia03775ae543617ba5057e91bbbb5aed9221d1a30
The stride was not correct for the fuzzer.
And the FormatConvert have some restructions
on the width and height.
- YUYV
width and height must be even nmber
- YU12
width mush be divisible by 16
height must be even number
Bug: 202641239
Test: FormatConvertFuzzer_copyYV12toBGR32
Change-Id: I45ebea3e22854bdad037abb742fbdbe364b19ec5
It now specifies that the micrometers-per-wheel-tick values are static
and approximations.
Test: None
Bug: 169364681
Change-Id: Ia002bdcf7c9a91d82d8f6d543d2476d227256046
Merged-In: Ia002bdcf7c9a91d82d8f6d543d2476d227256046
(cherry picked from commit c0653a4452)
CRITICALLY_LOW_TIRE_PRESSURE is a seat type property. Added areaId into
the property config.
Bug: 174585018
Test: atest AtsCarHostTests
Change-Id: I260b9e79844f44cad31efcf510301af0ee6227a1
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
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)
Now support int64, float and bytes.
This CL also allows setting read-only properties or reading
write-only properties through cmdline. The cmdline debug interface
is for test only and does not need to enforce these restrictions.
Test: unit tests.
Bug: b/189969547
Merged-In: Ib0e085f7a68e3d54782c21fb12caa500a0ad82ec
Change-Id: Ib0e085f7a68e3d54782c21fb12caa500a0ad82ec
(cherry picked from commit 8ae3ea9813)
Update test case - CameraStreamExternalBuffering
Use native resolution instead of fixed test buffer 640x320
Bug: 190127973
Test: Manually run VTS on seahawk
Change-Id: I11043af4215fb9c5a2658591e9bdf9e468542a1b
Emulator does not support vehicle binding seed property,
but it reports it supports it. Remove it for now.
Otherwise the vehicle binding utilities will try to set the
vehicle binding seed but that will not be saved anywhere
in the emulator.
Test: manual
Bug: 157501579
Change-Id: I9e8ad382a49e1108e0e25d6eee94b24d766264e8
Merged-In: I874e94b06fe675a96e5b15c9bff087023b4ea109
Vehicle HAL required before storage encryption can get unlocked
when using vehicle seed binding with ECU.
Test: manual, check vehicle-hal starts in early_hal from logcat
Bug: 157501579
Change-Id: I88db77fbb1d04577b999b47e6f8dc4df1b300832
Setting hvac properties might have a lot of dependency issue.
Uses other properties for testing set method.
Bug: 189948885
Test: atest VtsHalAutomotiveVehicleV2_0TargetTest
Change-Id: I715e9ce68e9e81618cdc6b433f0c108ebc057610
So that the client side may use the utilities without introducing the
"default configs". "default configs" should only be visible to the
server, and the vehicle hal server will take care of configs.
Test: build and unit tests
Bug: 188005769
Change-Id: If418dcdd1c5b261179104bb414c52f3eb04d3ea8
- This is the cause of the inital empty Cluster VHAL messages.
Bug: 186455827
Test: Check the size of Cluster VHAL arguments by the logcat.
Change-Id: I5703295c163af4bcc27bd7c41ff32eafcffcead3
- Previously it can specify the size only, but we'll change the argument
to set the rectangle area (to be able to set the starting position).
Bug: 173454429
Test: it builds
Change-Id: I15329983e1af4de82a474f5c3e803905f4742848
- The target code is compiled with the libary, so move the definition
to the libary.
Bug: 181802283
Test: check if ClusterOSDouble gets the vendor messages.
Change-Id: Id501be674844bda73ccf5ae74d97a363869db7b7
Address the requests from google Assistant team:
Add CRITICALLY_LOW_TIRE_PRESSURE to indicate critically low tire pressure
Add HVAC_TEMPERATURE_VALUE_SUGGESTION to let OEMs suggest temperature
value for android.
Bug: 116673704
Bug: 174207039
Bug: 157608587
Bug: 161831228
Bug: 174202040
Test: Use "adb shell cmd car_service get-carpropertyconfig" to check if
the properties are added in google HAL.
atest VehiclePropertyIdsTest
Change-Id: I46b71bc44cfef64755109dd460777f36dd1d2767
The vhal is the only user of this library and
this library is deprecated.
Bug: 175046060
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I0948ee43f476b002b2a643cbae95e333bcbc373d
- We'll reroute the Cluster VHAL messages to vendor ones, so that our
ClusetrOSDobule can receive them through the vendor properties.
Bug: 181802283
Test: check if ClusterOSDouble gets the vendor messages.
Change-Id: Iee71e7453bec6a633b94aa7f56e8ceec5fc7b9bd
Allow applications to know whether a Japanese ETC Card Reader is present,
and whether a valid ETC card is inserted to the reader.
Bug: 171751885
Test: check properites in kitchensink
atest CarServicesTest
atest VehiclePropertyIdsTest
Change-Id: I9e9135b2eb0d2e701413dcc1b964e193a47d7b19