History log of /packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82c20cdd99601923df556b99114ad5d186821977 11-Apr-2017 Pavel Maltsev <pavelm@google.com> Initial e2e Vehicle s/w stack infrastructure

Also, fixed some sensor mapping between CarSensorManager and VHAL

Bug: b/36510399

Test: runtest -x packages/services/Car/tests/vehiclehal_test/
Change-Id: I556e03402c16a3b2c8cb25d7a048f8c9a072e23b
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
5c56d2a3a5bc4ef5b46a58fa56b7f4a657b0827e 08-Feb-2017 Enrico Granata <egranata@google.com> Post-O. Sketch out CarDiagnosticManager API surface

Provide an implementation of all layers required to plumb CarDiagnosticManager through:
* CarDiagnosticEvent
* DiagnosticHalService
* CarDiagnosticService
* CarDiagnosticManager

If FutureFeatures are enabled, this is integrated end-to-end enough to run trivial tests of the API

Test: build with TARGET_USES_CAR_FUTURE_FEATURES=true then at a shell runtest -x packages/services/Car/tests/android_car_api_test/ -c android.car.apitest.CarDiagnosticManagerTest
Change-Id: I0f2aafd039d26fec15182dd7029cf8c7995ce85b
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
28c70332e34843b535d28f5d85400ae3556af7e6 07-Feb-2017 Pavel Maltsev <pavelm@google.com> Fix Car Service build after VHAL refactoring

Test: mmma -j32
Change-Id: Ica894eda80bc375cddd906f985f9b31da9aa875c
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
f0bdb5a80e7fe570bae70728b0356ff171c42581 07-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move Vehicle HAL under automotive package"
7096f5e5b342d571e7702a1537413feb86b643d8 03-Feb-2017 Enrico Granata <egranata@google.com> Clarify the roles of SensorHalServiceBase vs. SensorHalService

SensorHalServiceBase is now responsible for communication with Vehicle HAL, speaking in terms of VehiclePropValue/VehiclePropConfig and subscriptions
SensorHalService builds on SensorHalServiceBase to provide CarSensorEvents and dispatching thereof to listeners.

This introduces a base-interface SensorBase to deal with DrivingState and DayNightMode policy objects which want to act as-if they're sensors to CarSensorService,
but don't truly talk to Vehicle HAL (and thus are not SensorHalServiceBase).

The purpose of this change is to create a base layer for future work which wants to take control of Vehicle HAL properties and read/write them, but does not
vend CarSensorEvents to higher levels of the vehicle stack.

Test: build
Change-Id: Ia28044271b8dc2c996555214f66ac5902b685a75
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
cfe93105f637c2822da113308f113ed418d0b319 02-Feb-2017 Pavel Maltsev <pavelm@google.com> Move Vehicle HAL under automotive package

Test: all existing tests passing

Bug: b/33200203
Change-Id: Id1ff815ae2af9c48ce8612b4cfb5327de13a5a1f
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
0d07c76bbc788fba8c77d8e932330ab22ec6ba27 04-Nov-2016 Pavel Maltsev <pavelm@google.com> Migrating Car service to new Vehicle HAL

- make car service work directly with Vehicle HAL
- getting rid of protobufs and dependencies on VNS
- get rid of CarTestManager / CarTestService and refactor
tests accordingly
- reworked ICarImpl to pass dependencies rather than
using singletons for better testing experience

Test: existing test should work, although some of the tests
(esp. audio) are broken and we will fix them in follow up CLs

Bug: b/31971746
Change-Id: I229969af332304ba3b1718f130cdf22038e86fad
Tests: tests adjusted to new data structures
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
9054b99dab441f202ea2aa313540effebc9e2620 27-Apr-2016 Keun-young Park <keunyoung@google.com> fix race in initial driving status

- register to hal and get sensor list first to fetch data
before subscription. This gives room to retry for -EAGAIN
for initial data fetching.
- remove sensorHalReady callback as hal is
initialized before service init.

bug: 28410068

Change-Id: Ifdb5947e388ad09c92307f94fa3ee35551f3eafd
(cherry picked from commit 9ec0547de12ce6111c545e60a471dce40e43cb2a)
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
e54ac276796c6535558f8444d882adecd19ce2bd 17-Feb-2016 Keun-young Park <keunyoung@google.com> add android.car

- instead of using binder as compatibility layer, add android.car
- apps using android.car should add it to LOCAL_JAVA_LIBRARIES
unless doing include
packages/services/Car/car-support-lib/car-support.mk

- support lib renamed to android.support.car
- UI stuffs only exist in android.support.car
UI has dependency on androud support library and not added to
android.car

- permission only uses android.car namespace even for support.car

- car-systemtest remains as static library. To use CarTestManager,
test app should get CarTestManagerBinderWrapper then create
CarTestManager.

bug: 27199752
Change-Id: I3522e11e958dade404443fbe2d45f576c827fa7a
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
564742eab88bd68075e13b0b6505f637250f3fbc 17-Oct-2015 keunyoung <keunyoung@google.com> sensor renaming and add carservicetest
- move sensor API to android.support.car.hardware and
- move mocked test to carservice_test
- api_test will only use car API to test

bug: 23147726

Change-Id: I0f6870b6714b4042ec1213edb8500548cf789a8a
(cherry picked from commit abbd2b29e7dca10d1b9384767ab587fa314fe5b6)
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
fe30ba00aec2fd5936b17439f392a053ec54ec9a 18-Sep-2015 keunyoung <keunyoung@google.com> migrate car service to use vehicle network service

- all jni stuffs gone as HAL is no longer loaded by car service
- disabled dispatch limiting in CarSensorService as vehicle
network service is already doing it.
- needs product config change to start VNS for CarService to work.

bug: 24095928

Change-Id: I5d7b2ae7efb24daf23f304db4def0c4f9a519b25
(cherry picked from commit 3f3190ce58955eda2730331c825ebd6433dab42d)
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java
cc449f7941456a0133ff8a4b2e49737f0936c1d0 12-Aug-2015 keunyoung <keunyoung@google.com> More details in Hal with sensor pipeline improvements for batching

- updated CarSensorEvent to use int array instead of byte as most
use cases involve int value manipulations.
- removed unused sensor types in CarSensorManager. They can brought back
later as necessary.
- CarSensorManager subscription works for several sensors.

bug: 22701368

Change-Id: I2fb8901fe5266693aeae5f1b3f2b3adb75056a93
(cherry picked from commit d68bc574a27aee0fb6750ed301d247645d7bbb1e)
/packages/services/Car/service/src/com/android/car/hal/SensorHalServiceBase.java