commit | a56b9497267e721ab87f4c8873cf004597419eb3 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Wed Jul 19 12:37:16 2023 +0900 |
committer | Xiao Ma <xiaom@google.com> | Thu Jul 20 16:54:46 2023 +0900 |
tree | 1bd1854a315d8376e92b352a02552a9de08d23a6 | |
parent | da97a39255987fded622d619ee665d57e3947890 [diff] |
Move ticksToMilliSeconds to NetlinkUtils. ticksToMilliSeconds is used to convert the clock ticks to milliseconds, move it to a common utils class, we can call this method to convert the rta_cacheinfo.rta_expires in user space as well to get when the default route will expire. Bug: 183601771 Test: atest NetworkStaticLibTests Change-Id: Iabd510fe290f835a8fe690d91921d5b706a23b56