Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/command_util/
Dutil.cc112 std::string serialized_data(length, 0); in ReadLauncherActionFromFd() local
114 ReadExact(monitor_socket, serialized_data.data(), serialized_data.size()); in ReadLauncherActionFromFd()
116 CF_EXPECT(n == serialized_data.size(), "Unexpected EOF on read"); in ReadLauncherActionFromFd()
119 CF_EXPECT(extended_action.ParseFromString(serialized_data), in ReadLauncherActionFromFd()
165 const std::string serialized_data = extended_action.SerializeAsString(); in RunLauncherAction() local
166 CF_EXPECT(!serialized_data.empty(), "failed to serialize proto"); in RunLauncherAction()
171 const std::uint32_t length = serialized_data.size(); in RunLauncherAction()
174 if (!serialized_data.empty()) { in RunLauncherAction()
175 ssize_t n = WriteAll(monitor_socket, serialized_data.data(), in RunLauncherAction()
176 serialized_data.size()); in RunLauncherAction()
[all …]