Go to file
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
Tethering Merge "Dependency update for StateMachine" 2021-10-20 13:43:58 +00:00
framework Merge "Qualify references to WifiNetworkSuggestions" 2021-10-21 11:53:06 +00:00
service Merge "No-op cleanup" 2021-10-26 02:39:47 +00:00
tests Add a test for metered/non-metered mobile network 2021-10-26 12:16:18 +00:00
.gitignore
OWNERS add maze to OWNERS 2021-01-19 18:31:52 -08:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Add back tethering to TEST_MAPPING 2021-09-02 01:15:28 +00:00