commit | f505ef047969e7831c4dec9e85cea85e4e76addb | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Fri Feb 02 13:16:53 2024 +0900 |
committer | Xiao Ma <xiaom@google.com> | Fri Feb 02 13:25:58 2024 +0900 |
tree | d3ea7af578690383c294e0cc9fc874fbcfc54e5e | |
parent | 2040d8bcc84ddb748ed13fdf1706304c8807c1f6 [diff] |
Make RtNetlinkRouteMessage constructor visible for testing. Refactor IpClientTest by parsing the netlink message directly instead of netd callbacks, so we have to initialize a RtNetlinkRouteMessage instance to trigger IPv4/v6 route updates in the unit test. Bug: 318764217 Test: atest NetworkStackTests Change-Id: Icfcc7ade636c89a63d897f4e9246410f6387b3c9