Age | Commit message (Collapse) | Author |
|
subscribe to fused layers explicitly, Will add more tests that cover fused vs. non fused offering and availability as part of HAL (property) integration."
|
|
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
|
|
|
|
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|