diff options
author | markchien <markchien@google.com> | 2020-01-07 14:43:17 +0800 |
---|---|---|
committer | Mark Chien <markchien@google.com> | 2020-01-08 12:33:58 +0000 |
commit | 92b8e7f9984f19329bdbe26f93cfafbf418fa9eb (patch) | |
tree | 060bc56afce54a6d9366bf303ce05f1db7ec1403 /rs/java/android/renderscript/Script.java | |
parent | 7278d6a07cb710077d37ec006b6dfb67946f91f1 (diff) |
[Tether09] Use INetd to call netd directly
- Using INetd to communicate with netd directly instead of using
NetworkManagementService which is a wrapper of INetd and don't have plan
to be updatable.
- Also replace InterfaceConfiguration by InterfaceController.
- Remove redundant interface flags. Only set interface up/down flag to
netd because netd only use these two flags for INetd#interfaceSetCfg.
- Note that tethering still use NetworkManagementService
to register tethering stats provider and it would also be replaced with
other way in follow up change.
Bug: 136040414
Test: -build, flash, boot
-atest TetheringTests
Change-Id: I4ab0ad387d4bd1773ff94d3b380c1720df07f8d5
Merged-In: I4ab0ad387d4bd1773ff94d3b380c1720df07f8d5
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions