Searched refs:meteredOverride (Results 1 – 9 of 9) sorted by relevance
107 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NONE; in testGetMeteredLabel_returnsCorrectValues()111 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testGetMeteredLabel_returnsCorrectValues()115 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testGetMeteredLabel_returnsCorrectValues()119 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testGetMeteredLabel_returnsCorrectValues()123 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testGetMeteredLabel_returnsCorrectValues()130 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NONE; in testIsMeteredOverridden_returnsCorrectValues()134 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testIsMeteredOverridden_returnsCorrectValues()138 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_METERED; in testIsMeteredOverridden_returnsCorrectValues()142 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testIsMeteredOverridden_returnsCorrectValues()146 mWifiConfig.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in testIsMeteredOverridden_returnsCorrectValues()
688 public int meteredOverride = METERED_OVERRIDE_NONE; field in WifiConfiguration705 && config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_METERED) { in isMetered()709 && config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_NOT_METERED) { in isMetered()1519 meteredOverride = METERED_OVERRIDE_NONE; in WifiConfiguration()1630 if (this.meteredOverride != METERED_OVERRIDE_NONE) { in toString()1631 sbuf.append(" meteredOverride ").append(meteredOverride).append("\n"); in toString()2061 meteredOverride = source.meteredOverride; in WifiConfiguration()2132 dest.writeInt(meteredOverride); in writeToParcel()2197 config.meteredOverride = in.readInt();
65 void setWifiMeteredOverride(String networkId, int meteredOverride); in setWifiMeteredOverride() argument
208 if (config.meteredOverride == WifiConfiguration.METERED_OVERRIDE_METERED in getMeteredLabel()216 return config.meteredOverride != WifiConfiguration.METERED_OVERRIDE_NONE; in isMeteredOverridden()
294 if (arg == null || config.meteredOverride == match) { in listWifiNetworks()297 pw.println(overrideToString(config.meteredOverride)); in listWifiNetworks()
2337 config.meteredOverride = policy.metered in upgradeWifiMeteredOverrideAL()2908 public void setWifiMeteredOverride(String networkId, int meteredOverride) { in setWifiMeteredOverride() argument2916 config.meteredOverride = meteredOverride; in setWifiMeteredOverride()
214 + Integer.toString(config.meteredOverride) + NL); in writeKnownNetworkHistory()427 config.meteredOverride = Integer.parseInt(value); in readNetworkHistory()
869 internalConfig.meteredOverride = externalConfig.meteredOverride; in mergeWithInternalWifiConfiguration()
451 XmlUtil.writeNextValue(out, XML_TAG_METERED_OVERRIDE, configuration.meteredOverride); in writeToXmlForConfigStore()601 configuration.meteredOverride = (int) value; in parseFromXml()