History log of /packages/services/Car/service/src/com/android/car/CarInfoService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c52d5f9f6190cf9a44dd6dfd3bc92386fbf023b3 06-Feb-2017 Antonio Cortes <antoniocortes@google.com> Protecting VmsSubscriberManager with the future annotation and future flag.

Needed to move the FeatureConfiguration.java from service to car-lib
because it is used in Car.java

This is a post-O feature.

Bug: b/34976096
Test: Build with TARGET_USES_CAR_FUTURE_FEATURES set to true and to false.

Change-Id: I25848a0bfe6a6d59181dde48399fd2e1e8f10e4c
/packages/services/Car/service/src/com/android/car/CarInfoService.java
161f69e17ee3d9c26770ac15a04085c416341a1b 28-Jan-2017 Keun-young Park <keunyoung@google.com> Post-O: skeleton for product configuration support in CarInfoManager

- This is working as an example of adding a feature under flag.
- Have its own boolean flag under FeatureConfiguration
- car lib part is only annotated with @FutureFeature. can add
proguard rule to strip it when feature is not enabled.
- All feature related code uses if (feature_enabled) style code.
Code under if (false) can be dropped by proguard if necessary.
- FeatureUtil.assertFeature() throws exception if feature is not enabled.

- TODO: plumb it down to HAL layer when HAL is ready.
add test

bug: 34778252
Test: build only for now

Change-Id: I31b8076c7bd35719a1cfc8074712f5211dcd7dec
/packages/services/Car/service/src/com/android/car/CarInfoService.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/CarInfoService.java
6745635909d050c57f5a08bfc28580feb0f2cfe0 03-Oct-2016 Keun-young Park <keunyoung@google.com> CarInfoManager, put basic info into one Bundle

- Put all basic info into a Bundle.
- Basic info will be expalnded into adding more info.
- Anything too big should not be added there.
- additional method for acceesing more sensitive info
can be added later.

bug: 31867092
Change-Id: I84768863e495d33acfd003ecfe1c9b65ee2fed0e
/packages/services/Car/service/src/com/android/car/CarInfoService.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/CarInfoService.java
064ddd89fd57c6c20a98b9f95f9ea5123d11160b 22-Dec-2015 Keun-young Park <keunyoung@google.com> Revert "Revert "car api compatibility related changes""

This reverts commit 2fba5e314be6dd0ba8e75b18d9044cb2dafd881a.

Change-Id: Ida7e6627e78f0b6112f76759ca2d7de327535dd9
/packages/services/Car/service/src/com/android/car/CarInfoService.java
2fba5e314be6dd0ba8e75b18d9044cb2dafd881a 22-Dec-2015 Keun-young Park <keunyoung@google.com> Revert "car api compatibility related changes"

This reverts commit 0b5b006c5467842f2c9ddafea9616c8e25d8f3cf.

Change-Id: I545bb642360b1a1fdef81eb1d2338b1d35b61f0d
/packages/services/Car/service/src/com/android/car/CarInfoService.java
0b5b006c5467842f2c9ddafea9616c8e25d8f3cf 21-Dec-2015 Keun-young Park <keunyoung@google.com> car api compatibility related changes

- change all Parcelable to use ExtendableParcelable
CarSensorEvent, CarHvacEvent, CarHvacProperty,
CarRadioEvent, CarRadioPreset

- CarSensorManager: reserve sensor types and protect with
VENDOR_EXTENSION permission

- CarInfoManager: add getBundle to allow vendors to
pass generic data.

bug: 26191165

Change-Id: I6316e68bfbb60aa5634ec754868cebd501e93fd1
/packages/services/Car/service/src/com/android/car/CarInfoService.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/CarInfoService.java
a3b28d81e0c8df531ac704f9e649e38ea90483d2 25-Aug-2015 keunyoung <keunyoung@google.com> add CarInfoManager

- CarInfoManager replaces ICar.getCarInfo() and ICar.getCarUiInfo()
- also remove CarInfo and CarUiInfo. All these information should come
from CarInfoManager.
- Key declaration uses annotation to declare which data type is expected
for the given key.

bug: 22701368

Change-Id: Ifc9ab27d146b439a89fd4249fe3317abec6fd21f
(cherry picked from commit b8f5acabb4b049021d2be2215cd64ca907522f29)
/packages/services/Car/service/src/com/android/car/CarInfoService.java