summaryrefslogtreecommitdiffstats
path: root/adb/daemon/usb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/daemon/usb.cpp')
-rw-r--r--adb/daemon/usb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/adb/daemon/usb.cpp b/adb/daemon/usb.cpp
index ac2d1c7ee..598f2cd37 100644
--- a/adb/daemon/usb.cpp
+++ b/adb/daemon/usb.cpp
@@ -57,11 +57,11 @@ using android::base::StringPrintf;
// We can't find out whether we have support for AIO on ffs endpoints until we submit a read.
static std::optional<bool> gFfsAioSupported;
-static constexpr size_t kUsbReadQueueDepth = 16;
-static constexpr size_t kUsbReadSize = 16384;
+static constexpr size_t kUsbReadQueueDepth = 32;
+static constexpr size_t kUsbReadSize = 8 * PAGE_SIZE;
-static constexpr size_t kUsbWriteQueueDepth = 16;
-static constexpr size_t kUsbWriteSize = 16 * PAGE_SIZE;
+static constexpr size_t kUsbWriteQueueDepth = 32;
+static constexpr size_t kUsbWriteSize = 8 * PAGE_SIZE;
static const char* to_string(enum usb_functionfs_event_type type) {
switch (type) {