• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revision4a572d984f1524d41fa7bab1028c5527ca126946 (tree)
Zeit2019-05-23 02:20:09
AutorHridya Valsaraju <hridya@goog...>
Commiterandroid-build-merger

Log Message

fastbootd: reduce USB buffer size to 16K
am: 4472fdb4d0

Change-Id: I86c52fdd909bce5e9ef485f0fda2c4506d5b534f

Ändern Zusammenfassung

Diff

--- a/fastboot/device/usb_client.cpp
+++ b/fastboot/device/usb_client.cpp
@@ -33,7 +33,7 @@ constexpr int kMaxPacketSizeHs = 512;
3333 constexpr int kMaxPacketsizeSs = 1024;
3434
3535 constexpr size_t kFbFfsNumBufs = 16;
36-constexpr size_t kFbFfsBufSize = 32768;
36+constexpr size_t kFbFfsBufSize = 16384;
3737
3838 constexpr const char* kUsbFfsFastbootEp0 = "/dev/usb-ffs/fastboot/ep0";
3939 constexpr const char* kUsbFfsFastbootOut = "/dev/usb-ffs/fastboot/ep1";