summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2019-04-25 11:24:04 +0800
committerJunyu Lai <junyulai@google.com>2019-05-09 17:16:17 +0000
commit5d7bb8b456b2bef8eb177565d283c3b48d9e54fb (patch)
tree4f298a3a628b7d457466f8b9b95f193dcf6c1d7c /startop/scripts/lib/cmd_utils.py
parent990053e55216fe854d122727cf1c2d892c19c5f2 (diff)
Clean up the keepalive slots when network disconnect
In general, keepalive slots are released after result of stopping has returned. However, for network disconnect case, the service side cannot communicate with network agent since the async channel is broken. Clean up keepalive slots right after stop in this case. Bug: 132341736 Test: 1. atest com.android.server.ConnectivityServiceTest \ #testNattSocketKeepalives --generate-new-metrics 100 2. atest FrameworksNetTests --generate-new-metrics 10 Change-Id: Ia30741f71fa72fc117e071976fd73991fa3c9535
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions