Home
last modified time | relevance | path

Searched refs:serialized_message (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/libs/adbconnection/
Dadbconnection_client.cpp92 std::string serialized_message; in send_app_info() local
93 if (!protobufProcess.SerializeToString(&serialized_message)) { in send_app_info()
98 if (serialized_message.size() > MAX_APP_MESSAGE_LENGTH) { in send_app_info()
103 ssize_t message_size = serialized_message.size(); in send_app_info()
105 write(ctx->control_socket_.get(), serialized_message.data(), serialized_message.size())); in send_app_info()
/packages/modules/adb/daemon/
Djdwp_service.cpp216 std::string serialized_message; in app_process_list() local
222 temp.SerializeToString(&serialized_message); in app_process_list()
223 if (serialized_message.size() > bufferlen) { in app_process_list()
229 output.SerializeToString(&serialized_message); in app_process_list()
230 memcpy(buffer, serialized_message.data(), serialized_message.length()); in app_process_list()
231 return serialized_message.length(); in app_process_list()