diff options
author | Josh Gao <jmgao@google.com> | 2020-03-02 20:46:15 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-03-02 20:46:15 +0000 |
commit | 9978c367548fa29473bef75dc5836000d10ad71c (patch) | |
tree | ce5381761474a3bbc1800c2abf03b665a233e65d /adb/daemon/usb.cpp | |
parent | acb49fd07d328d6cb87fd8d9bdf49fbbaffe58a4 (diff) | |
parent | bbe3385097750842a8d87b9d3d0248c937dcdb97 (diff) |
Merge changes Ib97acc6d,I8f14004a,Id5bbfd6d,I4dfc3f52 into rvc-dev
* changes:
adbd: add runtime-configurable logging.
adb: don't hardcode ports in test_adb.
adbd: add usb thread spawn logging.
base: add CachedProperty.
Diffstat (limited to 'adb/daemon/usb.cpp')
-rw-r--r-- | adb/daemon/usb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/adb/daemon/usb.cpp b/adb/daemon/usb.cpp index 0928198076..ff97a6f052 100644 --- a/adb/daemon/usb.cpp +++ b/adb/daemon/usb.cpp @@ -282,6 +282,7 @@ struct UsbFfsConnection : public Connection { monitor_thread_ = std::thread([this]() { adb_thread_setname("UsbFfs-monitor"); + LOG(INFO) << "UsbFfs-monitor thread spawned"; bool bound = false; bool enabled = false; @@ -427,6 +428,8 @@ struct UsbFfsConnection : public Connection { worker_started_ = true; worker_thread_ = std::thread([this]() { adb_thread_setname("UsbFfs-worker"); + LOG(INFO) << "UsbFfs-worker thread spawned"; + for (size_t i = 0; i < kUsbReadQueueDepth; ++i) { read_requests_[i] = CreateReadBlock(next_read_id_++); if (!SubmitRead(&read_requests_[i])) { |