diff options
author | Jack Yu <jackyu@google.com> | 2022-01-12 15:21:56 -0800 |
---|---|---|
committer | Jack Yu <jackyu@google.com> | 2022-01-14 05:04:48 +0000 |
commit | cea56bb34766f899aebe5176e115da07f1ac56bc (patch) | |
tree | fb7a86a977ad32ae461697731d5978ca375a93b6 /overlay | |
parent | 7766938364ead975a0d46ded4c00a7331e6ac2a2 (diff) | |
download | gs201-cea56bb34766f899aebe5176e115da07f1ac56bc.tar.gz |
Added default TCP buffer size for Pixels
Bug: 213596972
Test: Manual
Change-Id: Ie7b3ba3714c9d121e95b8eb62c4b02649d7e80e2
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 5e2361e..b8966b4 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -279,4 +279,19 @@ manually by the user. Off by default, since the expected haptic feedback may not be available on some devices. --> <bool name="config_enableHapticTextHandle">true</bool> + + <!-- Configure tcp buffer sizes in the form: + rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max + If this is configured as an empty string, the system default will be applied. + + For now this config is used by mobile data only. In the future it should be + used by Wi-Fi as well. + + Note that starting from Android 13, the TCP buffer size is fixed after boot up, and should + never be changed based on carriers or the network types. The value should be configured + appropriately based on the device's memory and performance. It is recommended to use lower + values if the device has low memory or doesn't support high-speed network such like LTE, + NR, or Wifi. + --> + <string name="config_tcp_buffers" translatable="false">2097152,6291456,16777216,512000,2097152,8388608</string> </resources> |