History log of /packages/services/Car/libvehiclenetwork/include/IVehicleNetwork.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/IVehicleNetwork.h
737cdfb00fc849b44b0c75726740ebcb6dd1c77b 13-Feb-2016 Keun-young Park <keunyoung@google.com> move permisison check to VNS instead of libvehiclenetwork

- also add property check per uid. Currently all to system uid (=car
service) and audio stuff only for writing to audio hal.

bug: 27172052
Change-Id: I7831f60f7fe47de5aeb53d764f9e056c9f29d077
/packages/services/Car/libvehiclenetwork/include/IVehicleNetwork.h
0727f9536803bf13e49ff73bd1ed04489b592c56 21-Dec-2015 Keun-young Park <keunyoung@google.com> vehicle hal update: add zone to subscription and others

- add zones to subscribe and mocking
- extend config_flags to config_array

bug: 25265553

Change-Id: Icfc1911178daa4ff4b5b6f12bc8e0002af5530bb
/packages/services/Car/libvehiclenetwork/include/IVehicleNetwork.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/IVehicleNetwork.h
1ab8e18e01d8063821bee0bf641a365224c7e1ee 24-Sep-2015 keunyoung <keunyoung@google.com> Add vehicle HAL mocking with carsystem and carsystemtest API

- System API and system test API for testing only added. Client
should link only one of them.
- vehicle HAL mocking allows mocking vehicle HAL completely.
- Once mocking is started, for now, all previous states are forgotton,
so stopping mocking does not return to original state. It is
better to simply restart framework after test.
- Added skeleton code for audio focus handling. Detailed implementaiton
will be added later.

bug: 24874617

Change-Id: I6e60daab3dc96769a94acc09a695f8f49dbb8536
(cherry picked from commit a32e24f50d5895a94d3a13d6ec2233af6e43dac5)
/packages/services/Car/libvehiclenetwork/include/IVehicleNetwork.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/IVehicleNetwork.h