commit | 03005f9e0cf9b9406d3c240b50e82ea068645a8a | [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 | a0385f43b38310fc4e672295734d4c3b68badec3 | |
parent | 4eca6d0c5ce7f54adfcf042cd5c6d6e1704edfcd [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)