android_packages_modules_Co.../tests
Aaron Huang 2685c929f4 Add a test for metered/non-metered mobile network
NetworkTemplate.buildTemplateMobileWithRatType() supports
to build a template with metered filter, so a mobile network
is metered or non-metered should be tested.

This commit also rename buildMobile3gState to buildMobileState
because originally this method uses NetworkInfo to simulate the
network type. The NetworkInfo related codes were removed.
Currently, setMobileRatTypeAndWaitForIdle is used to simulate
the network type in test.

Ignore-AOSP-First: The parent of this change contains a CL will
conflict with internal tree so ignore AOSP first.
Bug: 183776809
Test: this
Change-Id: I8e54e2acb06db81fb0eaf330c4fd7cb391b01ff3
2021-10-26 12:16:18 +00:00
..
common Add new APIs in NetworkCapabilities to set and get underlying networks 2021-10-15 18:07:12 +08:00
cts Test if underlying networks are the same as what VpnService sets 2021-10-26 10:55:41 +08:00
deflake Enable/disable FrameworksNetTests 2021-10-01 19:29:50 +08:00
integration
smoketest
unit Add a test for metered/non-metered mobile network 2021-10-26 12:16:18 +00:00
TEST_MAPPING