Searched refs:emulator (Results 1 – 8 of 8) sorted by relevance
65 emulator::EmulatorMessage msg; in doSetValueFromClient()66 emulator::VehiclePropValue *val = msg.add_value(); in doSetValueFromClient()68 msg.set_status(emulator::RESULT_OK); in doSetValueFromClient()69 msg.set_msg_type(emulator::SET_PROPERTY_ASYNC); in doSetValueFromClient()80 emulator::VehiclePropGet getProp = rxMsg.prop(0); in doGetConfig()82 respMsg.set_msg_type(emulator::GET_CONFIG_RESP); in doGetConfig()83 respMsg.set_status(emulator::ERROR_INVALID_PROPERTY); in doGetConfig()88 emulator::VehiclePropConfig* protoCfg = respMsg.add_config(); in doGetConfig()90 respMsg.set_status(emulator::RESULT_OK); in doGetConfig()100 respMsg.set_msg_type(emulator::GET_CONFIG_ALL_RESP); in doGetConfigAll()[all …]
48 void registerEmulator(VehicleEmulator* emulator) { in registerEmulator() argument49 ALOGI("%s, emulator: %p", __func__, emulator); in registerEmulator()51 mEmulator = emulator; in registerEmulator()75 void processMessage(emulator::EmulatorMessage const& rxMsg,76 emulator::EmulatorMessage& respMsg) override;80 using EmulatorMessage = emulator::EmulatorMessage;87 void populateProtoVehicleConfig(emulator::VehiclePropConfig* protoCfg,89 void populateProtoVehiclePropValue(emulator::VehiclePropValue* protoVal,
47 virtual void processMessage(emulator::EmulatorMessage const& rxMsg,48 emulator::EmulatorMessage& respMsg) = 0;96 void sendMessage(emulator::EmulatorMessage const& msg);
44 void CommConn::sendMessage(emulator::EmulatorMessage const& msg) { in sendMessage()64 emulator::EmulatorMessage rxMsg; in readThread()66 emulator::EmulatorMessage respMsg; in readThread()
50 void sendMessage(emulator::EmulatorMessage const& msg);
63 void SocketComm::sendMessage(emulator::EmulatorMessage const& msg) { in sendMessage()
33 auto emulator = std::make_unique<impl::VehicleEmulator>(hal.get()); in main() local
20 package emulator; package