Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a338c68 authored by Yu Shan's avatar Yu Shan
Browse files

Add DEBUG_CMD in emulator message.

Add DEBUG_CMD to allow emulator to send debug commands to VHAL.
This is used to replace the special debug properites.

Test: None
Bug: 193565753
Change-Id: I5fe8fbae05e075e74c85aa6771f14c243003bc77
parent 54586529
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ enum MsgType {
    SET_PROPERTY_CMD                    = 8;
    SET_PROPERTY_RESP                   = 9;
    SET_PROPERTY_ASYNC                  = 10;
    DEBUG_CMD                           = 11;
    DEBUG_RESP                          = 12;
}
enum Status {
    RESULT_OK                           = 0;
@@ -103,4 +105,6 @@ message EmulatorMessage {
    repeated VehiclePropGet    prop           = 3; // Provided for getConfig, getProperty commands
    repeated VehiclePropConfig config         = 4;
    repeated VehiclePropValue  value          = 5;
    repeated string            debug_commands = 6; // Required for debug command
    optional string            debug_result   = 7; // Required for debug RESP messages
};