Drop several debug statements to cleanup output at runtime

This commit is contained in:
Simon Fels 2016-11-18 18:45:53 +01:00
commit fee19cc627
9 changed files with 6 additions and 15 deletions

View file

@ -94,8 +94,6 @@ intptr_t RenderServer::main()
continue;
}
DBG("RenderServer: Got new stream!\n");
// check if we have been requested to exit while waiting on accept
if ((clientFlags & IOSTREAM_CLIENT_EXIT_SERVER) != 0) {
m_exiting = true;
@ -133,10 +131,8 @@ intptr_t RenderServer::main()
}
// if the thread has been created and started, insert it to the list
if (rt) {
if (rt)
threads.insert(rt);
DBG("Started new RenderThread\n");
}
}
//

View file

@ -32,7 +32,6 @@ BootAnimationMessageProcessor::~BootAnimationMessageProcessor() {
}
void BootAnimationMessageProcessor::handle_command(const std::string &command) {
DEBUG("command %s", command);
if (command == "retrieve-icon")
retrieve_icon();
}

View file

@ -28,8 +28,6 @@ CameraMessageProcessor::~CameraMessageProcessor() {
}
bool CameraMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
DEBUG("Received: %s", utils::hex_dump(data.data(), data.size()));
for (const auto &byte : data)
buffer_.push_back(byte);

View file

@ -78,7 +78,6 @@ void GsmMessageProcessor::handle_ctec(const std::string &command) {
}
void GsmMessageProcessor::handle_cmgf(const std::string &command) {
DEBUG("command %s", command);
if (command == "+CMGF=0")
send_reply("");
}

View file

@ -28,6 +28,7 @@ HwControlMessageProcessor::~HwControlMessageProcessor() {
}
void HwControlMessageProcessor::handle_command(const std::string &command) {
#if 0
if (command == "power:screen_state:wake")
DEBUG("Got screen wake command");
else if (command == "power:screen_state:standby")
@ -36,6 +37,9 @@ void HwControlMessageProcessor::handle_command(const std::string &command) {
DEBUG("Got LCD backligh brightness control command");
else
DEBUG("Unknown command '%s'", command);
#else
(void) command;
#endif
}
} // namespace qemu
} // namespace anbox

View file

@ -30,7 +30,7 @@ NullMessageProcessor::~NullMessageProcessor() {
}
bool NullMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
DEBUG("Received: %s", utils::hex_dump(data.data(), data.size()));
(void) data;
return true;
}
} // namespace qemu

View file

@ -109,8 +109,6 @@ PipeConnectionCreator::client_type PipeConnectionCreator::identify_client(
std::string identifier_and_args = buffer.data();
DEBUG("identifier %s", identifier_and_args);
if (utils::string_starts_with(identifier_and_args, "pipe:opengles"))
return client_type::opengles;
// Even if 'boot-properties' is an argument to the service 'qemud' here we

View file

@ -35,8 +35,6 @@ QemudMessageProcessor::~QemudMessageProcessor() {
}
bool QemudMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
DEBUG("Received: %s", utils::hex_dump(data.data(), data.size()));
for (const auto &byte : data)
buffer_.push_back(byte);

View file

@ -28,7 +28,6 @@ SensorsMessageProcessor::~SensorsMessageProcessor() {
}
void SensorsMessageProcessor::handle_command(const std::string &command) {
DEBUG("command %s", command);
if (command == "list-sensors")
list_sensors();
}