History log of /packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
71b2f5cd736f3a9aac8a9356b049d20ea76edb88 11-Mar-2016 Keun-young Park <keunyoung@google.com> vehicle hal refactoring from hal review

- call release_memory_from_get for freeing memory allocated
from get call
- add retry for NOT_READY error which can happen at initial
stage
- simplify zoned properties with missing multiple mins/maxs for
zoned properties
- update HVAC API to return min/max values per each zone
- change HVACV API to return all zones available
(renamed to getZones())
- fix missing write permision to property 0 which
is used to gatekeep hal mocking

bug: 27597338, 27596281

Change-Id: I353acc0398f62c4933491e43592ea598d17d2422
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
aaeffaff85979583b1826db759b5cdb6184559d5 26-Nov-2015 Keun-young Park <keunyoung@google.com> add libvehiclenetwork-audio-helper

- with c wrapper
- update vns to pass event when internal property is set while in
mocking
- fix bug in VehiclePropValueUtil::copyVehicleProp of deleting non-
string type.

bug: 25330290

(cherry picked from commit f1b41f92b11e78373f423343b23229d19cdf0af2)

Change-Id: I54ae1faed1f67528bd2928ce23b53c16d19fcab2
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
28dd47033198a502b18b0363b98ad030ea1789cc 20-Nov-2015 Keun-young Park <keunyoung@google.com> add error and hal restart monitoring with other cleanup

- add separate thread dispatch in native VehicleNetwork api.
- fix deadlock in binderDied: do not access HAL with lock held.
- fix missing sp in HandlerThread usage.
- add error listening and hal restart monitoring to binder callback.
- clarified mocking behavior:
clients listening for global error or HAL restart is not cleared by
mocking but client subscribing properties are all cleared and should
subscribe again.
- added native tests and Java tests to test mocking

bug: 24095928
(cherry picked from commit a116a2009ac8966b16cba1ab98d37ad8c537ab02)

Change-Id: I247c64dcb8722a678ed1c2e950a215a193a5e991
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
7d74e6d9195f29d0eb50f7bcbe235334b02dba8e 15-Oct-2015 keunyoung <keunyoung@google.com> change binder interface to pass the whole vehicle_prop_value_t for get

- This allows passing property specific parameters through the passed
value.
- Client should at least set type properly even in get call as it can
be checked in various places.

bug: 24095928

Change-Id: Ifeb1260361eac0d85ae3b9ccd0182d2c8bed2a4b
(cherry picked from commit 85161fb1c76e9860b4ef6d671b7492a8fddc20f7)
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
d32f4e69d861d0adc2ae8f18345143f253d6fcec 21-Sep-2015 keunyoung <keunyoung@google.com> add VEC2/3/4 for int32/float and add audio handling

- internal property is propagated internally, not to HAL.
- added skeleton code for audio focus handling.
actual implementation will be added later.

bug: 23785833

Change-Id: Icb6ad32307e2a4036dbf235538ed0c4e5b06f68d
(cherry picked from commit 92362d576b4057b989b96e980c542cc38c3a33e8)
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h
e18e25d2a79e94a4cea83a94daee5f4cafd419cf 29-Aug-2015 keunyoung <keunyoung@google.com> add native vehicle network service with libvehiclenetwork libraries

- This is system api only allowing system processes to use.
- use proto to represent exchanged data. This addresses the overhead
of redefining what is already defined in vehicle HAL.
Still proto definition should be updated, but that is much better
than updating code directly.
- Blob is used to contain data. This prevents passing too big data
over binder call. All proto data are serialzed to a Blob and
sent over binder call.
- Added native and java version of libraries: Only native side tested.
- added VehicleNetwork wrapper for clients.

- TODO: migrate car service to VNS,
add Java side teat
start VNS during bootup (currently needs manual start)
implement caching

bug: 24095928
Change-Id: I391d3661de556d313319ba879b03685890cf2108
(cherry picked from commit 19559efcb153c16a77d753d535757c5d10e49708)
/packages/services/Car/libvehiclenetwork/include/VehicleNetworkDataTypes.h