Specified that maxValue must be equal to (numSeatPositions - 1).
Bug: 262358054
Test: manual build
Change-Id: I41304f5ca0dc4d997543a0f059c7486f179e5526
Add script to generate vehicle properties metadata file
for use with emulator's vehicle tab.
Metadata includes:
- names of the properties,
- names for the data enum values
- change and access modes
Change-Id: Ica1df3466b7965916d11adc513f6472d439e1119
This implementation is used for the emulators.
Bug: 218588089
Bug: 270753093
Test: 1. Build cf_x86_64_auto lunch target
2. Launch cvd in the accelerated graphics mode
3. Run evs_app and confirm the color bar pattern is shown on the
display.
> adb root && adb shell evs_app --test
Change-Id: I8179e74fc9f0b9547316368fca507e5c62ca5680
first sentence in HAL docs
The terms that are capitalized have associated acronyms.
Bug: 264476063
Test: presubmit
Change-Id: I595bdae60ec86516c95e31467b20062c8e33ebaa
When enabling wifi on seahawk, the main network interface changes
so we need to explicitly specify the eth interface we want to
use for our grpc connection.
Note that using setsockopt requires NET_RAW permission which is
only granted to limited apps. As a result, selinux permissive
mode is required for this CL to work.
Test: Manual test on seahawk, verify grpc is connected okay.
Bug: 261108682
Change-Id: I95c9f796bf40226b612edf284188ffc6d095086f
AudioOffloadMetadata contains the same information
as 'AUDIO_OFFLOAD_CODEC_*' framework parameters.
It is updated via a new method IStreamOut.updateOffloadMetadata
which only works for compressed offload streams.
Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I6c8a8853f216438284082f79e3f57e511a2a1f06
Merged-In: I6c8a8853f216438284082f79e3f57e511a2a1f06
AudioOffloadMetadata contains the same information
as 'AUDIO_OFFLOAD_CODEC_*' framework parameters.
It is updated via a new method IStreamOut.updateOffloadMetadata
which only works for compressed offload streams.
Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I6c8a8853f216438284082f79e3f57e511a2a1f06
Merged-In: I6c8a8853f216438284082f79e3f57e511a2a1f06
This test was flaky on cf. Increase the tolerance to make it stable.
This CL also modifies subscribe test to not rely on sleep to make
it stable.
Test: Presubmit
Bug: 268603744 270074790
Change-Id: I4a8003be152ef0a1f409f3705892fffee58170dd
- DISPLAY_BRIGHTNESS can send a brightness to be applied on one display.
- On multi-display devices, brightness of each display should be
communicated separately to VHAL.
- PASSENGER_DISPLAY_BRIGHTNESS is added to serve that purpose.
Bug: 269186221
Test: build okay
Change-Id: I749ecd451afc4f24039f6e594860f1cb0fcf3509
(cherry picked from commit b9748bad63)
Merged-In: I749ecd451afc4f24039f6e594860f1cb0fcf3509
This change for WindshieldWipersState, VehicleOilLevel, and
TrailerState aligns the documentation in the HAL with the API level.
Bug: 269329431
Test: presubmit
Change-Id: I115ac9a6f03c051b0de526e60a44dca41220533f
Added documentation for vendor code of 0 as well as changing the value
of vendor codes to be from 0x0001 to 0xffff
Bug: 268748245
Test: manual
Change-Id: I355524acc0094bbf3ecd5183df77cbeea82d55b1
To make the sensor embedded data available to EVS clients, this change
adds new fields to BufferDesc and declare necessary data types.
Bug: 191939108
Test: build
Change-Id: Iaa41554e49c7ff30c11d391b00eae12dfef9e99b
* changes:
Added CRUISE_CONTROL_COMMAND to HAL layer.
Added CRUISE_CONTROL_STATE to HAL layer.
Added CRUISE_CONTROL_TYPE to HAL layer.
Added EMERGENCY_LANE_KEEP_ASSIST_STATE to HAL layer.
Renamed ADAPTIVE_CRUISE_CONTROL_ENABLED to CRUISE_CONTROL_ENABLED in HAL
* changes:
Adding VTS tests for IAudioControl#registerModuleChangeCallback
Add default implementation for dynamic volume config feature
Adding support for dynamic audio gain config
Define in-vehicle network android device HAL.
This HAL is used for providing run-time information about other
connected Android devices in the same vehicle for multi-soc use
cases.
Test: m android.hardware.automotive.ivn-update-api
Bug: 258494092
Change-Id: I0b16e17b04e3470ad8f05d36daac3052f004a53f
- new dumpsys cmd "--audioPortChangeCallback" to trigger AudioPort
callback. For now, limited to AudioGain stage updates only.
- AudioPort callback will carry the new gain stages information to
the framework.
Bug: 261647905
Test: VTS
Change-Id: I404bde3671bf1ad39d1cb091ebf63d1049edec34
Signed-off-by: Raj Goparaju <rajgoparaju@google.com>
Automotive OEMs need a mechanism to update vehicle-based
audio port configurations during run-time. This can be
achieved mostly through core audio hal aidl interface,
namely IModule::getAudioPorts(). However it also limits the
ability of audio hal since it is expected to maintan unchanged
configuration for given audio device ports and have it
available before audio framework initializes, which is
not always the case.
The following usecases are under consideration for this
feature:
1. Audio gain stages updated at end-of-line/factories as
runtime configurations.
2. Audio gain stages are stored outside of android partition
(example - an external amplifier) and needs dynamic query
post boot up. Availability at service init is not guaranteed
since ECU lifecycles are not necessarily synchronized.
3. Audio gain stage updates based on user subscriptions
to enable advanced signal processing capabilities.
This change:
- Adds a new set-api for callback to report changes to
audio hardware module. It is expected that in future the
same interface can serve as callback to multiple categories
of configs (other than audio gain stages).
- Adds a new clear to remove callbacks.
- Adds a new callback interface for changes to audio port
configs. For the time being, car framework shall only support
changes to audio gain stages.
Bug: 261647905
Test: VTS test
Change-Id: I5891e324f2d909a9c5fe30c47ad30e23e74ec6c4
Signed-off-by: Raj Goparaju <rajgoparaju@google.com>
* changes:
Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
Add HAL changes for LANE_DEPARTURE_WARNING_STATE
Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
Add HAL changes for LANE_CENTERING_ASSIST_STATE
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 264946039
Test: presubmit
Change-Id: I06092b1571aaa63ab165a8e2a2d04f9d57eccb64
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 264946034
Test: presubmit
Change-Id: I720dd691bc859d3113fa48f0f5b9a0b4a909d952
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 264336118
Test: presubmit
Change-Id: I28de0aceaabb33647085d80b79da215da4a146cf
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 266998630
Test: presubmit
Change-Id: If1acfe2454d552b2339c636cd7d790fa42f3bc10
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 266998630
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneDepartureWarningStateTest
Test: atest AndroidCarApiTest:LaneDepartureWarningStateTest
Change-Id: Ic26fcfe8b41bb44a851daf59d64f0ceb536333c3
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 264946042
Test: presubmit
Change-Id: Idfd427fb69948f81307c29acd6285826e2cada99
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 264946042
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneCenteringAssistStateTest
Test: atest AndroidCarApiTest:LaneCenteringAssistStateTest
Change-Id: I3f805bedff35eef2731a7d9fc0bec593e3c639a3
Temporary errors should be conveyed through ErrorState values in the
STATE property.
Bug: 264946157
Test: presubmit
Change-Id: I1ac2d570ff47efb879acdef110e9775baf6cea4b
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 264946157
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneKeepAssistStateTest
Test: atest AndroidCarApiTest:LaneKeepAssistStateTest
Change-Id: I60ea32b21dc79d692eeb733e4b38deb16a3231f2
Update supportedEnumValues array for ADAS STATE properties with new
state. Adjust defaultValue to a more sensible value for ADAS
properties.
Bug: 267174892
Test: presubmit
Change-Id: I2e2c130524156a8ef302ea774ce4dcbfe1260c4a
Added NOT_AVAILABLE_POOR_VISIBILITY to ErrorState enum between
NOT_AVAILABLE_SPEED_HIGH and NOT_AVAILABLE_SAFETY to be consistent with
StatusCode.
Bug: 267174892
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest AndroidCarApiTest:ErrorStateTest
Change-Id: Iad0edb555c7d0f6c3f4570cb489663e65eb08fd4
VehicleUnit contains MILLI_SECS in types.hal but not in
VehicleUnit.aidl.
Bug: 267556675
Test: atest VehicleUnitTest
Change-Id: I9616ab75575da32b108e1fca811357ea7464b12d
Add NOT_AVAILABLE_DISABLED, NOT_AVAILABLE_SPEED_LOW,
NOT_AVAILABLE_SPEED_HIGH, NOT_AVAILABLE_POOR_VISIBILITY,
and NOT_AVAILABLE_SAFETY StatusCode definitions.
These were added to support ADAS properties, but could
be used for non-ADAS properties.
Bug: 263294718
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic3a8cd30f1fb0f7b0300cc77ab8ca7cb66b15316
An implementation of BLIND_SPOT_WARNING_ENABLED should return false when
there's an issue with the ADAS system and it cannot retrieve the
property. It should not return NOT_AVAILABLE.
Bug: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I3f8765b9bbaa96931dd2ae0bab1c8fbc913b261c
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.
Bug: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:BlindSpotWarningStateTest
Test: atest AndroidCarApiTest:BlindSpotWarningStateTest
Change-Id: Idc64af44ecdf33ee5c89d3bf7d303498d80a0d14
Since 1 new ACC property had been introduced, we decided to shift the
unique IDs of all the ADAS properties that come after it, namely the HOD
and Driver attention monitoring properties, by 1.
Bug: 266850785
Test: atest CarPropertyManagerTest
Change-Id: I63e296c03dbac678eaed6e35d68c8cacc383f949
An implementation of AUTOMATIC_EMERGENCY_BRAKING_ENABLED or FORWARD_COLLISION_WARNING_ENABLED should return false when there's an issue with the ADAS system and it cannot retrieve
the property. It should not return NOT_AVAILABLE.
Bug: 264946034
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ieddbcdf766543cfb94cb5b295b22ac4369641c81
Let's move canhalconfigurator-aidl from the system partition to the
system_ext partition to share a common system image across internal
AAOS builds.
Bug: 263516803
Test: build and confirm the files are relocated
Change-Id: I54a65f49daff1ff4730056bc83b7dc57c836509d
Let's move canhalconfigurator from the system partition to the
system_ext partition to share a common system image across internal
AAOS builds.
Bug: 263516803
Test: build and confirm the files are relocated
Change-Id: Ibd68797aa9356e3e80662442434d939eca955576
A test case closes the EVS display explicitly to make sure an associated
EGL surface is destoryed before running a next test case.
Fix: 266098494
Test: atest VtsHalEvsTargetTest
Change-Id: I4079242884ed436bca95c983b3e4475f2cef1464