History log of /packages/services/Car/libvehiclenetwork/native/IVehicleNetworkListener.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/native/IVehicleNetworkListener.cpp
15882e57ee3f329842dfb4aeecc7b890042ce14e 17-Sep-2015 keunyoung <keunyoung@google.com> add Java side vehiclenetwork API test and fix Java compatibility

- added exception infor for Java side as aidl generated code
always assumes it.
- changed Java side API to remove int result as exception
will be thrown for error code anyway.
- Native side still returns error code as there is no
exception support.
- added python script to generate java side const declaring source.
will add C++ side later (for checking HAL impl):
VehicleNetworkConsts.java is auto-generated using
vehiclehal_code_gen.py

bug: 24095928

Change-Id: If9dcd00e5ffd7411d2e3a5c8495633c7fd7be80c
(cherry picked from commit a73f6d72ac84959661559b5411fad783949e5134)
/packages/services/Car/libvehiclenetwork/native/IVehicleNetworkListener.cpp
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/native/IVehicleNetworkListener.cpp