Remove ClatdController relevant stubs
Since the clatd control plane has been moved to mainline
ClatCoordinator, netd/ClatdController is not required anymore.
1. Delete ClatdController files
ClatdController.cpp
ClatdController.h
ClatdControllerTest.cpp
2. Deprecate clatd binder calls
NetdNativeService::clatdStart
NetdNativeService::clatdStop
New tests (some of them use java mock test) partial cover removed
tests. We are going to have a clat integration test to cover more
native behavior.
Test changes:
ClatdControllerTest::SelectIpv4Address -> ClatUtils::SelectIpv4Address
ClatdControllerTest::MakeChecksumNeutral -> ClatUtils::MakeChecksumNeutral
ClatdControllerTest::DetectMtu -> ClatUtils::DetectMtu
ClatdControllerTest::ConfigureTunIpManual
-> ClatCoordinatorTest::testStartStopClatd (only mock test)
ClatdControllerTest::ConfigureIpv6Address
-> ClatCoordinatorTest::testStartStopClatd (only mock test),
ClatUtils::ConfigurePacketSocket
New test path:
packages/modules/Connectivity/service/native/libs/libclat/clatutils_test.cpp
packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ClatCoordinatorTest.java
Bug: 212345928
Bug: 215655463
Test: cd system/netd; atest
Change-Id: Ie2c341f943f9f383f42d6333abb594997085e7a1
7 files changed