Treehugger Robot
94a43b30ef
Merge "Pass property set error to subscribed clients." into udc-qpr-dev
2023-07-10 21:07:10 +00:00
Yu Shan
fda1197d79
Pass property set error to subscribed clients.
...
Pass the async property set error generated by VehicleHardware layer
to subscribed clients
Test: atest DefaultVehicleHalTest
Bug: 286384730
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b1448edcfd3f88365932e2d94659952444aae2b )
Merged-In: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
2023-07-07 21:26:02 +00:00
Yu Shan
ddd7b58149
Fix a type conversion bug.
...
Convert int64_t to long on x86 platform loses info.
Test: atest FakeVehicleHardwareTest on cf_gwear_x86.
Bug: 288376096
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76aaef448fcd9458b07b1d78ea4b79165af0cde0 )
Merged-In: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
Change-Id: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
2023-06-30 20:55:19 +00:00
Terry Guan
7059468d04
Merge "Adding for adding async large parcelalbe callbacks functionality" into udc-dev
2023-05-10 13:12:49 +00:00
Eva Chen
d795ebd56c
Merge "Remove note for ADAS properties." into udc-dev
2023-05-09 23:11:49 +00:00
terryguan
a2fa508d3f
Adding for adding async large parcelalbe callbacks functionality
...
Bug: 270740905
Test: atest com.android.car.CarPropertyManagerTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: atest com.android.car.hal.PropertyHalServiceTest
Test: manual, verified largeParcelable using shared memeory
Change-Id: Ic01402ceb58ea93957777bec4965121c594fa35e
2023-05-08 08:48:58 -07:00
Eva Chen
49281ae7a6
Remove note for ADAS properties.
...
Bug: 281133179
Test: Comment only change
Change-Id: I6d9c8dfa0fead76195616023442e09887ae74aac
2023-05-05 15:19:22 -07:00
terryguan
f3cd073e86
Added debug statement and refresh in default vehicle hal
...
Added a debug statement to allow for a debug command to generate a large
amount of propConfigs to test large parcelables. DefaultVehicleHal
needed to refresh the properties when DefaultVehicleHal's
getAllPropConfigs is called
Bug: 270740905
Test: atest DefaultVehicleHalTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: --rerun-until-failure 3
Test: Manual
Change-Id: I95eb98cef64e327894760783ffe9883975359d89
2023-05-04 13:37:06 -07:00
Treehugger Robot
f8cdade2d3
Merge "Mention that ErrorState and StatusCode must match" into udc-dev
2023-04-28 01:42:34 +00:00
Aaqib Ismail
bc591f4356
Merge "Add UNKNOWN fan direction to HVAC_FAN_DIRECTION_AVAILABLE for emulator" into udc-dev
2023-04-25 18:37:10 +00:00
Aaqib Ismail
210a66568b
Mention that ErrorState and StatusCode must match
...
Bug: 277972734
Test: presubmit
Change-Id: If9da64ff1a163dce2b5f913187c18ba032a16016
2023-04-24 12:28:07 -07:00
Aaqib Ismail
a089c8ed53
Implement ADAS properties in emulator VHAL
...
For properties that support the ErrorState enum, they are set to
ErrorState#NOT_AVAILABLE_DISABLED when the ADAS feature is disabled.
For all the other ADAS properties, they return
StatusCode#NOT_AVAILABLE_DISABLED when that ADAS feature is disabled.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: I11386cbaa320038001c650a63cc70f6ca6498c09
2023-04-20 18:26:42 -07:00
Aaqib Ismail
260d94ed57
Add UNKNOWN fan direction to HVAC_FAN_DIRECTION_AVAILABLE for emulator
...
Bug: 279077869
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: I6f1ccac01d28e630646a0455f53922e3e68483d3
2023-04-20 16:37:05 -07:00
Treehugger Robot
8a01e4676c
Merge changes Ida3533de,Ifec6e212 into udc-dev
...
* changes:
Complete VHAL GRPC Interfaces
GRPC Vehicle Proxy Server
2023-04-14 20:53:25 +00:00
Sihu Song
61859e7776
Merge "Add emulator metadata generator script" am: 72205da1e6
am: 1d67e9c801
am: 87a1249b48
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482
Change-Id: Ia976f5fe77f914c2d9da41c7098fc04522f8d8b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 03:30:05 +00:00
Sihu Song
87a1249b48
Merge "Add emulator metadata generator script" am: 72205da1e6
am: 1d67e9c801
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482
Change-Id: I2c074435ff63deae7d19bc8a1b7d1f7d6cd5f66e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 02:57:02 +00:00
Sihu Song
72205da1e6
Merge "Add emulator metadata generator script"
2023-04-14 01:40:15 +00:00
Treehugger Robot
27ddba211b
Merge "Use IsSubsetOf matcher for comparing changed vs updated properties" into udc-dev
2023-04-14 00:32:29 +00:00
Treehugger Robot
4ce4be5c61
Merge changes I4c49f255,I26c4260b into udc-dev
...
* changes:
HVAC dependent properties should return NOT_AVAILABLE_DISABLED
Print out content of VehiclePropValue when test fails
2023-04-14 00:32:24 +00:00
TreeHugger Robot
d6818349ef
Merge "AIDL VHAL GRPC Client" into udc-dev
2023-04-13 00:37:33 +00:00
Aaqib Ismail
76dbff1e9c
Use IsSubsetOf matcher for comparing changed vs updated properties
...
The previous implementation did not work as intended because it was
comparing using equality. This means that if there is a mismatch in
the number of elements in each list it would fail.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Change-Id: If624ee39271725c6158c004181104ca6b30d4598
2023-04-12 16:31:23 -07:00
Aaqib Ismail
5df458d2c0
HVAC dependent properties should return NOT_AVAILABLE_DISABLED
...
To be consistent with the new API in Android U, NOT_AVAILABLE_DISABLED
is the more appropiate StatusCode.
Bug: 255430764
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: I4c49f255817f1f9bc2888c99177c6dc666213ab6
2023-04-12 16:31:23 -07:00
Aaqib Ismail
dc90e2265f
Print out content of VehiclePropValue when test fails
...
Currently when a test fails, it prints out a byte representation of the
object which is not helpful.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Change-Id: I26c4260b2dbf5a71fbfe94e11c111b482337e6f5
2023-04-12 16:31:20 -07:00
Hao Chen
a810fb2583
Complete VHAL GRPC Interfaces
...
Add missing operations from IVehicleHardware.h
Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest`
Change-Id: Ida3533dedce49c49c4762b2f9a43997317f5d2c4
2023-04-12 16:17:51 -07:00
Hao Chen
32d467066a
GRPC Vehicle Proxy Server
...
The GRPC proxy server speaks to another IVehicleHardware (no matter if it is real or fake) to serve
other GRPC vehicle hardware(s). It can be used as a real GRPC Vehicle
Hardware backend when it is running on the machine that have a direct
access to the real vehicle bus, or it can also be used as a fake backend
for testing.
Test: `atest GRPCVehicleProxyServerUnitTest`
Bug: 266001013
Change-Id: Ifec6e21223986a68ab089a87a9664c1b52601ea2
2023-04-12 16:12:18 -07:00
Hao Chen
6cb8689d10
AIDL VHAL GRPC Client
...
Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest`
Change-Id: I89b1c260aa2c34f353e88547a92718bb1cc37e5f
2023-04-12 14:31:50 -07:00
Aaqib Ismail
5638a35174
Split BLIND_SPOT_WARNING_STATE into 2 area IDs on emulator
...
Bug: 277359374
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: Ic8ff9757086281c693aee86e4f1c5f8430e02c07
2023-04-11 11:51:08 -07:00
Alex Buynytskyy
1deeb7fabf
Merge "UpsideDownCake is now 34" into udc-dev
2023-04-11 01:17:33 +00:00
Shrikar Amirisetty
6ef7a20d3d
Merge "Added info to docs to answer Q20 from Ford pending questions." into udc-dev
2023-04-10 14:02:16 +00:00
Shrikar Amirisetty
cdd964a8d0
Merge changes from topics "move_pos_consistency", "steering_wheel_depth_docs" into udc-dev
...
* changes:
Changed STEERING_WHEEL_DEPTH min/max value definition in HAL.
Changed *_MOVE and *_POS HAL docs to be consistent.
2023-04-10 14:02:03 +00:00
Shrikar Amirisetty
f4d09bba11
Merge "Added info to HAL docs to answer Q14 from Ford pending questions." into udc-dev
2023-04-10 14:01:39 +00:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
shrikar
0eca9c3d6b
Added info to docs to answer Q20 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I921a7fc0a896e7343d0f0c51a1eb40f5e95aee10
2023-04-07 21:54:24 +00:00
shrikar
45bd6fa885
Changed STEERING_WHEEL_DEPTH min/max value definition in HAL.
...
Bug: 276327125
Test: manual build
Change-Id: I5a5cf3033ac50d3816b508544315a16a52161b35
2023-04-07 21:54:04 +00:00
shrikar
f77dd218aa
Changed *_MOVE and *_POS HAL docs to be consistent.
...
Bug: 259477002
Test: manual build
Change-Id: Ie69333bdb68c97c844fbf0cc93bd75ffe6f58093
2023-04-07 21:53:37 +00:00
shrikar
e18364056a
Added info to HAL docs to answer Q14 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: Icd1607e7f05cee7eec3f0a9826e3590149ff5c08
2023-04-07 20:55:23 +00:00
Shrikar Amirisetty
265347eebd
Merge "Added info to docs to answer Q25 from Ford pending questions." into udc-dev
2023-04-07 19:18:23 +00:00
shrikar
36f0b25a19
Added info to docs to answer Q25 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I21e2672ff41ad6b8fc08866641abe58dd75c8efc
2023-04-07 15:04:59 +00:00
Aaqib Ismail
df979bb50b
Document how HVAC_AUTO_ON can be indirectly disabled
...
Bug: 259582041
Test: presubmit
Change-Id: I05edfbc35dd3830696803e7e5010402330584867
2023-04-03 13:56:10 -07:00
Treehugger Robot
db2d265280
Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a
am: 3978a1cb20
am: e81ca58e04
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240
Change-Id: I36ec106ff1f8709ac54ba661d12eeb83cd48ae32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 07:07:03 +00:00
Treehugger Robot
e81ca58e04
Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a
am: 3978a1cb20
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240
Change-Id: I18ac45a2c6033fc84a1c2b2cbc7768fcdda20c96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:35 +00:00
Aaqib Ismail
49e36808da
Fix inconsistencies in VehicleArea HAL documentation
...
Remove references of area types and use more consistent language.
Use same documentation across AIDL and HIDL definitions.
Bug: 259987652
Test: presubmit
Change-Id: I4da6ff23fd221698c9fbe9c9f817f51959a49a79
2023-03-29 20:12:05 +00:00
TreeHugger Robot
4a29be87c5
Merge "Specify that a read_write property can be read only in HAL" into udc-dev
2023-03-24 23:56:16 +00:00
Aaqib Ismail
97d9c731d8
Specify that a read_write property can be read only in HAL
...
Not all read_write properties are included. For example, properties
not exposed through CarPropertyManager are not included. The only
other exception is HVAC_TEMPERATURE_VALUE_SUGGESTION because it behaves
like a function call so it needs to be writable.
Bug: 195962745
Test: presubmit
Change-Id: Ief758fd45b7d21ba2d81899d5bb056c3bc24b15b
2023-03-24 22:23:03 +00:00
TreeHugger Robot
26ca5c56e9
Merge "Added HAL docs for unsupported LOCATION_CHARACTERIZATION behaviour." into udc-dev
2023-03-24 20:13:39 +00:00
shrikar
496e3fb377
Added HAL docs for unsupported LOCATION_CHARACTERIZATION behaviour.
...
Bug: 271007857
Test: manual build
Change-Id: Ifdb8a0752831967356b2d919a7a10c07363c72d6
2023-03-24 18:05:59 +00:00
Aaqib Ismail
e12b0af461
Merge "Implement HVAC_TEMPERATURE_VALUE_SUGGESTION in emulator VHAL" into udc-dev
2023-03-24 00:51:27 +00:00
TreeHugger Robot
8286fe4cd8
Merge "Update default emulator values for HVAC_TEMPERATURE_VALUE_SUGGESTION" into udc-dev
2023-03-24 00:32:16 +00:00
Ayushi Khopkar
5088c6cdc3
Updated fuzz_config in Android.bp file
...
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.
Bug: 271384401
Test: Build vehicleManager_fuzzer
Change-Id: I0d648ae43328ca8860daa8cf39e8e2d10868952a
2023-03-23 14:26:25 +05:30
Aaqib Ismail
e148beb7f2
Merge "Update Cruise Control properties HAL docs" into udc-dev
2023-03-23 01:03:56 +00:00