Home
last modified time | relevance | path

Searched refs:setWifiMeteredStatus (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DMeteredDataRestrictionTest.java163 final String netId = setWifiMeteredStatus(true); in setMeteredNetwork()
175 setWifiMeteredStatus(mMeteredWifi, false); in resetMeteredNetwork()
181 private String setWifiMeteredStatus(boolean metered) throws Exception { in setWifiMeteredStatus() method in MeteredDataRestrictionTest
186 setWifiMeteredStatus(netId, metered); in setWifiMeteredStatus()
190 private void setWifiMeteredStatus(String netId, boolean metered) throws Exception { in setWifiMeteredStatus() method in MeteredDataRestrictionTest
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java155 setWifiMeteredStatus(ssid, metered); in setupMeteredNetwork()
166 setWifiMeteredStatus(ssid, metered); in resetMeteredNetwork()
169 public static void setWifiMeteredStatus(String ssid, boolean metered) throws Exception { in setWifiMeteredStatus() method in NetworkPolicyTestUtils
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java669 private void setWifiMeteredStatus(String ssid, String metered) throws Exception { in setWifiMeteredStatus() method in ConnectivityManagerTest
769 setWifiMeteredStatus(ssid, "true"); in testGetMultipathPreference()
789 setWifiMeteredStatus(ssid, "false"); in testGetMultipathPreference()
799 setWifiMeteredStatus(ssid, oldMeteredSetting); in testGetMultipathPreference()