f6381fbe6dd18ada4f14ee998989af63bf0985a5 |
06-Jun-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Fix driving state for manual transmission. Listen to parking brake status in addition to the gear selection. Revisit the initialization portion of the driving state and ux restrictions when car service is created to handle corner case situations when sensor data is not available from the VHAL. Bug: 69859926 Test: runtest -x CarDrivingRestrictions.java Change-Id: I4d11e0e7275c4cca840235619d83462742ba3f40
arDrivingRestrictionsTest.java
|
f131154914971de975b258985190eb255574e477 |
05-Jun-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Rename VEHICLE_AREA_TYPE_NONE --> VEHICLE_AREA_TYPE_GLOBAL" into pi-dev
|
419f5efd172a72f87e674287ef12292e18067b6c |
04-Jun-2018 |
Steve Paik <spaik@google.com> |
Rename VEHICLE_AREA_TYPE_NONE --> VEHICLE_AREA_TYPE_GLOBAL Bug: 79921986 Test: runtest -x packages/services/Car/tests/carservice_test ` Change-Id: I87876e066cfc9f4bbcbd3021c5057b8030292a48
msHalServiceSubscriptionEventTest.java
msPublisherClientServiceTest.java
msPublisherPermissionsTest.java
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
|
7f3c6b965c232ad612b1f7561363fa1a3256be8a |
04-Jun-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Update Car UxR Manager API name. The Listener Interface type name did not start with a capital letter. Bug: 80506092 Test: Test the UXR listeners are updated with the restriction changes. Change-Id: I3cd792cbfe5806d1000cc22bb6aca77ed756ddb7
arDrivingRestrictionsTest.java
|
4d257023389c23b8836f10cda1bfa1ea136f56c9 |
27-Apr-2018 |
Steve Paik <spaik@google.com> |
Create CarPropertyService and CarPropertyManager CarPropertyService replaces Cabin, Hvac, Info, Sensor, and VendorExtension services. Bug: 78782959 Bug: 36649684 Bug: 68056035 Test: runtest -x packages/services/Car/tests/android_car_api_test runtest -x packages/services/Car/tests/carservice_unit_test Change-Id: I69756654473fe66ef95e9e2cd4f3c1045e3ac938 Merged-In: Ic0a94805f83cc0222fb2bcf9674b6031bc050986 (cherry picked from commit fc0257133967edcb217e07e9ab942690eeaae3de) (cherry picked from commit 0265d8348716b2971f76e697f410f4cf7128371c)
arCabinManagerTest.java
arHvacManagerTest.java
arSensorManagerTest.java
|
d3cb98e76080151bdfb5085b8971b5070f11d28b |
11-May-2018 |
Ying Zheng <yizheng@google.com> |
DO NOT MERGE - Create a car user service. Protected by flag. Test: Unit test Bug: 79536548 Change-Id: I8f8a42a5811e38c8c03f0f5d4e9665870a44674d
ockedCarTestBase.java
|
db664839bb4033fc8653c23c5f17774b21f8fd7a |
23-May-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Change default UX restriction parameters. Changing max string length, max cumulative items and max depth defaults as suggested by UXR team. Also changing the restrictions in idling state to be the same as that of the parked state. Bug: 77606226 Test: runtest -x CarDrivingRestrictionsTest.java Change-Id: I0e8b0ece70b539d8d6c1bf1bc62ac1d6a2f96606
arDrivingRestrictionsTest.java
|
7b25e6ad5fba7f0a0daff1f6831be6ee8e6d25b3 |
23-May-2018 |
Ying Zheng <yizheng@google.com> |
Merge "Revert "Create a car user service that creates a secondary admin on first run."" into pi-dev
|
2b49967b09ca66f0a7a1cab7f1cfeed7cc586a64 |
23-May-2018 |
Ying Zheng <yizheng@google.com> |
Revert "Create a car user service that creates a secondary admin on first run." Bug: 79536548 Test: Build This reverts commit 5bdb9e5b32f8199dbded0c76ce5302d105be0f29. Reason for revert: Do it later. Change-Id: Ice8a9c6e94b3a1758d9108725950e8bdaea0fc0b
ockedCarTestBase.java
|
8ecf6fa8a89c72ba3cdb2ea6460b40de9e0c1f94 |
21-May-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Create a car user service that creates a secondary admin on first run." into pi-dev
|
5bdb9e5b32f8199dbded0c76ce5302d105be0f29 |
11-May-2018 |
Ying Zheng <yizheng@google.com> |
Create a car user service that creates a secondary admin on first run. Test: Unit test Bug: 79536548 Change-Id: Id38b32c6a9c1dd885b8e04f41f6f7e45a69131ff
ockedCarTestBase.java
|
40f1dede85595b9b5497c5916adf34fbcbbd1d74 |
08-May-2018 |
Anna Linetsky <alinetsky@google.com> |
Changed subscriber API signature Bug: http://b/79349432 Test: locally against GCE instance Change-Id: Idd8ab31175bc937dff675afc8cee758a96666d3f
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
|
b273a47d62c237dbc9069ace6ef834942d192d39 |
16-May-2018 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Revert "Added a new test for whitelist of VMS clients"" into pi-dev
|
c4a6c64eab576c9eb967ac17abf169111d9b3029 |
15-May-2018 |
Asaf Rosenfeld <asafro@google.com> |
Revert "Added a new test for whitelist of VMS clients" This reverts commit f1f6c7ea9c0a688b195136b4e40c4c8b2c15c1d8. Reason for revert: base on security review for VMS (b/70289964) no need for white listing clients. Bug: b/77729458 Change-Id: I1c69a28cd239ec7f75a35b5087eb90a4c6d55397
msWhiteListTest.java
|
03dcd24d49973fbeb5b9aa89ec22b26253b779bf |
13-May-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Car service tests for Driving state. Driving State and Ux Restrictions tested with the mocked VHAL. Bug:79652916 Test: runtest -x CarDrivingRestrictionsTest.java Change-Id: Ic7b191b32f83f02c47ad585288e5cc343fcc25f8
arDrivingRestrictionsTest.java
|
5c45fca3576c364be7bd2549393e7a2457b1b5d7 |
26-Apr-2018 |
Anna Linetsky <alinetsky@google.com> |
Additional fix for a flaky test and for b/72949423 Test: locally againt GCE instance Bug: b/72949423, b/74008519 Change-Id: I3c19992782917ee5faebcdae8afe79829a9b7c90
msPublisherSubscriberTest.java
|
4262e54fbcb7f6c76f24f7f7a970b92f8196d0eb |
18-Apr-2018 |
Kai Wang <kwangsudo@google.com> |
Merge "Fix CarPowerManagementTest" into pi-dev
|
6232c0d6876964220ef8ffa22cddf34e2cd15fcd |
17-Apr-2018 |
Kai <kwangsudo@google.com> |
Fix CarPowerManagementTest Fix CarPowerManagementTest. Bug: 77856220 Test: runtest -x packages/services/Car/tests/carservice_test Change-Id: Ib2a390cc89bc241e416c9bec8b4d6c9a35191953
arPowerManagementTest.java
|
03448256c61f61db9d618d20f6b29d9b2e2b6e15 |
13-Apr-2018 |
Anna Linetsky <alinetsky@google.com> |
Relaxed strict comparison on sequence number Test: locally agains GCE instance Change-Id: Idfb54fe94136259710e0efc000a85906428a5984 Bug: b/77856220
msPublisherSubscriberTest.java
|
f1f6c7ea9c0a688b195136b4e40c4c8b2c15c1d8 |
04-Apr-2018 |
Anna Linetsky <alinetsky@google.com> |
Added a new test for whitelist of VMS clients Test: locally against GCE instance Bug: b/77729458 Change-Id: I77f05d1be9b52188b5ca2247e45911fb0652f3d8
msWhiteListTest.java
|
d5da108699d3904971fd829f7fe555799b7787b0 |
04-Apr-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Enable dumpsys car_service" into pi-dev
|
cda4c9129687c42453f3d41e7714a6d816a2fe4b |
04-Apr-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Construct default audio port config when creating audio patch" into pi-dev
|
e8056ca93515f01f237290bbc371bc082570fa96 |
03-Apr-2018 |
Enrico Granata <egranata@google.com> |
Enable dumpsys car_service The command in use to dumpsys information from CarService was "dumpsys activity service com.android.car/.CarService", which is based on overloading dump() in the CarService class. OTOH, the class known to the ServiceManager as "car_service" is ICarImpl, which was not providing the correct overload of dump(). Fix this by moving the dumping logic over in ICarImpl Test: manual Fixes: 77498074 Change-Id: I0c18a9088e9c06201de79e8ebf247dc969ff7317
ockedCarTestBase.java
|
1e7f55cff6d393e66965e17b59804d23ff9ab23b |
27-Mar-2018 |
Hongwei Wang <hwwang@google.com> |
Construct default audio port config when creating audio patch It's not trivial to get activeConfig for a device port unless we copy the activeConfig from the mix port used to route to this particular device. There can be more than one mix ports routed to the same device. App is also given the privilege as to select the device port configuration therefore there is guarantee the activeConfig from the mix port is used for that device port. In this change, we construct the source and sink config for an audio patch with default values and it's up the audio HAL to pick the right configuration. We will update the go/aae-audio doc accordingly. Other changes in this CL: - Changes the getExternalSources as to return list of addresses - CarAudioPatchHandle uses address instead of name - Also does code cleanup. - make update-car-api updates proguard-release.flags Bug: 77147937 Test: releaseAudioPatch(createAudioPatch(<test-port>, <usage>, 0)) Change-Id: Ia30c2bfde8198546bfa9090882d424ca0ba14363
arAudioManagerTest.java
|
20526258de542b521b630079513059d08c08efdb |
30-Mar-2018 |
Steve Paik <spaik@google.com> |
Cleanup after updating VHAL This CL cleans up the mess created after we revised VHAL's type.hal. I also removed CarRadio* since that is deprecated. Bug: 77301298 Test: It compiles Change-Id: Iad881373ab555da7e282349f5519f0882c5cd0cd
arHvacManagerTest.java
arPowerManagementTest.java
arRadioManagerTest.java
arSensorManagerTest.java
arVendorExtensionManagerTest.java
|
904e3d6f3ae5349d65f95d901442c892f3cebe9f |
30-Mar-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add XML configuration for Garage Mode." into pi-dev
|
fe99dde8a52440db45bb94fe53dc5f235ecda379 |
28-Mar-2018 |
Bryan Eyler <bryaneyler@google.com> |
Add XML configuration for Garage Mode. Changes Garage Mode to kick off after a predetermined time set in an XML config file. No longer kicks off Garage Mode at a specific time of day. Bug: 72316567 Change-Id: Ieee7ccf8645fcb1c8e425b9dc10317f40f6f8bce Tested: GarageModeTest
arageModeTest.java
|
9aa170f337045cbd2f216983ef1ac2ffa6faa336 |
18-Mar-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Deprecate SENSOR_TYPE_DRIVING_STATUS. Driving Status is derived in CarDrivingStateService and is deprecated as a sensor type in the CarSensorService and manager. Bug: 72159711 Test: Compile and boot successfully. runtest -x CarSensorManagerTest. Change-Id: I88ff964b332ee7d4ae2d01244cd9eeda10c18d77
arSensorManagerTest.java
ockedCarTestBase.java
|
e154f586afe04724e10e53d4c3a4dfb36423b686 |
22-Mar-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Rename CarPackageManager APIs. CarPackageManager APIs isActivityAllowedWhileDriving and isServiceAllowedWhileDriving are renamed to isActivityDistractionOptimized and isServiceDistractionOptimized to reflect the information that they actually provide. Bug: 73064345 Test: compile, exercise the APIs and carservice_test. Change-Id: I1063d13c672caa659735686ed0d8df4e5c20a1d3
arPackageManagerTest.java
|
c40fcb4209ed540ee8addd047b89b1f95d3fa82c |
21-Mar-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Merge "Fix CarPackageManager Test." into pi-dev
|
8ef1a20482b5b8a5b4d559bef4f528cbf7b74f5f |
17-Mar-2018 |
Ram Periathiruvadi <ramperry@google.com> |
Fix CarPackageManager Test. The test needs to explicitly call the CarPackageManager to check for CarAppBlockingPolicyServices in order to get a bind request. Bug:74395964 Test: runtest -x src/com/android/car/CarPackageManagerTest.java Change-Id: I99534328319054e6194921a459b399a7761d584e
arPackageManagerTest.java
ockedCarTestBase.java
|
87b36fdef99fec7fdba383adc48d7dd4671691fe |
14-Mar-2018 |
Steve Paik <spaik@google.com> |
Handle display brightness change from car Bug: 32065231 Test: python emulator Change-Id: I72edb1602f3f5941a3b2afff4023090a738e7b37
arPowerManagementTest.java
ockedCarTestBase.java
|
9ebe6184df09ca1ce939e10efc6367112c51b670 |
12-Feb-2018 |
Scott Randolph <randolphs@google.com> |
Add skeleton of CarAudioManager test Tests only that the getExternalSources call doesn't crash for now. We'll want to add volume and fade/balance tests here as well. Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarAudioManagerTest.java Change-Id: I374fcd938b4d4d77de9a7bd7cb2b077b61981a6d
udioTestUtils.java
arAudioManagerTest.java
|
9403ae406f7b9e52ea8d11179037e99f9de3017d |
27-Feb-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add resource overrides so that CarStorageMonitoringTest stores samples regardless of the underlying target configuration"
|
e7db0005b49fcd14acf9e356772ecce2336abc21 |
26-Feb-2018 |
Enrico Granata <egranata@google.com> |
Add resource overrides so that CarStorageMonitoringTest stores samples regardless of the underlying target configuration Change-Id: I19747c5624f93feae3e849b15cb2780952ad6cc4 Fixes: 73659209 Test: runtest on GCE instance
arStorageMonitoringTest.java
|
5773869e87255f02f54548b0fc8fd3ab9e05eb4e |
24-Feb-2018 |
Enrico Granata <egranata@google.com> |
Fix an issue where CarStorageMonitoringTest would fail due to timing of intent delivery This fix is twofold: a) it makes the actual intent delivery more predictable in real-life; b) it mocks the intent delivery for testing purposes such that: - we can still tell if the right recipient would receive the intent; - we can immediately call into the recipient and forward them the intent; This removes the inherent race, but still validates the configuration mechanism. Bug: 73659209 Test: runtest -x tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java Change-Id: Idbee4025c899c18883a5541c4cffa3e3da9f0a76
arStorageMonitoringBroadcastReceiver.java
arStorageMonitoringTest.java
ockedCarTestBase.java
|
ced17e32640ec05c5a0264e125e5677daa64f005 |
22-Feb-2018 |
Pavel Maltsev <pavelm@google.com> |
Fix SystemActivityMonitoringTest The caller must add FLAG_ACTIVITY_NEW_TASK when activity is started from non-activity context Test: runtest -x packages/services/Car/tests/carservice_test/ -c com.android.car.SystemActivityMonitoringServiceTest Bug: 73294984, 73660943 Change-Id: I747da27d71974b84c6e9d9167829049e26d01c3a
ystemActivityMonitoringServiceTest.java
|
7f657e738447297ff692ae8b3704c0f4b5c42e33 |
20-Feb-2018 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Removing failing permission test. The test infra grants to the test APK all the permissions it requests, so verifying not granting a permission always fail."
|
0e90c7fa1d303a24d19daca4cdbdcbbf70f3e851 |
17-Feb-2018 |
Asaf Rosenfeld <asafro@google.com> |
Removing failing permission test. The test infra grants to the test APK all the permissions it requests, so verifying not granting a permission always fail. Test: test passes. Bug:70807702 Change-Id: I4c5c3deefcbc139a62783a0ce9ea897b7bf4758b
msPublisherPermissionsTest.java
|
0f9fc00ffb03bc8e88c0a55e2e21b4ffdba19edf |
10-Feb-2018 |
Steve Paik <spaik@google.com> |
Call forceSuspend from CarPowerManagementService Bug: 32061842 Test: Manual instrumentation Change-Id: Ib3ad05bb6e3f74a95ece693f2f3098e02a1d1158
arStorageMonitoringTest.java
ockedCarTestBase.java
|
1690a62b71936aa4c9f555858e0560ddaf8e54ba |
23-Jan-2018 |
Enrico Granata <egranata@google.com> |
Implement logic in CarStorageMonitoringManager to detect the cost (in terms of disk I/O) of the previous shutdown ext4 and f2fs offer lifetime_write_kbytes files via sysfs that let userspace discover the amount of data written to each individual partition throughout its lifetime. Using this information, we execute this algorithm: - when CarService goes down, store lifetime_write_kbytes info for all mounted partitions; - at the next boot, calculate lifetime_write_kbytes for all mounted partitions again; - for every partition that existed at both shutdown and reboot, calculate the difference of the written amount; - add up those deltas: this is the total amount of writes since CarService went down; - take the aggregate UID I/O activity, and add up all bytes written to disk inferred from there: this is the cost of getting where we are; - subtract this aggregate from the previously computed total delta: this is a fair approximation of the cost of shutdown Test: tests in carservice_test and carservice_unit_test Bug: 32512551 Change-Id: Ia791eaa1fdb4bf026c1760e2bd333c30a413721f Fixes: 72236603
arStorageMonitoringTest.java
|
d133205e6c58a20ad9e37838a3adf007a607cf02 |
25-Jan-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Refactor VHAL"
|
382ceee63f079dab526fcd213dfe352124002a65 |
23-Jan-2018 |
Steve Paik <spaik@google.com> |
Refactor VHAL Part of VHAL refactor: - Remove VehicleZoneUtil class + test - Rename COMPLEX type to MIXED - Remove zone/areaId from subscribe() - Remove supportedAreas from VehiclePropertyConfig class - Add status and timestamp fields to VehiclePropValue - Update tests Bug: 72348165 Test: Compiles Change-Id: I379ab658c235f1ab1fb979cc27e21cad17261751
arCabinManagerTest.java
arDiagnosticManagerTest.java
arHvacManagerTest.java
arPowerManagementTest.java
arProjectionManagerTest.java
arRadioManagerTest.java
arVendorExtensionManagerTest.java
msHalServiceSubscriptionEventTest.java
msPublisherClientServiceTest.java
msPublisherPermissionsTest.java
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
|
f949c56c5db29f83d4d327be4cc5d8d743ca6d28 |
24-Jan-2018 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Manual cherrypick from CL ag/2968176 (Automatic failed since master changed)"
|
908811eeeaf5b5aea09a59fbbd8006ee5febe0bc |
22-Jan-2018 |
Asaf Rosenfeld <asafro@google.com> |
Manual cherrypick from CL ag/2968176 (Automatic failed since master changed) Test: This CL adds tests. All the UT and other tests pass. Change-Id: I5e6bf86f439fd86977a7f9ddc027a65d9c11d5ca
msHalServiceSubscriptionEventTest.java
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
|
e5ac56c9a8671f967dd908fe7fc6704780521aa1 |
11-Jan-2018 |
Joseph Pirozzo <pirozzoj@google.com> |
Bluetooth Fast Pair Enable advertisement of head unit as a connectable device via Fast Pair. The fastPairModelId stored in the config file must be overriden by vendors to their specific device Id. Bug: 38321459 Test: runtest -x packages/services/Car/tests/carservice_test/ -c com.android.car.FastPairProviderTest Disable Restrictions and move Android phone close to Bluetooth Antenna, observe Fast Pair dialog on phone. Change-Id: Iae707849537c3ef3b16a2b0738a72007d3961741
astPairProviderTest.java
|
3423194cb6fc21137122f90005f3ddd1f6813af1 |
17-Jan-2018 |
Enrico Granata <egranata@google.com> |
Retrieving the BluetoothManager system service requires an application context. The MockContext we use for testing is not an application context (namely, it lacks application info because it's meant to mock a service package, not an application). In order to have a valid application context, we setup a test app and store its context in a globally accessible location. Because the application context has global lifetime, this is a reasonable thing to do. Test: runtest Change-Id: I5107707e63850a4861cc7e0788ce4a1de4753f19
ockedCarTestBase.java
est/CarServiceTestApp.java
|
8f2ec5ceea5733d9ae6e6fad1183befcf34d71de |
11-Jan-2018 |
Scott Randolph <randolphs@google.com> |
Remove obsolete AudioRoutingPolicyTest This test exercises logic that has been removed from the car service. See go/aae-audio for details. Test: build mojave to validate no dependencies within the build Bug: 71751479 Change-Id: I0843e7e816f33e7be27f1d189c4026f4f2835028
udioRoutingPolicyTest.java
|
ed2c864d177dcdfd8fde7ada9728b665fc058a13 |
18-Dec-2017 |
Pavel Maltsev <pavelm@google.com> |
Fix carservice_test suite This CL fixes all car service test cases, also moves away from deprecated test runner to AndroidJUnitRunner and updates to JUnit4. Fix: b/70674915, b/70181143, b/70180704, b/67459193 Test: runtest -x packages/services/Car/tests/carservice_test Change-Id: I423816adc24b47ffdcf1912d5a2e0f75b3e4e1ca
ppFocusTest.java
udioRoutingPolicyTest.java
arCabinManagerTest.java
arDiagnosticConstantsTest.java
arDiagnosticManagerTest.java
arHvacManagerTest.java
arInfoManagerTest.java
arPackageManagerTest.java
arPowerManagementTest.java
arProjectionManagerTest.java
arRadioManagerTest.java
arSensorManagerTest.java
arStorageMonitoringBroadcastReceiver.java
arStorageMonitoringTest.java
arVendorExtensionManagerTest.java
arageModeTest.java
ockedCarTestBase.java
ystemActivityMonitoringServiceTest.java
estAppBlockingPolicyService.java
msHalServiceSubscriptionEventTest.java
msOperationRecorderTest.java
msPublisherClientServiceTest.java
msPublisherPermissionsTest.java
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
|
dbda56fbeac92a6c2a5097181cf779c59d599240 |
18-Dec-2017 |
Enrico Granata <egranata@google.com> |
Rename storage monitoring data types for additional clarity Bug: 65846699 Bug: 32512551 Test: build and flash bit CarServiceUnitTest:com.android.car.storagemonitoring.CarStorageMonitoringTest Change-Id: I8d6c7b79dbfaada3dee1ec044b96c2a203e02c8b
arStorageMonitoringTest.java
|
52d8f7d353c67d89f6a248a15fb893da8fdccbf6 |
16-Dec-2017 |
Hongwei Wang <hwwang@google.com> |
Revert "Revert "Cleanup the CarAudioService"" This reverts commit a2221aa0ff697ab66a3ba1ddc712ede48f4af6af. Bug: 70725845 Change-Id: I513356244839ed245c2c145bcc861cdd21a310b3
arAudioFocusSystemSoundTest.java
arAudioFocusTest.java
|
a2221aa0ff697ab66a3ba1ddc712ede48f4af6af |
16-Dec-2017 |
Kris Rambish <krisr@google.com> |
Revert "Cleanup the CarAudioService" This reverts commit b07ec3505ec02300db76f8d715aa437953509675. Reason for revert: Build breakage, apply the patch from 3373388 and re-submit. Change-Id: Ie29c9ce3812788d963e410e40723eda7f6935c0d
arAudioFocusSystemSoundTest.java
arAudioFocusTest.java
|
b07ec3505ec02300db76f8d715aa437953509675 |
07-Dec-2017 |
Hongwei Wang <hwwang@google.com> |
Cleanup the CarAudioService What's been cleaned: - Focus management - Media mute Note also - Tests on focus and mute/unmute are also removed - currents.txt updated via "make update-car-api" Test: lunch bat_land-userdebug && m -j // Verify in kitchensink Change-Id: Iae981177e04b44267650e246f3d7792b5e143f01
arAudioFocusSystemSoundTest.java
arAudioFocusTest.java
|
73779b5a768035fe6127e098d2b388b5807254bd |
08-Dec-2017 |
Scott Randolph <randolphs@google.com> |
Merge "Remove test of deprecated functionality"
|
ce0a36e45a7496f47bd3c7a4db3ed2bc3175a422 |
06-Dec-2017 |
Scott Randolph <randolphs@google.com> |
Remove test of deprecated functionality The test is being removed first because it is flakey and producing noise in our test results. The feature it tests is being removed in this product cycle, so this is no loss. Test: Build mojave Bug: 62374838 Change-Id: Ia93e1e315ec907fbe01f4504e3a706916d26cac4
arAudioExtFocusTest.java
|
06b7491acb228e361f013675df23afb7140aaf63 |
28-Nov-2017 |
Hongwei Wang <hwwang@google.com> |
Switch to use car audio usage based volume control in a car - part 1 What's next: - Actually change the volume by usage Changed also: - Removed the master volume only support - Removed the external memory support and Android should be source of truth of volumes - Removed the dead code Known to be broken after this change: - The volume popup after volume key events won't show b/28469751 - Volume change is a no-op and we are going to use gain control instead of letting AudioFlinger does that in software mixer Note: - Tests are removed since we are in the middle of refactoring and it requires tremendous work to maintain the tests in the meantime. Tests would be added after the refactoring is done - API files are updated via "make update-car-api" Bug: 65751827 Bug: 32091839 Test: lunch bat_land-userdebug && m -j // Then verify in kitchensink Change-Id: I59db9f059450f8bf673b46dd620703ced842a4ef
arAudioManagerTest.java
arVolumeServiceTest.java
|
88d92c8d7e636a1df164fd12383beaa1adfdfec9 |
01-Dec-2017 |
Enrico Granata <egranata@google.com> |
Setting sample window size to 0 should disable I/O samples collection entirely Test: bit CarServiceTest:com.android.car.CarStorageMonitoringTest Bug: 65846699 Bug: 32512551 Change-Id: I789f57ca22d5084e1131564f43f3bbd96ad86458
arStorageMonitoringTest.java
|
43024de8d8c089824e595bcf692f62376ce72e6a |
17-Nov-2017 |
Enrico Granata <egranata@google.com> |
Deliver an Intent on excessive I/O activity CarStorageMonitoringService will attempt to detect write rates and fsync call metrics that exceed an OEM-configurable threshold for appropriate behavior, and - should actual system activity go above those thresholds - it will deliver an intent to an OEM-specified receiver. Test: writing one Bug: 32512551 Bug: 65846699 Change-Id: I1bb5812d3d671067c62d8870c0ae98824d7590f0
arStorageMonitoringBroadcastReceiver.java
arStorageMonitoringTest.java
ockedCarTestBase.java
msPublisherClientServiceTest.java
msPublisherPermissionsTest.java
msPublisherSubscriberTest.java
|
7dce379b19970cc64ce5749a3d1a1a95167e99f0 |
09-Nov-2017 |
Enrico Granata <egranata@google.com> |
Add listener registration for I/O activity deltas to CarStorageMonitoringManager Test: bit CarServiceTest:com.android.car.CarStorageMonitoringTest Bug: 32512551 Bug: 65846699 Change-Id: I74f5d1ad3fe03329a34aef0bc32feb2149077c60
arStorageMonitoringTest.java
|
7e0150d162aaca5db326360f924c093f50a0dc3a |
07-Nov-2017 |
Enrico Granata <egranata@google.com> |
Implement CarStorageMonitoringManager::getIoStatsDeltas This API gives access to the periodic snapshot deltas of I/O activity calculated by CarStorageMonitoringService Bug: 32512551 Bug: 65846699 Test: bit CarServiceTest:com.android.car.CarStorageMonitoringTest bit CarServiceUnitTest:com.android.car.storagemonitoring.CarStorageMonitoringTest Change-Id: I833d4b4d0e63d6356b34584dbde3ba563e4aa899
arStorageMonitoringTest.java
|
0f72b74e45e22603b9f7697b9b4cb062e2cf4d21 |
03-Nov-2017 |
Enrico Granata <egranata@google.com> |
Implement CarStorageMonitoringManager::getAggregateIoStats This API allows callers to gather the current running total of I/O metrics happening on the system. Bug: 65846699 Bug: 32512551 Test: bit CarServiceTest:com.android.car.CarStorageMonitoringTest Change-Id: Ibc0f58ff4fbb1a1fe9ea9c2fff52db7a1b74b99a
arStorageMonitoringTest.java
|
a97fce2a0759cfb9fc2e7d88fd9c28c9ea50e42a |
27-Oct-2017 |
Enrico Granata <egranata@google.com> |
Implement CarStorageMonitoringManager.getBootIoStats() This API returns information about I/O activity that the system performed from kernel initalization until the BOOT_COMPLETE notification was broadcast. Bug: 65846699 Bug: 32512551 Test: runtest -x p/s/C/tests/carservice[_unit]_test/src/com/android/car/CarStorageMonitoringTest.java Change-Id: I2eaed1491dc6a5dda8e34edd41047c64dcc2f537
arStorageMonitoringTest.java
|
b19bc326413285806ecca7fb7b54ec7a9074f286 |
12-Oct-2017 |
Enrico Granata <egranata@google.com> |
Refactor SystemInterface. Split SystemInterface into a set of smaller chunks, each wrapping one specific functional set of system APIs. Provide default implementations of each of those chunks. Rework SystemInterface to be a class that wraps all the chunks and forwards to each of them. Add a Builder API to allow one to construct a full SystemInterface from individual chunks. This turns a fairly heavy-weight interface into smaller pieces which are easier to use individually, and it also makes it easier for tests to only change a subset of SystemInterface functionality when they need to do so. Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/CarPowerManagementServiceTest.java runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/UptimeTrackerTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarPowerManagementTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarDiagnosticManagerTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarSensorManagerTest.java Change-Id: I34c89b526d052126198a148d742123af78eafcbd Fixes: 67739411
arPowerManagementTest.java
arStorageMonitoringTest.java
ockedCarTestBase.java
|
9739b3cb1c663f54157a55189a448da607e063c0 |
12-Oct-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Set unrestricted mode by default for tests"
|
b460773cf89d4de9deafd5ab74ea131f4af1759e |
05-Oct-2017 |
Pavel Maltsev <pavelm@google.com> |
Set unrestricted mode by default for tests Test: runtest -x packages/services/Car/tests/carservice_test Bug: b/67499283 Change-Id: Ibd68a7e656fb9c9b1cf277753578e0768ad02763
arVendorExtensionManagerTest.java
ockedCarTestBase.java
|
c1fdb6ae5b56bc4d138b7bffd7c82de0ca107a78 |
06-Oct-2017 |
Enrico Granata <egranata@google.com> |
Cleanup SystemInterface. Make SystemInterface be a Java interface, instead of an abstract base class. Some of the methods of SystemInterface can be default implemented as they do not depend on a specific Context being available. Rename getDefault() to createDefault() as it provides a new object each time it's invoked. Change-Id: I79ebfdaa667acb5e01372dbd88133b0399f06ed8 Fixes: 66696783 Test: build and flash to home screen, plus runtest com.android.car.CarPowerManagementServiceTest
ockedCarTestBase.java
|
18219d5353992cfb01d5e27c50cd916426705854 |
03-Oct-2017 |
Pavel Maltsev <pavelm@google.com> |
Reworked Activity Monitoring test There are multiple problems with existing design: - activities sometimes run in separate process making semaphore synchronization useless - failing inside activities results in some other test crash (which is very misleading) - polling is just a bad pattern Test: runtext -x packages/services/Car/tests/carservice_test Change-Id: Ie3097c61764163f52e0bbd8c070e7085e21e0c9f Fix: b/66448797, b/66955438
ystemActivityMonitoringServiceTest.java
estAppBlockingPolicyService.java
|
cf53fd7339fd2e4814230f2dae1b5baafc50298c |
28-Sep-2017 |
Enrico Granata <egranata@google.com> |
Lazy initialization of CarStorageMonitoringService - Introduce an API in SystemInterface by which one can register actions that will be executed "after some (partially configurable)" delay after the ACTION_BOOT_COMPLETED broadcast is received. - Move most of the initialization of CarStorageMonitoringService as one such action. - Introduce a way to send a fake ACTION_BOOT_COMPLETED notification for testing. Bug: 32512551 Test: manual verification that the service properly comes up and responds to queries after a delay + runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/CarPowerManagementServiceTest.java Change-Id: I31eb24df2ae66fa0bc88865f469e04d57e0a127f
arStorageMonitoringTest.java
ockedCarTestBase.java
|
d41ae1671ed70591b355f8a7723259f44161f404 |
27-Sep-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Implement wear history tracking"
|
286cd8e9cc8ed040d7724e51ea7835eac45b46e6 |
25-Sep-2017 |
Enrico Granata <egranata@google.com> |
Implement wear history tracking Bug: 32512551 Test: runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/CarStorageMonitoringTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java Change-Id: Id024f9378e0a762cbdfeead9267deeebfa86fd40
arStorageMonitoringTest.java
|
48ab725b471cdb439c8002eade1a0044575bdf25 |
26-Sep-2017 |
Pavel Maltsev <pavelm@google.com> |
Fix VMS tests after moving to different package Fix: b/66949434 Test: runtest -x packages/services/Car/tests/carservice_test Change-Id: I20031ecea4ebd1dd57b4161dd459d75e562c406f
msPublisherClientServiceTest.java
msPublisherSubscriberTest.java
|
9c1f27227f843f10a2d286ded886464b60854e08 |
22-Sep-2017 |
Enrico Granata <egranata@google.com> |
Tweaks to enhance testability 1) Add two entry points to SystemInterface: - getFilesDir(): returns a directory where permanent data can be stored (by default Context.getFilesDir()) This allows components under test to store data without affecting the real version of the files - getCurrentUptime(): returns the length of time that the system has been running (by default via SystemClock) This is useful to enable testing of time-sensitive components 2) Add a TemporaryDirectory helper with the same semantics as TemporaryFile. Move both TemporaryFile and TemporaryDirectory to their own package in order to share between carservice_test and carservice_unit_test Bug: 32512551 Test: runtest -x packages/services/Car/tests/carservice_unit_test runtest -x packages/services/Car/tests/carservice_unit_test/src/com/android/car/CarPowerManagementServiceTest.java runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java Change-Id: I31480cbd6b66df83804cc331d8c25a1403f10fe7
ockedCarTestBase.java
|
1172f888cd2cf1c2572308fb76a3ad101ab2bcb6 |
21-Sep-2017 |
Enrico Granata <egranata@google.com> |
Tweaks to CarStorageMonitoring: - add an API to retrieve the current wear estimates - protect API by system permission Test: KitchenSink and runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java Bug: 32512551 Change-Id: I2a937dbc525d86c10f6c546b63eb992513807e54
arStorageMonitoringTest.java
|
517a1e0666fc801dc38ee387013bb05ee965b1a6 |
21-Sep-2017 |
Enrico Granata <egranata@google.com> |
First pass at a test for CarStorageMonitoringManager This commit moves the list of WearInformationProviders to SystemInterface. This enables one to be inserted via mocking for testing purposes. The test then injects wear information data and then reads it back via the monitoring API. Bug: 32512551 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/CarStorageMonitoringTest.java Change-Id: I88394f0be92fa5278aab4430e14434af7bdd44de
arStorageMonitoringTest.java
ockedCarTestBase.java
|
8edd2555182213bc576d0493fffe0973368e22c2 |
18-Sep-2017 |
Pavel Maltsev <pavelm@google.com> |
Move car service test cases to original package Sharing package name between test and its target will require only package-private API exposure instead of public. Bug: 36189057 Test: runtest -x packages/services/Car/tests/carservice_test/ Change-Id: I3b0677c22d929f50b39d95dc0dc7b26d374236f1
ppFocusTest.java
udioRoutingPolicyTest.java
udioTestUtils.java
arAudioExtFocusTest.java
arAudioFocusSystemSoundTest.java
arAudioFocusTest.java
arAudioManagerTest.java
arCabinManagerTest.java
arDiagnosticConstantsTest.java
arDiagnosticManagerTest.java
arHvacManagerTest.java
arInfoManagerTest.java
arPackageManagerTest.java
arPowerManagementTest.java
arProjectionManagerTest.java
arRadioManagerTest.java
arSensorManagerTest.java
arVendorExtensionManagerTest.java
arVolumeServiceTest.java
arageModeTest.java
ockedCarTestBase.java
impleVmsPublisherClientService.java
ystemActivityMonitoringServiceTest.java
estAppBlockingPolicyService.java
msHalServiceSubscriptionEventTest.java
msOperationRecorderTest.java
msPublisherClientMockService.java
msPublisherClientServiceTest.java
msPublisherPermissionsTest.java
msPublisherSubscriberTest.java
msSubscriberManagerTest.java
est/AppFocusTest.java
est/AudioRoutingPolicyTest.java
est/AudioTestUtils.java
est/CarAudioExtFocusTest.java
est/CarAudioFocusSystemSoundTest.java
est/CarAudioFocusTest.java
est/CarAudioManagerTest.java
est/CarCabinManagerTest.java
est/CarDiagnosticConstantsTest.java
est/CarDiagnosticManagerTest.java
est/CarHvacManagerTest.java
est/CarInfoManagerTest.java
est/CarPackageManagerTest.java
est/CarPowerManagementTest.java
est/CarProjectionManagerTest.java
est/CarRadioManagerTest.java
est/CarSensorManagerTest.java
est/CarStorageMonitoringTest.java
est/CarVendorExtensionManagerTest.java
est/CarVolumeServiceTest.java
est/GarageModeTest.java
est/MockedCarTestBase.java
est/SimpleVmsPublisherClientService.java
est/SystemActivityMonitoringServiceTest.java
est/TemporaryFile.java
est/TestAppBlockingPolicyService.java
est/UptimeTrackerTest.java
est/VmsHalServiceSubscriptionEventTest.java
est/VmsOperationRecorderTest.java
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherPermissionsTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
eae3718d7c168a95c8561498f37c5d7a7d15a5b9 |
19-Sep-2017 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Making VMS a @SystemAPI"
|
39e4f034a93dc2abbbf28ac8a5c09f6612fdaba3 |
16-Sep-2017 |
Asaf Rosenfeld <asafro@google.com> |
Making VMS a @SystemAPI This CL should go in the Pi/Master and O.Car.MR1 branches. Test: I built an image w/o @FutureFeature enabled and verified all the tests pass. Also fixed a test flakiness. Change-Id: I50495d6264c7932b670a4fae456d7f89ab5c1e55
est/SimpleVmsPublisherClientService.java
est/VmsHalServiceSubscriptionEventTest.java
est/VmsOperationRecorderTest.java
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherPermissionsTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
est/VmsTestUtils.java
|
664bf368a7450251e70d1af303c066811a5bf988 |
15-Sep-2017 |
Enrico Granata <egranata@google.com> |
Implement an uptime tracker object The purpose of UptimeTracker is to provide historical "how long has the system been alive for?" information, across reboots and (within a tolerance factor) even crashes. Bug: 32512551 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/UptimeTrackerTest.java Change-Id: I38b3f02cc3b222ebe9f602d20bbb3749cc89fbd8
est/UptimeTrackerTest.java
|
b2c48c3eefcc8825a0138f5405af6d64e91791d2 |
14-Sep-2017 |
Enrico Granata <egranata@google.com> |
Implement logic to read eMMC and UFS health information via sysfs Bug: 32512551 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarStorageMonitoringTest.java Change-Id: I6f2470b400431cb1e12948b70630a99643e4969f
est/CarStorageMonitoringTest.java
est/TemporaryFile.java
|
83d447cf11d3f667995963cb4cdeedf3637cf3e3 |
07-Sep-2017 |
Scott Randolph <randolphs@google.com> |
Minor cleanup to go along with matching vhal update am: da2acb9ee8 am: b3dfb516fb Change-Id: Ibe459a47e4bdb77b8469fddc88c6a81b0160de26
|
da2acb9ee8cd7cf4082f3b159f7a302d84e953d0 |
04-Aug-2017 |
Scott Randolph <randolphs@google.com> |
Minor cleanup to go along with matching vhal update Standardize a few constant names, and a few miscellanious clean ups (but not net functionality change). Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarAudioFocusTest.java (plus 3 others) on Mojave Change-Id: I70c73f511a63aa714414acaca5bdc4e929946959 Bug: 65384336
est/CarVolumeServiceTest.java
|
44d55b7c1153f3cac11cd83bcb71aef5e63e9afd |
06-Sep-2017 |
Scott Randolph <randolphs@google.com> |
Merge "Add RINGTONE" into oc-mr1-dev am: 7910dc9a4a am: 81b3e02689 Change-Id: Ia06659ae20759618ff7274c7a2d3ce0978ddd706
|
cf5bb2ef670d818bcc2c2126e87aab973baae221 |
05-Sep-2017 |
Hongwei Wang <hwwang@google.com> |
Merge "Cherry-pick and manually resolved the conflicts." into oc-mr1-dev
|
7910dc9a4a5bd3520fa3854fc538a15a39b9218e |
05-Sep-2017 |
Scott Randolph <randolphs@google.com> |
Merge "Add RINGTONE" into oc-mr1-dev
|
6254e57297598d575cd33a2d700344d8015cb51a |
05-Sep-2017 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Fix VMS public API based on API review (ag/2593725)." into oc-mr1-dev am: 6097e37fdf am: 1e03f475e7 Change-Id: I5891e152184c66dee06b244285d45fed54fb855b
|
962ba77e2b928466dd7a4652bc468127adb871a0 |
04-Aug-2017 |
Scott Randolph <randolphs@google.com> |
Add RINGTONE Test: wip Change-Id: Ifa560fdd2b4a4e3c17deadcd9cc0dd4769c90274 Bug: 64729839
est/AudioRoutingPolicyTest.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
est/VmsHalServiceSubscriptionEventTest.java
est/VmsOperationRecorderTest.java
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
9fbc3e79b151cd1e3283eefbe5a345ceedf2b729 |
17-Aug-2017 |
Yao Chen <yaochen@google.com> |
Cherry-pick and manually resolved the conflicts. Note that this is a cherry-pick of ag/2745105 and there is no intent to modify the original CL except for conflicts resolving. Map the VehicleAudioContextFlag.UNKNOWN_FLAG to current context. + When vehicle hal is reporting volume change on unknown context, we will map it to the current context. This makes partner's implementation easier and our volume handling more robust. + Added test. Bug: 62064580 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java Change-Id: I488967e48e96f15f0094337282ef0b6f25465754
est/CarVolumeServiceTest.java
|
947f97754336af0e72eb19a8fb6271d34f2eaf6d |
31-Aug-2017 |
Asaf Rosenfeld <asafro@google.com> |
Fix subscribers notifications and listener to callback am: a0b665f7d3 am: 0ee35e3102 Change-Id: I5faf49fef631c0acbe91bb65ecc8aa0a47eb5945
|
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
est/VmsPublisherClientMockService.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
5bac9229446498860036aefada7e932d75a5cba4 |
25-Aug-2017 |
Pavel Maltsev <pavelm@google.com> |
resolve merge conflicts of db3f2b04 to master Test: I solemnly swear I tested this conflict resolution. Change-Id: I90f023f9ccdb006c6caf216e156af5c3f6bd5ba7
|
99e1a7555a9521c33203b68c5ab5bd1c039ee712 |
25-Aug-2017 |
Pavel Maltsev <pavelm@google.com> |
Merge Vehicle HAL 2.1 iface to 2.0 Vehicle HAL is property based and all properties are considered optional. It is quite a bit of pain to create new versions of VHAL only to extend properties. Bug: 64303350 Test: verified system works stable Change-Id: I4c5c891236912651ca1341f7fd515e533a6b4506
est/CarDiagnosticConstantsTest.java
est/CarDiagnosticManagerTest.java
est/VmsHalServiceSubscriptionEventTest.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherPermissionsTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
4ae1632c407a479a46c29ed14de15279f7057dfa |
17-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Map the VehicleAudioContextFlag.UNKNOWN_FLAG to current context."
|
aaa70b8434d8715a4e4cebbe476ea3c208eaf740 |
17-Aug-2017 |
Yao Chen <yaochen@google.com> |
Map the VehicleAudioContextFlag.UNKNOWN_FLAG to current context. + When vehicle hal is reporting volume change on unknown context, we will map it to the current context. This makes partner's implementation easier and our volume handling more robust. + Added test. Bug: 62064580 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java Change-Id: I488967e48e96f15f0094337282ef0b6f25465754
est/CarVolumeServiceTest.java
|
e3b2d4b711bbb0cd39d95bad2bb05eac39ac00ea |
17-Aug-2017 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Create Subscribe to layer from publisher surfaces" into oc-mr1-dev am: 6e6a52fd43 am: 22bf801fc4 Change-Id: I1f96f7fca94239a7a5ff25251932b370ff7ebdbe
|
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
est/VmsOperationRecorderTest.java
est/VmsSubscriberManagerTest.java
|
b2709315e9e3c3d63b99dbc3d818a6ef8ef71729 |
15-Aug-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Plumb through support for detecting selective clear of freeze frames in CarDiagnosticManager"
|
57ec27053ac088e2f3fc3835012440c9357ef80b |
11-Aug-2017 |
Enrico Granata <egranata@google.com> |
Plumb through support for detecting selective clear of freeze frames in CarDiagnosticManager Change-Id: I6d4834cf871e467ca32aed6a948ee7b41724526f Fixes: 64039386 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java
est/CarDiagnosticManagerTest.java
|
6bcaeeed788f060ba94fbd64357e6ae2caf97ab8 |
10-Aug-2017 |
Yao Chen <yaochen@google.com> |
Allow multiple VolumeControllers. Fix the Volume test in KitchenSink + To make it compatible with Android's AudioManager. We have an interface in CarAudioManager setVolumeController(). In phone's case this API is only used by SystemUI, Settings App uses ContentObserver to listen to volume changes. In Android Auto, we can't use the ContentObserver for volume in our Settings app since the Android's logical volume can be different from the physical volume if the car has an external audio module. The best way to listen to volume changes is to use this VolumeController. To make this work, this CL added a VolumeController proxy to allow multiple volume controllers to be registered with the AudioManager. It will be used by both Settings and SystemUI. + Add test. + Fix the VolumeTest in KitchenSink app. Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java Change-Id: I2cf7e52a5a48c2086b11e79b780075961e95b645
est/CarVolumeServiceTest.java
|
abb4478352c6b666998f85181972e6f4a5aeea4b |
05-Aug-2017 |
Enrico Granata <egranata@google.com> |
Fix CarDiagnosticConstantsTest to workaround an issue in generated HAL code am: 64fb54b08e am: 5a90e25454 Change-Id: Id578d978712f275317c10e2a143979632b0197d5
|
64fb54b08e2172a89ca025e94de37b3f9e08359c |
04-Aug-2017 |
Enrico Granata <egranata@google.com> |
Fix CarDiagnosticConstantsTest to workaround an issue in generated HAL code Bug: 64391591 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticConstantsTest.java Change-Id: Ia31d03c90cd24638ee437e8631748e0fb87da384
est/CarDiagnosticConstantsTest.java
|
6857e0689678b35ce2d2060f4cdac20c66a289a6 |
04-Aug-2017 |
Enrico Granata <egranata@google.com> |
Merge "Add a test case to validate that manually generated diagnostic constants have the same value between CarService and Vehicle HAL" into oc-mr1-dev am: 2fb7f90b37 am: 1f4466dd4d Change-Id: I3e1d13bc0ee30b75043caa19b7935b8e587cca41
|
7b13666563e9c8603afe917043b35ec2b29c8ee4 |
02-Aug-2017 |
Enrico Granata <egranata@google.com> |
Add a test case to validate that manually generated diagnostic constants have the same value between CarService and Vehicle HAL Bug: 64024685 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticConstantsTest.java Change-Id: I934324dbe82ba94efed9e773202e1aca3d512bbc
est/CarDiagnosticConstantsTest.java
|
937f6c704c082db2a0f667992af3458f5f0040e2 |
03-Aug-2017 |
Enrico Granata <egranata@google.com> |
Move the Diagnostics API classes to android.car.diagnostic am: 25e8946811 am: 46eac02b0b Change-Id: Ieb7aa8cb894aaf04a78d574641fa451aef885a22
|
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
est/CarDiagnosticManagerTest.java
|
01b8568b4d48ef23f94d1de786180815bcaa8754 |
01-Aug-2017 |
Enrico Granata <egranata@google.com> |
Remove the CarDiagnosticSensorIndices class as it merely acted as a hollow namespace am: 3b0f5b72ff am: 2dc7251c24 Change-Id: I56371dd5427d145a10655ed7133e94e4b8bb8bae
|
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
est/CarDiagnosticManagerTest.java
|
2e0182830ede59232d09264669518fd40a1ff1c2 |
01-Aug-2017 |
Asaf Rosenfeld <asafro@google.com> |
Merge "Fixing CarService and tests to use post VMS API review" into oc-mr1-dev am: 494f32a89c am: 1081cdfd04 Change-Id: I16579d5afdd5747d43e96ce335591235634082a6
|
9f671618d88f92315b1604f2bf0ba74384c70690 |
01-Aug-2017 |
Enrico Granata <egranata@google.com> |
Merge "Remove CarDiagnosticEvent.IgnitionMonitors" into oc-mr1-dev am: 99f17fd4aa am: ed2e7bdb1f Change-Id: Icde9fff27014ba2fd9acf09eed007e98d82df2d1
|
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
est/CarDiagnosticManagerTest.java
|
701193e2fc8532c802cb4aabf2afb372f8decab2 |
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 am: 6af10a482b am: fcc4964959 Change-Id: Ibf0f979f026cd261e8c5b54719ac9e615238b59f
|
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
est/VmsHalServiceSubscriptionEventTest.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherPermissionsTest.java
est/VmsSubscriberManagerTest.java
|
158b7fef404345acd9876677c4bdb8f4cbcde2e1 |
28-Jul-2017 |
Enrico Granata <egranata@google.com> |
Merge "Rename the is*Supported() methods in CarDiagnosticManager per API Review" into oc-mr1-dev am: e180542b82 am: caffecb925 Change-Id: Ia85cbc1236876ed81b4d917d4ff53b89983cc109
|
e180542b8200b31a1c6f4232e52c6fe8994ca091 |
28-Jul-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Rename the is*Supported() methods in CarDiagnosticManager per API Review" 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
est/CarDiagnosticManagerTest.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
est/CarDiagnosticManagerTest.java
|
02efe5db834a078fe994004fbc9f31bf4c03472b |
27-Jul-2017 |
Enrico Granata <egranata@google.com> |
Fix testLargeByteArrayProperty to prevent OOM errors - remove an unnecessary copy for logging purposes; - optimize the other copy so it doesn't try to overallocate; - reduce the size of the array am: ca4665cca2 am: e45d48f960 Change-Id: I62b9023ce073d2e2370809a09f4f52ba5f96da5b
|
ca4665cca2f93dc65de17ecaa77dcad5b1c1ad94 |
26-Jul-2017 |
Enrico Granata <egranata@google.com> |
Fix testLargeByteArrayProperty to prevent OOM errors - remove an unnecessary copy for logging purposes; - optimize the other copy so it doesn't try to overallocate; - reduce the size of the array Change-Id: Iab30bde4e9d94db2491048e9ad05858de2584717 Fixes: 63995673 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVendorExtensionManagerTest.java
est/CarVendorExtensionManagerTest.java
|
3ae759551710424c01c2e985bfc13e7e3d4ee1cb |
25-Jul-2017 |
Pavel Maltsev <pavelm@google.com> |
Fix activity monitoring test Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/SystemActivityMonitoringServiceTest.java Change-Id: Id6ca97f14f9b46186b4d1f2d3e34849207615d05 Fix: b/62224020
est/SystemActivityMonitoringServiceTest.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
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
9f6f2546729b204c69195e0908a8ea750e7ce9dd |
12-Jul-2017 |
smaraaosp <smara@google.com> |
Added annotation to test. Test: Tested running it locally. Change-Id: I45c142d0c3fe4b5984d3d79bc75542ef406f2805
est/CarInfoManagerTest.java
est/CarVendorExtensionManagerTest.java
est/CarVolumeServiceTest.java
est/SystemActivityMonitoringServiceTest.java
est/VmsOperationRecorderTest.java
est/VmsPublisherPermissionsTest.java
est/VmsPublisherSubscriberTest.java
|
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
est/VmsPublisherClientMockService.java
|
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
est/VmsOperationRecorderTest.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
est/CarProjectionManagerTest.java
|
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
est/VmsHalServiceSubscriptionEventTest.java
est/VmsPublisherClientMockService.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.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
est/VmsHalServiceSubscriptionEventTest.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherPermissionsTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
fec3a3d1fdbcfe53dd774041c41114f01fa124cb |
03-Jun-2017 |
Enrico Granata <egranata@google.com> |
Add AudioTestUtils.doRequestFocus() with the ability to accept delayed focus Bug: 33352354 Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test Change-Id: I7bd9039b3df6b2c509d835c60acfdfff4d234380
est/AudioTestUtils.java
|
0bb47d392757b67a7b2ddf334d34b60ae3662b2f |
02-Jun-2017 |
Enrico Granata <egranata@google.com> |
Move audio focus tests to the new AudioFocusRequest API Using an AudioFocusRequest is the supported path forward, and enables the framework to return a DELAYED focus response to the requestor. Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/ Bug: 33352354 Change-Id: I67f49e1b9c0c2c71b348b625b5f3298728c14fe9
est/AudioTestUtils.java
est/CarAudioExtFocusTest.java
est/CarAudioFocusSystemSoundTest.java
est/CarAudioFocusTest.java
est/CarVolumeServiceTest.java
|
b4ee6ad1e8bd3654b67e14f0cbbe2eb6ac800c17 |
25-May-2017 |
Asaf Rosenfeld <asafro@google.com> |
Merge "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."
|
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
est/VmsPublisherClientMockService.java
est/VmsPublisherSubscriberTest.java
|
e50b340f0974eb294351cb55c7e2b9d6fcf9c363 |
22-May-2017 |
Demyn Plantenberg <demyn@google.com> |
Fix failure when ENABLE_VEHICLE_MAP_SERVICE=false VmsHalServiceSubscriptionEventTest.java was using assumeTrue to disable a test when ENABLE_VEHICLE_MAP_SERVICE=false. This doesn't work with our default test runner. Test: VmsHalServiceSubscriptionEventTest with and without TARGET_USES_CAR_FUTURE_FEATURES. Bug: 38344571 Fixes: 38344571 Change-Id: Id7c41211a015ed4054fb153e85e01033a9d150c8
est/VmsHalServiceSubscriptionEventTest.java
|
bb73c4c251a29e7b361ec60c91aab8532551fb83 |
16-May-2017 |
Antonio Cortes <antoniocortes@google.com> |
Giving permissions to VMS publishers. Test: VmsPublisherPermissionsTest.java Bug: 37792580 Change-Id: I1a65c9ffb4d726f890db5f17abee4c11936e974b Fixes: 37792580
est/VmsPublisherPermissionsTest.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
est/CarDiagnosticManagerTest.java
|
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
est/CarDiagnosticManagerTest.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
est/CarDiagnosticManagerTest.java
|
1cfb2ffc30fab8467c35ca0bb885fb16b8086966 |
29-Apr-2017 |
Demyn Plantenberg <demyn@google.com> |
Merge "VMS: fix flakey com.android.car.test.VmsPublisherSubscriberTest"
|
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
est/CarDiagnosticManagerTest.java
|
d6bef38e394b0096023ab5d0fb1353366c03d924 |
25-Apr-2017 |
Demyn Plantenberg <demyn@google.com> |
VMS: fix flakey com.android.car.test.VmsPublisherSubscriberTest Test: ran all Vms*Test twice. Change-Id: I2ab087207aedc8304dac141790026a28af24b8c2
est/VmsPublisherClientMockService.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
est/CarDiagnosticManagerTest.java
|
a5f9e6c6bbf1ba4b9cf3bdf5b8f1f35e43c8ce1d |
11-Apr-2017 |
Antonio Cortes Perez <antoniocortes@google.com> |
Merge "Adding subscription HAL support."
|
e0824d706605935d7ee30ebd60bc1de1810feb5b |
06-Apr-2017 |
Antonio Cortes <antoniocortes@google.com> |
Adding subscription HAL support. Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/VmsHalServiceSubscriptionEventTest.java Bug: 36137379 Change-Id: Ia8ffd4bed8b01c5a2ea1f0a6f6b252d57934ec4d
est/VmsHalServiceSubscriptionEventTest.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
est/CarDiagnosticManagerTest.java
|
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
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
1ee77ce4698b350ed93346d90971cb47736e81e6 |
30-Mar-2017 |
Antonio Cortes Perez <antoniocortes@google.com> |
Merge "Disable VMS tests when ENABLE_VEHICLE_MAP_SERVICE=false"
|
09bfb00ab89d79f9a3e68d7b5fad3d128fcb88ef |
30-Mar-2017 |
Antonio Cortes <antoniocortes@google.com> |
Disable VMS tests when ENABLE_VEHICLE_MAP_SERVICE=false See reference cl: http://ag/2014384. This change modifies integration tests. Unit test are not affected by this flag because they do not use Car services. Test: the tests below where execute with and without TARGET_USES_CAR_FUTURE_FEATURES. 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 Bug: 36724405 Change-Id: I868b57bfa886d37585f078971b250864f686b09a
est/VmsPublisherClientServiceTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
est/VmsTestUtils.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
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
543ef8915362454aa2ea13b61ebe9f6d21a8070c |
28-Mar-2017 |
Yao Chen <yaochen@google.com> |
Fix CarVolumeServiceTest failure. 1. VolumeLimit test failure - The min config value is always 0 in the new vhal. So the test for min volume is removed. 2. testSuppressVolumeUI failure - The reason is the car service code runs in the same process with the test. When the test waits for a callback, it blocked the main thread on which the Handler is running - Moved the Handler in the car volume controller to a handler thread. Test: runtest -x packages/services/Car/tests/carservice_test/ \ -c com.android.car.test.CarVolumeServiceTest Change-Id: I1a11edfc6c330d7cbda0e6eb5afb94ac1c5eb4c6
est/CarVolumeServiceTest.java
|
99130ac3ab147c375603dce18a37c133e6d5f12a |
28-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Implement support of AUDIO_STREAM_STATE property"
|
79d5e12ad8708c1f7f7f1a60aaeb349ac7ed0f7b |
24-Mar-2017 |
Pavel Maltsev <pavelm@google.com> |
Implement support of AUDIO_STREAM_STATE property Fixing Audio tests Fix: b/33235166 Fix: b/36524594 Test: runtest -x packages/services/Car/tests/carservice_test Change-Id: I7d9dade59ce81342d859239f2e3e9a360008e7d3
est/CarAudioFocusSystemSoundTest.java
est/CarVolumeServiceTest.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
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientMockService.java
|
5780c0cc276693707bd170e95a26c7cea0573993 |
23-Mar-2017 |
Antonio Cortes Perez <antoniocortes@google.com> |
Merge "Updating VMS interfaces to use VmsLayer."
|
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
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientMockService.java
est/VmsPublisherClientServiceTest.java
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.java
|
4514e96614b219235037cb724787ed74d6f7e080 |
22-Mar-2017 |
Enrico Granata <egranata@google.com> |
Do not run the diagnostics API test if FeatureConfiguration.ENABLE_DIAGNOSTIC is false Bug: 36490927 Test: runtest -v -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java TARGET_USES_CAR_FUTURE_FEATURES=true runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java Change-Id: If8b65bf7dc4d6b7961c3c8d07d210b5e3e62d338
est/CarDiagnosticManagerTest.java
|
87c0545b6f0814657df555902300d7b3dfe6b96f |
22-Mar-2017 |
Enrico Granata <egranata@google.com> |
Add logic to obd2_lib to generate a live OBD2 frame from a connection. This commit adds a few main moving parts: - logic to intersect the sensor types supported by obd2_lib with those supported by a vehicle; - logic to collect all such supported sensors in one operation, and store the result in a JSON object; - logic to create a VehiclePropValue from JSON data. Test: runtest -x packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/Obd2LiveFrameGeneratorTest.java Change-Id: Ic89cd8b615b11a1ba136df1ac6f336e7882ef1c6
est/CarDiagnosticManagerTest.java
est/DiagnosticEventBuilder.java
|
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
est/VmsPublisherSubscriberTest.java
est/VmsSubscriberManagerTest.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
est/VmsPublisherClientMockService.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
est/CarDiagnosticManagerTest.java
est/DiagnosticEventBuilder.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
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientMockService.java
|
7e9141053627f8140c9356e3c8b397ba1cffacf0 |
10-Mar-2017 |
Antonio Cortes <antoniocortes@google.com> |
Propagate onVmsSubscriptionChange event to publishers. Test: VmsPublisherSubscriberTest Bug: 36055908 Change-Id: If7a80050cdfc2aa9bd57d07b96f102d22f57f300
est/VmsPublisherClientMockService.java
est/VmsPublisherSubscriberTest.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
est/VmsPublisherClientServiceTest.java
est/VmsSubscriberManagerTest.java
|
3fe769d2af33284986385e5314d6e23a2ee254f4 |
03-Mar-2017 |
Antonio Cortes Perez <antoniocortes@google.com> |
Merge "Post-O. Move VMS property to hal 2.1."
|
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
est/CarDiagnosticManagerTest.java
est/DiagnosticEventBuilder.java
|
747364a165763ce506517a19f3bdc3b7cd3e44d0 |
28-Feb-2017 |
Antonio Cortes <antoniocortes@google.com> |
Post-O. Move VMS property to hal 2.1. Test: build and flash Mojave board with TARGET_USES_CAR_FUTURE_FEATURES=true. Test: check that the property is displayed in the logs during startup. Bug: 35628104 Change-Id: I3ab9df77db7e3637f5c1f5f705ce9d2fecf44fd2
est/VmsPublisherClientServiceTest.java
est/VmsSubscriberManagerTest.java
|
9a1eb11b6f1c772b6266c0f3f0a1031f3025dbf1 |
17-Feb-2017 |
Antonio Cortes <antoniocortes@google.com> |
Fix VMS test cases Due to other blocking bugs, these test were not executed in the past couple of changes. Now the tests are passing again. 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/VmsSubscriberManagerTest.java Bug: 34976096 Change-Id: I7d1a80ec7e256b21577616506001907564948edd
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientServiceTest.java
est/VmsSubscriberManagerTest.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
est/MockedCarTestBase.java
est/SimpleVmsPublisherClientService.java
est/VmsPublisherClientServiceTest.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
est/VmsSubscriberManagerTest.java
|
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
est/VmsSubscriberManagerTest.java
|
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
est/VmsSubscriberManagerTest.java
|
cfe93105f637c2822da113308f113ed418d0b319 |
02-Feb-2017 |
Pavel Maltsev <pavelm@google.com> |
Move Vehicle HAL under automotive package Test: all existing tests passing Bug: b/33200203 Change-Id: Id1ff815ae2af9c48ce8612b4cfb5327de13a5a1f
est/AudioRoutingPolicyTest.java
est/CarAudioExtFocusTest.java
est/CarAudioFocusSystemSoundTest.java
est/CarAudioFocusTest.java
est/CarAudioManagerTest.java
est/CarCabinManagerTest.java
est/CarHvacManagerTest.java
est/CarInfoManagerTest.java
est/CarPowerManagementTest.java
est/CarProjectionManagerTest.java
est/CarRadioManagerTest.java
est/CarSensorManagerTest.java
est/CarVendorExtensionManagerTest.java
est/CarVolumeServiceTest.java
est/MockedCarTestBase.java
est/SystemActivityMonitoringServiceTest.java
|
727c382d8d1c8d894009858cef2fdc0152ce3cc4 |
27-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Handle losing conneciton with VHAL in Car Service"
|
ec83b63c47f65c5978eec3ee24952969a17b1ee7 |
06-Jan-2017 |
Pavel Maltsev <pavelm@google.com> |
Handle losing conneciton with VHAL in Car Service Test: TODO Change-Id: Ib465b146db119bc4dbf6019f76619935891fd45d Fix: b/34083734
est/MockedCarTestBase.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
est/CarAudioManagerTest.java
|
cffbabbc10785b19d261203d6574a45a338796bd |
22-Dec-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add support of ignition state to Car API"
|
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
est/CarSensorManagerTest.java
|
17470d61d554eda65eac04bdf9635bdc95d29e5e |
21-Dec-2016 |
Pavel Maltsev <pavelm@google.com> |
Remove VehiclePermissionModel from Car Service It's not used Bug: b/33670724 Test: removing unused feature Change-Id: Ie7fa97f0c699bf80bdf1d505e0cd8988cdb2a4cc
est/AudioRoutingPolicyTest.java
|
2a8c56d61fda68c06513ed0cdcbb64fff7e02304 |
14-Dec-2016 |
Pavel Maltsev <pavelm@google.com> |
Propagate VHAL errors to managers that support it Fix: b/32068464 Test: functional tests provided Change-Id: I7199ce61815a94671c1b155711cebca0897d2608
est/CarCabinManagerTest.java
est/CarHvacManagerTest.java
|
96def40502ff34f01d11eeae49e63582ec560dda |
23-Nov-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Update VolumeController implementation Implement interface method for a11y mode, noop. Test: checkbuild Bug 30448020 Change-Id: I3b04ddf095f11dc9b6b7ebef32bd1322f8bab7ce
est/CarVolumeServiceTest.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
est/AppFocusTest.java
est/AudioRoutingPolicyTest.java
est/CarAudioExtFocusTest.java
est/CarAudioFocusSystemSoundTest.java
est/CarAudioFocusTest.java
est/CarCabinManagerTest.java
est/CarHvacManagerTest.java
est/CarInfoManagerTest.java
est/CarPackageManagerTest.java
est/CarPowerManagementTest.java
est/CarProjectionManagerTest.java
est/CarRadioManagerTest.java
est/CarSensorManagerTest.java
est/CarVendorExtensionManagerTest.java
est/CarVolumeServiceTest.java
est/MockedCarTestBase.java
est/SystemActivityMonitoringServiceTest.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
est/CarSensorManagerTest.java
|
a88b3e7249d13e7d3dc04289d2e129694cfab8c4 |
12-Oct-2016 |
Scott Randolph <randolphs@google.com> |
Merge "Increase coverage for CarSensorManagerTest" into nyc-car-dev
|
80ebb3f9f9c380b120e3e239bca25af505ec4556 |
10-Oct-2016 |
Scott Randolph <randolphs@google.com> |
Increase coverage for CarSensorManagerTest Add mocked tests for CarSensorManager entry points. Verifies sensor availability and ansynchronous event notification. bug: 31911546 test: run locally Change-Id: I33dcc04639195be9417c95b3c329acbde986d676
est/CarSensorManagerTest.java
|
afdc9ae840d5c47aae2954a4f5800f43ed106036 |
10-Oct-2016 |
Yao Chen <yaochen@google.com> |
Add test for SystemActivityMonitoringService Bug: 30034622 Change-Id: I320a0ed63495630df1fc81252bad1f92b7825e84
est/SystemActivityMonitoringServiceTest.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
est/CarCabinManagerTest.java
est/CarHvacManagerTest.java
|
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
est/CarInfoManagerTest.java
|
20dd8939c81a381f2226da295a897c11a92f1779 |
05-Oct-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change CarAppFocusManager to be asynchronous" into nyc-car-dev
|
d15d88777f07265b258f637e4967942d98bd6333 |
04-Oct-2016 |
Vitalii Tomkiv <vitalit@google.com> |
Change CarAppFocusManager to be asynchronous bug: 31867090 Test: run tests Change-Id: I5ea7719460ee29934efde8aa77c7a367bc86eb12
est/AppFocusTest.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
est/CarInfoManagerTest.java
|
d72b53500006e84b0c69e650878267c693c164a3 |
23-Sep-2016 |
Jason Tholstrup <jthol@google.com> |
Many API council fixes. bug: 31913591 Change-Id: I3a0f9a57ecdccdae6c0b3b98b5bbf9b31733933b
est/AppFocusTest.java
|
5d873a0ab1f5d97a13709d0e663540425a25befb |
27-Sep-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "use only android.Car in car service test" into nyc-car-dev
|
9cea114837dd6a72d3a4f7f2618fec880fe1aca8 |
27-Sep-2016 |
Keun-young Park <keunyoung@google.com> |
use only android.Car in car service test - change all tests not to use support.Car bug: 31488458 Change-Id: I85d617763108665105159d3f9d5a012022d49aa6
est/AppFocusTest.java
est/CarInfoManagerTest.java
est/CarPackageManagerTest.java
est/CarSensorManagerTest.java
est/MockedCarTestBase.java
|
8d90e50fedc5c0c6f254e049b4283e9dab054ea7 |
26-Sep-2016 |
Vitalii Tomkiv <vitalit@google.com> |
Add tests for CarProjectionManager. bug: 31486426 Test: manual run Change-Id: I405b6542cc669f8c3e56c2aabe5d7db01918759d
est/CarProjectionManagerTest.java
|
52d7da59a5445b9e139527a75b795625c174a948 |
21-Sep-2016 |
Pavel Maltsev <pavelm@google.com> |
Move CarVendorExtensionManagerTest to carservice Change-Id: If292161e3fb6ec9264a42831c569ede4b04dfc1c Fix: b/31631435
est/CarVendorExtensionManagerTest.java
|
1ac59caa6b1bc760aef0adb3c675b49bfa53af9f |
31-Aug-2016 |
Jason Tholstrup <jthol@google.com> |
Final round of API doc cleanups. Some vestigial methods were removed. Change-Id: Ia537b4075af5846436a0754481c8622cc7b1dca7
est/MockedCarTestBase.java
|
3ee334d8c220f631d2ea7fa225af148f41b43354 |
26-Aug-2016 |
Jason Tholstrup <jthol@google.com> |
api lint refactorings and renaming of listener add/remove methods. Change-Id: Id8eceac2322564da8a5fd3f882574041a0b97704
est/CarRadioManagerTest.java
|
57de61296cc8f29d8740fc7e6983af9553e7a410 |
19-Aug-2016 |
Jason Tholstrup <jthol@google.com> |
@hiding stuff and misc api lint fixes Change-Id: I88aadf3d80e1da06b976d752912a4cf1682bb257
est/MockedCarTestBase.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
est/MockedCarTestBase.java
|
4df5a286dff8b597cefaf012bde5be02000c00f3 |
24-Aug-2016 |
Yao Chen <yaochen@google.com> |
Hide volume UI after we set volume due to context change. Change-Id: I56d66b6cdabe13b5502a382ba38e70cbbca7480e
est/CarVolumeServiceTest.java
|
32bced7094bdaaefbce204679f26e632a36205d1 |
04-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "support system sound with no focus request" into nyc-car-dev
|
32b6382264510577126f9723337a7f48332b2ae3 |
02-Aug-2016 |
Keun-young Park <keunyoung@google.com> |
support system sound with no focus request - When system sound is played without focus, send NO_DUCK focus request. - system sound will be also added if non-system sound is already having focus - Sound from non-system sound physical stream will be ignored when focus is not requested. - also fix routing policy test by adding fixed policy for test bug: 25984205 Change-Id: If3981ff45fbf13fff67892bf78562ed071336b40
est/AudioRoutingPolicyTest.java
est/CarAudioExtFocusTest.java
est/CarAudioFocusSystemSoundTest.java
est/CarAudioFocusTest.java
|
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
est/GarageModeTest.java
|
caccf8fc83e93eb1c499267bdadbd955474d893d |
22-Jul-2016 |
Steve Paik <spaik@google.com> |
Add tests for CarCabinManager BUG: 27225448 Change-Id: I5812d9069c77740824173ff96dd2742978bc28d0
est/CarCabinManagerTest.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
est/CarAudioExtFocusTest.java
est/CarAudioFocusTest.java
est/MockedCarTestBase.java
|
7877faa874e502ef9a20bc9299222c718873ec91 |
12-May-2016 |
Yao Chen <yaochen@google.com> |
Add CarVolumeServiceTest Change-Id: I6326088b889aadc28f9f5ca2ed3f742ee5fae387
est/CarAudioFocusTest.java
est/CarVolumeServiceTest.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
est/CarAudioFocusTest.java
|
021310d76665163d6a7907d056b3ef43e6e910e4 |
26-Apr-2016 |
Keun-young Park <keunyoung@google.com> |
fix failing carservice tests - revamp hal release init order during mocking: release hal after service release and init hal before service init - fix wrong order of mocking state setting. This led into bringing audio muting while in mocking. - remove some default properties from CarEmulator as default dummy value does not work. - add synchronization for mCarVolumeController - handle ServiceSpecificException for get call - reduce init time for non-functioning vhal by caching volule get calls in init - update CarAudioFocusTest - remove CarConnectionListenerInMockingTest as connection state is no longer notified when mocking starts bug: 28387670 Change-Id: Idf975a3b0ed86b111618487eedbc380c5662a487
est/CarAudioFocusTest.java
|
dfccc5a6bd49b34b22968261f464442d7dc9920b |
12-Apr-2016 |
Pavel Maltsev <pavelm@google.com> |
Publish current prop state in VNS when subscribed Change-Id: I6962d913ac9d910e4bea7e7e117252ff23f0228a Fix: 27976343
est/CarHvacManagerTest.java
est/CarRadioManagerTest.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
est/CarHvacManagerTest.java
|
3057ebd67bdbeaee67f132c6f0004d04d8943dfd |
29-Mar-2016 |
Keun-young Park <keunyoung@google.com> |
cleanup audio config - add "radio" to audio routing and remove all specialization for radio. - make focus wait timeout overridable. - fix wrong handling of VR context: CAR_AUDIO_USAGE should be used instead of CAR_AUDIO_TYPE to check internal usages - send radio context to vehicle hal for radio: Do not delete radio context anymore. Also cleaned up some radio handling bug: 27886033 Change-Id: Iae5148291a5d63c79bf49d3bbc5ee73055a20411
est/AudioRoutingPolicyTest.java
est/CarAudioFocusTest.java
|
2906c4461afa9ac0c5865768a3238281e5ecf26d |
24-Mar-2016 |
Pavel Maltsev <pavelm@google.com> |
Add test size annotation to car tests Bug:26873938 Change-Id: Ie0d0cb1ea41d77756ac6f88d27d2487245c7957d
est/AudioRoutingPolicyTest.java
est/CarAudioFocusTest.java
est/CarHvacManagerTest.java
est/CarPowerManagementTest.java
est/CarRadioManagerTest.java
est/GarageModeTest.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
est/MockedCarTestBase.java
|
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
est/CarHvacManagerTest.java
|
d8c22f21348822a0022ec99444ecb062ebfa00db |
04-Mar-2016 |
Keun-young Park <keunyoung@google.com> |
fix nav focus handling while radio is active - stream to play nav was cleared when radio is active. fix it to stop radio when primary stream is conflicting with radio. - extend kitchensink audio test to have more focus test - extend bottom buttons to handle app context and radio - add radio start / stop which only controls focus - change nav play to use GAIN_TR_MAY_DOCK bug: 27475946 Change-Id: I82d63306fb15c84c7e9b0eef51cc25eb18f42660
est/AudioRoutingPolicyTest.java
|
1488ef2171bbc3bf25fc00c424a9979843f5ec6e |
25-Feb-2016 |
Keun-young Park <keunyoung@google.com> |
support audio context properly - audio context is now part of AUDIO_FOCUS - For now, resolve up to two contexts for a focus request - audio context is cleared after audio focus is requested bug: 27110889 Change-Id: Iaf63ef4a96d17c6585ff3558ce40b4775140c21c
est/AudioRoutingPolicyTest.java
est/CarAudioFocusTest.java
est/CarHvacManagerTest.java
est/CarPowerManagementTest.java
est/CarRadioManagerTest.java
est/GarageModeTest.java
est/MockedCarTestBase.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
est/AudioRoutingPolicyTest.java
est/CarRadioManagerTest.java
est/TestAppBlockingPolicyService.java
|