summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/DhcpInfoTest.java
diff options
context:
space:
mode:
authorSam Mortimer <sam@mortimer.me.uk>2019-08-15 19:40:55 -0700
committerSemavi Ulusoy <doc.divxm@gmail.com>2022-03-15 18:41:44 +0300
commita387f2bc906131e598a01089c4083b1c354a261c (patch)
treedfb12eefb214e757ab95f3c134a79b8ee4d2f644 /tests/common/java/android/net/DhcpInfoTest.java
parent0174843f4da02c89c7bd0ad207526d6d748cc08d (diff)
Tethering: Add capability to allow tethering to use VPN upstreams [2/3]
Squash of: Author: Sam Mortimer <sam@mortimer.me.uk> Date: Thu Aug 15 19:40:55 2019 -0700 fw/b: Add capability to allow tethering to use VPN upstreams * Toggled on/off at runtime via a new hotspot lineage setting. * Dynamically updates the tethering upstream for existing hotspot clients as VPNs are brought up / down or the hotspot setting is changed. * This implementation depends on fw/b config_tether_upstream_automatic being set to true. Change-Id: I2ac0b4acc0ea686dfdf54561cb3428808e337160 Change-Id: I2363e9baa007eac25be04ce23f0de41b80c5da42 ---- Author: Sam Mortimer <sam@mortimer.me.uk> Date: Fri Sep 13 16:27:37 2019 -0700 fw/b: Prevent trying to enable hw offload for tethering via VPN upstreams * Tethering via VPN upstream requires a sw path. * hw offload setup happened to be being disabled anyway owing to a fail return code from setDataLimit(). However, it was causing offload to be disabled entirely (until next hotspot off / on event). * Gracefully skip hw offload for vpn upstreams so that it is automatically used again when a vpn is disconnected. Change-Id: I4df13f02889305560903b7b1e919eedc7af78c07 [mkbestas]: Remove LineageSettings dependency & port to android 11 [uldiniad]: Replaced Settings.Secure private APIs and variables with alternatives Change-Id: I77ed0142e653f4993486eea44e4dac21e3f67f17
Diffstat (limited to 'tests/common/java/android/net/DhcpInfoTest.java')
0 files changed, 0 insertions, 0 deletions