Home
last modified time | relevance | path

Searched refs:emulator (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp65 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 …]
DVehicleEmulator.h48 void registerEmulator(VehicleEmulator* emulator) { in registerEmulator() argument
49 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,
DCommConn.h47 virtual void processMessage(emulator::EmulatorMessage const& rxMsg,
48 emulator::EmulatorMessage& respMsg) = 0;
96 void sendMessage(emulator::EmulatorMessage const& msg);
DCommConn.cpp44 void CommConn::sendMessage(emulator::EmulatorMessage const& msg) { in sendMessage()
64 emulator::EmulatorMessage rxMsg; in readThread()
66 emulator::EmulatorMessage respMsg; in readThread()
DSocketComm.h50 void sendMessage(emulator::EmulatorMessage const& msg);
DSocketComm.cpp63 void SocketComm::sendMessage(emulator::EmulatorMessage const& msg) { in sendMessage()
/hardware/interfaces/automotive/vehicle/2.0/default/
DVehicleService.cpp33 auto emulator = std::make_unique<impl::VehicleEmulator>(hal.get()); in main() local
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/
DVehicleHalProto.proto20 package emulator; package