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
Original change: https://android-review.googlesource.com/c/platform/system/netd/+/2072829
Merged-In: Ie2c341f943f9f383f42d6333abb594997085e7a1
Change-Id: Ie2c341f943f9f383f42d6333abb594997085e7a1
Signed-off-by: Nucca Chen <nuccachen@google.com>
(cherry picked from commit bbdea2d15cf8e1f6ce3ff44d2b3459930be5c313)
7 files changed