commit | 4249f3b86810a2419a0ab7a34cb17382f15d61e2 | [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 | f16d4995f4e0c6dea625e2faa022c401312a51d4 [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