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
2 files changed
tree: 1bd1854a315d8376e92b352a02552a9de08d23a6
  1. staticlibs/