commit | d5cee26211a83e6dd132f95a4541b5fb48ec5265 | [log] [tgz] |
---|---|---|
author | Kangping Dong <wgtdkp@google.com> | Sat Dec 23 16:18:16 2023 +0800 |
committer | Kangping Dong <wgtdkp@google.com> | Wed Dec 27 22:21:04 2023 +0800 |
tree | bb08611081e9ca6f0a6b7bb8d75b612536116f0a | |
parent | 81e643929852ff3d60a4d0cd306ed3bfb47a4e97 [diff] |
[Thread] make InfraInterfaceController mockable It's generally discouraged to mock a static method, so this commit changes InfraInterfaceController#createIcmp6Socket to non-static method and inject InfraInterfaceController into ThreadNetworkControllerService as an external dependency. Bug: 317555104 Change-Id: I6f88c02858279223684c781dc065a9bf84ae15ab