Commit graph android_packages_modules_Co.../staticlibs/hostdevice/com/android/testutils
Message SHA1
Merge changes from topic "metrics_cts_tests"
* changes:
  Add utilities to test tap interface networks
  Add PacketFilter utilities for DNS testing

Remi NGUYEN VAN   authored and   Gerrit Code Review   commited 2020-08-24 07:13:40 +00:00
edb36498eb
Add PacketFilter utilities for DNS testing
Add packet filters that are useful for filtering / testing DNS queries
and ARP requests.

This change is a prerequisite for tests verifying DNS and validation
metrics.

Test: tests using these utilities
Bug: 160617623
Bug: 160656765
Change-Id: I4216f4ec60d1a427f60fad6eb8017e36b082665f

Remi NGUYEN VAN   commited 2020-08-06 15:24:47 +09:00
2f2a3b467c
Rename utils to remove the Kt suffix
Nobody cares what language this is written in

Test: builds
Change-Id: I3ed3bce276479fd503e716a06fd4912da8c49eda

Chalard Jean   commited 2020-07-31 15:24:34 +09:00
b1856fe06b
Fix issues reported by checkstyle
Test: builds
Change-Id: I41979cc8096a682c6844df0825ee56ab00a828b5

Chalard Jean   commited 2020-07-31 09:58:14 +09:00
e06c5c8fc0
Move utilities to libs/net
These files used to be in the network stack directory, but the libs
directory is a much more suitable place for them.

Also fix a typo : ConcurrentIntepreter → ConcurrentInterpreter

Also move {FdEvents,Packet}Reader to internal annotations. That's
what they should have been using in the first place anyway.

Note that this does not fix preupload issues reported by
checkstyle to make review easier. The fixes are in a followup
patch to this one.

Test: checkbuild
Change-Id: I675077fd42cbb092c0e6bd56571f2fc022e582fd

Chalard Jean   commited 2020-07-30 22:10:51 +09:00
48c6c7d838