diff --git a/src/anbox/graphics/emugl/RenderServer.cpp b/src/anbox/graphics/emugl/RenderServer.cpp index 63e211c..5f23093 100644 --- a/src/anbox/graphics/emugl/RenderServer.cpp +++ b/src/anbox/graphics/emugl/RenderServer.cpp @@ -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"); - } } // diff --git a/src/anbox/qemu/bootanimation_message_processor.cpp b/src/anbox/qemu/bootanimation_message_processor.cpp index 398cbce..c166a21 100644 --- a/src/anbox/qemu/bootanimation_message_processor.cpp +++ b/src/anbox/qemu/bootanimation_message_processor.cpp @@ -32,7 +32,6 @@ BootAnimationMessageProcessor::~BootAnimationMessageProcessor() { } void BootAnimationMessageProcessor::handle_command(const std::string &command) { - DEBUG("command %s", command); if (command == "retrieve-icon") retrieve_icon(); } diff --git a/src/anbox/qemu/camera_message_processor.cpp b/src/anbox/qemu/camera_message_processor.cpp index c7c9c6b..c936044 100644 --- a/src/anbox/qemu/camera_message_processor.cpp +++ b/src/anbox/qemu/camera_message_processor.cpp @@ -28,8 +28,6 @@ CameraMessageProcessor::~CameraMessageProcessor() { } bool CameraMessageProcessor::process_data(const std::vector &data) { - DEBUG("Received: %s", utils::hex_dump(data.data(), data.size())); - for (const auto &byte : data) buffer_.push_back(byte); diff --git a/src/anbox/qemu/gsm_message_processor.cpp b/src/anbox/qemu/gsm_message_processor.cpp index 1973587..dc3c945 100644 --- a/src/anbox/qemu/gsm_message_processor.cpp +++ b/src/anbox/qemu/gsm_message_processor.cpp @@ -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(""); } diff --git a/src/anbox/qemu/hwcontrol_message_processor.cpp b/src/anbox/qemu/hwcontrol_message_processor.cpp index 39f7a30..ebe0369 100644 --- a/src/anbox/qemu/hwcontrol_message_processor.cpp +++ b/src/anbox/qemu/hwcontrol_message_processor.cpp @@ -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 diff --git a/src/anbox/qemu/null_message_processor.cpp b/src/anbox/qemu/null_message_processor.cpp index 798e2b7..90a211d 100644 --- a/src/anbox/qemu/null_message_processor.cpp +++ b/src/anbox/qemu/null_message_processor.cpp @@ -30,7 +30,7 @@ NullMessageProcessor::~NullMessageProcessor() { } bool NullMessageProcessor::process_data(const std::vector &data) { - DEBUG("Received: %s", utils::hex_dump(data.data(), data.size())); + (void) data; return true; } } // namespace qemu diff --git a/src/anbox/qemu/pipe_connection_creator.cpp b/src/anbox/qemu/pipe_connection_creator.cpp index 5d81e89..0273d86 100644 --- a/src/anbox/qemu/pipe_connection_creator.cpp +++ b/src/anbox/qemu/pipe_connection_creator.cpp @@ -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 diff --git a/src/anbox/qemu/qemud_message_processor.cpp b/src/anbox/qemu/qemud_message_processor.cpp index 80fa4b6..7a39afa 100644 --- a/src/anbox/qemu/qemud_message_processor.cpp +++ b/src/anbox/qemu/qemud_message_processor.cpp @@ -35,8 +35,6 @@ QemudMessageProcessor::~QemudMessageProcessor() { } bool QemudMessageProcessor::process_data(const std::vector &data) { - DEBUG("Received: %s", utils::hex_dump(data.data(), data.size())); - for (const auto &byte : data) buffer_.push_back(byte); diff --git a/src/anbox/qemu/sensors_message_processor.cpp b/src/anbox/qemu/sensors_message_processor.cpp index 4aca92b..5843164 100644 --- a/src/anbox/qemu/sensors_message_processor.cpp +++ b/src/anbox/qemu/sensors_message_processor.cpp @@ -28,7 +28,6 @@ SensorsMessageProcessor::~SensorsMessageProcessor() { } void SensorsMessageProcessor::handle_command(const std::string &command) { - DEBUG("command %s", command); if (command == "list-sensors") list_sensors(); }