summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2011-06-29 18:04:31 +0800
committerHung-ying Tyan <tyanh@google.com>2011-06-30 14:37:24 +0800
commit129d0b08fdf9588f7c8feeb9db3def30973c092e (patch)
tree1b1d54102c01a37d6d9fdbaaf884120f98f27337 /tools/aidl/generate_java.cpp
parent99705b52ec952012bedc4aa8e1f62caff80a6a2f (diff)
Make NAT port timeout measurement more flexible.
In two ways: (1) When there's a session timeout, restart the measurement at a later time instead of just stalling. (2) When there's a port change, do not re-measure the interval if the current interval works well in the past. We keep success count and decrement it by half when there's a port change. When the count is below a threshold, we restart the measurement process. Change-Id: I7256464435a5e2d2a239bfccaa004e9ceb1d9ce5
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions