summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yan Yan <evitayan@google.com> 2023-12-08 01:44:00 +0000
committer Yan Yan <evitayan@google.com> 2024-01-10 00:12:19 +0000
commit90864bc808edadc9a2a671abb32c39209ca2eab1 (patch)
tree027d434a31a8cb8d5dfdec4390214f0e50b56658 /api/api.go
parentdaf616ad5a4a03072f737d8d24e50c059fb36fd3 (diff)
Refactor VCN route selection with UnderlyingNetworkEvaluator
This is a preparation CL that allows followup CLs to add network metric monitors. This CL does a pure refactoring without introducing any behavior changes Specific changes include: - UnderlyingNetworkEvaluator now encapsulates the calculation of mPriorityClass - mIsSelected is moved from UnderlyingNetworkRecord to UnderlyingNetworkEvaluator - UnderlyingNetworkListener is simplified by moving the network candidate out to the UnderlyingNetworkController - NetworkPriorityClassifier now takes a "isSelected" boolean instead of the currently selected network candidate Bug: 282996138 Bug: 315858972 Test: atest FrameworksVcnTests, CtsVcnTestCases Change-Id: I8461a68f1c4260b253d84d3efed2b09c41116656
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions