commit | 1dc565df716ca1b376d4846271905d48586db4ea | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Mar 19 23:08:33 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Fri Mar 19 23:08:33 2021 +0800 |
tree | 865a46190a2cee49280141bfddda065773da8a02 | |
parent | 3aec12c6a9a6eb3073caab670bf402a9cba715b4 [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