commit | e7ee038a65d4cc1460053b45f89a77b9cc2defcb | [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 | 903a83be8f3c294ab766df70d1d4a2cce866be9e | |
parent | 5ebb78adfb03939bbda509f199dbfcc3c4b94b93 [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