These tests include native code so mark them as multi_abi. They
also pass in instant mode so mark them instant_app.
Fix: 123367032
Fix: 123367595
Test: atest CtsNativeNetDnsTestCases CtsNativeNetTestCases
Test: cts-tradefed run commandAndExit cts --enable-parameterized-modules --module-parameter instant_app -m CtsNativeNetDnsTestCases
Test: cts-tradefed run commandAndExit cts --enable-parameterized-modules --module-parameter instant_app -m CtsNativeNetTestCases
Change-Id: Id66705ecb012a07aa34318f41afb1840dd25b9e3
1. Done for some code-style nits.
2. Update tests because AnswerCallback of DnsResolver is changed.
Bug: 124882626
Test: built, flashed, booted
atest DnsResolverTest
Change-Id: Ie862c7ea5077f56fd9a4d96baf3f466b65db93d8
See go/jetpack-test-android-migration
Test: m cts
Exempt-From-Owner-Approval: automated refactoring, has already been reviewed by owners downstream
Bug: 127482512
Change-Id: If72aed95ef9e436bcc6e063abc0478eca365cc9b
This change removes the requirement for IPsec interfaces to be
point-to-point. The two implementations (VTI vs XFRMI) have different
point-to-point values, and as such, this assertion is no longer valid.
Bug: 126578549
Test: Ran tests against XFRM-I kernels
Change-Id: I0597e0aa86ccea2cd28d7c5e02063c788ddb08b8
See go/jetpack-test-android-migration
Test: m -j CtsNetTestCases
Change-Id: I4a76e9b9410f94e297bca4287f450fe3b72fb409
Merged-In: If102677e4cdc4361b5d93283c4d6140dc477a94a
Get the detailed network stats for the test uid and check if the detail
stats is consistent with the per uid stats. This test is necessary since
the new devices may get detailed network stats and per uid total stats
from different eBPF maps.
Test: atest TrafficStatsTest
Bug: 79171384
Change-Id: I04533e9fa146e052bdc3787ec6b1f8dad9c19fb7
Test cases that expect to get "true" returned are part of
devicepolicy tests since it is hard to set up always-on
configuration without device/profile owner.
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest HostsideVpnTests#testIsAlwaysOnIsLockdown
Bug: 72628179
Change-Id: I7fceab93a1d2d0255611f7a788391540e0dddccb
1. Test that android_res_nresult closes the fd.
2. Use "0" instead of ResNsendFlags(0) since
the type of flags is changed.
Test: build
atest CtsNativeNetDnsTestCases
Change-Id: I772fb3f70f52b84802bb352215a1639efeab1629
This is a following commit for cts of asynchronous DNS query API.
Change test path and adjust for the API changing.
Test: build
atest CtsNativeNetDnsTestCases
Change-Id: I7bc20a4d61293fc1d9e330250455709982639330
This change adds tests for the security checks in IpSecService, ensuring
that the MANAGE_IPSEC_TUNNELS appOp is granted before anything can run.
Bug: 115685048
Test: This, passes on aosp_taimen-eng
Change-Id: Ide50c71548847bedbcaa75410b4696ed29404ab5
This change adds test for creation and address additions of IPsec tunnel
mode.
Bug: 72458318
Test: Ran on aosp_taimen-eng
Change-Id: If9d7e5ef35d37242d452eb7386cd5f5b80f6351f