Lines Matching refs:response_message

112       VtsDriverControlResponseMessage response_message;  in ProcessOneCommand()  local
113 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
114 if (VtsSocketSendMessage(response_message)) { in ProcessOneCommand()
130 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
132 response_message.set_response_code(VTS_DRIVER_RESPONSE_FAIL); in ProcessOneCommand()
134 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
136 response_message.set_return_value(driver_id); in ProcessOneCommand()
137 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
142 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
143 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
144 response_message.set_return_value(result); in ProcessOneCommand()
145 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
154 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
155 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
156 response_message.set_return_message(result); in ProcessOneCommand()
157 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
167 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
168 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
169 response_message.set_return_message(result); in ProcessOneCommand()
170 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
176 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
177 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
178 response_message.set_return_message(result); in ProcessOneCommand()
179 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
185 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
187 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
188 response_message.set_return_message(result.c_str()); in ProcessOneCommand()
190 response_message.set_response_code(VTS_DRIVER_RESPONSE_FAIL); in ProcessOneCommand()
192 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
197 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
199 response_message.mutable_fmq_response(); in ProcessOneCommand()
203 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
204 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
209 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
211 response_message.mutable_hidl_memory_response(); in ProcessOneCommand()
215 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
216 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
221 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
223 response_message.mutable_hidl_handle_response(); in ProcessOneCommand()
227 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
228 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()