Age | Commit message (Collapse) | Author |
|
Bug: 37246134
Test: verified VHAL 2.1 running via lshal and logcat;
verifed diagnostic_injector.py can inject diagnostic data
Change-Id: I49d20de2a440cf45d2a0928fe43197e491a0ba66
|
|
FLAG is misleading because these are not bitwise masks, but
just identifiers of frame types.
Test: manual in KitchenSink
Change-Id: Ieed237ad6cb36bcec36c77d9a4ec5bc89edeaaba
|
|
frame types"
|
|
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
|
|
|
|
Test: build
Change-Id: I10788e565a39c3be6462b13f454fbea41ca6b7e8
|
|
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
|
|
am: 416ef55a64
Change-Id: Ide09a1b48de65cbef48bb5ca32323915350800a7
|
|
|
|
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
|
|
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
|
|
Change-Id: I0549e0d7bd2504644f8b989580b3c0ac77d4d8df
Fixes: 37541578
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
|
|
API is not meant for O." into oc-dev am: 4ad2be2e62
am: 81703c5fe7
Change-Id: I6529d40ac2970fec0fc81f6a4b325beac4411cf2
|
|
am: 5351af5fa2
Change-Id: I0b86d131c157e9d1a39b811c720ce63cf05b7295
|
|
API is not meant for O." into oc-dev
|
|
The diagnostics API is not meant for O.
Bug: b/37509437
Test: build
Change-Id: I70f30caa8cd0b234b9199c917a160fb9fe0cb856
|
|
bug: 36789624
Test: build
Change-Id: I6de31f31392578e8bde58cddd88d4f5103473de2
|
|
am: dfb123f051
Change-Id: I596c0fc2c9a6ded065a4f6cfd4f23739e11fe210
|
|
Bug: b/37254546
Test: verified e2e tests no longer crashing with
ConcurrentModificationException
Change-Id: I2e295bfec36f6e0b4a6c4187ad8d8c7eaf9250c7
|
|
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
|
|
|
|
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
|
|
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)
|
|
Ignore RemoteException and CarNotConnected exception in unsubscribeAll.
Test: build
Bug: 36724405
Change-Id: I35b37d43f70a2f55a401781dcb8ac6017c7a9dad
|
|
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
|
|
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
|
|
offerings"
|
|
Change-Id: I053a1d45e197f78891168269f2d4fbff258e2e29
Test: created a new test and all VMS 4 tests are passing.
|
|
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
|
|
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
|
|
|
|
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
|
|
Change-Id: I5bdcd2dad2d87865fd2d2c60295da32bbfde99cf
Test: all VMS tests pass
|
|
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"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Test: Build
Bug: 36119432
Change-Id: I246ecc000d70634ee0cb1e977f15420a96d369c6
|
|
Subscribers Manager reach publishers. * data from Publishers Manager and HAL reach subscribers."
|
|
* 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
|
|
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
|
|
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
|
|
|
|
flag is set."
|
|
Test: build with and without TARGET_USES_CAR_FUTURE_FEATURES=true
Change-Id: I608f4b30caa0f1b7c3884cebdc778adbb43d5fb8
|
|
CarSensorManager.
Also, shuffle some common code around in the process.
b/34281156
Test: build
Change-Id: Ie028d23903bef6dc18af7a10bd30abf8bb37e8f3
|
|
|
|
structured/enumerated data."
|
|
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
|