diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-05-23 22:57:18 -0700 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-05-24 06:15:25 +0000 |
commit | ae343fc3a7cda11c763c2a8f007a1495a462dd42 (patch) | |
tree | 66d25adc6295a52dd6a5d816fe50d7910627318f /src/com/android/server/NetworkStackService.java | |
parent | fabe2f9c6249bfe2605fdfc31fe0098c885e9c86 (diff) |
Update multiple validation result to ConnectivityService
Once a network is determined to have partial connectivity, it
cannot go back to full connectivity without a disconnect. This
is because NetworkMonitor can only communicate either
PARTIAL_CONNECTIVITY or VALID, but not both. Thus, multiple
validation results allow ConnectivityService to know the real
network status.
Bug: 129662877
Bug: 130683832
Test: atest FrameworksNetTests
Test: atest NetworkStackTests
Test: atest --generate-new-metrics 50
NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Test: Simulate partial connectvitiy
Change-Id: I406c9368617c03a2dd3ab15fb1f6dbf539d7c714
Merged-In: I243db4c406cca826e803c8035268bc0c6e6e01e2
(cherry picked from commit 4532abd4d2af9ad118873a63cafc6028ed87c52e)
Diffstat (limited to 'src/com/android/server/NetworkStackService.java')
0 files changed, 0 insertions, 0 deletions