am skip reason: Change-Id I7e69dca81abdb29a9eb7d110266edbe483e17a01 with SHA-1 cae5079d9d is in history
Change-Id: If1ae89000aeccb85bef0aef7d335ab60e1793287
Fixed the error message when the expected number of broadcasts is exceeded.
Bug: 147139427
Test: atest hostsidetests/net/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Change-Id: I7e69dca81abdb29a9eb7d110266edbe483e17a01
Merged-In: I7e69dca81abdb29a9eb7d110266edbe483e17a01
This commit:
-Extend TunUtils for processing IKE packets
-Add IkeSessionBaseTest containing common functionality for all IkeSession tests
-Add end-to-end test for IKEv2 PSK verifying creating IKE SA, creating child SAs
and closing sessions
-Add basic tests for error scenarios
Bug: 148689509
Test: atest CtsIkeTestCases
Change-Id: Ie6c18591ffcc883abbf0484d9a59dfda61b33257
am skip reason: Change-Id I6a97ed26dba665efdc67abb2371e0fc30ede020c with SHA-1 ecb661016f is in history
Change-Id: I683b7ac8d33639057cb6e40d08e5cb3b0926ab74
am skip reason: Change-Id Ia7d83337ee0ffad9414031711cf7e937b14f968d with SHA-1 71cfc79527 is in history
Change-Id: I66c8d72aa89dcee61efd684419e4e261fa77f0fc
There is no guarantee that Wifi will automatically reconnect after
enabling, especially in cases where no internet access was detected on
the access point the last time it was connected.
Use WifiManager#reconnect to force wifi to reconnect to the access
point. The API is deprecated for general use, but system apps are
documented as exempted from the deprecation.
Bug: 152280218
Test: atest --rerun-until-failure 200 CtsNetTestCases:CaptivePortalTest
Merged-In: Ia7d83337ee0ffad9414031711cf7e937b14f968d
Change-Id: Ia7d83337ee0ffad9414031711cf7e937b14f968d
Check the apps cannot get the per uid stats of another uid by directly
calling the getUidStats binder interface call provided by
networkStatsService.
Bug: 129151407
Test: NetworkStatsBinderTest
Change-Id: Iabca53a8b37b259cf7e232d603676dbc9887084c
Add a test verifying that when the device has detected a captive portal,
or when the user is trying to login to a captive portal, the captive
portal network does not become the default network if another network
can provide internet access.
This follows R CDD requirements.
Test: atest CtsNetTestCases:android.net.cts.CaptivePortalTest
Bug: 152280218
Merged-In: I6a97ed26dba665efdc67abb2371e0fc30ede020c
Change-Id: I6a97ed26dba665efdc67abb2371e0fc30ede020c
am skip reason: Change-Id Ieda584446c37d121fc16a212e2c6c60b934b0f53 with SHA-1 9dcef40023 is in history
Change-Id: I785ab5bd7fc0eb005ae62b514edb138bc0874ea6
am skip reason: Change-Id Ieaceaadf116cb2885cbf22ae48579cec88268416 with SHA-1 bba019dc40 is in history
Change-Id: I484b8e60f66a938b27ccacf3978f8bebf94d3265
There is no guarantee that Wifi will automatically reconnect after
enabling, especially in cases where no internet access was detected on
the access point the last time it was connected.
Use WifiManager#reconnect to force wifi to reconnect to the access
point. The API is deprecated for general use, but system apps are
documented as exempted from the deprecation.
Bug: 152280218
Test: atest --rerun-until-failure 200 CtsNetTestCases:CaptivePortalTest
Change-Id: Ia7d83337ee0ffad9414031711cf7e937b14f968d
Add a test verifying that when the device has detected a captive portal,
or when the user is trying to login to a captive portal, the captive
portal network does not become the default network if another network
can provide internet access.
This follows R CDD requirements.
Test: atest CtsNetTestCases:android.net.cts.CaptivePortalTest
Bug: 152280218
Change-Id: I6a97ed26dba665efdc67abb2371e0fc30ede020c
This commit adds tests for building IkeSessionParams with PSK. It
also tests configuring SA lifetimes, retransmissions and PCSCF
server requests
Bug: 148689509
Test: atest CtsIkeTestCases
Change-Id: I16fdc1ff9a22acb82b376211e0f187c4ead4cae5
Merged-In: I16fdc1ff9a22acb82b376211e0f187c4ead4cae5
(cherry picked from commit c98c75308f)
Temporarily make copies. Eventually will statically include the
source files in CtsIkeTestCases
Bug: 148689509
Test: atest CtsIkeTestCases
Change-Id: I7dd5c8b849f0d987fa6d76bc5a0bc1a7eed49b0d
Merged-In: I7dd5c8b849f0d987fa6d76bc5a0bc1a7eed49b0d
(cherry picked from commit 52716ec0e6)
am skip reason: Change-Id I98979758a7a684219e35c02ded93224ea172d44f with SHA-1 8cfc634bbc is in history
Change-Id: If9bd668aee4aac2ebe8dfbc742b71eccf8bb7247
am skip reason: Change-Id I54dedff0555bdfcaae390ddde7b05d24dfabe9b0 with SHA-1 9d364b6aea is in history
Change-Id: Ibc8b292682df6a698c3a6837cc79b1051df23d16