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
p2p does not use NetworkInfo.isAvailable() anymore.
Remove this obsolete check.
Bug: 148164038
Test: atest android.net.wifi.cts.ConcurrencyTest
Change-Id: I544a2363d85ea47e404e481d4d285b9fd6b38eb5
Verify that ConnectivityDiagnosticsManager is able to register and
unregister ConnectivityDiagnosticsCallbacks.
Bug: 143187964
Test: atest ConnectivityDiagnosticsManagerTest
Change-Id: Ica065b58ee47e088b9d85b09f9e5b7131f5a16ab
Renamed to WIFI_SCAN_AVAILABILITY_CHANGED to
conform to API guidelines.
Bug: 148781526
Test: compiles
Change-Id: Ic84cbededfe9e5d02900fbe7a6a99c059af89641
Renamed to NETWORK_ID_PERSISTENT/
NETWORK_ID_TEMPORARY to conform to API guidelines.
Bug: 147668001
Test: compiles
Change-Id: Ia4d1e317fe659d5e8e871b1c6808272ff3414c76
The testcase is failing for the model as there are no clients which have already invoked the initialize API.
So we changed the location of initialize() API little forward to be invoked before CTS test.
Bug: 148126151
Test: run cts --m CtsNetTestCases --t android.net.wifi.cts.ConcurrencyTest#testConcurrency
Change-Id: I1081d343795e07440ebf380c25f47c320c064556
Signed-off-by: Jae Choon Jeon <jc.d.jeon@samsung.com>
(cherry picked from commit 1a46560a2b55df0b3159884a7eed4b2598c2e827)
Marks this CTS test module as supporting secondary_user, meaning that
the tests are eligible to be run from a regular Android user other
than the system user (i.e. other than user 0).
Note that 'user' here refers to the concept of users in Android
Multiuser; it is NOT the same as a uid.
Bug: 141773058
Test: module passed with secondary_user params
(--enable-optional-parameterization --module-parameter secondary_user)
Change-Id: I92d97cae99418dac3cd6e1cbb625b12f0c2cc60a
TxPacketCountListener is @hide and only used for
CTS. Remove the test using this altogether.
Bug: 144036594
Test: atest android.net.wifi.cts.WifiManagerTest
Change-Id: Iac42c7dca4ca5cbbae6c464530319975e8d1571e
Soong wasn't including android_app or android_test sources in the
javac-check target used for the Error Prone build, which allowed
some Error Prone errors to get in. Fix them so Error Prone can be
re-enabled for these targets.
Fixes:
cts/hostsidetests/net/app/src/com/android/cts/net/hostside/RequiredPropertiesRule.java:61: error: [CollectionIncompatibleType] Argument '~requiredProperty.getValue()' should not be passed to this method; its type int is not compatible with its collection's type argument Property
cts/tests/location/location_fine/src/android/location/cts/fine/CriteriaTest.java:199: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
cts/tests/location/location_fine/src/android/location/cts/fine/LocationManagerFineTest.java:948: error: [TryFailThrowable] Catching Throwable/Error masks failures from fail() or assert*() in the try block
cts/tests/location/location_fine/src/android/location/cts/fine/LocationTest.java:402: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
cts/tests/tests/assist/src/android/assist/cts/AssistTestBase.java:613: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue
cts/tests/tests/assist/src/android/assist/cts/AssistTestBase.java:616: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue
cts/tests/tests/media/src/android/media/cts/AudioRecordTest.java:1661: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
cts/tests/tests/media/src/android/media/cts/AudioRecordTest.java:1681: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
Bug: 146455923
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I48b1ccb61c807d0b41a165298ef5981258d6656e