commit | 2a7e994860824e8e0a2cadae1ff29d55f9616c3b | [log] [tgz] |
---|---|---|
author | Terry Guan <terryguan@google.com> | Thu Aug 22 23:06:07 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Aug 22 23:06:07 2024 +0000 |
tree | 709e4721cac33159147cb0075ffdecb5cc1238eb | |
parent | 7eacaad15e99b2e05458c50a1e3c47a28b58848c [diff] | |
parent | 465d8d7de27d0718074c949ff405c386e3f69082 [diff] |
Merge "Add refreshPropertyConfigs to DumpResult proto" into main
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; }
diff --git a/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/DumpResult.proto b/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/DumpResult.proto index 25bb7d4..fbfb505 100644 --- a/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/DumpResult.proto +++ b/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/DumpResult.proto
@@ -25,4 +25,6 @@ bool caller_should_dump_state = 1; /* The dumped information for the caller to print. */ string buffer = 2; + /* To pass if DefaultVehicleHal should refresh the property configs. */ + bool refresh_property_configs = 3; }