Home
last modified time | relevance | path

Searched refs:respMsg (Results 1 – 7 of 7) sorted by relevance

/device/generic/car/emulator/vhal_aidl/VehicleEmulator/test/
DVehicleEmulatorTest.cpp149 EmulatorMessage respMsg; in TEST_F() local
156 getEmulator()->processMessage(rxMsg, &respMsg); in TEST_F()
158 ASSERT_EQ(respMsg.status(), RESULT_OK); in TEST_F()
159 ASSERT_EQ(respMsg.msg_type(), GET_CONFIG_RESP); in TEST_F()
160 ASSERT_EQ(respMsg.config_size(), 1); in TEST_F()
162 VehiclePropConfig config = respMsg.config(0); in TEST_F()
191 EmulatorMessage respMsg; in TEST_F() local
195 getEmulator()->processMessage(rxMsg, &respMsg); in TEST_F()
197 ASSERT_EQ(respMsg.status(), ERROR_INVALID_OPERATION); in TEST_F()
198 ASSERT_EQ(respMsg.msg_type(), GET_CONFIG_RESP); in TEST_F()
[all …]
/device/generic/car/emulator/vhal_v2_0/
DVehicleEmulator.cpp80 VehicleEmulator::EmulatorMessage* respMsg) { in doGetConfig() argument
84 respMsg->set_msg_type(vhal_proto::GET_CONFIG_RESP); in doGetConfig()
85 respMsg->set_status(vhal_proto::ERROR_INVALID_PROPERTY); in doGetConfig()
90 vhal_proto::VehiclePropConfig* protoCfg = respMsg->add_config(); in doGetConfig()
92 respMsg->set_status(vhal_proto::RESULT_OK); in doGetConfig()
99 VehicleEmulator::EmulatorMessage* respMsg) { in doGetConfigAll() argument
102 respMsg->set_msg_type(vhal_proto::GET_CONFIG_ALL_RESP); in doGetConfigAll()
103 respMsg->set_status(vhal_proto::RESULT_OK); in doGetConfigAll()
106 vhal_proto::VehiclePropConfig* protoCfg = respMsg->add_config(); in doGetConfigAll()
112 VehicleEmulator::EmulatorMessage* respMsg) { in doGetProperty() argument
[all …]
DVehicleEmulator.h83 vhal_proto::EmulatorMessage* respMsg) override;
89 void doGetConfig(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
90 void doGetConfigAll(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
91 void doGetProperty(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
92 void doGetPropertyAll(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
93 void doSetProperty(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
94 void doDebug(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/
DVehicleEmulator.cpp88 VehicleEmulator::EmulatorMessage* respMsg) { in doGetConfig() argument
89 respMsg->set_msg_type(vhal_proto::GET_CONFIG_RESP); in doGetConfig()
93 respMsg->set_status(vhal_proto::ERROR_INVALID_OPERATION); in doGetConfig()
103 respMsg->set_status(vhal_proto::ERROR_INVALID_PROPERTY); in doGetConfig()
107 vhal_proto::VehiclePropConfig* protoCfg = respMsg->add_config(); in doGetConfig()
109 respMsg->set_status(vhal_proto::RESULT_OK); in doGetConfig()
113 VehicleEmulator::EmulatorMessage* respMsg) { in doGetConfigAll() argument
114 respMsg->set_msg_type(vhal_proto::GET_CONFIG_ALL_RESP); in doGetConfigAll()
117 respMsg->set_status(vhal_proto::RESULT_OK); in doGetConfigAll()
120 vhal_proto::VehiclePropConfig* protoCfg = respMsg->add_config(); in doGetConfigAll()
[all …]
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/include/
DVehicleEmulator.h50 vhal_proto::EmulatorMessage* respMsg) override;
56 void doGetConfig(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
57 void doGetConfigAll(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
58 void doGetProperty(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
59 void doGetPropertyAll(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
60 void doSetProperty(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
61 void doDebug(const EmulatorMessage& rxMsg, EmulatorMessage* respMsg);
/device/generic/car/emulator/Conn/CommConn/
DCommConn.cpp67 vhal_proto::EmulatorMessage respMsg; in readThread() local
68 mMessageProcessor->processMessage(rxMsg, &respMsg); in readThread()
70 sendMessage(respMsg); in readThread()
/device/generic/car/emulator/Conn/CommConn/include/
DCommConn.h47 vhal_proto::EmulatorMessage* respMsg) = 0;