This change adds test for new public APIs.
Bug: 135998869
Test: atest CtsNetTestCasesLatestSdk:TrafficStatsTest
Change-Id: I6b4a6773e22a204b6267d28638b9f57a0d0eb65a
After vts-core is renamed to vts, the CTS tests won't be needed in vts
suite.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL removes all CTS tests in vts suite,
as vts is renamed to vts10. This CL won't change test logic or behavior.
Change-Id: Idc9e9cc1d1080ff689823671a736bbb78bd7a740
Merged-In: Idc9e9cc1d1080ff689823671a736bbb78bd7a740
Add cts to test current public APIs and new public
APIs.
Bug: 151110319
Bug: 152617305
Test: atest CtsNetTestCasesLatestSdk:ProxyInfoTest
Change-Id: I451989f7312fb98ec2fa0b7b9ddc856ecf2087be
This is a basic test that only tests register(), markConnected(),
unregister and onNetworkUnwanted. It provides the backbone for
the tests, a harness to test callbacks on NetworkAgent, and
demonstrates how the instrumentation in
ConnectivityService can be used to test this API.
Test: this
Bug: 139268426
Change-Id: I022c9e237fdaec27338047c171c04e5a96cf89e3
This is to prepare renaming vts to vts10.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL adds all tests in vts to a new
suite vts10. vts10 will be the new name of existing vts suite. This CL
won't change test logic or behavior.
Change-Id: Ic250f04f0424d0a586c183d571b0ad57c56a03d0
Merged-In: Icfbc0ef0d40b908dc9ef664bedf3ead563ff9855
Merged-In: Ibb8ca5e3b9d1cc7247f57d0d89bd15b9f52fec92
Merged-In: Ia9af1fbddc66d3c94976a58c36d274425f1fe461
Test APIs below:
NetworkInfo(int, int, String, String)
setDetailedState(android.net.NetworkInfo.DetailedState, String, String)
Bug: 152356365
Test: atest CtsNetTestCasesLatestSdk:android.net.cts.NetworkInfoTest
on both Q and R devices
Change-Id: Idada858b1d5cd4c0907998b289aca4d6e6d04f56
Bug: 152356365
Test: atest CtsNetTestCasesLatestSdk:android.net.cts.NetworkInfoTest
on both Q and R devices
Change-Id: I44ffdc4b4a9ba8fcc1fda895b9d7f8f551fd6bb3
Add test for IpConfiguration and also address review
comments from aosp/1171795.
Bug: 139268426
Test: CtsNetTestCasesLatestSdk:android.net.cts.IpConfigurationTest
Change-Id: Ib30a98e11bdcd9d473b713f7e4c317172b14f000
The AudioGroup constructor with a Context parameter does not exist on Q
devices.
Use the previous constructor on older devices.
Test: atest CtsNetTestCasesLatestSdk on Q and R devices
Bug: 150918852
Change-Id: I24c3e7ab8c7219d6f345943ead3e3b6418fa7f47
Adjust some timeout value and correct the conditional checking
for private DNS waiting mechanism.
Also move the fail() statement from callback thread to test thread.
It is used to avoid the test process crashing.
Bug: 148471807
Test: atest DnsResolverTest
Change-Id: I244cefeae97fe99838d1c72d867c1d7a1a7d5e87
p2p does not use NetworkInfo.isAvailable() anymore.
Remove this obsolete check.
Bug: 148164038
Bug: 148561948
Test: atest android.net.wifi.cts.ConcurrencyTest
Change-Id: I544a2363d85ea47e404e481d4d285b9fd6b38eb5
Test files will be under ipsec/src/android/net/cts and
ipsec/src/android/net/ipsec/ike/cts
Bug: 148689509
Test: atest CtsNetTestCases(passing)
Change-Id: I1f79b0515708fcd31fd8ea9aa3974dcdcfb265c9
Before this change the test assume one active state event is followed by
zero or one availabe event:
AVAIALBE(wlan1) -> ACTIAVE(wlan1) -> AVAILALE(wlan1)
But actually Multiple tetherable wifi interfaces may be avaialbe during
the test:
AVAILABLE(wlan1) -> AVALIABLE(wlanX) -> .... -> ACTIVE(wlan1) ->
AVAIALBE(wlan1)
Additional, replacing ConnectivityManager usage to TetheringManager.
Bug: 148095484
Test: atest CtsTetheringTest
Change-Id: Id5db970c02f63f61802a18b599bf6905db619b42
This APK can be installed and run on release devices even when
built from branches with a non-final SDK such as AOSP.
Test: builds
Change-Id: I1e1b24b09eeb7a0688fde9d8ed6bbee9c9d2582e