aboutsummaryrefslogtreecommitdiff
path: root/src/adbd-client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove USB manager and corresponding testsRatchanan Srirattanamet2023-12-141-310/+0
| | | | | | | | Since this is renamed, it has never worked correctly anyway. I've forked this part of code as "adbd-approver" [1], so this part can now be removed. [1] https://gitlab.com/ubports/development/core/adbd-approver
* src/adbd-client.cpp: Fix cppcheckJami Kettunen2022-07-051-5/+5
| | | | | | | | cppcheck test was failing both locally for me and on CI: .../src/adbd-client.cpp:128:80: style: C-style pointer casting [cstyleCast] g_debug("%s thread %p creating a client socket to '%s'", G_STRLOC, (void*)g_thread_self(), socket_path.c_str()); ^
* src/adbd-client.cpp: Fix several type warnings in g_debug calls() by casting ↵Mike Gabriel2021-08-041-5/+5
| | | | to (void*).
* add block braces as suggested by dobeyCharles Kerr2016-10-211-2/+4
|
* remove dead codeCharles Kerr2016-10-191-2/+0
|
* remove the temporary tracers from r34 and r35Charles Kerr2016-10-191-89/+0
|
* use a std::atomic for adbd-client's m_pkresponse_readyCharles Kerr2016-09-221-1/+2
|
* fix tyopCharles Kerr2016-09-221-14/+3
|
* keep piling 'em onCharles Kerr2016-09-221-0/+2
|
* tweak the debug tracersCharles Kerr2016-09-221-93/+93
|
* The notifying thread does not need to hold the lock on the same mutex as the ↵Charles Kerr2016-09-221-1/+1
| | | | one held by the waiting thread(s); in fact doing so is a pessimization.
* fix r25 copypaste error, lock on the correct mutexCharles Kerr2016-09-221-1/+1
|
* GAdbdClient::Impl::on_public_key_response() doesn't need a condition ↵Charles Kerr2016-09-221-6/+7
| | | | variable wait, so use std::lock_guard rather than std::unique_lock
* add a plethora of log statements to help figure out what's causing the silo ↵Charles Kerr2016-09-221-0/+93
| | | | test failures
* adbd-client's std::condition_variable::wait() call seems to be the ↵Charles Kerr2016-09-211-6/+11
| | | | system_error culprit, so wrapping in try-catch to be cautious
* in adbd-client's dtor, check the worker thread's joinable() state before ↵Charles Kerr2016-09-211-2/+7
| | | | calling join() on it
* in PKIdleData, take the std::string argument as a const& to make cppcheck ↵Charles Kerr2016-09-211-1/+1
| | | | happy on yakkety
* add tracer g_debug() calls for the benefit of the integration testsCharles Kerr2016-03-241-1/+4
|
* if our USB device is disconnected while prompting the user for ADBD, cancel ↵Charles Kerr2016-03-211-0/+1
| | | | the prompt.
* add some debug stubsCharles Kerr2016-03-151-2/+4
|
* tweak a couple of 'auto' declarations that g++ 5.3.1 understands but 4.9.2 ↵Charles Kerr2016-03-151-2/+2
| | | | on vivid doesn't
* add human-readable fingerprint extraction from the adb public keysCharles Kerr2016-03-091-0/+39
|
* add ADB server/client + testsCharles Kerr2016-03-061-0/+258