Use netlink to set interface up/down in EthernetTracker(2/2)

Currently EthernetTracker uses netd to interact with interfaces, such as
retrieving all interfaces, updating interface configurations etc.
However, the usage of netd can bring some unexpected side effects, such
as clearing v4 address when toggling on/off interface.

This change moves forward with one less usage of netd to use netlink
directly to set interface up/down in EthernetTracker.

This patch changes from using netd to netlink in EthernetTracker to set
interface up/down.

Bug: 379021505
Test: atest EthernetManagerTest
Change-Id: I321a442b943a8be92572d20f5fba81dcd0405d0b
1 file changed