History log of /hardware/libhardware/include/hardware/vehicle.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ca8f0ecb4adfaecfead6b18e7ba4196f90791d9 11-Oct-2016 Vitalii Tomkiv <vitalit@google.com> Add zone types to vehicle.h definition.

To handle all zone types properly zone types have to be defined in
vehicle.h.

bug: 32067249
Test: build locally
Change-Id: I3e9d19bcb090ee2c6edd70835b1268eeca224479
(cherry picked from commit 9101e11aecadea8c12c1f305f0f54f52dc00f366)
/hardware/libhardware/include/hardware/vehicle.h
76c9c0f511c56be8585ce59cc9a25b7d961f0c88 07-Oct-2016 Steve Paik <spaik@google.com> Remove driver seats from vehicle.h

It makes no sense to make distinction between RHD and LHD.

Test:manual
Change-Id: Idf3a9f49f27365ae4582dc1ab6b8d64b0ca5977a
/hardware/libhardware/include/hardware/vehicle.h
983e9290d29cd44846dd7996115f4f80a00e8076 21-Jul-2016 Steve Paik <spaik@google.com> Fix seat temperature access mode

Test:manual
Change-Id: I2e9af58c09f0bf2a3169b3ab7e9f34cef8e8776b
/hardware/libhardware/include/hardware/vehicle.h
5052d318a361ba3ecc7a40e949a769163900302e 15-Jul-2016 Steve Paik <spaik@google.com> Cleanup vehicle.h

Test: manual
Change-Id: I0d975f4b1527cf8a02d8cc282592f770a340f976
/hardware/libhardware/include/hardware/vehicle.h
bfbbb67d7167faaadaf0bb8c6079e780c4524aaa 09-Jul-2016 Steve Paik <spaik@google.com> Add missing HVAC properties

BUG: 28350886
Test: manual
Change-Id: Ic9ce3060e478b6a504e0cfe9d5ca9ea5babb4c7c
/hardware/libhardware/include/hardware/vehicle.h
ada1669a4a49e6152eab4c55682cd6e71597e1bc 08-Jul-2016 Steve Paik <spaik@google.com> Fix typo

Change-Id: Ie555b75c2fd361edfe1f2248611f53e6776aa6e3
(cherry picked from commit 83324d7fa6b2b7ed56d1d4c0aa4a0e68bf7e88df)
/hardware/libhardware/include/hardware/vehicle.h
fd1f21bbeb2fbe0f8e853fe983457804f5389ac1 11-Jul-2016 Keun-young Park <keunyoung@google.com> Merge "Add properties to support Car Cabin Manager"
f752fe1c7eb8a90666c6ee272d8408310f7cb212 11-Jul-2016 Keun-young Park <keunyoung@google.com> Merge "add AUDIO_EXT_ROUTING_HINT"
e588bae4023509bbcc485ed57e1bd35c30d5ebd1 30-Jun-2016 Steve Paik <spaik@google.com> Add properties to support Car Cabin Manager

Change-Id: I7a6719340b870498d76060831186066573b57d72
(cherry picked from commit 2741c89fe86cf0340413d790f8fa8725fdc3b9ae)
/hardware/libhardware/include/hardware/vehicle.h
726122aa67d5466a0649f8728298e09f38da6e5d 28-Jun-2016 Keun-young Park <keunyoung@google.com> add AUDIO_EXT_ROUTING_HINT

- audio routing for external source will be passed
through this property before audio focus is requested.
- Actual routing change should happen only when audio
focus is changed.
- Supported ext routings are passed through config_string.
This allows supporting custom routing for specific H/W.

bug: 29601910
Change-Id: If43e2413f9645631477bc4480f45e1d2e5ba5e8c
(cherry picked from commit c5b9436c17362da6be035b73c56c41b897b4261e)
/hardware/libhardware/include/hardware/vehicle.h
e086bd7382eec2bf63044601b12107dddee2d90b 24-May-2016 Keun-young Park <keunyoung@google.com> allow master volume only volume control

- some H/W cannot support multiple volumes.
- also chage doc which broke vehiclehal_code_gen.py

bug: 28175862
Change-Id: I26799838fc9154e695d93c38c4fa75b0982f59a9
(cherry picked from commit 17a2e849f304fffe6bc79bb00067a7fe3ad14673)
/hardware/libhardware/include/hardware/vehicle.h
da3cb916eef24eba422f5f2063d117373603896c 12-May-2016 Keun-young Park <keunyoung@google.com> add ON_SET change modes with additional cleanup

- ON_CHANGE: added further clarification on behavior with set
- ON_SET: This is for property where event will be sent
only when it is set from outside android.
Good example can be a clock. There is no need to send time every time
it is updated (it will keep increasing per each sec) as android side
only needs to synchronize it at once during boot up.
This property needs to send events only when user other components
sets it from outside android.
- add audio contexts to audio focus response so that ON_CHANGE model
works for it.
- drop CONTINUOUS from HVAC temperatures.

bug: 28742600

Change-Id: I7f0a110e2c15626681328dcea61b8c0e7bb6a9ff
(cherry picked from commit 7eb5ffdb14e7b0aebd3a635028b464f8a4a200f0)
/hardware/libhardware/include/hardware/vehicle.h
d432fc0075d2ce84592eadc5e49e01d1723587c0 12-May-2016 Steve Paik <spaik@google.com> Add support for clock from vehicle

BUG: 27972005
Change-Id: I4cd190abfae61f10eb159dc82b135b473a8fbac3
(cherry picked from commit f4a296e4554f2833a8cb39d837646748139a7642)
/hardware/libhardware/include/hardware/vehicle.h
670e7abe9000eb6308263fb2351bb7d4003dbf04 30-Apr-2016 Steve Paik <spaik@google.com> Add hvac.auto_on

Change-Id: Ied16b051f2f409801a68f3fb313aa3f0ad4613cc
(cherry picked from commit 8acaaa69f16486d4440a333a68d8e4f610ff43ff)
/hardware/libhardware/include/hardware/vehicle.h
25b47f3903850c4bf1882974ed57d8e6d46912d5 26-Apr-2016 Keun-young Park <keunyoung@google.com> clarify set failure due to power down am: f709758 am: 293ccbc
am: ef5f82f

* commit 'ef5f82f583218effe5672c79db35862fb91185df':
clarify set failure due to power down

Change-Id: Idf7e723b8673a7f9c1618d7bf3cc09ba415c5b58
7cb258e5defa74d421cb5e19fecc0ac0f81546e2 26-Apr-2016 Keun-young Park <keunyoung@google.com> errata: ZONED_INT to ZONED_INT32

Change-Id: Ib7c688ece7ddfe372ffd6eae406bd7c82d00a09b
(cherry picked from commit eb2d8ff73b8a7cd8e4e61b2835dc24952632c8a7)
/hardware/libhardware/include/hardware/vehicle.h
f7097585dca47b8124c5c9e31cd8d381f1c1c97d 26-Apr-2016 Keun-young Park <keunyoung@google.com> clarify set failure due to power down

- some properties can have separate propety control power state
and setting such property when it is powered off should
lead into returning error from hal. Define -ESHUTDOWN as
error code to use in such case.

bug: 28385609
Change-Id: I41c1519ad00b43a83f3aa4e5f0627d75d87a960b
/hardware/libhardware/include/hardware/vehicle.h
cc9e2926e62ba513b21a58fd3945aa6a2bd198b0 21-Apr-2016 Steve Paik <spaik@google.com> Add seat properties, HVAC_AUTO_ON

Change-Id: I1ced22cd5466e5b5228c62867db8110552df9aeb
(cherry picked from commit dcde6478db2199af9b20301177e152e9d947da77)
/hardware/libhardware/include/hardware/vehicle.h
ecf21d78cf79f1cadda58497b06cfaf94c52441e 23-Apr-2016 Keun-young Park <keunyoung@google.com> make some HVAC properties zoned am: f1ccec1 am: a69cb8e
am: aae2e6f

* commit 'aae2e6fa6a0c4ba095c237f411a9591a30bbe533':
make some HVAC properties zoned

Change-Id: If9e6f65bcd21871ac3b98e99f79e8c94ae0889a7
f1ccec1dd1f71f841fe1577c2df29ff4157cb3d1 22-Apr-2016 Keun-young Park <keunyoung@google.com> make some HVAC properties zoned

- some cars supprot them as zoned property
- If there is only one global control, only one zone (VEHICLE_ZONE_ALL)
should be declared for the property.
- also fixed errata in VEHICLE_FLOAT_OUT_OF_RANGE_OFF

bug: 28285692
Change-Id: I35c81fef70d7dff080da9dd52c8d0bb97727e94b
/hardware/libhardware/include/hardware/vehicle.h
3b95d97a40049698b3aac90d6436206ade6cc943 07-Apr-2016 Keun-young Park <keunyoung@google.com> vehicle hal further clarification / HVAC update am: 418c7e8
am: fe04ac8

* commit 'fe04ac8365df1308c4dea1e5ead1fbd69cad88f9':
vehicle hal further clarification / HVAC update

Change-Id: I47a8e150834b8c5fb1cf2a6c41c9a50eea08fb91
418c7e8fc981d282d15f0b5a9c8979b696842671 06-Apr-2016 Keun-young Park <keunyoung@google.com> vehicle hal further clarification / HVAC update

- added HVAC_POWER_ON property
- added special INT / FLOAT OUT_OF_RANGE values for
max / min / off state
- added dump call for debugging: necessary for debugging
- clarified subscribe behavior for ON_CHANGE type
VNS will make additional get call for checking initial
state.
- added clarification on possible -EAGAIN for set call
- added mute flag to allow muting radio from android

bug: 27721415
bug: 28022648
bug: 27971383
bug: 27971578

Change-Id: Ie9a7334b86ab53174b91a4dc651fd87ca17af3d9
/hardware/libhardware/include/hardware/vehicle.h
d8b67ad09526521389012a39edc01a9e35f957d4 29-Mar-2016 Keun-young Park <keunyoung@google.com> Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev am: 7d2576f
am: a97a998

* commit 'a97a998c7f847cd6fb855a44902d9075a90d798a':
fix wrong description in AUDIO_HW_VARIANT

Change-Id: I805b74f451a79795c5f774bcb29449ad0cd9fd55
637fb20bd13da9f8d053c035adc56199f8957c05 29-Mar-2016 Keun-young Park <keunyoung@google.com> fix wrong description in AUDIO_HW_VARIANT

- simplify it as external vs internal radio

bug: 27898442
Change-Id: I31c6984caf902566c65b1911a59d58c98e19e25b
/hardware/libhardware/include/hardware/vehicle.h
254dbce0954e669d8c4d1e60cddd74e92e66d7eb 28-Mar-2016 Keun-young Park <keunyoung@google.com> add clarification for focus response

- Focus response should be always sent when there is a
focus request.
- Otherwise, focus request will time-out and will
leads into focus reset.

bug: 27874358
Change-Id: I9e55d0183e9b0623871103107f2e7a475d4808c3
(cherry picked from commit 972dbb9e4ff75380bac35a8f24d1a013f6290184)
/hardware/libhardware/include/hardware/vehicle.h
12a3c017f84ee84d2ed8df090cc2af2738ae0713 24-Mar-2016 Keun-young Park <keunyoung@google.com> add more config to audio volume depending on H/W

- some H/W can support volume in audio context level.
- some H/W can support volume per each physical streams only
- some H/W may have permanent storage for volume. In that
case, that volume should be used as a master volume in android
side.

bug: 27744968
Change-Id: Id0ac529d57d148f1df718fa7726df2b2bf170553
(cherry picked from commit ad82bb0508889638b73c0ce80717e8a0ebb05cff)
/hardware/libhardware/include/hardware/vehicle.h
ab68e37c35459a4b97b585759f159a139a8436d2 11-Mar-2016 Keun-young Park <keunyoung@google.com> vehicle hal update

- add release_memory_from_get to allow hal to release
memory it has allocated in get call
- clear get call's behavior: If data is not available, should
return immediately with VEHICLE_ERROR_NOT_READY error
- make zone separate in vehicle_prop_config_t and
vehicle_prop_value_t: Handing of zoned property becomes
simpler
- cleanup some data type definitions for zoned properties

bug: 27597338, 27596281
Change-Id: I7a8454b86555270fb2211e5d36b3ee06d350f8ed
/hardware/libhardware/include/hardware/vehicle.h
77761e24f9b82101ec78ed55b93d3371741dfc4e 09-Mar-2016 Keun-young Park <keunyoung@google.com> GEAR_* rename

- change to GEAR_PARK and GEAR_LOW
- also remove some build warnings

bug: 27549456
Change-Id: I9062c4570afe5cacd6a17f1cb196273a719b0a97
/hardware/libhardware/include/hardware/vehicle.h
5e8f9f511dee65a77f7b5573c5775f5ae61672f1 08-Mar-2016 Keun-young Park <keunyoung@google.com> Revert "rename to GEAR_PARK"

This reverts commit ce1984bae83a98f64402170155ac3f43f237cc11.

Change-Id: Idec855af374e1faf537148181751b91ef8c9a980
/hardware/libhardware/include/hardware/vehicle.h
ce1984bae83a98f64402170155ac3f43f237cc11 08-Mar-2016 Keun-young Park <keunyoung@google.com> rename to GEAR_PARK

- from GEAR_PARKING

bug: 27549456
Change-Id: Ifc978c437e989742ad1957633e870ccd1a304db0
/hardware/libhardware/include/hardware/vehicle.h
9f376f50a15608ba3ea0ae9c178e7129b0c685af 04-Mar-2016 Keun-young Park <keunyoung@google.com> fix missing FLAG in audio_context_flag

bug: 25183740
Change-Id: I7b73617e06ad40435f4f6f8952b230703563d192
/hardware/libhardware/include/hardware/vehicle.h
fe599a890bfdedf114f89bdf43154e97ac670f88 12-Feb-2016 Keun-young Park <keunyoung@google.com> vehicle hal update

- add *min_values for zoned properties
zoned properties can specify min/max value either
by setting *_min/max_value or by setting *_min/max_values

When array version is not used, it should be set to NULL.

When array version is used, its length should match with
supproted zones in config_flags.

- add RADIO flag to audio context

- add INSTRUMENT_CLUSTER_INFO property to give informaiton
on instrument cluster
Graphic type can send notification on the currently available
area as mode.

- move audio context info to AUDIO_FOCUS and remove
AUDIO_CONTEXT property

bug: 27142696

Change-Id: I9aa47724759d5610b74581b890e096924a5e223b
/hardware/libhardware/include/hardware/vehicle.h
5bcf6d6ace93d145ee2eb8e76f5528e875611bfa 13-Feb-2016 Steve Paik <spaik@google.com> Merge "Add defroster fan positions" into nyc-dev
159349e4d57f9a99511287a558d7ca298a0d761b 10-Feb-2016 Steve Paik <spaik@google.com> Add defroster fan positions

BUG: 27097079
Change-Id: I5ed1cb418234e810c09319175b55bfad79ba92ab
/hardware/libhardware/include/hardware/vehicle.h
a384f83cb397b7c993538d61705c1b56b98c3a17 12-Feb-2016 Keun-young Park <keunyoung@google.com> change seat zone to left, center, right rather than 1, 2, 3

- remove ambiguity

bug: 25183740
Change-Id: I38800d4f267cb15b672cd9296186a794af9062b6
/hardware/libhardware/include/hardware/vehicle.h
fc6f0d838ab3e6a6c96bb505773748c3f20c42aa 10-Feb-2016 Keun-young Park <keunyoung@google.com> add system sound audio context

bug: 27111558
Change-Id: Ifa08fc269afd021bae5239fc1e06aa9a7e75ecbc
/hardware/libhardware/include/hardware/vehicle.h
cb354501ef51a70d2d0b15f3d0a3ede38580e6ec 09-Feb-2016 Keun-young Park <keunyoung@google.com> add more properties/zones to vehicle hal

- add door and mirror zone
- add HW_KEY_INPUT for H/W keys
- add CABIN_TEMPERATURE
- add GAIN_TRANSIENT_NO_DUCK for system sound where no ducking is
necessary

bug: 25183740, 26961808
Change-Id: I4c9fa482d3bf84556258b0d0056ae12a6067ad1f
/hardware/libhardware/include/hardware/vehicle.h
11b25ead9358e31e66ab9f528a7c777c26ba761f 05-Feb-2016 Keun-young Park <keunyoung@google.com> Merge "add zone_type definition to zoned properties"
77d3c395e3628e2b834ccce33e44b2e4e4aa1db5 25-Jan-2016 Keun-young Park <keunyoung@google.com> use only positive range for property key

- negative range makes handling it inconvenient in java space where
there is no unsigned int.

bug: 25183740
Change-Id: If4080201df5f933c0462afe229d876c6d9a8aa2c
/hardware/libhardware/include/hardware/vehicle.h
14f09000f97fc34c57bf966c8086bfa95186d48a 23-Jan-2016 Keun-young Park <keunyoung@google.com> add zone_type definition to zoned properties

Change-Id: Id8fbaedd894e0ad4ac4c29b360cc8b16341f3bec
/hardware/libhardware/include/hardware/vehicle.h
73d7f226ddc4d3cc0471460a798748d5ea48af9a 14-Jan-2016 Keun-young Park <keunyoung@google.com> add zoned int32 / float array

bug: 26473518
Change-Id: I09fc9d14590ba4930cc2047857e66329dd388ead
/hardware/libhardware/include/hardware/vehicle.h
cb8c8872b07f63678444a43afea0fd2af57ca3ef 08-Jan-2016 Keun-young Park <keunyoung@google.com> move AUDIO_CONTEXT to audio range

bug: 25183740
Change-Id: I14b8dda402f74c3c72cced35251079d7a60f7c55
/hardware/libhardware/include/hardware/vehicle.h
bf877a7e6673f43ded94ead0784c93c558e5aa2b 21-Dec-2015 Keun-young Park <keunyoung@google.com> vehicle hal update

- add zones to subscribe to allow selected subscription for
zoned properties
- extend config to uint32[4] to allow passing more informaiton
from configs
- change audio volume to be per context, not physical stream.
This maps better to android side's logical streams.
- renamed APP_CONTEXT to AUDIO_CONTEXT: It is useful only for
audio.
- add more audio contexts: safety alert, CD, aux audio

bug: 25183740, 26233321

Change-Id: I29de7b6c9d9a770cf87e7f50991c875d7ce9fdbe
/hardware/libhardware/include/hardware/vehicle.h
bf274b3f4f68c7d5fdf16322e48f848abdfc4f85 05-Jan-2016 Steve Paik <spaik@google.com> Revert "Revert "Add VEHICLE_HVAC_FAN_DIRECTION_FACE_AND_FLOOR_FLAG""

This reverts commit ac30be1f366049e5a861f7d35151469106c894c0.
/hardware/libhardware/include/hardware/vehicle.h
ac30be1f366049e5a861f7d35151469106c894c0 16-Dec-2015 Steve Paik <spaik@google.com> Revert "Add VEHICLE_HVAC_FAN_DIRECTION_FACE_AND_FLOOR_FLAG"

This reverts commit ba48c5d3d366443a192297a17a585ee18080dda5.

Change-Id: I597222922a1d8fb80558cf090a0c7ce2b94e521e
/hardware/libhardware/include/hardware/vehicle.h
ba48c5d3d366443a192297a17a585ee18080dda5 15-Dec-2015 Steve Paik <spaik@google.com> Add VEHICLE_HVAC_FAN_DIRECTION_FACE_AND_FLOOR_FLAG

Change-Id: Ic7769f7d2af0a0d3a028a0b4ac105855f24d5938
(cherry picked from commit b6de2ef388d0573044e940c405d7d87240b01ca4)
/hardware/libhardware/include/hardware/vehicle.h
d2ba70f965c7773a24c218d0a5481d7f6700641b 10-Dec-2015 Steve Paik <spaik@google.com> Add more HVAC parameters to support TDK

Added new parameters:
- max AC
- max defrost
- recirc
- dual

Also added fan direction enum.

Change-Id: I887a5272bdd310cb7aed014489dacc901d4731d0
(cherry picked from commit 4e3891829cedd60ce5e8b609313458835b4cea1b)
/hardware/libhardware/include/hardware/vehicle.h
08c255e3b66577d87a2e8209e94b343fad9ff0ea 09-Dec-2015 Keun-young Park <keunyoung@google.com> add clarification on parameter passing in get call

- with errata fix
- also removed build warnings from vehicle.c

bug: 25183740
Change-Id: I6e0ed9e300e4bc5ff8821cca87ff8509ffc0968a
/hardware/libhardware/include/hardware/vehicle.h
fb63668a8a4eab5a0ba32132405c7982629074a1 11-Aug-2015 Sanket Agarwal <sanketa@google.com> Add vehicle hal.

- vehicle hal is used for supporting car specific features.
- Each property can be written (=set), read (=get), or subscribed.
- Each property has configuration informaiton to tell what that property
is and how it can be accessed.
- also adding dummy hal implementation.

bug: 25183740

Change-Id: Ib1cc1c11540f156db73552f2a18a8efb361002af
/hardware/libhardware/include/hardware/vehicle.h