Searched refs:metered (Results 1 – 2 of 2) sorted by relevance
69 void setMetered(boolean metered); in setMetered() argument77 private boolean metered = false;91 return metered;95 public void setMetered(boolean metered) {96 this.metered = metered;110 private boolean metered = false;123 return metered;127 public void setMetered(boolean metered) {128 this.metered = metered;268 public boolean metered; field in NetworkUsageStatsTest.NetworkCallback[all …]
529 final boolean metered = mCm.isActiveNetworkMetered(); in setMeteredNetwork()530 if (metered) { in setMeteredNetwork()580 private String setWifiMeteredStatus(boolean metered) throws Exception { in setWifiMeteredStatus() argument588 return setWifiMeteredStatus(ssid, metered); in setWifiMeteredStatus()591 private String setWifiMeteredStatus(String ssid, boolean metered) throws Exception { in setWifiMeteredStatus() argument596 Log.i(TAG, "Setting wi-fi network " + netId + " metered status to " + metered); in setWifiMeteredStatus()597 final String setCommand = "cmd netpolicy set metered-network " + netId + " " + metered; in setWifiMeteredStatus()