commit | 465d8d7de27d0718074c949ff405c386e3f69082 | [log] [tgz] |
---|---|---|
author | terryguan <terryguan@google.com> | Wed Aug 21 13:17:12 2024 -0700 |
committer | terryguan <terryguan@google.com> | Wed Aug 21 13:20:16 2024 -0700 |
tree | c76f4d8dd1f25a7c87917c513eab1ecdd859af65 | |
parent | 201694df36625539e950e58f93e5b89b47d36ad9 [diff] |
Add refreshPropertyConfigs to DumpResult proto refreshPropertyConfigs was not previously used in dumpresult proto resulting in failing tests that require the argument. Flag: EXEMPT test Bug: 357135536 Test: atest android.car.apitest.CarPropertyManagerTest Change-Id: I9c6dd3053aa54f37786edc3810a9342f5efb39cd
diff --git a/automotive/vehicle/aidl/impl/grpc/GRPCVehicleHardware.cpp b/automotive/vehicle/aidl/impl/grpc/GRPCVehicleHardware.cpp index 201ddb0..8750375 100644 --- a/automotive/vehicle/aidl/impl/grpc/GRPCVehicleHardware.cpp +++ b/automotive/vehicle/aidl/impl/grpc/GRPCVehicleHardware.cpp
@@ -276,6 +276,7 @@ return { .callerShouldDumpState = protoDumpResult.caller_should_dump_state(), .buffer = protoDumpResult.buffer(), + .refreshPropertyConfigs = protoDumpResult.refresh_property_configs(), }; }
diff --git a/automotive/vehicle/aidl/impl/grpc/GRPCVehicleProxyServer.cpp b/automotive/vehicle/aidl/impl/grpc/GRPCVehicleProxyServer.cpp index d7cbe1b..7697c03 100644 --- a/automotive/vehicle/aidl/impl/grpc/GRPCVehicleProxyServer.cpp +++ b/automotive/vehicle/aidl/impl/grpc/GRPCVehicleProxyServer.cpp
@@ -226,6 +226,7 @@ auto dumpResult = mHardware->dump(dumpOptionStrings); result->set_caller_should_dump_state(dumpResult.callerShouldDumpState); result->set_buffer(dumpResult.buffer); + result->set_refresh_property_configs(dumpResult.refreshPropertyConfigs); return ::grpc::Status::OK; }