commit | 11e88570332d6435add8f178d29bb16508e118ba | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Mar 19 23:08:33 2021 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Thu Mar 25 08:10:28 2021 +0000 |
tree | c2f4484cce8ea04da1afa57e25d1fc7cb32530fd | |
parent | e096339dc3f65d8e3a249045ced2d725c385b7b7 [diff] |
Use getAllInterfaceNames to get all interface names The current design is using hidden API - getStackedLinks() to get LinkProperties then call getInterfaceName() to get the interface name. In fact, this behavior could be replaced by system API - getAllInterfaceNames(). Bug: 182963397 Test: atest FrameworksNetTests Test: atest CtsNetTestCases Change-Id: Id2b19dc5099355af69d23a6d99d2b7e6c0e1e88a Merged-In: Id2b19dc5099355af69d23a6d99d2b7e6c0e1e88a (cherry-picked from ag/13927660)