commit | 17a8eacab430cd687b2d90049754e5c62172bf42 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Mon Feb 08 11:44:24 2021 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Tue Feb 23 03:05:51 2021 +0000 |
tree | 9390ab29098457e7fa8009df74d3b6e793a35704 | |
parent | 9a46cfcfa0bd3739c8c60c1e2599aa4317113bd9 [diff] |
Replace subnet mask calculation to Inet4AddressUtils There is existing helper method in Inet4AddressUtils to calculate the subnet mask from IPv4 prefix calculation. Replace the implementation in caller side to simplify design in callers. Bug: 172183305 Test: atest SettingsRoboTests Test: Verify the method return the same value Change-Id: I38d7d09be612fa4788cf4052bf304d17f0ae79f4