diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-17 06:32:53 +0000 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-03-25 10:52:00 +0000 |
commit | 3e814f793860a8da5c25f3b8acdc855653835551 (patch) | |
tree | ace77fc3e927e9ed3b0d30060c2e9ed4967967c3 /common/networkstackclient/src | |
parent | 858f64b4d7c1648529a88ca09bf272491f74b5b2 (diff) |
Move TapPacketReader into its own utility class.
This class is generally useful for tests that manipulate packets
using a TestNetworkInterface. It will be used in upcoming
tethering tests. Also make it take a FileDescriptor instead of a
ParcelFileDescriptor, since that is more generally more useful.
As part of this change, create a filegroup of files that the test
utilities can depend on.
Bug: 150644681
Test: atest NetworkStackIntegrationTests:IpClientIntegrationTest
Change-Id: I73e9c1919956aa665a8cccec11d3444e486426ec
Merged-In: I73e9c1919956aa665a8cccec11d3444e486426ec
(cherry picked from commit f5e20cdc22dd017adec10efff5346ddf67628230)
Diffstat (limited to 'common/networkstackclient/src')
0 files changed, 0 insertions, 0 deletions