• Home
  • History
  • Annotate
  • only in /packages/services/Car/car-lib/src/
History log of /packages/services/Car/car-lib/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7ab072eebe413488e46fb4ec0ca441893a3bd532 17-Oct-2017 Asaf Rosenfeld <asafro@google.com> Removing VMS from O.MR1

This CL removes the VMS code from O.MR1.

Test: All the VMS tests were removed.
Bug: 67997810
Change-Id: I0e10d41e47103aa5bbd04f3ee576c7b482b25f92
ndroid/car/Car.java
ndroid/car/vms/IVmsPublisherClient.aidl
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/IVmsSubscriberClient.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsAssociatedLayer.aidl
ndroid/car/vms/VmsAssociatedLayer.java
ndroid/car/vms/VmsLayer.aidl
ndroid/car/vms/VmsLayer.java
ndroid/car/vms/VmsLayerDependency.aidl
ndroid/car/vms/VmsLayerDependency.java
ndroid/car/vms/VmsLayersOffering.aidl
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsOperationRecorder.java
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
ndroid/car/vms/VmsSubscriptionState.aidl
ndroid/car/vms/VmsSubscriptionState.java
7910dc9a4a5bd3520fa3854fc538a15a39b9218e 05-Sep-2017 Scott Randolph <randolphs@google.com> Merge "Add RINGTONE" into oc-mr1-dev
962ba77e2b928466dd7a4652bc468127adb871a0 04-Aug-2017 Scott Randolph <randolphs@google.com> Add RINGTONE

Test: wip
Change-Id: Ifa560fdd2b4a4e3c17deadcd9cc0dd4769c90274
Bug: 64729839
ndroid/car/media/CarAudioManager.java
ndroid/car/settings/CarSettings.java
2e45d81aaa79fbca2620b20d04bfea3f2537e3e2 01-Sep-2017 Asaf Rosenfeld <asafro@google.com> Fix VMS public API based on API review (ag/2593725).

Test: All tests were adjusted and pass.
Bug: 65115457
Change-Id: Id271170d2d67706d243817c556e294faad672631
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/IVmsSubscriberClient.aidl
ndroid/car/vms/VmsAssociatedLayer.java
ndroid/car/vms/VmsLayer.java
ndroid/car/vms/VmsLayerDependency.java
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsOperationRecorder.java
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
ndroid/car/vms/VmsSubscriptionState.java
a0b665f7d31f54898bcd9169779081d0420ce447 25-Aug-2017 Asaf Rosenfeld <asafro@google.com> Fix subscribers notifications and listener to callback

This CL fixes the VMS subscriber manager so that clients with no active subscriptions
will get notifications. Also this CL changes the name listener to callback per the API review.

Test: tests were adjusted to verify that notifications are received also when not subscribed.
Change-Id: I734879533c09c41e517f9bfb8df0f6f80aec7fda
Bug: 64700153
Bug: 65115457
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsSubscriberManager.java
76a8489d09152192f356e61029eaffc401c5e639 28-Jul-2017 Ram Periathiruvadi <ramperry@google.com> Car Bluetooth policy - option to tag a device for autoconnect

Provide an option to tag a device with a priority for auto connection.
If a device is tagged as a Primary device for example, then the auto
connect policy will always try to connect to that device first
regardless of which device connected last (which is the default policy)

Bug: b/34722344
Test: Unit test
Change-Id: Ie364a4fbf5b29bc3f6cca7433ead2ed4b4debc9e
ndroid/car/Car.java
ndroid/car/CarBluetoothManager.java
ndroid/car/ICarBluetooth.aidl
ndroid/car/settings/CarSettings.java
369112c6a1fc4a09f64b6cba3f63d7a9570fb90e 19-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add intent action and extra for car media template app." into oc-mr1-dev
35189a39cbce93de93b677d36f883baa8efe9df0 17-Aug-2017 Yao Chen <yaochen@google.com> Add intent action and extra for car media template app.

Bug: 63672321
Test: builds
Change-Id: I7f5a5effd0bf3db61c39876b38153f655bfd765b
ndroid/car/Car.java
1a56ab9a3b322faebc9467690469689efb54ba7d 24-Jul-2017 Asaf Rosenfeld <asafro@google.com> Create Subscribe to layer from publisher surfaces

Allows APKs and HAL clients to subscribe and unsubscribe to a layer
from a specific publisher ID.

Test: All tests pass and added new test for added functionality
Bug: 62764401, 62764401
Change-Id: I39370be6fbb632b65c7ae880a4dd88ee5012738d
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsOperationRecorder.java
ndroid/car/vms/VmsSubscriberManager.java
6095198f4732cbc18d5a6d30faedba262d0874ff 05-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add getConfigForSensor to CarSensorManager"
a2819901c1b4f56e4950dd5cb6bf6c9e8042cf4c 19-Jul-2017 Steve Paik <spaik@google.com> Add getConfigForSensor to CarSensorManager

Bug: 62876582
Test: Embedded Kitchen Sink works with VHAL emulator
Change-Id: Ice937cbb8c207cae0cab7e5417c1a4c93e00171b
ndroid/car/hardware/CarSensorConfig.aidl
ndroid/car/hardware/CarSensorConfig.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/ICarSensor.aidl
25e89468119cd0b109f62c751446dfdd8e903143 02-Aug-2017 Enrico Granata <egranata@google.com> Move the Diagnostics API classes to android.car.diagnostic

Bug: 64024685
Test: build, flash + runtest CarDiagnosticManagerTest
Change-Id: I73e079be8910e550ae52f78162680d585949d022
ndroid/car/Car.java
ndroid/car/diagnostic/CarDiagnosticEvent.aidl
ndroid/car/diagnostic/CarDiagnosticEvent.java
ndroid/car/diagnostic/CarDiagnosticManager.java
ndroid/car/diagnostic/FloatSensorIndex.java
ndroid/car/diagnostic/ICarDiagnostic.aidl
ndroid/car/diagnostic/ICarDiagnosticEventListener.aidl
ndroid/car/diagnostic/IntegerSensorIndex.java
ndroid/car/hardware/CarDiagnosticEvent.aidl
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/FloatSensorIndex.java
ndroid/car/hardware/ICarDiagnostic.aidl
ndroid/car/hardware/ICarDiagnosticEventListener.aidl
ndroid/car/hardware/IntegerSensorIndex.java
3b0f5b72ff36848e4db949d113b3e6230a1db4f2 31-Jul-2017 Enrico Granata <egranata@google.com> Remove the CarDiagnosticSensorIndices class as it merely acted as a hollow namespace

Bug: 64024685
Test: build
Change-Id: Idde0e66904d4d5fd620e38815961af0eda5c1ec3
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticSensorIndices.java
ndroid/car/hardware/FloatSensorIndex.java
ndroid/car/hardware/IntegerSensorIndex.java
494f32a89ccbadc1178cff761eed93bab4cf1c2f 01-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixing CarService and tests to use post VMS API review" into oc-mr1-dev
f8747715a8a5492be0d070c0ac68f2d16ef84a0f 29-Jul-2017 Enrico Granata <egranata@google.com> Remove CarDiagnosticEvent.IgnitionMonitors

The class was being used as a namespace but had no useful content of its own

Bug: 64024685
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
Change-Id: I9d00f525716fd0ea8f0bd202281683eb53602d60
ndroid/car/hardware/CarDiagnosticEvent.java
6af10a482b37a809733fd800625a14c697558a1a 28-Jul-2017 Enrico Granata <egranata@google.com> Merge "CarService changes necessary to support the diagnostic enums rename on the Vehicle HAL side" into oc-mr1-dev
58e180bfa781f541dabf77efe4c8f78e38b85ad2 28-Jul-2017 Asaf Rosenfeld <asafro@google.com> Fixing CarService and tests to use post VMS API review

Test: All the tests were adjusted and pass
Bug: 64093467
Change-Id: Ieda7304e5ec6c1f0fedd670c50130eea69b76255
ndroid/car/vms/VmsLayer.java
afa194244b26ff5ff3af3d5c3ec0755a43ec00d3 28-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Enhance documentation comments for Car Diagnostic APIs" into oc-mr1-dev
976cee4a3583c66599e364badf9024df5022ee7a 26-Jul-2017 Enrico Granata <egranata@google.com> CarService changes necessary to support the diagnostic enums rename on the Vehicle HAL side

Test: clean build and flash, then
runtest -x packages/services/Car/tests/android_car_api_test/src/android/car/apitest/CarDiagnosticManagerTest.java
runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
runtest -x packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2FreezeFrameTest.java
runtest -x packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/Obd2LiveFrameTest.java

Bug: 64024685
Change-Id: Ie6615dc84fcddbb108ad1c58b7a569b8e6ce37d6
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticSensorIndices.java
2e3b49a9f99a0886d8e10832801022c223b3984d 27-Jul-2017 Enrico Granata <egranata@google.com> Rename the is*Supported() methods in CarDiagnosticManager per API Review

Test: build
Bug: 64024685
Change-Id: I7dbd1f910e511a47dbf107ddfadfa36c14f32973
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/ICarDiagnostic.aidl
20f13f7b883e4df807e1614f167cef21cc88ff1c 27-Jul-2017 Enrico Granata <egranata@google.com> Enhance documentation comments for Car Diagnostic APIs

Bug: 64024685
Test: build
Change-Id: I3a7ec0fcf752eb4cd7138a470d81d551a44a0481
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
800cb0790d57b6cb3c7d6893ec687a21b614545e 18-Jul-2017 Asaf Rosenfeld <asafro@google.com> Routing logic to use publisher ID

When publisher P is sending message for layer L, the routing
logic will send the message to all listeners that subscribed to either
layer L or Layer L + publisher P.

Test: all tests pass + added tests for new use cases
Bug: 63933446
Change-Id: I2f674149e7982ffede1f6426737ac1aef033b2c6
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsPublisherClientService.java
4f7c940029f3e53198f6bc980b137f2f4a6312c0 21-Jul-2017 Pavel Maltsev <pavelm@google.com> Hide setClusterActivityState system method

Test: make update-car-api

Bug: b/37500371
Change-Id: I4bca77af3c2e26af175da5299fe1038b50d06d45
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
905968cf95d4c8608d6d9351b5dd10fe994a1220 17-Jul-2017 Pavel Maltsev <pavelm@google.com> Allow activities in instrument cluster

- Added new CarInstrumentClusterManager to start activity in the cluster
and subscribe to cluster specific events
- Cluster vendor implementation (InstrumentClusterRenderingService) was
extended, now it can notify Car Service with ActivityOptions that holds
info how to launch activity in the cluster for specific category, also it
can send additional info such as unobscured bounds
(ClusterActivityState)
- added DirectRenderingClusterSample which is an example of vendor
implementation that utilizes new features
- added FakeClusterNavigationActivity in Kitchensink which is a dummy nav
activity that can be run in the cluster, it has appropriate permissions
and activity category in manifest

Test: kitchensink

Bug: b/37500371
Change-Id: Ic4b3709a3b7e1310dbd1c499990eea64479b3333
ndroid/car/Car.java
ndroid/car/cluster/CarInstrumentClusterManager.java
ndroid/car/cluster/ClusterActivityState.java
ndroid/car/cluster/IInstrumentClusterManagerCallback.aidl
ndroid/car/cluster/IInstrumentClusterManagerService.aidl
ndroid/car/cluster/renderer/DisplayConfiguration.java
ndroid/car/cluster/renderer/IInstrumentCluster.aidl
ndroid/car/cluster/renderer/IInstrumentClusterCallback.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
909546fc1aea53bb86fb1a91d11a11bd2cd4befd 19-Jul-2017 Keun-young Park <keunyoung@google.com> bump Car API version to 3

- and add API snapshot for ver 2 (=O)

bug: 63860738
Test: build
Change-Id: I7ab1cdb91de575e667d59a8c627d2b9980978bd3
ndroid/car/Car.java
60f0a4492a6b598e09f0d1400361b5b6b895c337 19-Jul-2017 Steve Paik <spaik@google.com> Merge "Add SENSOR_TYPE_WHEEL_DISTANCE + friends"
289ab99688d226518e47a7e47c9ffc20f221f0a6 12-Jul-2017 Steve Paik <spaik@google.com> Add SENSOR_TYPE_WHEEL_DISTANCE + friends

Bug: 62876582
Test: Embedded Kitchen Sink works with VHAL emulator
Change-Id: I8b47e11850d5a8c4beab4b6fb579c6fc33cba5de
ndroid/car/Car.java
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/hardware/CarSensorManager.java
f9c7693e009aab4ff3f1afa60e848d3a17622a75 12-Jul-2017 Pavel Maltsev <pavelm@google.com> Extending cluster API in car-support-lib

This mirrors changes done in car-lib

Test: builds, more tests will be performed in google3

Bug: b/63148533
Change-Id: Icc336dc5795ef508380f83cce4dd8d44715df9a2
ndroid/car/navigation/CarNavigationStatusManager.java
c4fafe2a0ae3cdb35293d46b6e9e3d4391d809b2 11-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add @SystemApi markers for the diagnostic API values in android.car.Car"
4761a10dcd9f3b6ecbc791f5a06d60007a8f65da 10-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow to pass custom bundle in Car Nav Manager"
1fd2ff63ed701ccc8d2f86d6285e09410eedb411 06-Jul-2017 Pavel Maltsev <pavelm@google.com> Allow to pass custom bundle in Car Nav Manager

Fix: b/63148533

Test: added API test, verified bundle is received in logging renderer
Change-Id: Ieb230c02a89251520fce058f082bc63cc522aad8
ndroid/car/cluster/renderer/IInstrumentClusterNavigation.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
ndroid/car/cluster/renderer/NavigationRenderer.java
ndroid/car/cluster/renderer/ThreadSafeNavigationRenderer.java
ndroid/car/navigation/CarNavigationInstrumentCluster.java
ndroid/car/navigation/CarNavigationStatusManager.java
ae25b9293df64e4ec71178fbfe999b303a63577e 07-Jul-2017 Enrico Granata <egranata@google.com> Add @SystemApi markers for the diagnostic API values in android.car.Car

Test: build
Change-Id: I5c9ea265047629dd4fdf880d3eb153cc45564529
Fixes: b/37542858
ndroid/car/Car.java
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/CarDiagnosticSensorIndices.java
7f6dd5f5f8442f6debfc7b4c3b8350aec744ccba 07-Jul-2017 Asaf Rosenfeld <asafro@google.com> Merge "Updating Routing and subscription state to support subscription to layer from specific publisher"
f9be20bbf15014d1d6ad58a21304fb8fdaa06b6d 01-Jul-2017 Asaf Rosenfeld <asafro@google.com> Updating Routing and subscription state to support subscription to layer from specific publisher

Test: Added tests and all tests pass
Change-Id: Ic914f67f2281eb2a1d90512c5c80d5a63a159446
ndroid/car/vms/VmsSubscriptionState.java
b1ddae96756a97006f8a7f4a323fe2538289dcb6 06-Jul-2017 Scott Randolph <randolphs@google.com> Fix tiny typos in comments

Test: Trivial inspection
Change-Id: Id20ac38ed3c8df661580a0cf2c3237f82a0372a5
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
730ef8dc1e8a4b2068e6b560d79671a8f669987f 30-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add HVAC_AUTO_RECIRC_ON property"
3ca12894f8e70fce1e0e18f44165cc941f6cb499 21-Jun-2017 Demyn Plantenberg <demyn@google.com> VMS: adding VmsOperationRecorder.

The VmsOperationRecorder writes VMS operations (formatted as JSON text)
to the Android Log. Applications can then parse logcat output to combine
the core VMS operations with other system activity.

Test: Ran all VMS unit tests.

Change-Id: I70ec53a56e5aeb0bda8b38cd1204c3316fca4fa7
ndroid/car/vms/VmsOperationRecorder.java
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
595fc670d86ee96d4451e2eac20220379ded3f3c 29-Jun-2017 Steve Paik <spaik@google.com> Add HVAC_AUTO_RECIRC_ON property

Bug: 32870841
Test: Compiles - property will be implemented in VHAL
Change-Id: I03bf9eff38f21a2f74001cf48f7bd4c4aac80d35
ndroid/car/hardware/hvac/CarHvacManager.java
4a24e39cfb9de024767cee53641ef934e96b0b1d 28-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Typo: (un)regsiterProjectionListener() and variants."
beab135ad81125590461d657baeb5af9a0c15d1a 23-Jun-2017 Gene Karshenboym <genek@google.com> Typo: (un)regsiterProjectionListener() and variants.

Fixed typo in method unregsiterProjectionListener() and related strings.
Added wrapper calls to allow APKs built with previous SDK versions to
call the newly named functions.

bug: 62916428
Test: Local build and flashed to HU.
Change-Id: I53cb4cafb015c789d3c930110a3b04d68de6f0b8
ndroid/car/CarProjectionManager.java
ndroid/car/ICarProjection.aidl
43900533237db90138dcfa55c65ae2a542cd72a0 16-Jun-2017 Asaf Rosenfeld <asafro@google.com> Adding Publisher ID to offering, Availability to HAL

Test: adjusted tests to cover multiple publishers offering reflected in availability
Bug: 38185470, 37627772, 37627272
Change-Id: I3734e4127b08d9c1f9a26ecb844c8cbfb5a7d8b6
ndroid/car/vms/IVmsSubscriberClient.aidl
ndroid/car/vms/VmsAssociatedLayer.aidl
ndroid/car/vms/VmsAssociatedLayer.java
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsSubscriberManager.java
d813471b0f09acfd4794e5b60ac829366ce29259 10-Jun-2017 Asaf Rosenfeld <asafro@google.com> Merge "Adding fusion bit to VmsLayer to enable clients to publish and subscribe to fused layers explicitly, Will add more tests that cover fused vs. non fused offering and availability as part of HAL (property) integration."
bcf7df104dab66060e88fc4c27901ffecbdc33c8 03-Jun-2017 Asaf Rosenfeld <asafro@google.com> Adding fusion bit to VmsLayer to enable clients to publish and subscribe to fused layers explicitly,
Will add more tests that cover fused vs. non fused offering and availability as part of HAL (property) integration.

Test: All VMS tests pass.
Bug: b/37627272
Change-Id: I597d2c5ed78141d8c52048a83cf23354c6350c4e
ndroid/car/vms/VmsLayer.java
e8c67cd9654d0d11c583b627fb65f6426be9851a 06-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "add skeleton for CarServiceHelperService support"
aab47cd81c75e4fe4a486a665f61287d83f79967 05-Jun-2017 Keun-young Park <keunyoung@google.com> add skeleton for CarServiceHelperService support

- CarServiceHelperService is system server side companion for car service
and it launches car service and provides ICarServiceHelper interface.
- Remove BootReceiver as CarServiceHelper is launching car service

bug: 62342376
Test: confirm boot-up
Change-Id: Ieae18dffe054eceb0e7840aba4e09769dae40687
ndroid/car/ICar.aidl
be7ea0fe212996a6afc095bb910e44a0c8cb4c2f 01-Jun-2017 Ram Periathiruvadi <ramperry@google.com> Fix Bluetooth failing to connect after pairing

After successful pairing, supported profiles between 2 devices was not
connecting automatically, if the device was previously paired and
unpaired. This is because, unpairing sets the priority of the profile
for that device to UNDEFINED. Hence, subsequent pairing attempts fails
to connect, since the Bluetooth profiles ignore connection requests when
the priority is not set to ON or AUTO_CONNECT.
So, its upto the Device's Bluetooth policy to set the priority of
supported bluetooth profiles per remote device to ON, everytime it
pairs to a remote device. For Carkit, we do this in its
BluetoothDeviceConnectionPolicy. For phones, it is done in PhonePolicy.

Bug: b/38500587
Test: Tested by pairing and seeing the supported Car Bluetooth profiles
connect automatically. Also, checked the saved priority for the profile
per device in Settingsglobal content provider by querying
adb shell content query --uri content://settings/global

Change-Id: Ie102a0923022d844106bdb864cbd57c4ab5aa19c
ndroid/car/ICarBluetoothUserService.aidl
602848940066abb3f0c36148cbe09c3d1855dffc 19-May-2017 Asaf Rosenfeld <asafro@google.com> Adding Publisher ID support to non-hal clients.
Publishers send a serialized proto message with their description and get ID integer.
Everytime the same serialized message is sent they will get the same ID so it is
persistent within client crashes.
Other clients can ask for a map all the IDs with their serialized descriptions.

Test: All of VMS tests pass + added unit tests and integration tests.
Change-Id: I025dd9943427ee8631a6a00adb0f9a17334a821e
Bugs: 38185290, 38185731, 38185927
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
1c94fa08318c8b8a75d9f299a60abe2f867da4fc 10-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add APIs to CarDiagnosticManager to check whether specific features are enabled"
c2393683cf3c144461fe2ba28f4fa8cd817d8cb1 09-May-2017 Enrico Granata <egranata@google.com> Add APIs to CarDiagnosticManager to check whether specific features are enabled

DiagnosticHalService has a DiagnosticCapabilities object that keeps track of whether
any/all the diagnostic HAL properties are supported by the underlying implementation.

This change exposes the same information up to CarDiagnosticManager for applications
to use, in order to quickly check whether or not they can expect support from a car.

Change-Id: I0fd05b1e24346483ea94432e428d0b0e56b7d7e4
Fixes: 38138457
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java -c com.android.car.test.CarDiagnosticManagerTest -m testIsSupportedApiCalls
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/ICarDiagnostic.aidl
b3634e209ebcfe2cb987f70cea264bf8b07c3e15 06-May-2017 Enrico Granata <egranata@google.com> Enable Vehicle HAL 2.1 and Diagnostics by default in master.

Bug: 37246134
Test: verified VHAL 2.1 running via lshal and logcat;
verifed diagnostic_injector.py can inject diagnostic data

Change-Id: I49d20de2a440cf45d2a0928fe43197e491a0ba66
ndroid/car/Car.java
5e075dac94101efe1bdcde105b8c4194eb9e70d0 29-Apr-2017 Enrico Granata <egranata@google.com> s/FRAME_TYPE_FLAG/FRAME_TYPE/

FLAG is misleading because these are not bitwise masks, but
just identifiers of frame types.

Test: manual in KitchenSink
Change-Id: Ieed237ad6cb36bcec36c77d9a4ec5bc89edeaaba
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
9165deb6b2d762654ae29ec1cc082ce4dbbf10ab 28-Apr-2017 Enrico Granata <egranata@google.com> Merge "Fix an issue with removal of diagnostic listeners registered for both frame types"
d5d01006420539d473cffe8e7e2087542374f3ae 28-Apr-2017 Enrico Granata <egranata@google.com> Fix an issue with removal of diagnostic listeners registered for both frame types

If a diagnostic listener was registered for both live and freeze frames,
and it was the only such listener registered, an unregister() call would
only remove one of the two registrations, but leave the other in place
such that the listener would still receive events.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
Fixes: 37756894

Change-Id: I5a71a630645e3b95b2ebea9adc02a886986f1e5c
ndroid/car/hardware/CarDiagnosticManager.java
d52f22f97bb3eac0148038925cb0358b2642f63b 27-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Bluetooth Auto-connect per user, fix multidevice connections"
3b44fb3256780a94b1934793b247caef348295bb 27-Apr-2017 Enrico Granata <egranata@google.com> Fix a few typos in the diagnostics code

Test: build
Change-Id: I10788e565a39c3be6462b13f454fbea41ca6b7e8
ndroid/car/hardware/CarDiagnosticManager.java
acb6024180232a2c0b6bad6f14758ef28d8f63f7 14-Apr-2017 Ram Periathiruvadi <ramperry@google.com> Bluetooth Auto-connect per user, fix multidevice connections

When auto connecting to devices on bluetooth, store and try devices per
user. Added a CarUserService that is created for the current user on
UserSwitch. The CarUserService deals with scenarios where the
CarService, running as a System User, doesn't get to listen to events
from processes running as the current user.
Fix the issue where when 2 phones were connected on HFP, auto-connect
only connects to one.
Other cleanup and slight code re-org

Bug: b/35324581
Bug: b/37305537
Test: Manually tested by switching between different users and connecting
to multiple phones.

Change-Id: I53583bee9ed1ff1a6bfd20363d4544efd2cc152f
ndroid/car/ICarBluetoothUserService.aidl
ndroid/car/ICarUserService.aidl
ndroid/car/settings/CarSettings.java
baa6c77721885baeb49699ec3f91109c4244300b 25-Apr-2017 Pavel Maltsev <pavelm@google.com> Merge "Adding more benchmark tests for Vehicle stack" into oc-dev am: 4055b6a843
am: 416ef55a64

Change-Id: Ide09a1b48de65cbef48bb5ca32323915350800a7
4055b6a843501dad0eb31ab70c205e9edd8071ec 24-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding more benchmark tests for Vehicle stack" into oc-dev
caad373a1a79d52e8a9bcd6dbab2347160049454 22-Apr-2017 Demyn Plantenberg <demyn@google.com> O API: hide VMS related strings

Removed the @SystemApi annotation from VMS strings.

Test: find packages/services/Car/tests/ -name 'Vms*Test.java' -exec development/testrunner/runtest.py -x '{}' \;
Fixes: 37510921
Change-Id: Ib71cd8d1fe0e537553fccb38b23d487ae812ebe5
ndroid/car/Car.java
45e59a01ae0d00694743b49b6e3135ad97557e6f 20-Apr-2017 Pavel Maltsev <pavelm@google.com> Adding more benchmark tests for Vehicle stack

Also, change mapping of predefined frequence, if client specify
SENSOR_RATE_FASTEST us maximum available rate from vehicle property
configuration. Allow users to use all predefined SENSOR_RATE_*

Test: runtest -x packages/services/Car/test/vehiclehal_test

Bug: b/36510399
Change-Id: Ica466c0ff35161cd1e580ad3da2c87d8b844795e
Fix: b/37538698
ndroid/car/hardware/CarSensorManager.java
101675784689f94cfc2a7c238e38fb84debcc527 20-Apr-2017 Enrico Granata <egranata@google.com> Add equals() and hashCode() to CarDiagnosticEvent.

Change-Id: I0549e0d7bd2504644f8b989580b3c0ac77d4d8df
Fixes: 37541578
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
ndroid/car/hardware/CarDiagnosticEvent.java
1c1e6e477ffbe12974810b4448546ea3c1e5d9ed 20-Apr-2017 Enrico Granata <egranata@google.com> Merge "Remove @SystemApi marker from diagnostics API fields. The diagnostics API is not meant for O." into oc-dev am: 4ad2be2e62
am: 81703c5fe7

Change-Id: I6529d40ac2970fec0fc81f6a4b325beac4411cf2
96d4fa4723a276340d113165aad5bf8a094d997e 20-Apr-2017 Keun-young Park <keunyoung@google.com> Merge "update Car.VERSION and add old API snapshot" into oc-dev am: df97b6c44b
am: 5351af5fa2

Change-Id: I0b86d131c157e9d1a39b811c720ce63cf05b7295
4ad2be2e626b09b69dac2bb134b7185171e969cb 20-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove @SystemApi marker from diagnostics API fields. The diagnostics API is not meant for O." into oc-dev
f62f1201f92cda33e596418235061588cb89743e 19-Apr-2017 Enrico Granata <egranata@google.com> Remove @SystemApi marker from diagnostics API fields.
The diagnostics API is not meant for O.

Bug: b/37509437
Test: build
Change-Id: I70f30caa8cd0b234b9199c917a160fb9fe0cb856
ndroid/car/Car.java
12cfa0d0d909df96c501546eec83bfa09515e3f8 19-Apr-2017 Keun-young Park <keunyoung@google.com> update Car.VERSION and add old API snapshot

bug: 36789624
Test: build
Change-Id: I6de31f31392578e8bde58cddd88d4f5103473de2
ndroid/car/Car.java
038d046f939dea4a13946a6699ac8bbc3e57bf09 17-Apr-2017 Pavel Maltsev <pavelm@google.com> Merge "Fixing sync in Car(Sensor|Diagnostic)Manager" into oc-dev am: ad042e580f
am: dfb123f051

Change-Id: I596c0fc2c9a6ded065a4f6cfd4f23739e11fe210
678064a8f745ac89c2d3a5c48e09d1c10eb35dea 12-Apr-2017 Pavel Maltsev <pavelm@google.com> Fixing sync in Car(Sensor|Diagnostic)Manager

Bug: b/37254546

Test: verified e2e tests no longer crashing with
ConcurrentModificationException

Change-Id: I2e295bfec36f6e0b4a6c4187ad8d8c7eaf9250c7
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/CarSensorManager.java
om/android/car/internal/CarRatedListeners.java
ce7ee20db58fd3816dcdd19dc1e2f6c8f26b0d5a 05-Apr-2017 Enrico Granata <egranata@google.com> Add code to convert a CarDiagnosticEvent into Diagnostic Json

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
runtest -x packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/Obd2LiveFrameGeneratorTest.java
Change-Id: I3e20ed08566161763933aa6c35b1f7aa7c2feca2
ndroid/car/hardware/CarDiagnosticEvent.java
e16aa2df82c061f52273981a9205092fafe77f90 06-Apr-2017 Asaf Rosenfeld <asafro@google.com> Merge "Adding availability HAL support"
eb541d4fae5171ca480069ff821581226df3ddb0 31-Mar-2017 Asaf Rosenfeld <asafro@google.com> Adding availability HAL support

Test: Added tests that inject offering and check change in availability. Also verified the following pass:
runtest -x ../tests/carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
runtest -x ../tests/carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java
runtest -x ../tests/carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
runtest -x ../tests/carservice_unit_test/src/com/android/car/VmsRoutingTest.java
runtest -x ../tests/carservice_unit_test/src/com/android/car/VmsLayersAvailabilityTest.java

Change-Id: Ia641499a60e79a2c8665257d94e1050a070da18d
ndroid/car/vms/VmsLayer.java
ndroid/car/vms/VmsLayerDependency.java
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsPublisherClientService.java
019d6c46302e9e073ee975cd6ba0d836a46573c7 22-Mar-2017 Scott Randolph <randolphs@google.com> Remove deprecated CarCamera interface

CarCamera is being replaced by the EVS HAL and manager.
See hardware/interfaces/automotive/evs and packages/services/Car/evs

Test: build full tree
Bug: 36900851
Change-Id: I691c4dc07491d51158f109c79c93f0748186bfc6
(cherry picked from commit 251fb78dc11923820402156e251b6029175eaa73)
ndroid/car/Car.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/camera/CarCameraState.aidl
ndroid/car/hardware/camera/CarCameraState.java
ndroid/car/hardware/camera/ICarCamera.aidl
a32b203ca277b92e137f11944093499da2c3ad7a 31-Mar-2017 Antonio Cortes <antoniocortes@google.com> Updating unsubscribeAll to follow the same pattern of unsubscribe

Ignore RemoteException and CarNotConnected exception in unsubscribeAll.

Test: build
Bug: 36724405
Change-Id: I35b37d43f70a2f55a401781dcb8ac6017c7a9dad
ndroid/car/vms/VmsSubscriberManager.java
2ec3e35196423f5a6ffd5ced85007331e3909cb7 30-Mar-2017 Antonio Cortes <antoniocortes@google.com> Improvements to VmsSubscriberManager

1) Removing unused function.
So far, there is no use case for clearing mListener (communication from
manager to final user). In fact, its mirror variable mIListener
(communication from service to manager) is final. Implying that
mListener is also expected to be final. In practice, it is expected that
user of VmsSubcriberManager invokes setListener only once in its
lifetime.

2) Notifying client of onCarDisconnected event.

3) Adding missing unsubscribeAll.

Test: build
Bug: 36724405
Change-Id: I8da38898aa52ba3bbccff95669b7f5be12a328fe
ndroid/car/vms/VmsSubscriberManager.java
251fb78dc11923820402156e251b6029175eaa73 22-Mar-2017 Scott Randolph <randolphs@google.com> Remove deprecated CarCamera interface

CarCamera is being replaced by the EVS HAL and manager.
See hardware/interfaces/automotive/evs and packages/services/Car/evs

Test: build full tree
Change-Id: I691c4dc07491d51158f109c79c93f0748186bfc6
ndroid/car/Car.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/camera/CarCameraState.aidl
ndroid/car/hardware/camera/CarCameraState.java
ndroid/car/hardware/camera/ICarCamera.aidl
e3c41a6fd632a4044d477df2418d97c341cd3176 27-Mar-2017 Asaf Rosenfeld <asafro@google.com> Merge "Add a class to calculate the available layers out of the publishers offerings"
a5dfba1e9a381a0442c848d01594f178690138e8 23-Mar-2017 Asaf Rosenfeld <asafro@google.com> Add a class to calculate the available layers out of the publishers offerings

Change-Id: I053a1d45e197f78891168269f2d4fbff258e2e29
Test: created a new test and all VMS 4 tests are passing.
ndroid/car/vms/VmsLayerDependency.java
2febe9f77440c3e0b631acb6fcaee13e91ca41f7 24-Mar-2017 Antonio Cortes <antoniocortes@google.com> Guarantee an increasing sequence in the onVmsSubscriptionChange message

First, instead of passing a sequence number and a list of layers, wrap
them in a parcelable object.

Then, generate the sequence number when updating the set of
subscriptions. In this way, we guarantee that different snapshots of
the subscription data have different sequence numbers.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/VmsRoutingTest.java
Bug: 36585514
Change-Id: I65cfd2aa1b0c1085bac13a3b77d472ff479da357
ndroid/car/vms/IVmsPublisherClient.aidl
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriptionState.aidl
ndroid/car/vms/VmsSubscriptionState.java
01a60395cdba8df0e306d1f692d4677799485b6f 22-Mar-2017 Antonio Cortes <antoniocortes@google.com> Updating VMS interfaces to use VmsLayer.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/VmsRoutingTest.java
Bug: 36214569
Change-Id: Iee5a0595ba5bb175d9b1b6189d15902fd222a967
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/IVmsSubscriberClient.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
0cad3236e5f46abeb211cca11b5ba3f68f679d6a 21-Mar-2017 Asaf Rosenfeld <asafro@google.com> Merge "Adding availability support to VMS subscribers"
2ca6f8cd2347a6649308a566bbba4f4deb37f2ff 20-Mar-2017 Asaf Rosenfeld <asafro@google.com> Adding availability support to VMS subscribers

Test: runtest -v -x carservice_unit_test/src/com/android/car/VmsRoutingTest.java
runtest -v -x carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
runtest -v -x carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
runtest -v -x carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java

Change-Id: I3570dc902a020463f1041f04fa31267fbdab39c0
ndroid/car/vms/IOnVmsMessageReceivedListener.aidl
ndroid/car/vms/IVmsSubscriberClient.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsSubscriberManager.java
e8369b6bfc52bfa929dcd01d3f6f13d50fd5eeac 17-Mar-2017 Asaf Rosenfeld <asafro@google.com> Clean and fixes for availability interface

Change-Id: I5bdcd2dad2d87865fd2d2c60295da32bbfde99cf
Test: all VMS tests pass
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsLayerDependency.java
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsPublisherClientService.java
883252c75a00af217bd1714648493c93aeb7918b 17-Mar-2017 Asaf Rosenfeld <asafro@google.com> Merge "Adding a class to describe a single VMS dependency. Adding a class to describe a publisher layers offering. Adding a way to publishers to declare their offering. Adding a token to publishers so that the service can track offering and potentially have more access control on publishing"
7bd684ec25febcbd65e32ff59e64f8b1d411aced 14-Mar-2017 Asaf Rosenfeld <asafro@google.com> Adding a class to describe a single VMS dependency.
Adding a class to describe a publisher layers offering.
Adding a way to publishers to declare their offering.
Adding a token to publishers so that the service can track offering and
potentially have more access control on publishing

Test: Verified tests run
Bug: TBD
Change-Id: Ibad7309608e983169deecf371360d3594a4e2dba
ndroid/car/vms/IVmsPublisherClient.aidl
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsLayerDependency.aidl
ndroid/car/vms/VmsLayerDependency.java
ndroid/car/vms/VmsLayersOffering.aidl
ndroid/car/vms/VmsLayersOffering.java
ndroid/car/vms/VmsPublisherClientService.java
4c43add01ddcbbc1aefd78249bbe1cf981381f8e 16-Mar-2017 Enrico Granata <egranata@google.com> Automatically generate the Java list of OBD2 sensor indices from the HIDL definition.

This commit introduces the hidl_parser library, which is capable of generating a parse tree from a set of HIDL enum definitions.
It then uses the output of hidl_parser to generate CarDiagnosticSensorIndices.java.

Test: update-obd2-sensors.py + rebuild
Change-Id: Ie368b616468b0a2b46da5aa92deb4617c78302e1
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticSensorIndices.java
9db963a2178a46510c479500c46d00104996369d 11-Mar-2017 Antonio Cortes <antoniocortes@google.com> Return all the layers when reporting subscription data

This helps publishers to make better decisions about what publish.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/VmsRoutingTest.java
Bug: 36137379
Change-Id: I8e94414ad74550b4029f06638c09d4ef5be3ed32
ndroid/car/vms/IVmsPublisherClient.aidl
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsPublisherClientService.java
0bd67c3140a29c851b2742a05fddaa1b1c57e5e9 13-Mar-2017 Antonio Cortes <antoniocortes@google.com> Making VmsLayer parcelable.

It is going to be used in the aidl interfaces.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherClientServiceTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsPublisherSubscriberTest.java
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsSubscriberManagerTest.java
Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/VmsRoutingTest.java
Bug: 36137379
Change-Id: Ib03b2e2412028f08d8dae6e5d98eceeee9c48f22
ndroid/car/vms/VmsLayer.aidl
ndroid/car/vms/VmsLayer.java
254865f3a7d0cfee88ade7ddbe49723007200504 10-Mar-2017 Antonio Cortes <antoniocortes@google.com> Code cleanup: removing unused code and updating obsolete comment.

Test: Build
Bug: 36119432
Change-Id: I246ecc000d70634ee0cb1e977f15420a96d369c6
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsProperty.aidl
ndroid/car/vms/VmsSubscriberManager.java
8b1d4ed9d5c8b835ca46622fcd9be17549abfd14 04-Mar-2017 Asaf Rosenfeld <asafro@google.com> Merge "Integrate routing manager: * subscriptions request from the HAL and Subscribers Manager reach publishers. * data from Publishers Manager and HAL reach subscribers."
25a8740a92afac3ef63ce118c5d4ccf9202e6e24 01-Mar-2017 asafro <asafro@google.com> Integrate routing manager:
* subscriptions request from the HAL and Subscribers Manager reach publishers.
* data from Publishers Manager and HAL reach subscribers.

Test: Fixed all the current test to subscribe on target layers
Bug: 34977500

Change-Id: If4345ed6c9890d703bd635fed35ef120ffd25ab5
ndroid/car/vms/IVmsSubscriberService.aidl
ndroid/car/vms/VmsPublisherClientService.java
ndroid/car/vms/VmsSubscriberManager.java
093e2bcf82752dab9c0e6e4bb6f6cf31497f74a6 28-Feb-2017 Enrico Granata <egranata@google.com> Add a test case for CarDiagnosticManager API entrypoints

Test: TARGET_USES_CAR_FUTURE_FEATURES=true runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
Bug: 34279245
For O-MR1

Change-Id: I71e213e1d3ad15d4184e4145b59540021777c9f1
ndroid/car/hardware/CarDiagnosticEvent.java
3c7a66693e28acaa82d3c9ff2ed99712270c889f 24-Feb-2017 Enrico Granata <egranata@google.com> Permission support for diagnostics.

This creates two permissions for access to diagnostic data:
- DIAGNOSTIC_READ, for read-only access to live and freeze frame data;
- DIAGNOSTIC_CLEAR, for deleting DTC data from the car.

It also extends the meaning of PERMISSION_VENDOR_EXTENSION to mean being allowed to read vendor-specific diagnostic sensor data.

Test: build
Bug: 35435164
For O-MR1.

Change-Id: I046bf6ae4a7aa2b2570ea5657bff9e1ce86edbce
ndroid/car/Car.java
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
om/android/car/internal/CarPermission.java
a97720d01b1fb677fdaef394a3232ab731fc36ac 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Post-O. Only enable CarDiagnosticManager if the right FeatureConfig flag is set."
34010edbc8e13794307564c63b45226a8bf39e7a 16-Feb-2017 Enrico Granata <egranata@google.com> Post-O. Only enable CarDiagnosticManager if the right FeatureConfig flag is set.

Test: build with and without TARGET_USES_CAR_FUTURE_FEATURES=true
Change-Id: I608f4b30caa0f1b7c3884cebdc778adbb43d5fb8
ndroid/car/Car.java
f621416f7455b46c88400d994e51f9494f82410e 13-Feb-2017 Enrico Granata <egranata@google.com> Post-O. Move event handling in CarDiagnosticManager to be more similar to CarSensorManager.

Also, shuffle some common code around in the process.

b/34281156

Test: build
Change-Id: Ie028d23903bef6dc18af7a10bd30abf8bb37e8f3
ndroid/car/CarLibLog.java
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/ICarDiagnostic.aidl
om/android/car/internal/CarRatedListeners.java
om/android/car/internal/SingleMessageHandler.java
4f17d8e2997027914cdc9993531f678f6d0c5b18 16-Feb-2017 Antonio Cortes Perez <antoniocortes@google.com> Merge "VMS skeleton code: VmsPublisherClientService."
2a68e45ab6964476df94df04643512cb556c91a2 16-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Post-O. Provide smart accessors for sensors that describe structured/enumerated data."
0b7559c7f6ea24cec679c310c7a320905222f843 14-Feb-2017 Enrico Granata <egranata@google.com> Post-O. Provide smart accessors for sensors that describe structured/enumerated data.

Some sensors describe purely numerical information (e.g. ENGINE_RPM).
For those, the sensor value itself is the entirety of the information.

In other cases, however, sensor values are either elements of an enumerated type, or bitmasks representing aggregate data.
In those situations, provide smart accessors that return a more structured view of the data.

Test: .
Change-Id: I619eb671d52b378b249ebb396f18eca6a5ecc3db
ndroid/car/hardware/CarDiagnosticEvent.java
9db04df1241b4b2ee3c6096eabca876e6a49708b 07-Feb-2017 Antonio Cortes <antoniocortes@google.com> VMS skeleton code: VmsPublisherClientService.

VmsPublisherClientService is the main interface for clients to use
publisher services. The test verifies that a fake client publishes a
message.

This is a post-O feature.

Bug: b/34976096
Test: VmsPublisherClientServiceTest
Change-Id: Ice021409e5ca753d10a1a7a03768da483e626449
ndroid/car/vms/VmsPublisherClientService.java
99e4f084c8df54e2a6b6e9d9ad123d985057ce32 09-Feb-2017 asafro <asafro@google.com> VmsHalService to use the new fields in the VMS property.

Will changes indexes enum in a different CL.

Test: Fixed tests to parse fields from VMS messages.
Bug: 35313272
Change-Id: Id718e2d1ed904daca0e13b93da20257c959ef23a
ndroid/car/vms/IOnVmsMessageReceivedListener.aidl
ndroid/car/vms/IVmsPublisherService.aidl
ndroid/car/vms/VmsProperty.java
ndroid/car/vms/VmsSubscriberManager.java
6e364e05877bdc2d47620c2ff64fe0486fcf0e95 09-Feb-2017 Antonio Cortes <antoniocortes@google.com> Hiding VMS APIs

This is a post-O feature.

Bug: b/34976096
Test: Build
Change-Id: I8b339292a7781c1e1871bcd9d13bbf0e8bba24c7
ndroid/car/vms/VmsProperty.java
ndroid/car/vms/VmsSubscriberManager.java
6b3544cf13ee99d6704216c96d40f89aff9bdc2b 07-Feb-2017 Antonio Cortes <antoniocortes@google.com> VMS skeleton code: VmsPublisherService

Implementing VMS publisher interfaces and service. The service
(VmsPublisherService) starts/binds to clients (IVmsPublisherClient) and
provides them with an interface (IVmsPublisherService) to publish data.

The next change will include the VmsPublisherClientService which is
the main interface for clients and the test.

This is a post-O feature.

Bug: b/34976096
Test: Flashed a Mojave board and verified there was no Car service crashes.
Change-Id: I360e78e4849b4e9d36855153a808ca5aef2630c5
ndroid/car/Car.java
ndroid/car/vms/IVmsPublisherClient.aidl
ndroid/car/vms/IVmsPublisherService.aidl
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
ndroid/car/Car.java
ndroid/car/hardware/CarDiagnosticEvent.aidl
ndroid/car/hardware/CarDiagnosticEvent.java
ndroid/car/hardware/CarDiagnosticManager.java
ndroid/car/hardware/ICarDiagnostic.aidl
ndroid/car/hardware/ICarDiagnosticEventListener.aidl
e95d8b3df507dd4c3fab1a4af2a55da704d4d702 09-Feb-2017 Antonio Cortes Perez <antoniocortes@google.com> Merge "Protecting VmsSubscriberManager with the future annotation and future flag."
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
ndroid/car/Car.java
ndroid/car/internal/FeatureUtil.java
ndroid/car/vms/VmsProperty.java
ndroid/car/vms/VmsSubscriberManager.java
om/android/car/internal/FeatureUtil.java
8f95f14763198df142739e53f5e4270176db4221 09-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Retain FutureFeature in the .class file in order to enable parsing it by automated tool."
a7d8ed1681d297bdda8345c1598c7b9a388599be 02-Feb-2017 Antonio Cortes <antoniocortes@google.com> VMS skeleton code: VmsSubscriberManager

Create class that will be used by clients to interact with VMS
subcription services.

Bug: b/34976096
Test: VmsSubscriberManagerTest
Test: Flashed a Mojave board and verified there was no Car service
crashes.

Change-Id: Ic11806275465f185fb7670729b64542526cd9a7f
ndroid/car/Car.java
ndroid/car/vms/VmsProperty.java
ndroid/car/vms/VmsSubscriberManager.java
c25ccb4bfab7567c54cb327376d5feb9848de63f 07-Feb-2017 Enrico Granata <egranata@google.com> Retain FutureFeature in the .class file in order to enable parsing it by automated tool.

Annotations marked @Retention(SOURCE) get stripped by the compiler and can't be scanned from a compiled class.

Test: build.
Change-Id: Ide2d513ef2ac4d7d8edb7faeac8bdf344ef82c55
ndroid/car/annotation/FutureFeature.java
e4619c7bdd549833cb795b74e438a7d1f3caa1b5 02-Feb-2017 Antonio Cortes <antoniocortes@google.com> VMS skeleton code: VmsSubscriberService

Create all the classes/interfaces to subscribe to the
VMS property. The next change will implement the
VmsSubscriberManager which is the main interface
for clients. Next change will also include the test.

Bug: b/34976096
Test: Flashed a Mojave board and verified there was no Car service
crashes.

Change-Id: I94ee54213a25e05df837220c6448ecfa62a1efa1
ndroid/car/Car.java
ndroid/car/vms/IOnVmsMessageReceivedListener.aidl
ndroid/car/vms/IVmsSubscriberService.aidl
98b427a9d5bd9f65411790f2d47ce6ee32a176fa 31-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Post-O: skeleton for product configuration support in CarInfoManager"
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
ndroid/car/CarInfoManager.java
ndroid/car/ICarInfo.aidl
ndroid/car/internal/FeatureUtil.java
734010a5a3ef5d38f3b178358c9069ccd9001b4a 20-Jan-2017 Antonio Cortes <antoniocortes@google.com> VMS skeleton code - Part 1

Create all the classes/interfaces to publish/subscribe to a
test VMS protobuf. This change will be split in 3 parts:

- VmsHalService.
- VmsService.
- VmsManager + Unit tests.

This change implemets the first part.

Bug: 34465511
Test: Flashed a Mojave board and verified there was no Car service
crashes.
Change-Id: Idac35240163fc14e4a65260bce3757f716bbcf3b
ndroid/car/vms/VmsProperty.aidl
ndroid/car/vms/VmsProperty.java
58d8e0d652534cf38685b146d0409e8c7e5bf5bc 27-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add skeleton for future feature support"
bae6e255631798985618af0d53e0a8e1fa42cb8f 25-Jan-2017 Keun-young Park <keunyoung@google.com> Add skeleton for future feature support

- Future feature is for feature which will not be enabled by default.
- These features are not ready yet and should not be used for
production.
- APIs marked with FutureFeature annotation is for APIs under development.
Those APIs should never used for production.

bug: 34710797
Test: build

Change-Id: If5d001f31b770fc6ba7bce084d98ce3c1fc1850f
ndroid/car/annotation/FutureFeature.java
fe1a8f14e1ac56f095d29336e0986950d8adfc0c 18-Jan-2017 Keun-young Park <keunyoung@google.com> add audio parameter API

- allow setting / getting audio parameters with subscription
for change.
- available parameters are checked for both get / set calls.
apps should only pass supported parameters.
- needs AUDIO_SETTINGS permission to use them.

bug: 32371653
Test: added CarAudioManagerTest

Change-Id: I6b40080f200c50d4f9fc57bca8651797f2744dc3
ndroid/car/Car.java
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
ndroid/car/media/ICarAudioCallback.aidl
5e9202ec768a6fb83f3e145aeba9d183162a0d82 10-Jan-2017 Pavel Maltsev <pavelm@google.com> Define HVAC Fan Position constants in manager

Fix: b/32669296

Test: test provided
Change-Id: I4a1104af3f04e2b9d9a5226508406397d13c2bb8
ndroid/car/hardware/hvac/CarHvacManager.java
1e5a88bcaea73af4a140616b4e9ed5fcfa60d990 16-Dec-2016 Pavel Maltsev <pavelm@google.com> Add support of ignition state to Car API

Bug: b/32312972, b/32761576

Test: tests provided
Change-Id: I8b9939ada7153d270cbdca14e054059dae5ce687
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/hardware/CarSensorManager.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
ndroid/car/Car.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
e44e0fb7baee22d677b6a78b815832bbfc353122 04-Nov-2016 Vitalii Tomkiv <vitalit@google.com> CarSensorManager: removing listener should reset update rate

bug: 32060307
Test: local test
Change-Id: Ic2b6567a3e71263d75390a4b737cd897190e4c91
ndroid/car/hardware/CarSensorManager.java
9231054983bfe688a6585eb9d3da7e5832a9f530 18-Oct-2016 Keun-young Park <keunyoung@google.com> Merge nyc-car-dev

caa94c65 MAP MCE Kitchen Sink
ac9a1546 Merge "MAP MCE Kitchen Sink" into nyc-car-dev
20539ba7 check negative size before reading Blob
6dcc50be fix synchronization in PM and PowerHal
83569f3f Merge "fix synchronization in PM and PowerHal" into nyc-car-dev
afdc9ae8 Add test for SystemActivityMonitoringService
d4e8ee2c Merge "Add test for SystemActivityMonitoringService" into nyc-car-dev
80ebb3f9 Increase coverage for CarSensorManagerTest
a88b3e72 Merge "Increase coverage for CarSensorManagerTest" into nyc-car-dev
5f537ee9 Handle all zone types properly in CarPopertyUtils.
f9215209 update TODOs
bbdfa549 Merge "Handle all zone types properly in CarPopertyUtils." into nyc-car-dev
20fcace9 Merge "update TODOs" into nyc-car-dev
c26f6bec fix memory leak in BinderInterfaceContainer
5f6c26bc InstCluster: add rebinding to onServiceDisconnected
9d08dc39 Minor fixes to Car Support Lib
eb19cac8 Merge "Minor fixes to Car Support Lib" into nyc-car-dev
7500e219 Update size of scroll bar buttons for PageListView
c9a023d1 fix failing car service test
a90995ad MAP MCE iPhone Connectivity
e917be0a Merge "MAP MCE iPhone Connectivity" into nyc-car-dev
b982e641 Put launcher in the activity stack before we show the block activity.
1093d084 Merge "Put launcher in the activity stack before we show the block activity." into nyc-car-dev
7151bb3e fix memory leak in vns
1a0d6548 fix wrong area type mapping in hvac
6817797a Update javadoc for CarCabinManager and CarHvacManager
09a67501 Update car_paged_recycler_view in car-ui-provider
b3af9fb8 Merge "Update javadoc for CarCabinManager and
CarHvacManager" into nyc-car-dev

- temporarily disabled BT related changes as API is not merged yet

bug: 32029701
Test: car service test
Change-Id: Ie99f67d9316824378c4b6fcb156a7a26fbd75f52
6817797a17e4b5a2421a3b109538c4c1831a6b59 15-Oct-2016 Steve Paik <spaik@google.com> Update javadoc for CarCabinManager and CarHvacManager

BUG: 32028107
Change-Id: Id4e48b28a44f4ee2a79fc14273d1ac330ccda1dc
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
20fcace9c2775ca890cf98ebf766e1598d499a53 12-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "update TODOs" into nyc-car-dev
f9215209e0f425d2fc570bef37dad959c82d2e9e 10-Oct-2016 Keun-young Park <keunyoung@google.com> update TODOs

- assign bugs for future items
- remove it if not necessary any more
- also remove unused CarServiceApplication

bug: 31970410

Change-Id: I3f5ecb8a80fd450afdb58007e07e88527132edb9
ndroid/car/CarInfoManager.java
ndroid/car/cluster/renderer/DisplayConfiguration.java
ndroid/car/cluster/renderer/InstrumentClusterRenderer.java
ndroid/car/cluster/renderer/NavigationRenderer.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/camera/CarCameraManager.java
5f537ee9564869b5c281abcf885553de6d42a148 11-Oct-2016 Vitalii Tomkiv <vitalit@google.com> Handle all zone types properly in CarPopertyUtils.

bug: 32067249
Test: local run
Change-Id: I7dc9a308f8a2bc3951217f03ab042e7f7c2751b7
ndroid/car/VehicleAreaType.java
ndroid/car/hardware/CarPropertyConfig.java
db161e2a29be92a3943643fe621e4b63620b50a4 08-Oct-2016 Keun-young Park <keunyoung@google.com> Merge nyc-car-dev

2678da20 remove CaeOperartionNotSUpportedException
8968e1d3 Remove drivers seat from vehicle.h
ed8609ea Fix AAE activity blocking.
cdb5f8ca Merge "Fix AAE activity blocking." into nyc-car-dev
16ef4c6d Merge "Remove drivers seat from vehicle.h" into nyc-car-dev
af2cc99a more api clean-up
150d8de4 CarNotConnectedException cleanup

bug: 32029701
Test: manual
Change-Id: I1ee86de3f498e5445f7f53486621c23a3984adb2
150d8de43e71a624106e90bcc04067414c42ef18 08-Oct-2016 Keun-young Park <keunyoung@google.com> CarNotConnectedException cleanup

- any action which can fail without car connection all throws
CarNotConnectedException including methods which do not
throw now.
- drop exceptions from all tearing down methods like stop / release
unregister / abandon.

bug: 31930987
Change-Id: Ib63866488575def288e7af1c8350d92423262862
ndroid/car/Car.java
ndroid/car/CarAppFocusManager.java
ndroid/car/CarProjectionManager.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/media/CarAudioManager.java
af2cc99a2e8eea38a75b20b952ea5c0e7ebb4b1b 07-Oct-2016 Keun-young Park <keunyoung@google.com> more api clean-up

- more @IntDef
- *Listener to *Callback when multiple methods are there.
- replace HvacPropertyId into CarHvacManager.ID_*
- replace CabinPropertyId into CarCabinManager.ID_*
- hide ValueTypeDef
- also fix failing CarNavigationStatusManagerTest

bug: 31930987
Change-Id: If8e8304a62f4f5d7d6f2d5d811bd65691370216e
ndroid/car/annotation/ValueTypeDef.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
16ef4c6d1d56f79aa69a9fcd549f1647596dac01 07-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove drivers seat from vehicle.h" into nyc-car-dev
8968e1d39a078e9143c7ab7f88a2e288ef2544bc 07-Oct-2016 Steve Paik <spaik@google.com> Remove drivers seat from vehicle.h

Change-Id: I1c8abb003b47040df65cffb464c275858bc837c3
ndroid/car/VehicleSeat.java
2678da209b9d005177777ce104bc45ecf4720841 07-Oct-2016 Keun-young Park <keunyoung@google.com> remove CaeOperartionNotSUpportedException

bug: 31930987
Test: car service test
Change-Id: Iafc881e252f3e62a8a181a97352d4d0e0173c095
ndroid/car/CarApiUtil.java
ndroid/car/CarOperationNotSupportedException.java
14ec18d16cd2c8814897864195fa5607ac39b056 07-Oct-2016 Keun-young Park <keunyoung@google.com> Merge nyc-car-dev

0903541d Update lens-header-height to correspond to new A/R specs.
e315d2ea Instrument android.car when EMMA_INSTRUMENT_FRAMEWORK is true.
cd68cc79 cleanup util classes
15ba9074 Update colors in car-support-ui.
19c8ab20 Docs: Editing SDK java docs
a9c9a7b8 Allow overriding the drawer item cap.
b94c5fde Merge "Docs: Editing SDK java docs" into nyc-car-dev
2f581594 Add tests for CarApiUtil
f4f07bf0 use main looper when null Handler is passed to Car
81ca2491 Merge "Add tests for CarApiUtil" into nyc-car-dev
aa5558ff Merge "use main looper when null Handler is passed to Car" into nyc-car-dev
edb80c84 Fix CarAppFocusManagerTest + improved coverage
52d7da59 Move CarVendorExtensionManagerTest to carservice
b88532d8 Merge changes If292161e,I0ed86319 into nyc-car-dev
51101d3c Add styles for Key1 and Key2.
8d90e50f Add tests for CarProjectionManager.
77ac6cf7 more test for Car
9cea1148 use only android.Car in car service test
53fe859e add CarInfoManagerTest and drop IAE from CarInfoManager
eff0a365 Merge "more test for Car" into nyc-car-dev
ca848cf1 Merge "add CarInfoManagerTest and drop IAE from CarInfoManager" into nyc-car-dev
5d873a0a Merge "use only android.Car in car service test" into nyc-car-dev
1d55dcf2 Fix ConcurrentModificationException in car support sensors proxy.
a8ecc9bc Update tests for VehicleZoneUtil
6e796904 Merge "Update tests for VehicleZoneUtil" into nyc-car-dev
8dd47a8e Consolidate naming of dimens in car-support-lib.
b0324b44 Add on-property-set listener to VNS
1b1247b5 Change logging for car packages.
4505f41a Merge "Add on-property-set listener to VNS" into nyc-car-dev
fb43d3da Merge "Change logging for car packages." into nyc-car-dev
4fbde4fb removing extendableParcelable and related changes
d72b5350 Many API council fixes.
67456359 CarInfoManager, put basic info into one Bundle
4cf69116 add final to Car*Managers
d15d8877 Change CarAppFocusManager to be asynchronous
09187673 Fix VehicleZoneUtilTest
98960815 fix race in app blocking during bootup
20dd8939 Merge "Change CarAppFocusManager to be asynchronous" into nyc-car-dev
cb7e36bd Merge "Fix VehicleZoneUtilTest" into nyc-car-dev
407a8df5 Merge "fix race in app blocking during bootup" into nyc-car-dev
3388e784 instument cluster api review
14134940 car api review
07ddbbd7 add specific access methods to CarInfoManager

Test: build, car tests, cts

Change-Id: I791c90c6a44bbf78a4535c747776a0c9fd9b5178
07ddbbd70e518e271f941f92df1b0e5501af0ad1 06-Oct-2016 Keun-young Park <keunyoung@google.com> add specific access methods to CarInfoManager

- support-lib no longer needs key
- for car-lib, Bundle is used to pass basic data
and keys are still there for Bundle but hidden.

bug: 31930987
Change-Id: I5f0bddebe2b4061f906fc8cc2875b81de4709ece
ndroid/car/CarInfoManager.java
141349407981da8a88f61c0b906240a1c3603ef7 06-Oct-2016 Keun-young Park <keunyoung@google.com> car api review

- more RestrictTo
- some interface to abstract class
: CarNavigationStatusManager, CarAudioRecord
- hide some utility APIs
- more type annotation

bug: 31930987

Change-Id: I60e230d8fce7258c8a533c45cf0820b01b29322b
ndroid/car/CarAppFocusManager.java
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/media/CarAudioManager.java
3388e7848f3a30029935463afafe9b8280939127 06-Oct-2016 Keun-young Park <keunyoung@google.com> instument cluster api review

- String to CharSequence for event name
- @IntDef clean ups
- void for set* APIs
App will lose app focus and will know it anyway.

bug: 31930987

Change-Id: Ic84c0a0bbe2980f51c3c260f5aa1181bf1b9bbe3
ndroid/car/Car.java
ndroid/car/cluster/renderer/IInstrumentClusterNavigation.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
ndroid/car/cluster/renderer/NavigationRenderer.java
ndroid/car/cluster/renderer/ThreadSafeNavigationRenderer.java
ndroid/car/navigation/CarNavigationInstrumentCluster.java
ndroid/car/navigation/CarNavigationManager.java
ndroid/car/navigation/CarNavigationStatusManager.java
ndroid/car/navigation/ICarNavigation.aidl
ndroid/car/navigation/ICarNavigationEventListener.aidl
cb7e36bdb521f6f2dff79dc24e7d7ab0b26df1f8 05-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix VehicleZoneUtilTest" into nyc-car-dev
20dd8939c81a381f2226da295a897c11a92f1779 05-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Change CarAppFocusManager to be asynchronous" into nyc-car-dev
09187673cfbf33b91453517611ee63ba95f41ed1 05-Oct-2016 Steve Paik <spaik@google.com> Fix VehicleZoneUtilTest

BUG: 31914602
Change-Id: If101dd7ebeed80edbf2cec7aab75af72f2e2b3da
ndroid/car/VehicleZoneUtil.java
d15d88777f07265b258f637e4967942d98bd6333 04-Oct-2016 Vitalii Tomkiv <vitalit@google.com> Change CarAppFocusManager to be asynchronous

bug: 31867090
Test: run tests
Change-Id: I5ea7719460ee29934efde8aa77c7a367bc86eb12
ndroid/car/CarAppFocusManager.java
ndroid/car/IAppFocus.aidl
ndroid/car/IAppFocusOwnershipCallback.aidl
ndroid/car/IAppFocusOwnershipListener.aidl
4cf6911619b9fe6ffeba7afeb05299aab165f184 04-Oct-2016 Keun-young Park <keunyoung@google.com> add final to Car*Managers

bug: 31930987
Change-Id: I09532056444f2ff1fef80d55023c425b909f406a
ndroid/car/Car.java
ndroid/car/CarProjectionManager.java
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/media/CarAudioManager.java
ndroid/car/navigation/CarNavigationManager.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
ndroid/car/CarInfoManager.java
ndroid/car/ICarInfo.aidl
ndroid/car/annotation/ValueTypeDef.java
d72b53500006e84b0c69e650878267c693c164a3 23-Sep-2016 Jason Tholstrup <jthol@google.com> Many API council fixes.

bug: 31913591
Change-Id: I3a0f9a57ecdccdae6c0b3b98b5bbf9b31733933b
ndroid/car/Car.java
ndroid/car/CarApiUtil.java
ndroid/car/CarAppFocusManager.java
ndroid/car/CarInfoManager.java
ndroid/car/CarNotSupportedException.java
ndroid/car/CarOperationNotSupportedException.java
ndroid/car/CarProjectionManager.java
ndroid/car/IAppFocus.aidl
ndroid/car/IAppFocusListener.aidl
ndroid/car/IAppFocusOwnershipListener.aidl
ndroid/car/ICarProjection.aidl
ndroid/car/ICarProjectionCallback.aidl
ndroid/car/ICarProjectionListener.aidl
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/ICarSensor.aidl
ndroid/car/hardware/ICarSensorEventListener.aidl
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/property/ICarProperty.aidl
ndroid/car/hardware/radio/ICarRadio.aidl
ndroid/car/media/CarAudioManager.java
ndroid/car/navigation/CarNavigationManager.java
ndroid/car/navigation/ICarNavigation.aidl
ndroid/car/navigation/ICarNavigationEventListener.aidl
fb43d3da2415ad63ae9bdb170210ec02888beedc 30-Sep-2016 Vitalii Tomkiv <vitalit@google.com> Merge "Change logging for car packages." into nyc-car-dev
1b1247b5648975dd41ee73c25425825abb256234 30-Sep-2016 Vitalii Tomkiv <vitalit@google.com> Change logging for car packages.

Removed PII information.
Disable all debug logging by default.
bug: 31811554
Test: manual build.

Change-Id: If95a27a1bb514f79f2acd65c21f5e7b29345a361
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
ndroid/car/hardware/radio/CarRadioManager.java
6e79690447efdb617ed8e7cb43c6cfe4216f0c45 28-Sep-2016 Steve Paik <spaik@google.com> Merge "Update tests for VehicleZoneUtil" into nyc-car-dev
a8ecc9bc8009119faaa5c8dd3dff206af71fae6a 28-Sep-2016 Steve Paik <spaik@google.com> Update tests for VehicleZoneUtil

BUG: 31486686
Change-Id: Idc31fc4b815cc865dee061f2d219e5aa83ad2e31
ndroid/car/VehicleZoneUtil.java
77ac6cf7366599d48d242205bcf5a67bcc633980 26-Sep-2016 Keun-young Park <keunyoung@google.com> more test for Car

- also fix null message case for
checkCarNotConnectedExceptionFromCarService

bug: 31486381
Change-Id: Idbaec40893fab058437f376ff6345cd15ad6fe51
ndroid/car/Car.java
b6af5c511a7f78e6bec870a5a0f660dabda45665 26-Aug-2016 Vitalii Tomkiv <vitalit@google.com> Add USB host manager in KitchenSink.

bug: 31321014
Test: this is test app on it's own.
Change-Id: If6bd698930d128c22b55215d1fc0ac1ba6b08013
ndroid/car/IUsbAoapSupportCheckService.aidl
f4f07bf04563b9ad25ff9cdfc96f40790f155e41 21-Sep-2016 Keun-young Park <keunyoung@google.com> use main looper when null Handler is passed to Car

- The current thread's looper may not be ready and
this leads into test failure for test code as test inst
thread has Looper but it never loops and this leads into
not getting any event.
- If Handler is null, always dispatch to main thread by using
main Looper.

bug: 31632485
Change-Id: I11f90a6df5fc7a0223176a449465baacb381b715
ndroid/car/Car.java
cd68cc79b4295c85cb4ecc175dd3934584e3abe2 14-Sep-2016 Keun-young Park <keunyoung@google.com> cleanup util classes

- make util classes final and disable public constructor

bug: 31489695
Change-Id: Iacfd807bd2a30336fe0865f9f1acc25dd8353609
ndroid/car/VehicleAreaType.java
ndroid/car/VehicleDoor.java
ndroid/car/VehicleMirror.java
ndroid/car/VehicleSeat.java
ndroid/car/VehicleWindow.java
ndroid/car/VehicleZone.java
ndroid/car/VehicleZoneUtil.java
a73f24c0a209799cc40c97d829e5ece839d79b14 09-Sep-2016 Jason Tholstrup <jthol@google.com> Merge remote-tracking branch 'remotes/goog/nyc-car-dev' into master

branch merge (11 commits, Fri Sep 9 11:39:30 2016 -0700):
4df5a286 Hide volume UI after we set volume due to context change.
26f5b9cc Add a simple screen orientation test in KS
9aaf8b91 bringing in code from g3 and updating some name spaces to match
57de6129 @hiding stuff and misc api lint fixes
3ee334d8 api lint refactorings and renaming of listener add/remove methods.
1ac59caa Final round of API doc cleanups. Some vestigial methods were removed.
22422070 Fix NPE in createCar()
4c56ef99 Make car support lib build with updated A/R dimensions.
614410f8 Update font styles with A/R specs.

Change-Id: I6dde9dd43a111593360261e06ad91d6d922b54b1
224220701b9c22ebcfc7dc532714839dca202bb3 07-Sep-2016 Yao Chen <yaochen@google.com> Fix NPE in createCar()

Bug: 31338344
Change-Id: I7a9f604a3d001e6cdfb7610bd2c6842a917b062a
ndroid/car/Car.java
1ac59caa6b1bc760aef0adb3c675b49bfa53af9f 31-Aug-2016 Jason Tholstrup <jthol@google.com> Final round of API doc cleanups. Some vestigial methods were removed.

Change-Id: Ia537b4075af5846436a0754481c8622cc7b1dca7
ndroid/car/Car.java
3ee334d8c220f631d2ea7fa225af148f41b43354 26-Aug-2016 Jason Tholstrup <jthol@google.com> api lint refactorings and renaming of listener add/remove methods.

Change-Id: Id8eceac2322564da8a5fd3f882574041a0b97704
ndroid/car/Car.java
ndroid/car/CarAppFocusManager.java
ndroid/car/CarInfoManager.java
ndroid/car/CarProjectionManager.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
ndroid/car/hardware/radio/CarRadioManager.java
9aaf8b91bdef693f555632c9ca491423e457efa1 04-Aug-2016 Jason Tholstrup <jthol@google.com> bringing in code from g3 and updating some name spaces to match

Change-Id: I0baf0d77ba2ec076e2e16849b11944907416066b
ndroid/car/CarInfoManager.java
1064d9fb461a00412c4baa315cacdd4799527d79 24-Aug-2016 Steve Paik <spaik@google.com> Merge remote-tracking branch 'remotes/goog/nyc-car-dev' into merge

Merging following CLs from nyc-car-dev:

8c7f297a Add foreground activity check to CarAppFocusService
df4db1d3 Instrument Cluster renderer sample
b694ba8d removing getActiveApps method. Unused and hard to implement without gms core changes.
26a9f2d8 fix value->prop --> value->value_type
b224b852 Add missing HVAC properties
43c04a7c Add CarCabinManager
902a6fde Fix android car lib tests.
6ad2b51e creating a java7 target for car-lib so it can be used at compile time in google3
634e1ff4 Implemented CarVendorExtensionManager
9202ecc3 Merge "Instrument Cluster renderer sample" into nyc-car-dev
d704edd2 Refactor bootanalyze to capture logcat logs through PIPE.
301b68f6 Merge "creating a java7 target for car-lib so it can be used at compile time in google3" into nyc-car-dev
e03080d6 Create default white list for car product
f602dd7e Merge "Create default white list for car product" into nyc-car-dev
a053ccba Create tool to auto-generate vns_policy.xml
bb0e97f7 Merge "Create tool to auto-generate vns_policy.xml" into nyc-car-dev
4d6088c2 Check access mode in Vehicle HAL before subscribe / unsubscribe
caccf8fc Add tests for CarCabinManager
1bfbaefc Fixed byte array and string support
c3bdeae6 Merge "Fixed byte array and string support" into nyc-car-dev
338cef87 Use InputManager for injecting events
a19c120a Merge "Use InputManager for injecting events" into nyc-car-dev
e33f07e7 Add dumpsys command to CarService to change day/night mode from adb
bb051044 Fix Android Auto Embedded car lib tests
e5fa31e7 Merge "Add dumpsys command to CarService to change day/night mode from adb" into nyc-car-dev
4e0a51ca Rename com.android.car.apitest package into android.cat.apitest
3b8af6b0 Merge "Rename com.android.car.apitest package into android.cat.apitest" into nyc-car-dev
a8386369 Fix getSupportedSensors lock
a54e1162 stop mocking when hal mocking process dies
a4ae9961 Add droiddoc target for car support lib.
94d4766e Add GarageMode settings.
ca19537e Merge "Add GarageMode settings." into nyc-car-dev
a928f13d Clean-up Navigation API
32b63822 support system sound with no focus request
396e1f88 Merge "Clean-up Navigation API" into nyc-car-dev
32bced70 Merge "support system sound with no focus request" into nyc-car-dev
9d4cf620 deep sleep cleanup
0adc0be3 Get rid of writeSerializable in CarPropertyConfig
ea4da84b Disconnect to car service in CarProxyActivity onDestroy()
95a6b131 Merge "Disconnect to car service in CarProxyActivity onDestroy()" into nyc-car-dev
49cd19cd keep volume listener across mocking
e52e8f2d fix wait per every VehicleNetwork connection
437ab41d Use blobs for strings and byte array properties
b5c631cd Merge "Use blobs for strings and byte array properties" into nyc-car-dev
2612bb4b Save volumes in settings.
37598e34 Merge remote-tracking branch 'remotes/goog/nyc-car-dev' into merge

Change-Id: Iadcc9763a44ddfde711350d9e28121d3ad8d030f
2612bb4b5b4043a3833e4e07e7dc788af84def09 20-Aug-2016 Yao Chen <yaochen@google.com> Save volumes in settings.

If car audio module does not have persistent memory, we will save per
car audio context volume in settings. So that the volumes will be
remembered after reboot.

Change-Id: I5ea485e8aed024b985d8342dbabfd4b8cf556bd5
ndroid/car/settings/CarSettings.java
437ab41da9003adc6ebe0ea639d42f32b0d0904c 16-Aug-2016 Pavel Maltsev <pavelm@google.com> Use blobs for strings and byte array properties

Use readBlob/writeBlob methods for property values of type string and byte[]
to avoid TransactionTooLargeException
Misc: added additional dump info to VehicleHal service

Change-Id: Ica7553e7d1b2ae6d43f57e02e490fa6e5fa01b18
Fix: b/30634124
ndroid/car/hardware/CarPropertyValue.java
0adc0be348900c18148a07915d66aea1a0b72a70 10-Aug-2016 Pavel Maltsev <pavelm@google.com> Get rid of writeSerializable in CarPropertyConfig

Change-Id: Ib245d328f6a9ba907805761214399485c1176b96
Fix: b/28294318
ndroid/car/hardware/CarPropertyConfig.java
2bd06925a1010a225102212b66784434b369fd87 26-Jul-2016 Vitalii Tomkiv <vitalit@google.com> Refactor CarInputService to allow customization of input button
handling.

This CL adds ICarInput service, and overlay config to specify service
that should handle inputs. If input is not handled it will fall back to
default implementation.

Change-Id: I71f1fbac780ab34901f6a3d0951e0a2efb02a61c
ndroid/car/CarLibLog.java
ndroid/car/input/CarInputHandlingService.java
ndroid/car/input/ICarInputListener.aidl
396e1f88333314616c9640a0f93f59923a6c5a14 04-Aug-2016 Pavel Maltsev <pavelm@google.com> Merge "Clean-up Navigation API" into nyc-car-dev
a928f13d7e41030331afaad33ee62e3772d96541 02-Aug-2016 Pavel Maltsev <pavelm@google.com> Clean-up Navigation API

Removed isInstrumentClusterSupported method
Modified onNextManeuverDistanceChanged method to include distance to display
Refactored instrument cluster reference implementation to use new params

Change-Id: I44cc436446eb510658306c8a118d455905efb1da
Fix: b/30115757
ndroid/car/cluster/renderer/IInstrumentClusterNavigation.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
ndroid/car/cluster/renderer/NavigationRenderer.java
ndroid/car/cluster/renderer/ThreadSafeNavigationRenderer.java
ndroid/car/navigation/CarNavigationManager.java
ndroid/car/navigation/ICarNavigation.aidl
ca19537e42894ec2be5de52c215edd7666603ce2 03-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add GarageMode settings." into nyc-car-dev
94d4766e55c34790e9a0be3009f05205cd730776 28-Jul-2016 Yao Chen <yaochen@google.com> Add GarageMode settings.

+ Add CarSettings to store keys related to Car platform.
+ Add a settings Activity for CarSettings, currently can be launched in
KitchenSink app. Later we can move it to the new Settings app.
+ Add relevant garage mode settings.

Change-Id: Iba3b5215a69004c6d7e38ad8a2a22ebd1acc7e1d
ndroid/car/CarApiUtil.java
ndroid/car/settings/CarSettings.java
ndroid/car/settings/GarageModeSettingsObserver.java
bb051044c22d7b3f99958cc32384e2bb015f68ad 28-Jul-2016 Vitalii Tomkiv <vitalit@google.com> Fix Android Auto Embedded car lib tests

Change-Id: Idc8d21bac73162cb7dc6032d00b4c41a2f2fa7d2
ndroid/car/hardware/CarPropertyConfig.java
4d6088c24c242a70a03238db1f1241c882e8e868 21-Jul-2016 Steve Paik <spaik@google.com> Check access mode in Vehicle HAL before subscribe / unsubscribe

Some properties are write-only and may not be subscribed. This rule is
enforced in the Vehicle HAL.

Also update auto-generated files.

Change-Id: I4e9ab15a44d98cf5ed2cbd311509c1986b28946b
ndroid/car/hardware/property/CarPropertyManagerBase.java
301b68f68d9b934d0732186282531fc82e1d1537 18-Jul-2016 Jason Tholstrup <jthol@google.com> Merge "creating a java7 target for car-lib so it can be used at compile time in google3" into nyc-car-dev
634e1ff49c62c32c8227ec5092743de3caca790c 15-Jul-2016 Pavel Maltsev <pavelm@google.com> Implemented CarVendorExtensionManager

Also, some refactoring like omitting excessive
synchronization and reworked takeSupportedProperties from
being exception driven in PropertyHalServiceBase.
Change switch/case statement to SparseIntArray, it has
some maintanance and performance benefits.

Change-Id: Ie9e9239718d6fb50801a616b823a20567237ac95
Fix: b/28244032
ndroid/car/Car.java
ndroid/car/hardware/CarVendorExtensionManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
6ad2b51e80c493f9a72dbc0642458cded2ca44db 14-Jul-2016 Jason Tholstrup <jthol@google.com> creating a java7 target for car-lib so it can be used at compile time in google3

Change-Id: I6dfb83669b6c0a36b79db3dcfc05ce526c9fbc95
ndroid/car/cluster/renderer/ThreadSafeNavigationRenderer.java
43c04a7c87404d078db60e09d2da0061d72357c2 09-Jul-2016 Steve Paik <spaik@google.com> Add CarCabinManager

BUG: 27225448
Change-Id: I652f8e27c3921e23e0860df6d79623ac0057e377
ndroid/car/Car.java
ndroid/car/VehicleMirror.java
ndroid/car/hardware/CarHvacManager.java
ndroid/car/hardware/cabin/CarCabinManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
b224b852ebb2b6e9fb5f093ea304b66be3a90f9e 09-Jul-2016 Steve Paik <spaik@google.com> Add missing HVAC properties

BUG: 28350886
Change-Id: Ib1e25b62a31d248ac3d8931d42e9cac3346c4717
ndroid/car/hardware/CarHvacManager.java
b694ba8d294ff654994af8a647aaf0d6859bc26a 30-Jun-2016 Jason Tholstrup <jthol@google.com> removing getActiveApps method. Unused and hard to implement without gms
core changes.

Change-Id: I023fda74ae70d48519f22746d8aa182f6e0ee624
ndroid/car/CarAppFocusManager.java
f521fd7b917a63c240802c7f841fc04c315573d0 08-Jul-2016 Keun-young Park <keunyoung@google.com> add VERSION to car API

- The same platform version may have different car API version.
- Car support lib / apps can use this VERSION to support
different car APIs.

bug: 30014701

Change-Id: Idec73471df72c01cfeccf618fa6fd48469660589
ndroid/car/Car.java
4c6834a27ccbcf42cbeef43059751752baf80ac3 28-Jun-2016 Keun-young Park <keunyoung@google.com> add external audio routing support

- external audio routing is done via audio focus request
- add hidden CarAudioManager API for apps to request audio focus
for external audio source: will be left hidden until it is good
to go as public or system api
- add test to confirm external routing

bug: 29601910
Change-Id: I33600a6f53b0854cd3b55663a8be6987ac20413a
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
3ebef84aae4bce85046ceb5a91abc03b06c03d23 08-Jul-2016 Steve Paik <spaik@google.com> Merge "Add CarGenericManager and refactor HVAC to use it" into nyc-car-dev
461ecc6c9bd22f782e8c64a6693bd8ec6d61593e 09-Jun-2016 Steve Paik <spaik@google.com> Add CarGenericManager and refactor HVAC to use it

Change-Id: I0af862f8da2259069a5be0d17efb1f82a208fa76
ndroid/car/hardware/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacEvent.aidl
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/ICarHvac.aidl
ndroid/car/hardware/hvac/ICarHvacEventListener.aidl
ndroid/car/hardware/property/CarPropertyEvent.aidl
ndroid/car/hardware/property/CarPropertyEvent.java
ndroid/car/hardware/property/CarPropertyManagerBase.java
ndroid/car/hardware/property/ICarProperty.aidl
ndroid/car/hardware/property/ICarPropertyEventListener.aidl
ffb3fb5029c2360cd03478dadac6c87f472e2875 29-Jun-2016 Pavel Maltsev <pavelm@google.com> Handle abandoning of nav app focus ownership

Change-Id: I00f8fb219e11093718c6dab0bdaad5679902aa38
Fixed: b/28767829
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
d79c47add221abca3f02a54c440f4025dbd781bd 28-Jun-2016 Pavel Maltsev <pavelm@google.com> Merge "Handle key events in instrument cluster" into nyc-car-dev
03cf60ce1ac0c87d137f93aeaac4b3062cdf839c 28-Jun-2016 Pavel Maltsev <pavelm@google.com> Handle key events in instrument cluster

Change-Id: Ic152b8fa6beb016383b6605b4e7e05394417d2e8
Fix:29366812
ndroid/car/cluster/renderer/IInstrumentCluster.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
4727da3796711ddd09d8c684fe50a341841284ee 31-May-2016 Keun-young Park <keunyoung@google.com> implement activity blocking

- monitor activity launch and shut it down if
car is not parked and if the app is not allowed.
- Launch blocking activity for unsafe app.
- Blocking activity stays up to timeout (3 secs) and
finish itself if there is safe app behind.
If safe app is not there, launch home. If home is
not safe either. stay.
- allow OEMs to give static whitelist as overlay.

bug: 25267050

Change-Id: Id0bdae757fa98345069f2d83711b46447506f888
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/content/pm/ICarPackageManager.aidl
0477e29bb17ee8ec99acfa5fa966889cd45ebf34 27-May-2016 Pavel Maltsev <pavelm@google.com> Refactor Instrument Cluster API

- separate Car Service and Inst Cluster Renderer proccesses
- remove DemoInstrumentClusterRendering (we probably will make reference
Renderer based on work we did for I/O)
- deprecate instrument cluster listeners in CarNavigationManager

Change-Id: Id24142b5811b22477177b2bbcb4cc0e463023b18
Bug:28719314
ndroid/car/Car.java
ndroid/car/CarLibLog.java
ndroid/car/cluster/renderer/IInstrumentCluster.aidl
ndroid/car/cluster/renderer/IInstrumentClusterNavigation.aidl
ndroid/car/cluster/renderer/InstrumentClusterRenderingService.java
ndroid/car/cluster/renderer/ThreadSafeNavigationRenderer.java
ndroid/car/navigation/CarNavigationManager.java
46371473c416415fb6bcb8db85686669c3d65af6 24-May-2016 Vitalii Tomkiv <vitalit@google.com> Car api review: CarAppContextManager renaming to CarAppFocusManager.

Changes include:
- rename to CarAppFocusManager
- allow multiple client listener for listening and setting.
- change name for set / reset to requestAppFocus, abandonAppFocus
- rename all APIs to use focus instead of context

Bug: 28886557
Change-Id: I5e5285c104435dbd2eea43c4b0e43ae5ead81218
ndroid/car/Car.java
ndroid/car/CarAppContextManager.java
ndroid/car/CarAppFocusManager.java
ndroid/car/IAppContext.aidl
ndroid/car/IAppContextListener.aidl
ndroid/car/IAppFocus.aidl
ndroid/car/IAppFocusListener.aidl
ndroid/car/IAppFocusOwnershipListener.aidl
1f3657e1da1f5a7a39a418f2519ca32a2a7eeafe 21-May-2016 Vitalii Tomkiv <vitalit@google.com> Mark CarAppContextManager as @hide.
am: 724d95ba5f

* commit '724d95ba5fda4bef577e1d97574c89077e447702':
Mark CarAppContextManager as @hide.

Change-Id: I70c2de65b101f685035ce67b5aecd0fbe0bc94d5
724d95ba5fda4bef577e1d97574c89077e447702 21-May-2016 Vitalii Tomkiv <vitalit@google.com> Mark CarAppContextManager as @hide.

For N release we'll mark it as @hide, to refactor and finalized for next
release.

Bug: 28886557
Change-Id: Id80e8bd8c4ec768c69e2cd65c487cb948ff7e3fc
ndroid/car/CarAppContextManager.java
1948e737894dd5ee693946244ecc7cd73e3bf9b4 20-May-2016 Jason Tholstrup <jthol@google.com> updating the sensor constants to be the same as projected
am: 9eae32f8c0

* commit '9eae32f8c09816d35ef28c14ed1f0c5fa39c21f1':
updating the sensor constants to be the same as projected

Change-Id: I00603f916e31a42da9c86d2b7a43567817b76c33
1de204e9c9215e86ec53a4919a0bd6b01d71fc5a 11-May-2016 Steve Paik <spaik@google.com> Fix CarHvacEvent sending HVAC_EVENT_ERROR

Missing break statement cause error event to be sent after onChange event.

Change-Id: Ib5c57a7d318c8c12a65b48126d55eca8f4d39fae
ndroid/car/hardware/hvac/CarHvacManager.java
9eae32f8c09816d35ef28c14ed1f0c5fa39c21f1 10-May-2016 Jason Tholstrup <jthol@google.com> updating the sensor constants to be the same as projected

Change-Id: Ic109a442da2345ef88a5dc803d089c01858004a7
ndroid/car/hardware/CarSensorManager.java
3cb891017933140b613cfaf5b8422c112c0f32dc 05-May-2016 Keun-young Park <keunyoung@google.com> add CarAudioManager.mute

- radio can be also muted by this.
- muting will also make new focus request, so client
requesting mute can also lose focus (LOSS_TRANSIENT) if it is
holding focus.
- For muting, muting request will be sen to vehicle hal.

- also fixed some bugs:
- handle IllegalArgumentException for focus request as this can happen
when mocked test ends
- fixed wrong addition of second context when focus loss is from car

bug: 28615094
Change-Id: I80b1c07305cad857763011711b7954ac5625fb64
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
d3ebccf59629c7a42b76f9a81e259eca73815cca 06-May-2016 Keun-young Park <keunyoung@google.com> check bind failure to car service and retry
am: 44241ffb07

* commit '44241ffb0717f22650bbcef19c9b68c1f56cac10':
check bind failure to car service and retry

Change-Id: I0e0ab8262c8abb33c77ba519cf9ca4dde3cdac52
44241ffb0717f22650bbcef19c9b68c1f56cac10 06-May-2016 Keun-young Park <keunyoung@google.com> check bind failure to car service and retry

- sysui cannot bind to car service until system user is ready
- add retry logic to retry it.

bug: 28620395
Change-Id: Ib909fb4bf271956b5f689a3afdfca3ed86a8de62
ndroid/car/Car.java
c960e01128769f6c62f03d397f5b5ae82d3fdcf1 05-May-2016 Steve Paik <spaik@google.com> Add more HVAC properties

- Outside air temperature
- Max defrost

BUG: 27080119
Change-Id: I721d3a459f24306d2aaa85403f833d2922d12dfd
ndroid/car/hardware/hvac/CarHvacManager.java
3412beb03a6f5beaa47355bc5836fc4797740ccb 30-Apr-2016 Steve Paik <spaik@google.com> Add new HVAC parameters to test fragment

BUG: 28402948
Change-Id: I723ed220366d52e895b3e6845fd93501ac8dc0b6
ndroid/car/hardware/hvac/CarHvacManager.java
0639277fbd67ef168954b84b4687762b34fa5992 23-Apr-2016 Keun-young Park <keunyoung@google.com> change some HVAC properties to be zoned
am: 4fff3d5

* commit '4fff3d5cc4112a341c331688bda9fcb65ed9016a':
change some HVAC properties to be zoned

Change-Id: I3f88e3845668e225bd451a9f6a8fd96b1a27084c
4fff3d5cc4112a341c331688bda9fcb65ed9016a 23-Apr-2016 Keun-young Park <keunyoung@google.com> change some HVAC properties to be zoned

bug: 28285692
Change-Id: I0cadb4604b596c4ddb4d59cac56477c9f0c14c13
ndroid/car/hardware/hvac/CarHvacManager.java
c4d442f4a0d3acf90b1c7a1dd7c222a8f32a193f 08-Apr-2016 Yao Chen <yaochen@google.com> Add CarVolumeService

Things added in this cl:
+ Hook up hardware volume keys to CarVolumeService to directly update
volume for current audio context.
+ Added volume control apis in AudioManager, and the real implementation
is done in CarVolumeService
+ The volume updates from car is broadcast to listeners through
IVolumeController api which is already in framework. SystemUI is using
this api to listen to volume changes (through AudioManager).
+ Added new permission for volume controls

Main TODOs left:
+ Multi stream playing at the same time. This can be done through
adjustign software mixer gain on Android side. Utility functions to
compute the gain is added in VolumeUtils, but it's not used yet in
CarVolumeService.

+ Hook up with Settings so per stream volume can be persisted across
multiple boots.

Bug: 27595951

Change-Id: I3a63e423d4e0a347215af65e79926212e4503d1b
ndroid/car/Car.java
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
57708444f4bdc623339227766335f56ed666f85a 15-Apr-2016 Yao Chen <yaochen@google.com> Some cleanup in Car Ui Apis
am: 5d8b904

* commit '5d8b90468dead2f59ec7007af3d67cc587ac5c1a':
Some cleanup in Car Ui Apis

Change-Id: Ieb66f056972f4ea71b3a78242e542df02ddf1373
5d8b90468dead2f59ec7007af3d67cc587ac5c1a 13-Apr-2016 Yao Chen <yaochen@google.com> Some cleanup in Car Ui Apis

+ Remove setBackgroundResource() api in CarUiEntry
The current implementation is using the wrong Context, and this API
is not necessary as apps can set the background in their main layout or
passing a bitmap using setBackground().

+ Add proper error message for CarUiProvider signature check.

+ fix an error in the car-support.mk

Bug: 28170802
Change-Id: Ida964b5378efaa2e4a1bd0713195fab0c8c619fd
ndroid/car/app/menu/CarUiEntry.java
fb5f6232486612413b129a2100bac720589dee0d 28-Mar-2016 Steve Paik <spaik@google.com> Implement changes from car api review of CarHvacManager

- Add @IntDef for all enums
- Split CarHvacProperty into corresponding Config and Value classes;
- Use java types to represent vehicle value type in API;
- Use generics for different property types;
- Add documentation to clarify behavior
- Allow multiple listeners to register for callbacks
- Remove @SystemApi tag from CarHvacEvent class
- fixed CarHvacManagerTest and vehicle hal mocking
- Added unit tests for CarPropertyConfig and CarPropertyValue

BUG: 27814691, 27900797, 27142682
Change-Id: Ic860b4ef4ff87db1babde21226ec35ac81f77cea
ndroid/car/VehicleAreaType.java
ndroid/car/VehicleSeat.java
ndroid/car/VehicleZone.java
ndroid/car/hardware/CarPropertyConfig.aidl
ndroid/car/hardware/CarPropertyConfig.java
ndroid/car/hardware/CarPropertyValue.aidl
ndroid/car/hardware/CarPropertyValue.java
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.aidl
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/hvac/ICarHvac.aidl
bf52d5bfd313ae33cdeb3c0b6252df9d153d6beb 28-Mar-2016 Steve Paik <spaik@google.com> Implement changes from car api review of CarHvacManager

- Add @IntDef for all enums
- Split CarHvacProperty into corresponding Config and Value classes;
- Use java types to represent vehicle value type in API;
- Use generics for different property types;
- Add documentation to clarify behavior
- Allow multiple listeners to register for callbacks
- Remove @SystemApi tag from CarHvacEvent class
- fixed CarHvacManagerTest and vehicle hal mocking
- Added unit tests for CarPropertyConfig and CarPropertyValue

BUG: 27814691, 27900797, 27142682
Change-Id: Ic860b4ef4ff87db1babde21226ec35ac81f77cea
ndroid/car/VehicleAreaType.java
ndroid/car/VehicleSeat.java
ndroid/car/VehicleZone.java
ndroid/car/hardware/CarPropertyConfig.aidl
ndroid/car/hardware/CarPropertyConfig.java
ndroid/car/hardware/CarPropertyValue.aidl
ndroid/car/hardware/CarPropertyValue.java
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.aidl
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/hvac/ICarHvac.aidl
8cf86912f5abf7ceb2cf39d799a8f3b5a79d3608 02-Apr-2016 Pavel Maltsev <pavelm@google.com> Create logging (dummy) instrument cluster renderer

- refactor instrument cluster to move all display vs meta-data to renderer
making abstract InstrumentClusterRenderer agnostic to implementation;
- fixed crash in KS when opened inst cluster fragment;
- do not call renderer methods from main thread anymore, this doesn't make
much sense for meta-data implementations;

Change-Id: Id8b1f4b9a9e344aa5ee477516ad4dca6ad1f0acf
Fix:27884323
(cherry picked from commit 07cdf56960c2b655f7feaf46836dc7b6ec8f355c)
ndroid/car/cluster/renderer/InstrumentClusterRenderer.java
ndroid/car/cluster/renderer/NavigationRenderer.java
08e3afacae7fc8b6856fdd3fd0be53f9cd14d759 06-Apr-2016 Vitalii Tomkiv <vitalit@google.com> resolve merge conflicts of 235f8ac to nyc-car-dev

Change-Id: I49327e591ef08875a92928535a1a0c69f7368804
235f8acd3cf83079ecd0f3e1b8368b0c9886de82 04-Apr-2016 Vitalii Tomkiv <vitalit@google.com> API review: Add CarNotConnectedException to APIs.

Bug: 27378263
Change-Id: I73192458847c31c726ee63bbece32f4ca2815e2e
ndroid/car/Car.java
ndroid/car/CarAppContextManager.java
ndroid/car/CarInfoManager.java
ndroid/car/CarProjectionManager.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/radio/CarRadioManager.java
4056daa63201842f2ebeca9ff96700ea7ab63e01 31-Mar-2016 Pavel Maltsev <pavelm@google.com> Merge "Fixed typos in API and minor cleanup" into nyc-dev
am: 4ab3f48

* commit '4ab3f48ded08b628b1267bf7576e478e166ca518':
Fixed typos in API and minor cleanup

Change-Id: I77b5b74c00b1da7d1189c4e4abf89f3cd4b8a23c
b13dbe470108846d1c04494c5c0d2bf3cd9b8054 17-Mar-2016 Jason Tholstrup <jthol@google.com> more minor clean ups for support lib -2

Change-Id: I2fd6fa4d7ea8ecfdfb87632f0ba8f07e6f3df406
ndroid/car/Car.java
ndroid/car/CarAppContextManager.java
e423804f896d2374d3427c861295961bcbf50620 29-Mar-2016 Pavel Maltsev <pavelm@google.com> Fixed typos in API and minor cleanup

Bug:27814691
Change-Id: Ie612105fb6c5b140076a02e327b168cbf92f4a4e
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/radio/CarRadioManager.java
f12454d87b6d10f0a5a2c913b816df08f7f01956 25-Mar-2016 Pavel Maltsev <pavelm@google.com> Merge "Revert "Fixed typos in API and minor cleanup"" into nyc-dev
f7b848406709e5a84df6cae08c95aa49306571ab 25-Mar-2016 Pavel Maltsev <pavelm@google.com> Revert "Fixed typos in API and minor cleanup"

This reverts commit cde2a7ea6e78aa25919cd2bd5ba36536d9915ad3.

Change-Id: I71d87949246dad51e93e137183094419bddbad16
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/radio/CarRadioManager.java
0b60a667333765298c3797cd0739a7afb3c648f2 25-Mar-2016 Pavel Maltsev <pavelm@google.com> Merge "Fixed typos in API and minor cleanup" into nyc-dev
cde2a7ea6e78aa25919cd2bd5ba36536d9915ad3 24-Mar-2016 Pavel Maltsev <pavelm@google.com> Fixed typos in API and minor cleanup

Bug:27814691

Change-Id: I84158df741862e72979cd120296b1d6fbc8258b8
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/radio/CarRadioManager.java
d4f4d754a116ef0d88f5aba5558429d9264c0fc8 24-Mar-2016 Vitalii Tomkiv <vitalit@google.com> API review: CarAppContextManager.
- Separate context change listener from ownership listener. Some apps
may just want to monitor the state.

Bug: 27598924
Change-Id: I496596b04273e943489e424760fff6764009f959
ndroid/car/CarAppContextManager.java
cc4874998a36ec6416d74f843a23a5791bd31a43 17-Mar-2016 Keun-young Park <keunyoung@google.com> update VehicleZoneUtil to be more restrictive

- works only for valid zones and zone flag.

bug: 27687346
Change-Id: I2ff252c909585ee96694e5f7f416d566eddeed6a
ndroid/car/VehicleZoneUtil.java
ndroid/car/hardware/hvac/CarHvacManager.java
280b5721254e5ac974404e02e7589f17f560d1f9 18-Mar-2016 Vitalii Tomkiv <vitalit@google.com> Add car API checks.

Bug: 27705308
Change-Id: I9826211e2ae3287eb19cf96d57dbff150b208eb2
ndroid/car/Car.java
ndroid/car/CarProjectionManager.java
ndroid/car/content/pm/AppBlockingPackageInfo.java
ndroid/car/content/pm/CarAppBlockingPolicy.java
ndroid/car/content/pm/CarAppBlockingPolicyService.java
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/radio/CarRadioEvent.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/hardware/radio/CarRadioPreset.java
ndroid/car/navigation/CarNavigationInstrumentCluster.java
04d8835b498ae007e77b3d8c64863b487ef7b68a 17-Mar-2016 Alan Viverette <alanv@google.com> Revert car API checks to fix update-api build

Change-Id: I6e4442a1645afddee8dd1d186a23963a37b5d722
ndroid/car/Car.java
ndroid/car/CarProjectionManager.java
ndroid/car/content/pm/AppBlockingPackageInfo.java
ndroid/car/content/pm/CarAppBlockingPolicy.java
ndroid/car/content/pm/CarAppBlockingPolicyService.java
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/radio/CarRadioEvent.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/hardware/radio/CarRadioPreset.java
ndroid/car/navigation/CarNavigationInstrumentCluster.java
e31a8b24afe58bfc924fab7b66c9e48b9ef8e884 17-Mar-2016 Keun-young Park <keunyoung@google.com> add missing permission to KS

- also rename permission (remove PERMISSION_)

bug: 27705642
Change-Id: If2ad4a3fa4af824e88fc2cfc0a2ecf0b8d4b32da
ndroid/car/Car.java
6f0a2fde32ec16046139dda3819c6f4ae475e36b 16-Mar-2016 Keun-young Park <keunyoung@google.com> fix hvac min/max check

- convering zone to index was wrong
- moved all zone manipulation into VehicleZoneUtil
- added tests to check basic functionality

bug: 27687346

Change-Id: I044cb88419dc788273391b31bdc3241c63c59391
ndroid/car/VehicleZoneUtil.java
ndroid/car/hardware/hvac/CarHvacManager.java
8835d967d1976148931eb61ef65e828704c89a6f 17-Mar-2016 Keun-young Park <keunyoung@google.com> Merge "Adding api current.txt for android.car and android.support.car library APIs to ensure compatibility is not broken by API changes." into nyc-dev
2a295e60b8486ddc292f1dc8b87f270e312620c1 15-Mar-2016 Pavel Maltsev <pavelm@google.com> Move Media Status Service logic to sample renderer

Also, implement crossfade animation between phone and media cards.

Bug:27695164
Change-Id: Iad6d31f563aa34df557caadd9b2f3fc304ca5af4
ndroid/car/cluster/renderer/InstrumentClusterRenderer.java
ndroid/car/cluster/renderer/MediaRenderer.java
b878e1fef3b83bc8f2c3910584c9a5c58b0b0eb4 15-Mar-2016 Vitalii Tomkiv <vitalit@google.com> Adding api current.txt for android.car and android.support.car library
APIs to ensure compatibility is not broken by API changes.

Bug: 27081644
Change-Id: I41657d060f1272031c45a8b56a891421293c7d52
ndroid/car/Car.java
ndroid/car/CarProjectionManager.java
ndroid/car/content/pm/AppBlockingPackageInfo.java
ndroid/car/content/pm/CarAppBlockingPolicy.java
ndroid/car/content/pm/CarAppBlockingPolicyService.java
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/radio/CarRadioEvent.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/hardware/radio/CarRadioPreset.java
ndroid/car/navigation/CarNavigationInstrumentCluster.java
fd5982c5700334ce24803632936f9c89a61e2da5 16-Mar-2016 Jason Tholstrup <jthol@google.com> Merge "Car support lib changes for shared support lib" into nyc-dev
e4c731ea3ed22615783efb02818b0b3d184bba33 15-Mar-2016 Jason Tholstrup <jthol@google.com> Car support lib changes for shared support lib

- remove IBinder from onServiceConnected
- Add CarNotConnected exceptions to android.car.support methods
- various type cleanup

bug: 27679766

Change-Id: I58335da8296ec83ad2d6ffe76ba18d54ea8563a0
ndroid/car/Car.java
ndroid/car/media/CarAudioManager.java
5d9da3558842bc392a36455cb1258b97cf4aafdc 15-Mar-2016 Keun-young Park <keunyoung@google.com> Merge "vehicle hal refactoring from hal review" into nyc-dev
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
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.java
ce4ffd95d6883b28756e5b02ae45a06013bd6c38 09-Mar-2016 Pavel Maltsev <pavelm@google.com> Add access permission for CarNavigationManager

Bug:27547330
Change-Id: I79966b078631b98902dadaeaecbfea2604ffe1a9
ndroid/car/Car.java
6e5ee61be4c24ae4d647d687901b7c9670c25899 09-Mar-2016 Vitalii Tomkiv <vitalit@google.com> Add CarProjectionManager and CarProjectionService.

- Allows to bind back to projected app service to boost its prioirity
- Allows to handle voice search requests.

Bug: 19730682, 27107725

Change-Id: Ib5d816964f4329eb21b19f64b50dee4322f187fb
ndroid/car/Car.java
ndroid/car/CarProjectionManager.java
ndroid/car/ICarProjection.aidl
ndroid/car/ICarProjectionListener.aidl
6dabfce79c5c9f3e7138a59c4de3a691ed1004fe 10-Mar-2016 Steve Paik <spaik@google.com> Clean up listener when car disconnected

Also remove queueing of events when there is no listener.

BUG: 26794947
Change-Id: I25e65ebedf1c3f4656370249da9366c99fd6cd43
ndroid/car/hardware/hvac/CarHvacManager.java
328263b63e4ca103eeb0fea65b9071223a4a00e5 08-Mar-2016 Keun-young Park <keunyoung@google.com> Merge "car api review: remove sensor types not relevant for embedded" into nyc-dev
4afc6ee52690326316e2ed1b7bc354f466849426 05-Mar-2016 Keun-young Park <keunyoung@google.com> car api review: remove sensor types not relevant for embedded

- For embedded, sensor data like GPS, accelerometer, compass
should be coming from SensorManager api.
- For support lib, embedded wrapper should proxy to SensorManager
for these removed sensors
- also add support for low fuel warning.
- duplicated carapi_test into android_car_apitest and
android_support_car_apitest.

bug: 27411121
Change-Id: Idf261b0793ed5debd1d0f4ac84372ea2b7614a63
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/hardware/CarSensorManager.java
1ecdd6ca75fdf8ff62105630664de5125e29676b 03-Mar-2016 Pavel Maltsev <pavelm@google.com> Adding MediaStatusService to Inst Cluster API

Added InstrumentClusterService for all interactions with instrument cluster;
Added MediaStatusService that listens for current media being played and
pushed this changes to inst cluster renderer.
Major refactoring of Renderer - now almost all methods in renderer are runs
in UI thread, had to add thread-safe wrappers to renderer classes;

Bug:27313264
Change-Id: I989cdf61529f885d2eebd3afbd416a35c59a9527
ndroid/car/Car.java
ndroid/car/CarConnectionListener.java
ndroid/car/ICar.aidl
ndroid/car/cluster/InstrumentClusterRenderer.java
ndroid/car/cluster/NavigationRenderer.java
ndroid/car/cluster/renderer/DisplayConfiguration.java
ndroid/car/cluster/renderer/InstrumentClusterRenderer.java
ndroid/car/cluster/renderer/MediaRenderer.java
ndroid/car/cluster/renderer/NavigationRenderer.java
ndroid/car/navigation/CarNavigationManager.java
5c6c390bac4374bc502ea8f4ffd0cb7d59506ec3 05-Mar-2016 Keun-young Park <keunyoung@google.com> car api review: remove car connection listener from android.car

- For embedded, car is always connected as long as service
is connected.
- Remove that API from android.car
- android.support.car still needs the API. So Embedded wrapper
will send connection notification immediately as long as
service is connected.

bug: 27374331
Change-Id: Iae6df76795c724b9365c64fefc971b98238aee27
ndroid/car/Car.java
ndroid/car/CarConnectionListener.java
ndroid/car/ICar.aidl
6f3f402a7469e300fbfe65d950204fef995d4d8d 01-Mar-2016 Vitalii Tomkiv <vitalit@google.com> Add requestAudioFocus and abandonAudioFocus to CarAutioManager.

This allows to expose hidden api from AudioManager.
Bug: 19730682
Change-Id: I9c4a2cef2ba53a9ca06cf1a50336c11183334bc0
ndroid/car/Car.java
ndroid/car/media/CarAudioManager.java
875616c52be0a5a4d3aa348e9dcfd90e54789912 05-Feb-2016 Steve Paik <spaik@google.com> Add camera service

- CarCameraManager - interface for android apps to control RVC
- CarCameraService - system service that connects to CarRvcManager
- JNI component to connect to vehicle_camera HAL

BUG: 25261672
BUG: 25226538
BUG: 25265752
BUG: 22701467

Change-Id: I9909f5ecb674ee3c70bb8043649ce6f3b46eaabf
ndroid/car/Car.java
ndroid/car/hardware/camera/CarCamera.java
ndroid/car/hardware/camera/CarCameraManager.java
ndroid/car/hardware/camera/CarCameraState.aidl
ndroid/car/hardware/camera/CarCameraState.java
ndroid/car/hardware/camera/ICarCamera.aidl
65de2039a94251f62d02a32e3136c0db4fc80d90 26-Feb-2016 Yao Chen <yaochen@google.com> Add abstraction and compatibility for car ui.

+ Add CarUiEntry abstraction and necessary classes to android.car
+ Add compatibility layer in android.support.car
+ Changed CarUiProvider package name.
+ remove an unused test app.
------------------------------------------------------------
+ For Car OEMs, they provide CarUiProvider which implements
android.car.CarUiEntry entry class. We have cts for CarUiEntry. Any
CarUiProvider runs in the car needs to pass cts.

+ For Car app developers, they should only use android.support.car
library for compatibility. The CarDrawerActivity uses an abstract
CarUiController to talk to the CarUiProvider in the "car" or gearhead.
CarUiController handles compatibility for different versions of
CarUiProvider(CarUiEntry), and even across embedded and projected.

+ For Android Auto projected mode, we will use a separate
projection-ui-controller-lib to glue android.support.car and gearhead.
(coming in another cl).

Bug: 27297716

Change-Id: Id775f4a1e529ecd9beb5f04bb9f768f93d3af331
ndroid/car/app/menu/CarMenuCallbacks.java
ndroid/car/app/menu/CarMenuConstants.java
ndroid/car/app/menu/CarUiEntry.java
ndroid/car/app/menu/RootMenu.java
ndroid/car/app/menu/SearchBoxEditListener.java
ndroid/car/app/menu/SubscriptionCallbacks.java
d644c8715c839ccdcbd76fcf9cc27705b5399f7a 23-Feb-2016 Pavel Maltsev <pavelm@google.com> Add initial version of Instrument Cluster API

Bug:27313264
Change-Id: I87becce586c50fc45169926deafc4ded53e8a292
ndroid/car/cluster/InstrumentClusterRenderer.java
ndroid/car/cluster/NavigationRenderer.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
ndroid/car/Car.java
ndroid/car/CarApiUtil.java
ndroid/car/CarAppContextManager.java
ndroid/car/CarConnectionListener.java
ndroid/car/CarInfoManager.java
ndroid/car/CarLibLog.java
ndroid/car/CarManagerBase.java
ndroid/car/CarNotConnectedException.java
ndroid/car/CarNotSupportedException.java
ndroid/car/IAppContext.aidl
ndroid/car/IAppContextListener.aidl
ndroid/car/ICar.aidl
ndroid/car/ICarConnectionListener.aidl
ndroid/car/ICarInfo.aidl
ndroid/car/VehicleDoor.java
ndroid/car/VehicleSeat.java
ndroid/car/VehicleWindow.java
ndroid/car/VehicleZone.java
ndroid/car/annotation/ValueTypeDef.java
ndroid/car/app/menu/CarUiEntry.java
ndroid/car/content/pm/AppBlockingPackageInfo.java
ndroid/car/content/pm/CarAppBlockingPolicy.aidl
ndroid/car/content/pm/CarAppBlockingPolicy.java
ndroid/car/content/pm/CarAppBlockingPolicyService.java
ndroid/car/content/pm/CarPackageManager.java
ndroid/car/content/pm/ICarAppBlockingPolicy.aidl
ndroid/car/content/pm/ICarAppBlockingPolicySetter.aidl
ndroid/car/content/pm/ICarPackageManager.aidl
ndroid/car/hardware/CarSensorEvent.aidl
ndroid/car/hardware/CarSensorEvent.java
ndroid/car/hardware/CarSensorManager.java
ndroid/car/hardware/ICarSensor.aidl
ndroid/car/hardware/ICarSensorEventListener.aidl
ndroid/car/hardware/hvac/CarHvacEvent.aidl
ndroid/car/hardware/hvac/CarHvacEvent.java
ndroid/car/hardware/hvac/CarHvacManager.java
ndroid/car/hardware/hvac/CarHvacProperty.aidl
ndroid/car/hardware/hvac/CarHvacProperty.java
ndroid/car/hardware/hvac/ICarHvac.aidl
ndroid/car/hardware/hvac/ICarHvacEventListener.aidl
ndroid/car/hardware/radio/CarRadioEvent.aidl
ndroid/car/hardware/radio/CarRadioEvent.java
ndroid/car/hardware/radio/CarRadioManager.java
ndroid/car/hardware/radio/CarRadioPreset.aidl
ndroid/car/hardware/radio/CarRadioPreset.java
ndroid/car/hardware/radio/ICarRadio.aidl
ndroid/car/hardware/radio/ICarRadioEventListener.aidl
ndroid/car/media/CarAudioManager.java
ndroid/car/media/ICarAudio.aidl
ndroid/car/navigation/CarNavigationInstrumentCluster.aidl
ndroid/car/navigation/CarNavigationInstrumentCluster.java
ndroid/car/navigation/CarNavigationManager.java
ndroid/car/navigation/ICarNavigation.aidl
ndroid/car/navigation/ICarNavigationEventListener.aidl
ndroid/car/test/CarTestManagerBinderWrapper.java