Drop several debug statements to cleanup output at runtime
This commit is contained in:
parent
467874a196
commit
fee19cc627
9 changed files with 6 additions and 15 deletions
|
|
@ -94,8 +94,6 @@ intptr_t RenderServer::main()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
DBG("RenderServer: Got new stream!\n");
|
|
||||||
|
|
||||||
// check if we have been requested to exit while waiting on accept
|
// check if we have been requested to exit while waiting on accept
|
||||||
if ((clientFlags & IOSTREAM_CLIENT_EXIT_SERVER) != 0) {
|
if ((clientFlags & IOSTREAM_CLIENT_EXIT_SERVER) != 0) {
|
||||||
m_exiting = true;
|
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 the thread has been created and started, insert it to the list
|
||||||
if (rt) {
|
if (rt)
|
||||||
threads.insert(rt);
|
threads.insert(rt);
|
||||||
DBG("Started new RenderThread\n");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@ BootAnimationMessageProcessor::~BootAnimationMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BootAnimationMessageProcessor::handle_command(const std::string &command) {
|
void BootAnimationMessageProcessor::handle_command(const std::string &command) {
|
||||||
DEBUG("command %s", command);
|
|
||||||
if (command == "retrieve-icon")
|
if (command == "retrieve-icon")
|
||||||
retrieve_icon();
|
retrieve_icon();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ CameraMessageProcessor::~CameraMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CameraMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
|
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)
|
for (const auto &byte : data)
|
||||||
buffer_.push_back(byte);
|
buffer_.push_back(byte);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,6 @@ void GsmMessageProcessor::handle_ctec(const std::string &command) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GsmMessageProcessor::handle_cmgf(const std::string &command) {
|
void GsmMessageProcessor::handle_cmgf(const std::string &command) {
|
||||||
DEBUG("command %s", command);
|
|
||||||
if (command == "+CMGF=0")
|
if (command == "+CMGF=0")
|
||||||
send_reply("");
|
send_reply("");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ HwControlMessageProcessor::~HwControlMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void HwControlMessageProcessor::handle_command(const std::string &command) {
|
void HwControlMessageProcessor::handle_command(const std::string &command) {
|
||||||
|
#if 0
|
||||||
if (command == "power:screen_state:wake")
|
if (command == "power:screen_state:wake")
|
||||||
DEBUG("Got screen wake command");
|
DEBUG("Got screen wake command");
|
||||||
else if (command == "power:screen_state:standby")
|
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");
|
DEBUG("Got LCD backligh brightness control command");
|
||||||
else
|
else
|
||||||
DEBUG("Unknown command '%s'", command);
|
DEBUG("Unknown command '%s'", command);
|
||||||
|
#else
|
||||||
|
(void) command;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
} // namespace qemu
|
} // namespace qemu
|
||||||
} // namespace anbox
|
} // namespace anbox
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ NullMessageProcessor::~NullMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NullMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
} // namespace qemu
|
} // namespace qemu
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,6 @@ PipeConnectionCreator::client_type PipeConnectionCreator::identify_client(
|
||||||
|
|
||||||
std::string identifier_and_args = buffer.data();
|
std::string identifier_and_args = buffer.data();
|
||||||
|
|
||||||
DEBUG("identifier %s", identifier_and_args);
|
|
||||||
|
|
||||||
if (utils::string_starts_with(identifier_and_args, "pipe:opengles"))
|
if (utils::string_starts_with(identifier_and_args, "pipe:opengles"))
|
||||||
return client_type::opengles;
|
return client_type::opengles;
|
||||||
// Even if 'boot-properties' is an argument to the service 'qemud' here we
|
// Even if 'boot-properties' is an argument to the service 'qemud' here we
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,6 @@ QemudMessageProcessor::~QemudMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QemudMessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
|
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)
|
for (const auto &byte : data)
|
||||||
buffer_.push_back(byte);
|
buffer_.push_back(byte);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ SensorsMessageProcessor::~SensorsMessageProcessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SensorsMessageProcessor::handle_command(const std::string &command) {
|
void SensorsMessageProcessor::handle_command(const std::string &command) {
|
||||||
DEBUG("command %s", command);
|
|
||||||
if (command == "list-sensors")
|
if (command == "list-sensors")
|
||||||
list_sensors();
|
list_sensors();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue