summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/NetworkStatsCollectionTest.java
diff options
context:
space:
mode:
authorHungming Chen <nuccachen@google.com>2021-12-17 21:12:53 +0800
committerHungming Chen <nuccachen@google.com>2022-01-20 22:50:12 +0800
commit8ff032b990d514ead8ea7ea06bd412fcd0289248 (patch)
tree2058abad09236a476954684c31fb0df7c604624b /tests/unit/java/android/net/NetworkStatsCollectionTest.java
parent86a56de6096ba081940cc57598e46bac29299253 (diff)
[CLATJ#6] libclat: move configure_packet_socket() from netd to apex
configure_packet_socket() is moved from ClatdController. Only change the failure return value from errno to -errno. The remaining parts are the same. The test is modified from ClatdControllerTest::ConfigureIpv6Address. Simply set socket filter to an interface and check that the packet socket is bound to the interface. We can't check the socket filter because there is no way to fetch it from the kernel. Bug: 212345928 Test: build and boot atest libclat_test Change-Id: Ia33c21051b040829c7d2aa55ed5b7de8766c98c5
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsCollectionTest.java')
0 files changed, 0 insertions, 0 deletions