Commit graph android_packages_modules_Co.../tests/native
Message SHA1
Add libconnectivity_native
The library provides an interface to interface with the
ConnectivityNative service, and implement port blocking APIs.

Bug: 179733303
Test: atest connectivity_native_test
Change-Id: Iad1c84b5eeab835aca14a2db72a900e099aa3c1c

Remi NGUYEN VAN   authored and   Tyler Wear   commited 2022-11-03 21:01:26 -07:00
fb70eba6bf
[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity
Added SPDX-license-identifier-Apache-2.0 to:
  tests/native/utilities/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Ic5fd53821753249f6331d482d253e825e338f74e

Bob Badour   commited 2022-08-04 12:11:35 -07:00
a186cbc446
Add libconnectivity_native_test_utils
The utility currently contains a firewall class that is used by DNS
resolver tests to block DNS packets.

Bug: 227159929
Test: atest resolv_integration_test
Change-Id: I5c5bc0b263a677f57cd63f002057ff0812f15e64

Ken Chen   commited 2022-07-29 03:53:24 +08:00
c52cbe0cf8
Move connectivity_native_test to a sub folder
Move sources of connectivity_native_test to a dedicated folder so that
other native tests or utilities can be added to p/m/c/tests/native/ as
well.

Bug: 227159929
Test: atest connectivity_native_test
Change-Id: I97217fbb03b26ed79f1f34932b92c4227a1ece4d

Ken Chen   commited 2022-07-28 14:41:23 +08:00
ef50ab1473
Merge "Revert "connectivity_native_test: remove retries""
Steven Moreland   authored and   Gerrit Code Review   commited 2022-06-22 20:32:25 +00:00
749fd994f8
Revert "connectivity_native_test: remove retries"
This reverts commit ccde0db174.

Reason for revert: fails in mainline prod branch

Change-Id: Id26c44b9e9c68a259d3c82d67a5f4cea27569432

Steven Moreland   commited 2022-06-22 20:27:15 +00:00
5d0843b7f2
Merge "connectivity_native_test: remove retries"
Steven Moreland   authored and   Gerrit Code Review   commited 2022-06-21 23:03:09 +00:00
e1ae9fd469
connectivity_native_test: remove retries
Retries needed due to bug.

Bug: 235006086
Test: connectivity_native_test
Change-Id: Idcc83e52b91416f61de040d910440800772341e7

Steven Moreland   commited 2022-06-07 17:28:53 +00:00
ccde0db174
Add traffic_controller, networkstats, netd_updatable tests to MTS.
In order to get counted by mts code coverage, these native tests need to
be run as part of mts.

Bug: 233904825
Test: m mts && mts-tradefed run mts-tethering-coverage
Change-Id: I79313197b146c7043ffb5e164faa46c2e16dd1d2

Ken Chen   commited 2022-05-27 15:00:18 +00:00
b9266bf507
Merge "ConnectivityNativeBinderTest: Check Kernel Version"
Lorenzo Colitti   authored and   Gerrit Code Review   commited 2022-04-21 00:00:14 +00:00
76ff404153
ConnectivityNativeBinderTest: Check Kernel Version
Check kernel version in patch before running test case
to make sure that 5.4 kernel is used which is what the
bpf prog uses.

Bug: 229692536
Test: atest ConnectivityNativeBinderTest

Change-Id: I3bf8d3ce6c6a64236da2e4f039fb13a98231fae0

Tyler Wear   commited 2022-04-19 18:01:17 -07:00
4e7acedf15
Merge "Disable R+ tests on Q"
Remi NGUYEN VAN   authored and   Gerrit Code Review   commited 2022-04-13 03:22:21 +00:00
f7ab422491
[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity
Added SPDX-license-identifier-Apache-2.0 to:
  tests/native/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I0f883fa9c9d922766976c939565c6b368629915d

Bob Badour   commited 2022-04-07 10:36:04 -07:00
03465246f6
Disable R+ tests on Q
Add Sdk30ModuleController to ConnectivityCoverageTests and
connectivity_native_test, as they cover code in the Tethering module,
which is R+.

Test: atest ConnectivityCoverageTests connectivity_native_test
Change-Id: Ida573d4e231bf29989f699a9fef77d3a677425c8

Remi NGUYEN VAN   commited 2022-04-07 17:01:13 +09:00
bef435bf9b
add OWNERS for connectivity_native_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ibb7bcf272a2ff258d2518b60589ecb8e16823777

Maciej Żenczykowski   commited 2022-04-06 23:25:10 +00:00
189577cd8b
Vendor AIDL interface for port blocking via eBPF
New Connectivity Service exposed to vendor for
restricting certain ports for use only in vendor.

Bug: 179733303

Change-Id: Iad9aff6924498ede5a08cfa5482082f094c0a90b

Tyler Wear   commited 2022-03-25 09:14:48 -07:00
b37f551287