summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/ConnectivitySettingsManagerTest.kt
Commit message (Collapse)AuthorAgeFilesLines
* Fix testing with/without connectivity moduleRemi NGUYEN VAN2022-02-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | Add missing @ConnectivityModuleTest annotations to tests that cover functionalities that were introduced in a newer connectivity module update. Also add CtsNetTestCasesLatestSdk to postsubmit with only APK modules installed, and with only the connectivity/tethering module installed. This can then be moved to presubmit to catch such issues before they are merged. While doing this cleanup the TEST_MAPPING file in tests/ and merge its contents into the root TEST_MAPPING file. This does not change anything for "postsubmit" tests as they are run independently of changes. It only causes FrameworksNetIntegrationTests to run in presubmit on any change in modules/Connectivity/ instead of only on modules/Connectivity/tests/ changes, which is how it should be. Bug: 218611855 Test: TH needs to test TEST_MAPPING Change-Id: I26629a35d8c2df3db33180ecc22d49d538ad3b8b
* Add setting that controls network rate limitPatrick Rohr2022-02-091-0/+17
| | | | | | | | | | | The INGRESS_RATE_LIMIT_BYTES_PER_SECOND setting controls the rate limit for internet networks. If set to -1, no rate limit applies. There is one global rate limit that will be applied to all networks with NET_CAPABILITY_INTERNET. Test: atest ConnectivitySettingsManagerTest Bug: 157552970 Change-Id: Ia82aa867686d484ce46734f76d4a48bf864eff84
* Add ConnectivitySettingsManagerTestpaulhu2021-06-221-0/+295
- Add tests for ConnectivitySettingsManager. - Also address leftover javadoc comments. Bug: 182538166 Test: atest FrameworksNetTests Test: atest CtsNetTestCases Change-Id: I8161c1bca84b41964578d59ee5d6ab07b2380707